Home | History | Annotate | Line # | Download | only in dist
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.72 for xclipboard 1.1.5.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xclipboard/-/issue>.
      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/xclipboard/-/issue
    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='xclipboard'
    607 PACKAGE_TARNAME='xclipboard'
    608 PACKAGE_VERSION='1.1.5'
    609 PACKAGE_STRING='xclipboard 1.1.5'
    610 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xclipboard/-/issue'
    611 PACKAGE_URL='https://gitlab.freedesktop.org/xorg/app/xclipboard/'
    612 
    613 ac_unique_file="Makefile.am"
    614 # Factoring default headers for most tests.
    615 ac_includes_default="\
    616 #include <stddef.h>
    617 #ifdef HAVE_STDIO_H
    618 # include <stdio.h>
    619 #endif
    620 #ifdef HAVE_STDLIB_H
    621 # include <stdlib.h>
    622 #endif
    623 #ifdef HAVE_STRING_H
    624 # include <string.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_STRINGS_H
    633 # include <strings.h>
    634 #endif
    635 #ifdef HAVE_SYS_TYPES_H
    636 # include <sys/types.h>
    637 #endif
    638 #ifdef HAVE_SYS_STAT_H
    639 # include <sys/stat.h>
    640 #endif
    641 #ifdef HAVE_UNISTD_H
    642 # include <unistd.h>
    643 #endif"
    644 
    645 ac_header_c_list=
    646 ac_subst_vars='am__EXEEXT_FALSE
    647 am__EXEEXT_TRUE
    648 LTLIBOBJS
    649 LIBOBJS
    650 appdefaultdir
    651 APPDEFS_LIBS
    652 APPDEFS_CFLAGS
    653 XCLIPBOARD_LIBS
    654 XCLIPBOARD_CFLAGS
    655 MAN_SUBSTS
    656 XORG_MAN_PAGE
    657 ADMIN_MAN_DIR
    658 DRIVER_MAN_DIR
    659 MISC_MAN_DIR
    660 FILE_MAN_DIR
    661 LIB_MAN_DIR
    662 APP_MAN_DIR
    663 ADMIN_MAN_SUFFIX
    664 DRIVER_MAN_SUFFIX
    665 MISC_MAN_SUFFIX
    666 FILE_MAN_SUFFIX
    667 LIB_MAN_SUFFIX
    668 APP_MAN_SUFFIX
    669 SED
    670 host_os
    671 host_vendor
    672 host_cpu
    673 host
    674 build_os
    675 build_vendor
    676 build_cpu
    677 build
    678 INSTALL_CMD
    679 PKG_CONFIG_LIBDIR
    680 PKG_CONFIG_PATH
    681 PKG_CONFIG
    682 CHANGELOG_CMD
    683 STRICT_CFLAGS
    684 CWARNFLAGS
    685 BASE_CFLAGS
    686 am__fastdepCC_FALSE
    687 am__fastdepCC_TRUE
    688 CCDEPMODE
    689 am__nodep
    690 AMDEPBACKSLASH
    691 AMDEP_FALSE
    692 AMDEP_TRUE
    693 am__include
    694 DEPDIR
    695 OBJEXT
    696 EXEEXT
    697 ac_ct_CC
    698 CPPFLAGS
    699 LDFLAGS
    700 CFLAGS
    701 CC
    702 am__xargs_n
    703 am__rm_f_notfound
    704 AM_BACKSLASH
    705 AM_DEFAULT_VERBOSITY
    706 AM_DEFAULT_V
    707 AM_V
    708 CSCOPE
    709 ETAGS
    710 CTAGS
    711 am__untar
    712 am__tar
    713 AMTAR
    714 am__leading_dot
    715 SET_MAKE
    716 AWK
    717 mkdir_p
    718 MKDIR_P
    719 INSTALL_STRIP_PROGRAM
    720 STRIP
    721 install_sh
    722 MAKEINFO
    723 AUTOHEADER
    724 AUTOMAKE
    725 AUTOCONF
    726 ACLOCAL
    727 VERSION
    728 PACKAGE
    729 CYGPATH_W
    730 am__isrc
    731 INSTALL_DATA
    732 INSTALL_SCRIPT
    733 INSTALL_PROGRAM
    734 target_alias
    735 host_alias
    736 build_alias
    737 LIBS
    738 ECHO_T
    739 ECHO_N
    740 ECHO_C
    741 DEFS
    742 mandir
    743 localedir
    744 libdir
    745 psdir
    746 pdfdir
    747 dvidir
    748 htmldir
    749 infodir
    750 docdir
    751 oldincludedir
    752 includedir
    753 runstatedir
    754 localstatedir
    755 sharedstatedir
    756 sysconfdir
    757 datadir
    758 datarootdir
    759 libexecdir
    760 sbindir
    761 bindir
    762 program_transform_name
    763 prefix
    764 exec_prefix
    765 PACKAGE_URL
    766 PACKAGE_BUGREPORT
    767 PACKAGE_STRING
    768 PACKAGE_VERSION
    769 PACKAGE_TARNAME
    770 PACKAGE_NAME
    771 PATH_SEPARATOR
    772 SHELL
    773 am__quote'
    774 ac_subst_files=''
    775 ac_user_opts='
    776 enable_option_checking
    777 enable_silent_rules
    778 enable_dependency_tracking
    779 enable_selective_werror
    780 enable_strict_compilation
    781 with_appdefaultdir
    782 '
    783       ac_precious_vars='build_alias
    784 host_alias
    785 target_alias
    786 CC
    787 CFLAGS
    788 LDFLAGS
    789 LIBS
    790 CPPFLAGS
    791 PKG_CONFIG
    792 PKG_CONFIG_PATH
    793 PKG_CONFIG_LIBDIR
    794 XCLIPBOARD_CFLAGS
    795 XCLIPBOARD_LIBS
    796 APPDEFS_CFLAGS
    797 APPDEFS_LIBS'
    798 
    799 
    800 # Initialize some variables set by options.
    801 ac_init_help=
    802 ac_init_version=false
    803 ac_unrecognized_opts=
    804 ac_unrecognized_sep=
    805 # The variables have the same names as the options, with
    806 # dashes changed to underlines.
    807 cache_file=/dev/null
    808 exec_prefix=NONE
    809 no_create=
    810 no_recursion=
    811 prefix=NONE
    812 program_prefix=NONE
    813 program_suffix=NONE
    814 program_transform_name=s,x,x,
    815 silent=
    816 site=
    817 srcdir=
    818 verbose=
    819 x_includes=NONE
    820 x_libraries=NONE
    821 
    822 # Installation directory options.
    823 # These are left unexpanded so users can "make install exec_prefix=/foo"
    824 # and all the variables that are supposed to be based on exec_prefix
    825 # by default will actually change.
    826 # Use braces instead of parens because sh, perl, etc. also accept them.
    827 # (The list follows the same order as the GNU Coding Standards.)
    828 bindir='${exec_prefix}/bin'
    829 sbindir='${exec_prefix}/sbin'
    830 libexecdir='${exec_prefix}/libexec'
    831 datarootdir='${prefix}/share'
    832 datadir='${datarootdir}'
    833 sysconfdir='${prefix}/etc'
    834 sharedstatedir='${prefix}/com'
    835 localstatedir='${prefix}/var'
    836 runstatedir='${localstatedir}/run'
    837 includedir='${prefix}/include'
    838 oldincludedir='/usr/include'
    839 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    840 infodir='${datarootdir}/info'
    841 htmldir='${docdir}'
    842 dvidir='${docdir}'
    843 pdfdir='${docdir}'
    844 psdir='${docdir}'
    845 libdir='${exec_prefix}/lib'
    846 localedir='${datarootdir}/locale'
    847 mandir='${datarootdir}/man'
    848 
    849 ac_prev=
    850 ac_dashdash=
    851 for ac_option
    852 do
    853   # If the previous option needs an argument, assign it.
    854   if test -n "$ac_prev"; then
    855     eval $ac_prev=\$ac_option
    856     ac_prev=
    857     continue
    858   fi
    859 
    860   case $ac_option in
    861   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    862   *=)   ac_optarg= ;;
    863   *)    ac_optarg=yes ;;
    864   esac
    865 
    866   case $ac_dashdash$ac_option in
    867   --)
    868     ac_dashdash=yes ;;
    869 
    870   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    871     ac_prev=bindir ;;
    872   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    873     bindir=$ac_optarg ;;
    874 
    875   -build | --build | --buil | --bui | --bu)
    876     ac_prev=build_alias ;;
    877   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    878     build_alias=$ac_optarg ;;
    879 
    880   -cache-file | --cache-file | --cache-fil | --cache-fi \
    881   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    882     ac_prev=cache_file ;;
    883   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    884   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    885     cache_file=$ac_optarg ;;
    886 
    887   --config-cache | -C)
    888     cache_file=config.cache ;;
    889 
    890   -datadir | --datadir | --datadi | --datad)
    891     ac_prev=datadir ;;
    892   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    893     datadir=$ac_optarg ;;
    894 
    895   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    896   | --dataroo | --dataro | --datar)
    897     ac_prev=datarootdir ;;
    898   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    899   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    900     datarootdir=$ac_optarg ;;
    901 
    902   -disable-* | --disable-*)
    903     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    904     # Reject names that are not valid shell variable names.
    905     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    906       as_fn_error $? "invalid feature name: '$ac_useropt'"
    907     ac_useropt_orig=$ac_useropt
    908     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    909     case $ac_user_opts in
    910       *"
    911 "enable_$ac_useropt"
    912 "*) ;;
    913       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    914 	 ac_unrecognized_sep=', ';;
    915     esac
    916     eval enable_$ac_useropt=no ;;
    917 
    918   -docdir | --docdir | --docdi | --doc | --do)
    919     ac_prev=docdir ;;
    920   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    921     docdir=$ac_optarg ;;
    922 
    923   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    924     ac_prev=dvidir ;;
    925   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    926     dvidir=$ac_optarg ;;
    927 
    928   -enable-* | --enable-*)
    929     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    930     # Reject names that are not valid shell variable names.
    931     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    932       as_fn_error $? "invalid feature name: '$ac_useropt'"
    933     ac_useropt_orig=$ac_useropt
    934     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
    935     case $ac_user_opts in
    936       *"
    937 "enable_$ac_useropt"
    938 "*) ;;
    939       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    940 	 ac_unrecognized_sep=', ';;
    941     esac
    942     eval enable_$ac_useropt=\$ac_optarg ;;
    943 
    944   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    945   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    946   | --exec | --exe | --ex)
    947     ac_prev=exec_prefix ;;
    948   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    949   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    950   | --exec=* | --exe=* | --ex=*)
    951     exec_prefix=$ac_optarg ;;
    952 
    953   -gas | --gas | --ga | --g)
    954     # Obsolete; use --with-gas.
    955     with_gas=yes ;;
    956 
    957   -help | --help | --hel | --he | -h)
    958     ac_init_help=long ;;
    959   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    960     ac_init_help=recursive ;;
    961   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    962     ac_init_help=short ;;
    963 
    964   -host | --host | --hos | --ho)
    965     ac_prev=host_alias ;;
    966   -host=* | --host=* | --hos=* | --ho=*)
    967     host_alias=$ac_optarg ;;
    968 
    969   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    970     ac_prev=htmldir ;;
    971   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    972   | --ht=*)
    973     htmldir=$ac_optarg ;;
    974 
    975   -includedir | --includedir | --includedi | --included | --include \
    976   | --includ | --inclu | --incl | --inc)
    977     ac_prev=includedir ;;
    978   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    979   | --includ=* | --inclu=* | --incl=* | --inc=*)
    980     includedir=$ac_optarg ;;
    981 
    982   -infodir | --infodir | --infodi | --infod | --info | --inf)
    983     ac_prev=infodir ;;
    984   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    985     infodir=$ac_optarg ;;
    986 
    987   -libdir | --libdir | --libdi | --libd)
    988     ac_prev=libdir ;;
    989   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    990     libdir=$ac_optarg ;;
    991 
    992   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    993   | --libexe | --libex | --libe)
    994     ac_prev=libexecdir ;;
    995   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    996   | --libexe=* | --libex=* | --libe=*)
    997     libexecdir=$ac_optarg ;;
    998 
    999   -localedir | --localedir | --localedi | --localed | --locale)
   1000     ac_prev=localedir ;;
   1001   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1002     localedir=$ac_optarg ;;
   1003 
   1004   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1005   | --localstate | --localstat | --localsta | --localst | --locals)
   1006     ac_prev=localstatedir ;;
   1007   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1008   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1009     localstatedir=$ac_optarg ;;
   1010 
   1011   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1012     ac_prev=mandir ;;
   1013   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1014     mandir=$ac_optarg ;;
   1015 
   1016   -nfp | --nfp | --nf)
   1017     # Obsolete; use --without-fp.
   1018     with_fp=no ;;
   1019 
   1020   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1021   | --no-cr | --no-c | -n)
   1022     no_create=yes ;;
   1023 
   1024   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1025   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1026     no_recursion=yes ;;
   1027 
   1028   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1029   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1030   | --oldin | --oldi | --old | --ol | --o)
   1031     ac_prev=oldincludedir ;;
   1032   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1033   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1034   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1035     oldincludedir=$ac_optarg ;;
   1036 
   1037   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1038     ac_prev=prefix ;;
   1039   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1040     prefix=$ac_optarg ;;
   1041 
   1042   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1043   | --program-pre | --program-pr | --program-p)
   1044     ac_prev=program_prefix ;;
   1045   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1046   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1047     program_prefix=$ac_optarg ;;
   1048 
   1049   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1050   | --program-suf | --program-su | --program-s)
   1051     ac_prev=program_suffix ;;
   1052   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1053   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1054     program_suffix=$ac_optarg ;;
   1055 
   1056   -program-transform-name | --program-transform-name \
   1057   | --program-transform-nam | --program-transform-na \
   1058   | --program-transform-n | --program-transform- \
   1059   | --program-transform | --program-transfor \
   1060   | --program-transfo | --program-transf \
   1061   | --program-trans | --program-tran \
   1062   | --progr-tra | --program-tr | --program-t)
   1063     ac_prev=program_transform_name ;;
   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     program_transform_name=$ac_optarg ;;
   1072 
   1073   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1074     ac_prev=pdfdir ;;
   1075   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1076     pdfdir=$ac_optarg ;;
   1077 
   1078   -psdir | --psdir | --psdi | --psd | --ps)
   1079     ac_prev=psdir ;;
   1080   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1081     psdir=$ac_optarg ;;
   1082 
   1083   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1084   | -silent | --silent | --silen | --sile | --sil)
   1085     silent=yes ;;
   1086 
   1087   -runstatedir | --runstatedir | --runstatedi | --runstated \
   1088   | --runstate | --runstat | --runsta | --runst | --runs \
   1089   | --run | --ru | --r)
   1090     ac_prev=runstatedir ;;
   1091   -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
   1092   | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
   1093   | --run=* | --ru=* | --r=*)
   1094     runstatedir=$ac_optarg ;;
   1095 
   1096   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1097     ac_prev=sbindir ;;
   1098   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1099   | --sbi=* | --sb=*)
   1100     sbindir=$ac_optarg ;;
   1101 
   1102   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1103   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1104   | --sharedst | --shareds | --shared | --share | --shar \
   1105   | --sha | --sh)
   1106     ac_prev=sharedstatedir ;;
   1107   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1108   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1109   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1110   | --sha=* | --sh=*)
   1111     sharedstatedir=$ac_optarg ;;
   1112 
   1113   -site | --site | --sit)
   1114     ac_prev=site ;;
   1115   -site=* | --site=* | --sit=*)
   1116     site=$ac_optarg ;;
   1117 
   1118   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1119     ac_prev=srcdir ;;
   1120   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1121     srcdir=$ac_optarg ;;
   1122 
   1123   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1124   | --syscon | --sysco | --sysc | --sys | --sy)
   1125     ac_prev=sysconfdir ;;
   1126   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1127   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1128     sysconfdir=$ac_optarg ;;
   1129 
   1130   -target | --target | --targe | --targ | --tar | --ta | --t)
   1131     ac_prev=target_alias ;;
   1132   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1133     target_alias=$ac_optarg ;;
   1134 
   1135   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1136     verbose=yes ;;
   1137 
   1138   -version | --version | --versio | --versi | --vers | -V)
   1139     ac_init_version=: ;;
   1140 
   1141   -with-* | --with-*)
   1142     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1143     # Reject names that are not valid shell variable names.
   1144     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1145       as_fn_error $? "invalid package name: '$ac_useropt'"
   1146     ac_useropt_orig=$ac_useropt
   1147     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1148     case $ac_user_opts in
   1149       *"
   1150 "with_$ac_useropt"
   1151 "*) ;;
   1152       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1153 	 ac_unrecognized_sep=', ';;
   1154     esac
   1155     eval with_$ac_useropt=\$ac_optarg ;;
   1156 
   1157   -without-* | --without-*)
   1158     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1159     # Reject names that are not valid shell variable names.
   1160     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1161       as_fn_error $? "invalid package name: '$ac_useropt'"
   1162     ac_useropt_orig=$ac_useropt
   1163     ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
   1164     case $ac_user_opts in
   1165       *"
   1166 "with_$ac_useropt"
   1167 "*) ;;
   1168       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1169 	 ac_unrecognized_sep=', ';;
   1170     esac
   1171     eval with_$ac_useropt=no ;;
   1172 
   1173   --x)
   1174     # Obsolete; use --with-x.
   1175     with_x=yes ;;
   1176 
   1177   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1178   | --x-incl | --x-inc | --x-in | --x-i)
   1179     ac_prev=x_includes ;;
   1180   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1181   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1182     x_includes=$ac_optarg ;;
   1183 
   1184   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1185   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1186     ac_prev=x_libraries ;;
   1187   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1188   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1189     x_libraries=$ac_optarg ;;
   1190 
   1191   -*) as_fn_error $? "unrecognized option: '$ac_option'
   1192 Try '$0 --help' for more information"
   1193     ;;
   1194 
   1195   *=*)
   1196     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1197     # Reject names that are not valid shell variable names.
   1198     case $ac_envvar in #(
   1199       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1200       as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
   1201     esac
   1202     eval $ac_envvar=\$ac_optarg
   1203     export $ac_envvar ;;
   1204 
   1205   *)
   1206     # FIXME: should be removed in autoconf 3.0.
   1207     printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
   1208     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1209       printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
   1210     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1211     ;;
   1212 
   1213   esac
   1214 done
   1215 
   1216 if test -n "$ac_prev"; then
   1217   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1218   as_fn_error $? "missing argument to $ac_option"
   1219 fi
   1220 
   1221 if test -n "$ac_unrecognized_opts"; then
   1222   case $enable_option_checking in
   1223     no) ;;
   1224     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1225     *)     printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1226   esac
   1227 fi
   1228 
   1229 # Check all directory arguments for consistency.
   1230 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1231 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1232 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1233 		libdir localedir mandir runstatedir
   1234 do
   1235   eval ac_val=\$$ac_var
   1236   # Remove trailing slashes.
   1237   case $ac_val in
   1238     */ )
   1239       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1240       eval $ac_var=\$ac_val;;
   1241   esac
   1242   # Be sure to have absolute directory names.
   1243   case $ac_val in
   1244     [\\/$]* | ?:[\\/]* )  continue;;
   1245     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1246   esac
   1247   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1248 done
   1249 
   1250 # There might be people who depend on the old broken behavior: '$host'
   1251 # used to hold the argument of --host etc.
   1252 # FIXME: To remove some day.
   1253 build=$build_alias
   1254 host=$host_alias
   1255 target=$target_alias
   1256 
   1257 # FIXME: To remove some day.
   1258 if test "x$host_alias" != x; then
   1259   if test "x$build_alias" = x; then
   1260     cross_compiling=maybe
   1261   elif test "x$build_alias" != "x$host_alias"; then
   1262     cross_compiling=yes
   1263   fi
   1264 fi
   1265 
   1266 ac_tool_prefix=
   1267 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1268 
   1269 test "$silent" = yes && exec 6>/dev/null
   1270 
   1271 
   1272 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1273 ac_ls_di=`ls -di .` &&
   1274 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1275   as_fn_error $? "working directory cannot be determined"
   1276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1277   as_fn_error $? "pwd does not report name of working directory"
   1278 
   1279 
   1280 # Find the source files, if location was not specified.
   1281 if test -z "$srcdir"; then
   1282   ac_srcdir_defaulted=yes
   1283   # Try the directory containing this script, then the parent directory.
   1284   ac_confdir=`$as_dirname -- "$as_myself" ||
   1285 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1286 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1287 	 X"$as_myself" : 'X\(//\)$' \| \
   1288 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1289 printf "%s\n" X"$as_myself" |
   1290     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  /^X\(\/\/\)[^/].*/{
   1295 	    s//\1/
   1296 	    q
   1297 	  }
   1298 	  /^X\(\/\/\)$/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  /^X\(\/\).*/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  s/.*/./; q'`
   1307   srcdir=$ac_confdir
   1308   if test ! -r "$srcdir/$ac_unique_file"; then
   1309     srcdir=..
   1310   fi
   1311 else
   1312   ac_srcdir_defaulted=no
   1313 fi
   1314 if test ! -r "$srcdir/$ac_unique_file"; then
   1315   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1316   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1317 fi
   1318 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
   1319 ac_abs_confdir=`(
   1320 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1321 	pwd)`
   1322 # When building in place, set srcdir=.
   1323 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1324   srcdir=.
   1325 fi
   1326 # Remove unnecessary trailing slashes from srcdir.
   1327 # Double slashes in file names in object file debugging info
   1328 # mess up M-x gdb in Emacs.
   1329 case $srcdir in
   1330 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1331 esac
   1332 for ac_var in $ac_precious_vars; do
   1333   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1334   eval ac_env_${ac_var}_value=\$${ac_var}
   1335   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1336   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1337 done
   1338 
   1339 #
   1340 # Report the --help message.
   1341 #
   1342 if test "$ac_init_help" = "long"; then
   1343   # Omit some internal or obsolete options to make the list less imposing.
   1344   # This message is too long to be a string in the A/UX 3.1 sh.
   1345   cat <<_ACEOF
   1346 'configure' configures xclipboard 1.1.5 to adapt to many kinds of systems.
   1347 
   1348 Usage: $0 [OPTION]... [VAR=VALUE]...
   1349 
   1350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1351 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1352 
   1353 Defaults for the options are specified in brackets.
   1354 
   1355 Configuration:
   1356   -h, --help              display this help and exit
   1357       --help=short        display options specific to this package
   1358       --help=recursive    display the short help of all the included packages
   1359   -V, --version           display version information and exit
   1360   -q, --quiet, --silent   do not print 'checking ...' messages
   1361       --cache-file=FILE   cache test results in FILE [disabled]
   1362   -C, --config-cache      alias for '--cache-file=config.cache'
   1363   -n, --no-create         do not create output files
   1364       --srcdir=DIR        find the sources in DIR [configure dir or '..']
   1365 
   1366 Installation directories:
   1367   --prefix=PREFIX         install architecture-independent files in PREFIX
   1368                           [$ac_default_prefix]
   1369   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1370                           [PREFIX]
   1371 
   1372 By default, 'make install' will install all the files in
   1373 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc.  You can specify
   1374 an installation prefix other than '$ac_default_prefix' using '--prefix',
   1375 for instance '--prefix=\$HOME'.
   1376 
   1377 For better control, use the options below.
   1378 
   1379 Fine tuning of the installation directories:
   1380   --bindir=DIR            user executables [EPREFIX/bin]
   1381   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1382   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1383   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1384   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1385   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1386   --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   1387   --libdir=DIR            object code libraries [EPREFIX/lib]
   1388   --includedir=DIR        C header files [PREFIX/include]
   1389   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1390   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1391   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1392   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1393   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1394   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1395   --docdir=DIR            documentation root [DATAROOTDIR/doc/xclipboard]
   1396   --htmldir=DIR           html documentation [DOCDIR]
   1397   --dvidir=DIR            dvi documentation [DOCDIR]
   1398   --pdfdir=DIR            pdf documentation [DOCDIR]
   1399   --psdir=DIR             ps documentation [DOCDIR]
   1400 _ACEOF
   1401 
   1402   cat <<\_ACEOF
   1403 
   1404 Program names:
   1405   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1406   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1407   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1408 
   1409 System types:
   1410   --build=BUILD     configure for building on BUILD [guessed]
   1411   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1412 _ACEOF
   1413 fi
   1414 
   1415 if test -n "$ac_init_help"; then
   1416   case $ac_init_help in
   1417      short | recursive ) echo "Configuration of xclipboard 1.1.5:";;
   1418    esac
   1419   cat <<\_ACEOF
   1420 
   1421 Optional Features:
   1422   --disable-option-checking  ignore unrecognized --enable/--with options
   1423   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1424   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1425   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1426   --disable-silent-rules  verbose build output (undo: "make V=0")
   1427   --enable-dependency-tracking
   1428                           do not reject slow dependency extractors
   1429   --disable-dependency-tracking
   1430                           speeds up one-time build
   1431   --disable-selective-werror
   1432                           Turn off selective compiler errors. (default:
   1433                           enabled)
   1434   --enable-strict-compilation
   1435                           Enable all warnings from compiler and make them
   1436                           errors (default: disabled)
   1437 
   1438 Optional Packages:
   1439   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1440   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1441   --with-appdefaultdir=<pathname>
   1442                           specify directory for app-defaults files (default is
   1443                           autodetected)
   1444 
   1445 Some influential environment variables:
   1446   CC          C compiler command
   1447   CFLAGS      C compiler flags
   1448   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1449               nonstandard directory <lib dir>
   1450   LIBS        libraries to pass to the linker, e.g. -l<library>
   1451   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1452               you have headers in a nonstandard directory <include dir>
   1453   PKG_CONFIG  path to pkg-config utility
   1454   PKG_CONFIG_PATH
   1455               directories to add to pkg-config's search path
   1456   PKG_CONFIG_LIBDIR
   1457               path overriding pkg-config's built-in search path
   1458   XCLIPBOARD_CFLAGS
   1459               C compiler flags for XCLIPBOARD, overriding pkg-config
   1460   XCLIPBOARD_LIBS
   1461               linker flags for XCLIPBOARD, overriding pkg-config
   1462   APPDEFS_CFLAGS
   1463               C compiler flags for APPDEFS, overriding pkg-config
   1464   APPDEFS_LIBS
   1465               linker flags for APPDEFS, overriding pkg-config
   1466 
   1467 Use these variables to override the choices made by 'configure' or to help
   1468 it to find libraries and programs with nonstandard names/locations.
   1469 
   1470 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xclipboard/-/issue>.
   1471 xclipboard home page: <https://gitlab.freedesktop.org/xorg/app/xclipboard/>.
   1472 _ACEOF
   1473 ac_status=$?
   1474 fi
   1475 
   1476 if test "$ac_init_help" = "recursive"; then
   1477   # If there are subdirs, report their specific --help.
   1478   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1479     test -d "$ac_dir" ||
   1480       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1481       continue
   1482     ac_builddir=.
   1483 
   1484 case "$ac_dir" in
   1485 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1486 *)
   1487   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   1488   # A ".." for each directory in $ac_dir_suffix.
   1489   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1490   case $ac_top_builddir_sub in
   1491   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1492   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1493   esac ;;
   1494 esac
   1495 ac_abs_top_builddir=$ac_pwd
   1496 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1497 # for backward compatibility:
   1498 ac_top_builddir=$ac_top_build_prefix
   1499 
   1500 case $srcdir in
   1501   .)  # We are building in place.
   1502     ac_srcdir=.
   1503     ac_top_srcdir=$ac_top_builddir_sub
   1504     ac_abs_top_srcdir=$ac_pwd ;;
   1505   [\\/]* | ?:[\\/]* )  # Absolute name.
   1506     ac_srcdir=$srcdir$ac_dir_suffix;
   1507     ac_top_srcdir=$srcdir
   1508     ac_abs_top_srcdir=$srcdir ;;
   1509   *) # Relative name.
   1510     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1511     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1512     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1513 esac
   1514 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1515 
   1516     cd "$ac_dir" || { ac_status=$?; continue; }
   1517     # Check for configure.gnu first; this name is used for a wrapper for
   1518     # Metaconfig's "Configure" on case-insensitive file systems.
   1519     if test -f "$ac_srcdir/configure.gnu"; then
   1520       echo &&
   1521       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1522     elif test -f "$ac_srcdir/configure"; then
   1523       echo &&
   1524       $SHELL "$ac_srcdir/configure" --help=recursive
   1525     else
   1526       printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1527     fi || ac_status=$?
   1528     cd "$ac_pwd" || { ac_status=$?; break; }
   1529   done
   1530 fi
   1531 
   1532 test -n "$ac_init_help" && exit $ac_status
   1533 if $ac_init_version; then
   1534   cat <<\_ACEOF
   1535 xclipboard configure 1.1.5
   1536 generated by GNU Autoconf 2.72
   1537 
   1538 Copyright (C) 2023 Free Software Foundation, Inc.
   1539 This configure script is free software; the Free Software Foundation
   1540 gives unlimited permission to copy, distribute and modify it.
   1541 _ACEOF
   1542   exit
   1543 fi
   1544 
   1545 ## ------------------------ ##
   1546 ## Autoconf initialization. ##
   1547 ## ------------------------ ##
   1548 
   1549 # ac_fn_c_try_compile LINENO
   1550 # --------------------------
   1551 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1552 ac_fn_c_try_compile ()
   1553 {
   1554   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1555   rm -f conftest.$ac_objext conftest.beam
   1556   if { { ac_try="$ac_compile"
   1557 case "(($ac_try" in
   1558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1559   *) ac_try_echo=$ac_try;;
   1560 esac
   1561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1562 printf "%s\n" "$ac_try_echo"; } >&5
   1563   (eval "$ac_compile") 2>conftest.err
   1564   ac_status=$?
   1565   if test -s conftest.err; then
   1566     grep -v '^ *+' conftest.err >conftest.er1
   1567     cat conftest.er1 >&5
   1568     mv -f conftest.er1 conftest.err
   1569   fi
   1570   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1571   test $ac_status = 0; } && {
   1572 	 test -z "$ac_c_werror_flag" ||
   1573 	 test ! -s conftest.err
   1574        } && test -s conftest.$ac_objext
   1575 then :
   1576   ac_retval=0
   1577 else case e in #(
   1578   e) printf "%s\n" "$as_me: failed program was:" >&5
   1579 sed 's/^/| /' conftest.$ac_ext >&5
   1580 
   1581 	ac_retval=1 ;;
   1582 esac
   1583 fi
   1584   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1585   as_fn_set_status $ac_retval
   1586 
   1587 } # ac_fn_c_try_compile
   1588 
   1589 # ac_fn_check_decl LINENO SYMBOL VAR INCLUDES EXTRA-OPTIONS FLAG-VAR
   1590 # ------------------------------------------------------------------
   1591 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1592 # accordingly. Pass EXTRA-OPTIONS to the compiler, using FLAG-VAR.
   1593 ac_fn_check_decl ()
   1594 {
   1595   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1596   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1597   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1598 printf %s "checking whether $as_decl_name is declared... " >&6; }
   1599 if eval test \${$3+y}
   1600 then :
   1601   printf %s "(cached) " >&6
   1602 else case e in #(
   1603   e) as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1604   eval ac_save_FLAGS=\$$6
   1605   as_fn_append $6 " $5"
   1606   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1607 /* end confdefs.h.  */
   1608 $4
   1609 int
   1610 main (void)
   1611 {
   1612 #ifndef $as_decl_name
   1613 #ifdef __cplusplus
   1614   (void) $as_decl_use;
   1615 #else
   1616   (void) $as_decl_name;
   1617 #endif
   1618 #endif
   1619 
   1620   ;
   1621   return 0;
   1622 }
   1623 _ACEOF
   1624 if ac_fn_c_try_compile "$LINENO"
   1625 then :
   1626   eval "$3=yes"
   1627 else case e in #(
   1628   e) eval "$3=no" ;;
   1629 esac
   1630 fi
   1631 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   1632   eval $6=\$ac_save_FLAGS
   1633  ;;
   1634 esac
   1635 fi
   1636 eval ac_res=\$$3
   1637 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1638 printf "%s\n" "$ac_res" >&6; }
   1639   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1640 
   1641 } # ac_fn_check_decl
   1642 
   1643 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1644 # -------------------------------------------------------
   1645 # Tests whether HEADER exists and can be compiled using the include files in
   1646 # INCLUDES, setting the cache variable VAR accordingly.
   1647 ac_fn_c_check_header_compile ()
   1648 {
   1649   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1650   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1651 printf %s "checking for $2... " >&6; }
   1652 if eval test \${$3+y}
   1653 then :
   1654   printf %s "(cached) " >&6
   1655 else case e in #(
   1656   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1657 /* end confdefs.h.  */
   1658 $4
   1659 #include <$2>
   1660 _ACEOF
   1661 if ac_fn_c_try_compile "$LINENO"
   1662 then :
   1663   eval "$3=yes"
   1664 else case e in #(
   1665   e) eval "$3=no" ;;
   1666 esac
   1667 fi
   1668 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   1669 esac
   1670 fi
   1671 eval ac_res=\$$3
   1672 	       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1673 printf "%s\n" "$ac_res" >&6; }
   1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1675 
   1676 } # ac_fn_c_check_header_compile
   1677 
   1678 # ac_fn_c_try_link LINENO
   1679 # -----------------------
   1680 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1681 ac_fn_c_try_link ()
   1682 {
   1683   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1684   rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
   1685   if { { ac_try="$ac_link"
   1686 case "(($ac_try" in
   1687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1688   *) ac_try_echo=$ac_try;;
   1689 esac
   1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1691 printf "%s\n" "$ac_try_echo"; } >&5
   1692   (eval "$ac_link") 2>conftest.err
   1693   ac_status=$?
   1694   if test -s conftest.err; then
   1695     grep -v '^ *+' conftest.err >conftest.er1
   1696     cat conftest.er1 >&5
   1697     mv -f conftest.er1 conftest.err
   1698   fi
   1699   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1700   test $ac_status = 0; } && {
   1701 	 test -z "$ac_c_werror_flag" ||
   1702 	 test ! -s conftest.err
   1703        } && test -s conftest$ac_exeext && {
   1704 	 test "$cross_compiling" = yes ||
   1705 	 test -x conftest$ac_exeext
   1706        }
   1707 then :
   1708   ac_retval=0
   1709 else case e in #(
   1710   e) printf "%s\n" "$as_me: failed program was:" >&5
   1711 sed 's/^/| /' conftest.$ac_ext >&5
   1712 
   1713 	ac_retval=1 ;;
   1714 esac
   1715 fi
   1716   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1717   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1718   # interfere with the next link command; also delete a directory that is
   1719   # left behind by Apple's compiler.  We do this before executing the actions.
   1720   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1721   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1722   as_fn_set_status $ac_retval
   1723 
   1724 } # ac_fn_c_try_link
   1725 ac_configure_args_raw=
   1726 for ac_arg
   1727 do
   1728   case $ac_arg in
   1729   *\'*)
   1730     ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1731   esac
   1732   as_fn_append ac_configure_args_raw " '$ac_arg'"
   1733 done
   1734 
   1735 case $ac_configure_args_raw in
   1736   *$as_nl*)
   1737     ac_safe_unquote= ;;
   1738   *)
   1739     ac_unsafe_z='|&;<>()$`\\"*?[ ''	' # This string ends in space, tab.
   1740     ac_unsafe_a="$ac_unsafe_z#~"
   1741     ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
   1742     ac_configure_args_raw=`      printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
   1743 esac
   1744 
   1745 cat >config.log <<_ACEOF
   1746 This file contains any messages produced by compilers while
   1747 running configure, to aid debugging if configure makes a mistake.
   1748 
   1749 It was created by xclipboard $as_me 1.1.5, which was
   1750 generated by GNU Autoconf 2.72.  Invocation command line was
   1751 
   1752   $ $0$ac_configure_args_raw
   1753 
   1754 _ACEOF
   1755 exec 5>>config.log
   1756 {
   1757 cat <<_ASUNAME
   1758 ## --------- ##
   1759 ## Platform. ##
   1760 ## --------- ##
   1761 
   1762 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1763 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1764 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1765 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1766 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1767 
   1768 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1769 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1770 
   1771 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1772 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1773 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1774 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1775 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1776 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1777 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1778 
   1779 _ASUNAME
   1780 
   1781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1782 for as_dir in $PATH
   1783 do
   1784   IFS=$as_save_IFS
   1785   case $as_dir in #(((
   1786     '') as_dir=./ ;;
   1787     */) ;;
   1788     *) as_dir=$as_dir/ ;;
   1789   esac
   1790     printf "%s\n" "PATH: $as_dir"
   1791   done
   1792 IFS=$as_save_IFS
   1793 
   1794 } >&5
   1795 
   1796 cat >&5 <<_ACEOF
   1797 
   1798 
   1799 ## ----------- ##
   1800 ## Core tests. ##
   1801 ## ----------- ##
   1802 
   1803 _ACEOF
   1804 
   1805 
   1806 # Keep a trace of the command line.
   1807 # Strip out --no-create and --no-recursion so they do not pile up.
   1808 # Strip out --silent because we don't want to record it for future runs.
   1809 # Also quote any args containing shell meta-characters.
   1810 # Make two passes to allow for proper duplicate-argument suppression.
   1811 ac_configure_args=
   1812 ac_configure_args0=
   1813 ac_configure_args1=
   1814 ac_must_keep_next=false
   1815 for ac_pass in 1 2
   1816 do
   1817   for ac_arg
   1818   do
   1819     case $ac_arg in
   1820     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1821     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1822     | -silent | --silent | --silen | --sile | --sil)
   1823       continue ;;
   1824     *\'*)
   1825       ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1826     esac
   1827     case $ac_pass in
   1828     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1829     2)
   1830       as_fn_append ac_configure_args1 " '$ac_arg'"
   1831       if test $ac_must_keep_next = true; then
   1832 	ac_must_keep_next=false # Got value, back to normal.
   1833       else
   1834 	case $ac_arg in
   1835 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1836 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1837 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1838 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1839 	    case "$ac_configure_args0 " in
   1840 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1841 	    esac
   1842 	    ;;
   1843 	  -* ) ac_must_keep_next=true ;;
   1844 	esac
   1845       fi
   1846       as_fn_append ac_configure_args " '$ac_arg'"
   1847       ;;
   1848     esac
   1849   done
   1850 done
   1851 { ac_configure_args0=; unset ac_configure_args0;}
   1852 { ac_configure_args1=; unset ac_configure_args1;}
   1853 
   1854 # When interrupted or exit'd, cleanup temporary files, and complete
   1855 # config.log.  We remove comments because anyway the quotes in there
   1856 # would cause problems or look ugly.
   1857 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1858 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1859 trap 'exit_status=$?
   1860   # Sanitize IFS.
   1861   IFS=" ""	$as_nl"
   1862   # Save into config.log some information that might help in debugging.
   1863   {
   1864     echo
   1865 
   1866     printf "%s\n" "## ---------------- ##
   1867 ## Cache variables. ##
   1868 ## ---------------- ##"
   1869     echo
   1870     # The following way of writing the cache mishandles newlines in values,
   1871 (
   1872   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1873     eval ac_val=\$$ac_var
   1874     case $ac_val in #(
   1875     *${as_nl}*)
   1876       case $ac_var in #(
   1877       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1878 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1879       esac
   1880       case $ac_var in #(
   1881       _ | IFS | as_nl) ;; #(
   1882       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1883       *) { eval $ac_var=; unset $ac_var;} ;;
   1884       esac ;;
   1885     esac
   1886   done
   1887   (set) 2>&1 |
   1888     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1889     *${as_nl}ac_space=\ *)
   1890       sed -n \
   1891 	"s/'\''/'\''\\\\'\'''\''/g;
   1892 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1893       ;; #(
   1894     *)
   1895       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1896       ;;
   1897     esac |
   1898     sort
   1899 )
   1900     echo
   1901 
   1902     printf "%s\n" "## ----------------- ##
   1903 ## Output variables. ##
   1904 ## ----------------- ##"
   1905     echo
   1906     for ac_var in $ac_subst_vars
   1907     do
   1908       eval ac_val=\$$ac_var
   1909       case $ac_val in
   1910       *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1911       esac
   1912       printf "%s\n" "$ac_var='\''$ac_val'\''"
   1913     done | sort
   1914     echo
   1915 
   1916     if test -n "$ac_subst_files"; then
   1917       printf "%s\n" "## ------------------- ##
   1918 ## File substitutions. ##
   1919 ## ------------------- ##"
   1920       echo
   1921       for ac_var in $ac_subst_files
   1922       do
   1923 	eval ac_val=\$$ac_var
   1924 	case $ac_val in
   1925 	*\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1926 	esac
   1927 	printf "%s\n" "$ac_var='\''$ac_val'\''"
   1928       done | sort
   1929       echo
   1930     fi
   1931 
   1932     if test -s confdefs.h; then
   1933       printf "%s\n" "## ----------- ##
   1934 ## confdefs.h. ##
   1935 ## ----------- ##"
   1936       echo
   1937       cat confdefs.h
   1938       echo
   1939     fi
   1940     test "$ac_signal" != 0 &&
   1941       printf "%s\n" "$as_me: caught signal $ac_signal"
   1942     printf "%s\n" "$as_me: exit $exit_status"
   1943   } >&5
   1944   rm -f core *.core core.conftest.* &&
   1945     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   1946     exit $exit_status
   1947 ' 0
   1948 for ac_signal in 1 2 13 15; do
   1949   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   1950 done
   1951 ac_signal=0
   1952 
   1953 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1954 rm -f -r conftest* confdefs.h
   1955 
   1956 printf "%s\n" "/* confdefs.h */" > confdefs.h
   1957 
   1958 # Predefined preprocessor variables.
   1959 
   1960 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
   1961 
   1962 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
   1963 
   1964 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
   1965 
   1966 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
   1967 
   1968 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
   1969 
   1970 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
   1971 
   1972 
   1973 # Let the site file select an alternate cache file if it wants to.
   1974 # Prefer an explicitly selected file to automatically selected ones.
   1975 if test -n "$CONFIG_SITE"; then
   1976   ac_site_files="$CONFIG_SITE"
   1977 elif test "x$prefix" != xNONE; then
   1978   ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
   1979 else
   1980   ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1981 fi
   1982 
   1983 for ac_site_file in $ac_site_files
   1984 do
   1985   case $ac_site_file in #(
   1986   */*) :
   1987      ;; #(
   1988   *) :
   1989     ac_site_file=./$ac_site_file ;;
   1990 esac
   1991   if test -f "$ac_site_file" && test -r "$ac_site_file"; then
   1992     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   1993 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
   1994     sed 's/^/| /' "$ac_site_file" >&5
   1995     . "$ac_site_file" \
   1996       || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   1997 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   1998 as_fn_error $? "failed to load site script $ac_site_file
   1999 See 'config.log' for more details" "$LINENO" 5; }
   2000   fi
   2001 done
   2002 
   2003 if test -r "$cache_file"; then
   2004   # Some versions of bash will fail to source /dev/null (special files
   2005   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2006   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2007     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2008 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
   2009     case $cache_file in
   2010       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2011       *)                      . "./$cache_file";;
   2012     esac
   2013   fi
   2014 else
   2015   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2016 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
   2017   >$cache_file
   2018 fi
   2019 
   2020 # Test code for whether the C compiler supports C89 (global declarations)
   2021 ac_c_conftest_c89_globals='
   2022 /* Does the compiler advertise C89 conformance?
   2023    Do not test the value of __STDC__, because some compilers set it to 0
   2024    while being otherwise adequately conformant. */
   2025 #if !defined __STDC__
   2026 # error "Compiler does not advertise C89 conformance"
   2027 #endif
   2028 
   2029 #include <stddef.h>
   2030 #include <stdarg.h>
   2031 struct stat;
   2032 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh.  */
   2033 struct buf { int x; };
   2034 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
   2035 static char *e (char **p, int i)
   2036 {
   2037   return p[i];
   2038 }
   2039 static char *f (char * (*g) (char **, int), char **p, ...)
   2040 {
   2041   char *s;
   2042   va_list v;
   2043   va_start (v,p);
   2044   s = g (p, va_arg (v,int));
   2045   va_end (v);
   2046   return s;
   2047 }
   2048 
   2049 /* C89 style stringification. */
   2050 #define noexpand_stringify(a) #a
   2051 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
   2052 
   2053 /* C89 style token pasting.  Exercises some of the corner cases that
   2054    e.g. old MSVC gets wrong, but not very hard. */
   2055 #define noexpand_concat(a,b) a##b
   2056 #define expand_concat(a,b) noexpand_concat(a,b)
   2057 extern int vA;
   2058 extern int vbee;
   2059 #define aye A
   2060 #define bee B
   2061 int *pvA = &expand_concat(v,aye);
   2062 int *pvbee = &noexpand_concat(v,bee);
   2063 
   2064 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2065    function prototypes and stuff, but not \xHH hex character constants.
   2066    These do not provoke an error unfortunately, instead are silently treated
   2067    as an "x".  The following induces an error, until -std is added to get
   2068    proper ANSI mode.  Curiously \x00 != x always comes out true, for an
   2069    array size at least.  It is necessary to write \x00 == 0 to get something
   2070    that is true only with -std.  */
   2071 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
   2072 
   2073 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   2074    inside strings and character constants.  */
   2075 #define FOO(x) '\''x'\''
   2076 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
   2077 
   2078 int test (int i, double x);
   2079 struct s1 {int (*f) (int a);};
   2080 struct s2 {int (*f) (double a);};
   2081 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
   2082                int, int);'
   2083 
   2084 # Test code for whether the C compiler supports C89 (body of main).
   2085 ac_c_conftest_c89_main='
   2086 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
   2087 '
   2088 
   2089 # Test code for whether the C compiler supports C99 (global declarations)
   2090 ac_c_conftest_c99_globals='
   2091 /* Does the compiler advertise C99 conformance? */
   2092 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
   2093 # error "Compiler does not advertise C99 conformance"
   2094 #endif
   2095 
   2096 // See if C++-style comments work.
   2097 
   2098 #include <stdbool.h>
   2099 extern int puts (const char *);
   2100 extern int printf (const char *, ...);
   2101 extern int dprintf (int, const char *, ...);
   2102 extern void *malloc (size_t);
   2103 extern void free (void *);
   2104 
   2105 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   2106 // dprintf is used instead of fprintf to avoid needing to declare
   2107 // FILE and stderr.
   2108 #define debug(...) dprintf (2, __VA_ARGS__)
   2109 #define showlist(...) puts (#__VA_ARGS__)
   2110 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   2111 static void
   2112 test_varargs_macros (void)
   2113 {
   2114   int x = 1234;
   2115   int y = 5678;
   2116   debug ("Flag");
   2117   debug ("X = %d\n", x);
   2118   showlist (The first, second, and third items.);
   2119   report (x>y, "x is %d but y is %d", x, y);
   2120 }
   2121 
   2122 // Check long long types.
   2123 #define BIG64 18446744073709551615ull
   2124 #define BIG32 4294967295ul
   2125 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   2126 #if !BIG_OK
   2127   #error "your preprocessor is broken"
   2128 #endif
   2129 #if BIG_OK
   2130 #else
   2131   #error "your preprocessor is broken"
   2132 #endif
   2133 static long long int bignum = -9223372036854775807LL;
   2134 static unsigned long long int ubignum = BIG64;
   2135 
   2136 struct incomplete_array
   2137 {
   2138   int datasize;
   2139   double data[];
   2140 };
   2141 
   2142 struct named_init {
   2143   int number;
   2144   const wchar_t *name;
   2145   double average;
   2146 };
   2147 
   2148 typedef const char *ccp;
   2149 
   2150 static inline int
   2151 test_restrict (ccp restrict text)
   2152 {
   2153   // Iterate through items via the restricted pointer.
   2154   // Also check for declarations in for loops.
   2155   for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
   2156     continue;
   2157   return 0;
   2158 }
   2159 
   2160 // Check varargs and va_copy.
   2161 static bool
   2162 test_varargs (const char *format, ...)
   2163 {
   2164   va_list args;
   2165   va_start (args, format);
   2166   va_list args_copy;
   2167   va_copy (args_copy, args);
   2168 
   2169   const char *str = "";
   2170   int number = 0;
   2171   float fnumber = 0;
   2172 
   2173   while (*format)
   2174     {
   2175       switch (*format++)
   2176 	{
   2177 	case '\''s'\'': // string
   2178 	  str = va_arg (args_copy, const char *);
   2179 	  break;
   2180 	case '\''d'\'': // int
   2181 	  number = va_arg (args_copy, int);
   2182 	  break;
   2183 	case '\''f'\'': // float
   2184 	  fnumber = va_arg (args_copy, double);
   2185 	  break;
   2186 	default:
   2187 	  break;
   2188 	}
   2189     }
   2190   va_end (args_copy);
   2191   va_end (args);
   2192 
   2193   return *str && number && fnumber;
   2194 }
   2195 '
   2196 
   2197 # Test code for whether the C compiler supports C99 (body of main).
   2198 ac_c_conftest_c99_main='
   2199   // Check bool.
   2200   _Bool success = false;
   2201   success |= (argc != 0);
   2202 
   2203   // Check restrict.
   2204   if (test_restrict ("String literal") == 0)
   2205     success = true;
   2206   char *restrict newvar = "Another string";
   2207 
   2208   // Check varargs.
   2209   success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
   2210   test_varargs_macros ();
   2211 
   2212   // Check flexible array members.
   2213   struct incomplete_array *ia =
   2214     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   2215   ia->datasize = 10;
   2216   for (int i = 0; i < ia->datasize; ++i)
   2217     ia->data[i] = i * 1.234;
   2218   // Work around memory leak warnings.
   2219   free (ia);
   2220 
   2221   // Check named initializers.
   2222   struct named_init ni = {
   2223     .number = 34,
   2224     .name = L"Test wide string",
   2225     .average = 543.34343,
   2226   };
   2227 
   2228   ni.number = 58;
   2229 
   2230   int dynamic_array[ni.number];
   2231   dynamic_array[0] = argv[0][0];
   2232   dynamic_array[ni.number - 1] = 543;
   2233 
   2234   // work around unused variable warnings
   2235   ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
   2236 	 || dynamic_array[ni.number - 1] != 543);
   2237 '
   2238 
   2239 # Test code for whether the C compiler supports C11 (global declarations)
   2240 ac_c_conftest_c11_globals='
   2241 /* Does the compiler advertise C11 conformance? */
   2242 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
   2243 # error "Compiler does not advertise C11 conformance"
   2244 #endif
   2245 
   2246 // Check _Alignas.
   2247 char _Alignas (double) aligned_as_double;
   2248 char _Alignas (0) no_special_alignment;
   2249 extern char aligned_as_int;
   2250 char _Alignas (0) _Alignas (int) aligned_as_int;
   2251 
   2252 // Check _Alignof.
   2253 enum
   2254 {
   2255   int_alignment = _Alignof (int),
   2256   int_array_alignment = _Alignof (int[100]),
   2257   char_alignment = _Alignof (char)
   2258 };
   2259 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
   2260 
   2261 // Check _Noreturn.
   2262 int _Noreturn does_not_return (void) { for (;;) continue; }
   2263 
   2264 // Check _Static_assert.
   2265 struct test_static_assert
   2266 {
   2267   int x;
   2268   _Static_assert (sizeof (int) <= sizeof (long int),
   2269                   "_Static_assert does not work in struct");
   2270   long int y;
   2271 };
   2272 
   2273 // Check UTF-8 literals.
   2274 #define u8 syntax error!
   2275 char const utf8_literal[] = u8"happens to be ASCII" "another string";
   2276 
   2277 // Check duplicate typedefs.
   2278 typedef long *long_ptr;
   2279 typedef long int *long_ptr;
   2280 typedef long_ptr long_ptr;
   2281 
   2282 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
   2283 struct anonymous
   2284 {
   2285   union {
   2286     struct { int i; int j; };
   2287     struct { int k; long int l; } w;
   2288   };
   2289   int m;
   2290 } v1;
   2291 '
   2292 
   2293 # Test code for whether the C compiler supports C11 (body of main).
   2294 ac_c_conftest_c11_main='
   2295   _Static_assert ((offsetof (struct anonymous, i)
   2296 		   == offsetof (struct anonymous, w.k)),
   2297 		  "Anonymous union alignment botch");
   2298   v1.i = 2;
   2299   v1.w.k = 5;
   2300   ok |= v1.i != 5;
   2301 '
   2302 
   2303 # Test code for whether the C compiler supports C11 (complete).
   2304 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
   2305 ${ac_c_conftest_c99_globals}
   2306 ${ac_c_conftest_c11_globals}
   2307 
   2308 int
   2309 main (int argc, char **argv)
   2310 {
   2311   int ok = 0;
   2312   ${ac_c_conftest_c89_main}
   2313   ${ac_c_conftest_c99_main}
   2314   ${ac_c_conftest_c11_main}
   2315   return ok;
   2316 }
   2317 "
   2318 
   2319 # Test code for whether the C compiler supports C99 (complete).
   2320 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
   2321 ${ac_c_conftest_c99_globals}
   2322 
   2323 int
   2324 main (int argc, char **argv)
   2325 {
   2326   int ok = 0;
   2327   ${ac_c_conftest_c89_main}
   2328   ${ac_c_conftest_c99_main}
   2329   return ok;
   2330 }
   2331 "
   2332 
   2333 # Test code for whether the C compiler supports C89 (complete).
   2334 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
   2335 
   2336 int
   2337 main (int argc, char **argv)
   2338 {
   2339   int ok = 0;
   2340   ${ac_c_conftest_c89_main}
   2341   return ok;
   2342 }
   2343 "
   2344 
   2345 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
   2346 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
   2347 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
   2348 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
   2349 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
   2350 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
   2351 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
   2352 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
   2353 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
   2354 
   2355 # Auxiliary files required by this configure script.
   2356 ac_aux_files="config.guess config.sub compile missing install-sh"
   2357 
   2358 # Locations in which to look for auxiliary files.
   2359 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
   2360 
   2361 # Search for a directory containing all of the required auxiliary files,
   2362 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
   2363 # If we don't find one directory that contains all the files we need,
   2364 # we report the set of missing files from the *first* directory in
   2365 # $ac_aux_dir_candidates and give up.
   2366 ac_missing_aux_files=""
   2367 ac_first_candidate=:
   2368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
   2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2370 as_found=false
   2371 for as_dir in $ac_aux_dir_candidates
   2372 do
   2373   IFS=$as_save_IFS
   2374   case $as_dir in #(((
   2375     '') as_dir=./ ;;
   2376     */) ;;
   2377     *) as_dir=$as_dir/ ;;
   2378   esac
   2379   as_found=:
   2380 
   2381   printf "%s\n" "$as_me:${as_lineno-$LINENO}:  trying $as_dir" >&5
   2382   ac_aux_dir_found=yes
   2383   ac_install_sh=
   2384   for ac_aux in $ac_aux_files
   2385   do
   2386     # As a special case, if "install-sh" is required, that requirement
   2387     # can be satisfied by any of "install-sh", "install.sh", or "shtool",
   2388     # and $ac_install_sh is set appropriately for whichever one is found.
   2389     if test x"$ac_aux" = x"install-sh"
   2390     then
   2391       if test -f "${as_dir}install-sh"; then
   2392         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install-sh found" >&5
   2393         ac_install_sh="${as_dir}install-sh -c"
   2394       elif test -f "${as_dir}install.sh"; then
   2395         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}install.sh found" >&5
   2396         ac_install_sh="${as_dir}install.sh -c"
   2397       elif test -f "${as_dir}shtool"; then
   2398         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}shtool found" >&5
   2399         ac_install_sh="${as_dir}shtool install -c"
   2400       else
   2401         ac_aux_dir_found=no
   2402         if $ac_first_candidate; then
   2403           ac_missing_aux_files="${ac_missing_aux_files} install-sh"
   2404         else
   2405           break
   2406         fi
   2407       fi
   2408     else
   2409       if test -f "${as_dir}${ac_aux}"; then
   2410         printf "%s\n" "$as_me:${as_lineno-$LINENO}:   ${as_dir}${ac_aux} found" >&5
   2411       else
   2412         ac_aux_dir_found=no
   2413         if $ac_first_candidate; then
   2414           ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
   2415         else
   2416           break
   2417         fi
   2418       fi
   2419     fi
   2420   done
   2421   if test "$ac_aux_dir_found" = yes; then
   2422     ac_aux_dir="$as_dir"
   2423     break
   2424   fi
   2425   ac_first_candidate=false
   2426 
   2427   as_found=false
   2428 done
   2429 IFS=$as_save_IFS
   2430 if $as_found
   2431 then :
   2432 
   2433 else case e in #(
   2434   e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
   2435 esac
   2436 fi
   2437 
   2438 
   2439 # These three variables are undocumented and unsupported,
   2440 # and are intended to be withdrawn in a future Autoconf release.
   2441 # They can cause serious problems if a builder's source tree is in a directory
   2442 # whose full name contains unusual characters.
   2443 if test -f "${ac_aux_dir}config.guess"; then
   2444   ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
   2445 fi
   2446 if test -f "${ac_aux_dir}config.sub"; then
   2447   ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
   2448 fi
   2449 if test -f "$ac_aux_dir/configure"; then
   2450   ac_configure="$SHELL ${ac_aux_dir}configure"
   2451 fi
   2452 
   2453 # Check that the precious variables saved in the cache have kept the same
   2454 # value.
   2455 ac_cache_corrupted=false
   2456 for ac_var in $ac_precious_vars; do
   2457   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2458   eval ac_new_set=\$ac_env_${ac_var}_set
   2459   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2460   eval ac_new_val=\$ac_env_${ac_var}_value
   2461   case $ac_old_set,$ac_new_set in
   2462     set,)
   2463       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
   2464 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
   2465       ac_cache_corrupted=: ;;
   2466     ,set)
   2467       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
   2468 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
   2469       ac_cache_corrupted=: ;;
   2470     ,);;
   2471     *)
   2472       if test "x$ac_old_val" != "x$ac_new_val"; then
   2473 	# differences in whitespace do not lead to failure.
   2474 	ac_old_val_w=`echo x $ac_old_val`
   2475 	ac_new_val_w=`echo x $ac_new_val`
   2476 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2477 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
   2478 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
   2479 	  ac_cache_corrupted=:
   2480 	else
   2481 	  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
   2482 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
   2483 	  eval $ac_var=\$ac_old_val
   2484 	fi
   2485 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   former value:  '$ac_old_val'" >&5
   2486 printf "%s\n" "$as_me:   former value:  '$ac_old_val'" >&2;}
   2487 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}:   current value: '$ac_new_val'" >&5
   2488 printf "%s\n" "$as_me:   current value: '$ac_new_val'" >&2;}
   2489       fi;;
   2490   esac
   2491   # Pass precious variables to config.status.
   2492   if test "$ac_new_set" = set; then
   2493     case $ac_new_val in
   2494     *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2495     *) ac_arg=$ac_var=$ac_new_val ;;
   2496     esac
   2497     case " $ac_configure_args " in
   2498       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2499       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2500     esac
   2501   fi
   2502 done
   2503 if $ac_cache_corrupted; then
   2504   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2505 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2506   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2507 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
   2508   as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
   2509 	    and start over" "$LINENO" 5
   2510 fi
   2511 ## -------------------- ##
   2512 ## Main body of script. ##
   2513 ## -------------------- ##
   2514 
   2515 ac_ext=c
   2516 ac_cpp='$CPP $CPPFLAGS'
   2517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2520 
   2521 
   2522 
   2523 ac_config_headers="$ac_config_headers config.h"
   2524 
   2525 
   2526 # Initialize Automake
   2527 am__api_version='1.17'
   2528 
   2529 
   2530 
   2531   # Find a good install program.  We prefer a C program (faster),
   2532 # so one script is as good as another.  But avoid the broken or
   2533 # incompatible versions:
   2534 # SysV /etc/install, /usr/sbin/install
   2535 # SunOS /usr/etc/install
   2536 # IRIX /sbin/install
   2537 # AIX /bin/install
   2538 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2539 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2540 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2541 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2542 # OS/2's system install, which has a completely different semantic
   2543 # ./install, which can be erroneously created by make from ./install.sh.
   2544 # Reject install programs that cannot install multiple files.
   2545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2546 printf %s "checking for a BSD-compatible install... " >&6; }
   2547 if test -z "$INSTALL"; then
   2548 if test ${ac_cv_path_install+y}
   2549 then :
   2550   printf %s "(cached) " >&6
   2551 else case e in #(
   2552   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2553 for as_dir in $PATH
   2554 do
   2555   IFS=$as_save_IFS
   2556   case $as_dir in #(((
   2557     '') as_dir=./ ;;
   2558     */) ;;
   2559     *) as_dir=$as_dir/ ;;
   2560   esac
   2561     # Account for fact that we put trailing slashes in our PATH walk.
   2562 case $as_dir in #((
   2563   ./ | /[cC]/* | \
   2564   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2565   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2566   /usr/ucb/* ) ;;
   2567   *)
   2568     # OSF1 and SCO ODT 3.0 have their own names for install.
   2569     # Don't use installbsd from OSF since it installs stuff as root
   2570     # by default.
   2571     for ac_prog in ginstall scoinst install; do
   2572       for ac_exec_ext in '' $ac_executable_extensions; do
   2573 	if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
   2574 	  if test $ac_prog = install &&
   2575 	    grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2576 	    # AIX install.  It has an incompatible calling convention.
   2577 	    :
   2578 	  elif test $ac_prog = install &&
   2579 	    grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2580 	    # program-specific install script used by HP pwplus--don't use.
   2581 	    :
   2582 	  else
   2583 	    rm -rf conftest.one conftest.two conftest.dir
   2584 	    echo one > conftest.one
   2585 	    echo two > conftest.two
   2586 	    mkdir conftest.dir
   2587 	    if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
   2588 	      test -s conftest.one && test -s conftest.two &&
   2589 	      test -s conftest.dir/conftest.one &&
   2590 	      test -s conftest.dir/conftest.two
   2591 	    then
   2592 	      ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
   2593 	      break 3
   2594 	    fi
   2595 	  fi
   2596 	fi
   2597       done
   2598     done
   2599     ;;
   2600 esac
   2601 
   2602   done
   2603 IFS=$as_save_IFS
   2604 
   2605 rm -rf conftest.one conftest.two conftest.dir
   2606  ;;
   2607 esac
   2608 fi
   2609   if test ${ac_cv_path_install+y}; then
   2610     INSTALL=$ac_cv_path_install
   2611   else
   2612     # As a last resort, use the slow shell script.  Don't cache a
   2613     # value for INSTALL within a source directory, because that will
   2614     # break other packages using the cache if that directory is
   2615     # removed, or if the value is a relative name.
   2616     INSTALL=$ac_install_sh
   2617   fi
   2618 fi
   2619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2620 printf "%s\n" "$INSTALL" >&6; }
   2621 
   2622 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2623 # It thinks the first close brace ends the variable substitution.
   2624 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2625 
   2626 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2627 
   2628 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2629 
   2630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether sleep supports fractional seconds" >&5
   2631 printf %s "checking whether sleep supports fractional seconds... " >&6; }
   2632 if test ${am_cv_sleep_fractional_seconds+y}
   2633 then :
   2634   printf %s "(cached) " >&6
   2635 else case e in #(
   2636   e) if sleep 0.001 2>/dev/null
   2637 then :
   2638   am_cv_sleep_fractional_seconds=yes
   2639 else case e in #(
   2640   e) am_cv_sleep_fractional_seconds=no ;;
   2641 esac
   2642 fi
   2643  ;;
   2644 esac
   2645 fi
   2646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_sleep_fractional_seconds" >&5
   2647 printf "%s\n" "$am_cv_sleep_fractional_seconds" >&6; }
   2648 
   2649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking filesystem timestamp resolution" >&5
   2650 printf %s "checking filesystem timestamp resolution... " >&6; }
   2651 if test ${am_cv_filesystem_timestamp_resolution+y}
   2652 then :
   2653   printf %s "(cached) " >&6
   2654 else case e in #(
   2655   e) # Default to the worst case.
   2656 am_cv_filesystem_timestamp_resolution=2
   2657 
   2658 # Only try to go finer than 1 sec if sleep can do it.
   2659 # Don't try 1 sec, because if 0.01 sec and 0.1 sec don't work,
   2660 # - 1 sec is not much of a win compared to 2 sec, and
   2661 # - it takes 2 seconds to perform the test whether 1 sec works.
   2662 #
   2663 # Instead, just use the default 2s on platforms that have 1s resolution,
   2664 # accept the extra 1s delay when using $sleep in the Automake tests, in
   2665 # exchange for not incurring the 2s delay for running the test for all
   2666 # packages.
   2667 #
   2668 am_try_resolutions=
   2669 if test "$am_cv_sleep_fractional_seconds" = yes; then
   2670   # Even a millisecond often causes a bunch of false positives,
   2671   # so just try a hundredth of a second. The time saved between .001 and
   2672   # .01 is not terribly consequential.
   2673   am_try_resolutions="0.01 0.1 $am_try_resolutions"
   2674 fi
   2675 
   2676 # In order to catch current-generation FAT out, we must *modify* files
   2677 # that already exist; the *creation* timestamp is finer.  Use names
   2678 # that make ls -t sort them differently when they have equal
   2679 # timestamps than when they have distinct timestamps, keeping
   2680 # in mind that ls -t prints the *newest* file first.
   2681 rm -f conftest.ts?
   2682 : > conftest.ts1
   2683 : > conftest.ts2
   2684 : > conftest.ts3
   2685 
   2686 # Make sure ls -t actually works.  Do 'set' in a subshell so we don't
   2687 # clobber the current shell's arguments. (Outer-level square brackets
   2688 # are removed by m4; they're present so that m4 does not expand
   2689 # <dollar><star>; be careful, easy to get confused.)
   2690 if (
   2691      set X `ls -t conftest.ts[12]` &&
   2692      {
   2693        test "$*" != "X conftest.ts1 conftest.ts2" ||
   2694        test "$*" != "X conftest.ts2 conftest.ts1";
   2695      }
   2696 ); then :; else
   2697   # If neither matched, then we have a broken ls.  This can happen
   2698   # if, for instance, CONFIG_SHELL is bash and it inherits a
   2699   # broken ls alias from the environment.  This has actually
   2700   # happened.  Such a system could not be considered "sane".
   2701   printf "%s\n" ""Bad output from ls -t: \"`ls -t conftest.ts[12]`\""" >&5
   2702   { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   2703 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   2704 as_fn_error $? "ls -t produces unexpected output.
   2705 Make sure there is not a broken ls alias in your environment.
   2706 See 'config.log' for more details" "$LINENO" 5; }
   2707 fi
   2708 
   2709 for am_try_res in $am_try_resolutions; do
   2710   # Any one fine-grained sleep might happen to cross the boundary
   2711   # between two values of a coarser actual resolution, but if we do
   2712   # two fine-grained sleeps in a row, at least one of them will fall
   2713   # entirely within a coarse interval.
   2714   echo alpha > conftest.ts1
   2715   sleep $am_try_res
   2716   echo beta > conftest.ts2
   2717   sleep $am_try_res
   2718   echo gamma > conftest.ts3
   2719 
   2720   # We assume that 'ls -t' will make use of high-resolution
   2721   # timestamps if the operating system supports them at all.
   2722   if (set X `ls -t conftest.ts?` &&
   2723       test "$2" = conftest.ts3 &&
   2724       test "$3" = conftest.ts2 &&
   2725       test "$4" = conftest.ts1); then
   2726     #
   2727     # Ok, ls -t worked. If we're at a resolution of 1 second, we're done,
   2728     # because we don't need to test make.
   2729     make_ok=true
   2730     if test $am_try_res != 1; then
   2731       # But if we've succeeded so far with a subsecond resolution, we
   2732       # have one more thing to check: make. It can happen that
   2733       # everything else supports the subsecond mtimes, but make doesn't;
   2734       # notably on macOS, which ships make 3.81 from 2006 (the last one
   2735       # released under GPLv2). https://bugs.gnu.org/68808
   2736       #
   2737       # We test $MAKE if it is defined in the environment, else "make".
   2738       # It might get overridden later, but our hope is that in practice
   2739       # it does not matter: it is the system "make" which is (by far)
   2740       # the most likely to be broken, whereas if the user overrides it,
   2741       # probably they did so with a better, or at least not worse, make.
   2742       # https://lists.gnu.org/archive/html/automake/2024-06/msg00051.html
   2743       #
   2744       # Create a Makefile (real tab character here):
   2745       rm -f conftest.mk
   2746       echo 'conftest.ts1: conftest.ts2' >conftest.mk
   2747       echo '	touch conftest.ts2' >>conftest.mk
   2748       #
   2749       # Now, running
   2750       #   touch conftest.ts1; touch conftest.ts2; make
   2751       # should touch ts1 because ts2 is newer. This could happen by luck,
   2752       # but most often, it will fail if make's support is insufficient. So
   2753       # test for several consecutive successes.
   2754       #
   2755       # (We reuse conftest.ts[12] because we still want to modify existing
   2756       # files, not create new ones, per above.)
   2757       n=0
   2758       make=${MAKE-make}
   2759       until test $n -eq 3; do
   2760         echo one > conftest.ts1
   2761         sleep $am_try_res
   2762         echo two > conftest.ts2 # ts2 should now be newer than ts1
   2763         if $make -f conftest.mk | grep 'up to date' >/dev/null; then
   2764           make_ok=false
   2765           break # out of $n loop
   2766         fi
   2767         n=`expr $n + 1`
   2768       done
   2769     fi
   2770     #
   2771     if $make_ok; then
   2772       # Everything we know to check worked out, so call this resolution good.
   2773       am_cv_filesystem_timestamp_resolution=$am_try_res
   2774       break # out of $am_try_res loop
   2775     fi
   2776     # Otherwise, we'll go on to check the next resolution.
   2777   fi
   2778 done
   2779 rm -f conftest.ts?
   2780 # (end _am_filesystem_timestamp_resolution)
   2781  ;;
   2782 esac
   2783 fi
   2784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_filesystem_timestamp_resolution" >&5
   2785 printf "%s\n" "$am_cv_filesystem_timestamp_resolution" >&6; }
   2786 
   2787 # This check should not be cached, as it may vary across builds of
   2788 # different projects.
   2789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2790 printf %s "checking whether build environment is sane... " >&6; }
   2791 # Reject unsafe characters in $srcdir or the absolute working directory
   2792 # name.  Accept space and tab only in the latter.
   2793 am_lf='
   2794 '
   2795 case `pwd` in
   2796   *[\\\"\#\$\&\'\`$am_lf]*)
   2797     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2798 esac
   2799 case $srcdir in
   2800   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2801     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2802 esac
   2803 
   2804 # Do 'set' in a subshell so we don't clobber the current shell's
   2805 # arguments.  Must try -L first in case configure is actually a
   2806 # symlink; some systems play weird games with the mod time of symlinks
   2807 # (eg FreeBSD returns the mod time of the symlink's containing
   2808 # directory).
   2809 am_build_env_is_sane=no
   2810 am_has_slept=no
   2811 rm -f conftest.file
   2812 for am_try in 1 2; do
   2813   echo "timestamp, slept: $am_has_slept" > conftest.file
   2814   if (
   2815     set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2816     if test "$*" = "X"; then
   2817       # -L didn't work.
   2818       set X `ls -t "$srcdir/configure" conftest.file`
   2819     fi
   2820     test "$2" = conftest.file
   2821   ); then
   2822     am_build_env_is_sane=yes
   2823     break
   2824   fi
   2825   # Just in case.
   2826   sleep "$am_cv_filesystem_timestamp_resolution"
   2827   am_has_slept=yes
   2828 done
   2829 
   2830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_build_env_is_sane" >&5
   2831 printf "%s\n" "$am_build_env_is_sane" >&6; }
   2832 if test "$am_build_env_is_sane" = no; then
   2833   as_fn_error $? "newly created file is older than distributed files!
   2834 Check your system clock" "$LINENO" 5
   2835 fi
   2836 
   2837 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2838 # generated files are strictly newer.
   2839 am_sleep_pid=
   2840 if test -e conftest.file || grep 'slept: no' conftest.file >/dev/null 2>&1
   2841 then :
   2842 
   2843 else case e in #(
   2844   e)   ( sleep "$am_cv_filesystem_timestamp_resolution" ) &
   2845   am_sleep_pid=$!
   2846  ;;
   2847 esac
   2848 fi
   2849 
   2850 rm -f conftest.file
   2851 
   2852 test "$program_prefix" != NONE &&
   2853   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2854 # Use a double $ so make ignores it.
   2855 test "$program_suffix" != NONE &&
   2856   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2857 # Double any \ or $.
   2858 # By default was 's,x,x', remove it if useless.
   2859 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2860 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
   2861 
   2862 
   2863 # Expand $ac_aux_dir to an absolute path.
   2864 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2865 
   2866 
   2867   if test x"${MISSING+set}" != xset; then
   2868   MISSING="\${SHELL} '$am_aux_dir/missing'"
   2869 fi
   2870 # Use eval to expand $SHELL
   2871 if eval "$MISSING --is-lightweight"; then
   2872   am_missing_run="$MISSING "
   2873 else
   2874   am_missing_run=
   2875   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2876 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2877 fi
   2878 
   2879 if test x"${install_sh+set}" != xset; then
   2880   case $am_aux_dir in
   2881   *\ * | *\	*)
   2882     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2883   *)
   2884     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2885   esac
   2886 fi
   2887 
   2888 # Installed binaries are usually stripped using 'strip' when the user
   2889 # run "make install-strip".  However 'strip' might not be the right
   2890 # tool to use in cross-compilation environments, therefore Automake
   2891 # will honor the 'STRIP' environment variable to overrule this program.
   2892 if test "$cross_compiling" != no; then
   2893   if test -n "$ac_tool_prefix"; then
   2894   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2895 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2897 printf %s "checking for $ac_word... " >&6; }
   2898 if test ${ac_cv_prog_STRIP+y}
   2899 then :
   2900   printf %s "(cached) " >&6
   2901 else case e in #(
   2902   e) if test -n "$STRIP"; then
   2903   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2904 else
   2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2906 for as_dir in $PATH
   2907 do
   2908   IFS=$as_save_IFS
   2909   case $as_dir in #(((
   2910     '') as_dir=./ ;;
   2911     */) ;;
   2912     *) as_dir=$as_dir/ ;;
   2913   esac
   2914     for ac_exec_ext in '' $ac_executable_extensions; do
   2915   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2916     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2917     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2918     break 2
   2919   fi
   2920 done
   2921   done
   2922 IFS=$as_save_IFS
   2923 
   2924 fi ;;
   2925 esac
   2926 fi
   2927 STRIP=$ac_cv_prog_STRIP
   2928 if test -n "$STRIP"; then
   2929   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2930 printf "%s\n" "$STRIP" >&6; }
   2931 else
   2932   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2933 printf "%s\n" "no" >&6; }
   2934 fi
   2935 
   2936 
   2937 fi
   2938 if test -z "$ac_cv_prog_STRIP"; then
   2939   ac_ct_STRIP=$STRIP
   2940   # Extract the first word of "strip", so it can be a program name with args.
   2941 set dummy strip; ac_word=$2
   2942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2943 printf %s "checking for $ac_word... " >&6; }
   2944 if test ${ac_cv_prog_ac_ct_STRIP+y}
   2945 then :
   2946   printf %s "(cached) " >&6
   2947 else case e in #(
   2948   e) if test -n "$ac_ct_STRIP"; then
   2949   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2950 else
   2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2952 for as_dir in $PATH
   2953 do
   2954   IFS=$as_save_IFS
   2955   case $as_dir in #(((
   2956     '') as_dir=./ ;;
   2957     */) ;;
   2958     *) as_dir=$as_dir/ ;;
   2959   esac
   2960     for ac_exec_ext in '' $ac_executable_extensions; do
   2961   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   2962     ac_cv_prog_ac_ct_STRIP="strip"
   2963     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   2964     break 2
   2965   fi
   2966 done
   2967   done
   2968 IFS=$as_save_IFS
   2969 
   2970 fi ;;
   2971 esac
   2972 fi
   2973 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2974 if test -n "$ac_ct_STRIP"; then
   2975   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2976 printf "%s\n" "$ac_ct_STRIP" >&6; }
   2977 else
   2978   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2979 printf "%s\n" "no" >&6; }
   2980 fi
   2981 
   2982   if test "x$ac_ct_STRIP" = x; then
   2983     STRIP=":"
   2984   else
   2985     case $cross_compiling:$ac_tool_warned in
   2986 yes:)
   2987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2988 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2989 ac_tool_warned=yes ;;
   2990 esac
   2991     STRIP=$ac_ct_STRIP
   2992   fi
   2993 else
   2994   STRIP="$ac_cv_prog_STRIP"
   2995 fi
   2996 
   2997 fi
   2998 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2999 
   3000 
   3001   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
   3002 printf %s "checking for a race-free mkdir -p... " >&6; }
   3003 if test -z "$MKDIR_P"; then
   3004   if test ${ac_cv_path_mkdir+y}
   3005 then :
   3006   printf %s "(cached) " >&6
   3007 else case e in #(
   3008   e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3009 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3010 do
   3011   IFS=$as_save_IFS
   3012   case $as_dir in #(((
   3013     '') as_dir=./ ;;
   3014     */) ;;
   3015     *) as_dir=$as_dir/ ;;
   3016   esac
   3017     for ac_prog in mkdir gmkdir; do
   3018 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3019 	   as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
   3020 	   case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3021 	     'mkdir ('*'coreutils) '* | \
   3022 	     *'BusyBox '* | \
   3023 	     'mkdir (fileutils) '4.1*)
   3024 	       ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
   3025 	       break 3;;
   3026 	   esac
   3027 	 done
   3028        done
   3029   done
   3030 IFS=$as_save_IFS
   3031  ;;
   3032 esac
   3033 fi
   3034 
   3035   test -d ./--version && rmdir ./--version
   3036   if test ${ac_cv_path_mkdir+y}; then
   3037     MKDIR_P="$ac_cv_path_mkdir -p"
   3038   else
   3039     # As a last resort, use plain mkdir -p,
   3040     # in the hope it doesn't have the bugs of ancient mkdir.
   3041     MKDIR_P='mkdir -p'
   3042   fi
   3043 fi
   3044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3045 printf "%s\n" "$MKDIR_P" >&6; }
   3046 
   3047 for ac_prog in gawk mawk nawk awk
   3048 do
   3049   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3050 set dummy $ac_prog; ac_word=$2
   3051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3052 printf %s "checking for $ac_word... " >&6; }
   3053 if test ${ac_cv_prog_AWK+y}
   3054 then :
   3055   printf %s "(cached) " >&6
   3056 else case e in #(
   3057   e) if test -n "$AWK"; then
   3058   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3059 else
   3060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3061 for as_dir in $PATH
   3062 do
   3063   IFS=$as_save_IFS
   3064   case $as_dir in #(((
   3065     '') as_dir=./ ;;
   3066     */) ;;
   3067     *) as_dir=$as_dir/ ;;
   3068   esac
   3069     for ac_exec_ext in '' $ac_executable_extensions; do
   3070   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3071     ac_cv_prog_AWK="$ac_prog"
   3072     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3073     break 2
   3074   fi
   3075 done
   3076   done
   3077 IFS=$as_save_IFS
   3078 
   3079 fi ;;
   3080 esac
   3081 fi
   3082 AWK=$ac_cv_prog_AWK
   3083 if test -n "$AWK"; then
   3084   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3085 printf "%s\n" "$AWK" >&6; }
   3086 else
   3087   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3088 printf "%s\n" "no" >&6; }
   3089 fi
   3090 
   3091 
   3092   test -n "$AWK" && break
   3093 done
   3094 
   3095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3096 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3097 set x ${MAKE-make}
   3098 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3099 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
   3100 then :
   3101   printf %s "(cached) " >&6
   3102 else case e in #(
   3103   e) cat >conftest.make <<\_ACEOF
   3104 SHELL = /bin/sh
   3105 all:
   3106 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   3107 _ACEOF
   3108 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   3109 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   3110   *@@@%%%=?*=@@@%%%*)
   3111     eval ac_cv_prog_make_${ac_make}_set=yes;;
   3112   *)
   3113     eval ac_cv_prog_make_${ac_make}_set=no;;
   3114 esac
   3115 rm -f conftest.make ;;
   3116 esac
   3117 fi
   3118 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   3119   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3120 printf "%s\n" "yes" >&6; }
   3121   SET_MAKE=
   3122 else
   3123   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3124 printf "%s\n" "no" >&6; }
   3125   SET_MAKE="MAKE=${MAKE-make}"
   3126 fi
   3127 
   3128 rm -rf .tst 2>/dev/null
   3129 mkdir .tst 2>/dev/null
   3130 if test -d .tst; then
   3131   am__leading_dot=.
   3132 else
   3133   am__leading_dot=_
   3134 fi
   3135 rmdir .tst 2>/dev/null
   3136 
   3137 AM_DEFAULT_VERBOSITY=1
   3138 # Check whether --enable-silent-rules was given.
   3139 if test ${enable_silent_rules+y}
   3140 then :
   3141   enableval=$enable_silent_rules;
   3142 fi
   3143 
   3144 am_make=${MAKE-make}
   3145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   3146 printf %s "checking whether $am_make supports nested variables... " >&6; }
   3147 if test ${am_cv_make_support_nested_variables+y}
   3148 then :
   3149   printf %s "(cached) " >&6
   3150 else case e in #(
   3151   e) if printf "%s\n" 'TRUE=$(BAR$(V))
   3152 BAR0=false
   3153 BAR1=true
   3154 V=1
   3155 am__doit:
   3156 	@$(TRUE)
   3157 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   3158   am_cv_make_support_nested_variables=yes
   3159 else
   3160   am_cv_make_support_nested_variables=no
   3161 fi ;;
   3162 esac
   3163 fi
   3164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   3165 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
   3166 AM_BACKSLASH='\'
   3167 
   3168 am__rm_f_notfound=
   3169 if (rm -f && rm -fr && rm -rf) 2>/dev/null
   3170 then :
   3171 
   3172 else case e in #(
   3173   e) am__rm_f_notfound='""' ;;
   3174 esac
   3175 fi
   3176 
   3177 
   3178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking xargs -n works" >&5
   3179 printf %s "checking xargs -n works... " >&6; }
   3180 if test ${am_cv_xargs_n_works+y}
   3181 then :
   3182   printf %s "(cached) " >&6
   3183 else case e in #(
   3184   e) if test "`echo 1 2 3 | xargs -n2 echo`" = "1 2
   3185 3"
   3186 then :
   3187   am_cv_xargs_n_works=yes
   3188 else case e in #(
   3189   e) am_cv_xargs_n_works=no ;;
   3190 esac
   3191 fi ;;
   3192 esac
   3193 fi
   3194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_xargs_n_works" >&5
   3195 printf "%s\n" "$am_cv_xargs_n_works" >&6; }
   3196 if test "$am_cv_xargs_n_works" = yes
   3197 then :
   3198   am__xargs_n='xargs -n'
   3199 else case e in #(
   3200   e)   am__xargs_n='am__xargs_n () { shift; sed "s/ /\\n/g" | while read am__xargs_n_arg; do "" "$am__xargs_n_arg"; done; }'
   3201  ;;
   3202 esac
   3203 fi
   3204 
   3205 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   3206   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   3207   # is not polluted with repeated "-I."
   3208   am__isrc=' -I$(srcdir)'
   3209   # test to see if srcdir already configured
   3210   if test -f $srcdir/config.status; then
   3211     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   3212   fi
   3213 fi
   3214 
   3215 # test whether we have cygpath
   3216 if test -z "$CYGPATH_W"; then
   3217   if (cygpath --version) >/dev/null 2>/dev/null; then
   3218     CYGPATH_W='cygpath -w'
   3219   else
   3220     CYGPATH_W=echo
   3221   fi
   3222 fi
   3223 
   3224 
   3225 # Define the identity of the package.
   3226  PACKAGE='xclipboard'
   3227  VERSION='1.1.5'
   3228 
   3229 
   3230 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
   3231 
   3232 
   3233 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
   3234 
   3235 # Some tools Automake needs.
   3236 
   3237 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3238 
   3239 
   3240 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3241 
   3242 
   3243 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3244 
   3245 
   3246 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3247 
   3248 
   3249 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3250 
   3251 # For better backward compatibility.  To be removed once Automake 1.9.x
   3252 # dies out for good.  For more background, see:
   3253 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   3254 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   3255 mkdir_p='$(MKDIR_P)'
   3256 
   3257 # We need awk for the "check" target (and possibly the TAP driver).  The
   3258 # system "awk" is bad on some platforms.
   3259 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3260 # in the wild :-(  We should find a proper way to deprecate it ...
   3261 AMTAR='$${TAR-tar}'
   3262 
   3263 
   3264 # We'll loop over all known methods to create a tar archive until one works.
   3265 _am_tools='gnutar  pax cpio none'
   3266 
   3267 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3268 
   3269 
   3270 
   3271 
   3272 
   3273 # Variables for tags utilities; see am/tags.am
   3274 if test -z "$CTAGS"; then
   3275   CTAGS=ctags
   3276 fi
   3277 
   3278 if test -z "$ETAGS"; then
   3279   ETAGS=etags
   3280 fi
   3281 
   3282 if test -z "$CSCOPE"; then
   3283   CSCOPE=cscope
   3284 fi
   3285 
   3286 
   3287 
   3288 
   3289 
   3290 
   3291 
   3292 
   3293 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   3294 
   3295 
   3296 
   3297 
   3298 
   3299 
   3300 
   3301 
   3302 
   3303 
   3304 
   3305 
   3306 
   3307 
   3308 
   3309 
   3310 
   3311 
   3312 
   3313 
   3314 DEPDIR="${am__leading_dot}deps"
   3315 
   3316 ac_config_commands="$ac_config_commands depfiles"
   3317 
   3318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
   3319 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
   3320 cat > confinc.mk << 'END'
   3321 am__doit:
   3322 	@echo this is the am__doit target >confinc.out
   3323 .PHONY: am__doit
   3324 END
   3325 am__include="#"
   3326 am__quote=
   3327 # BSD make does it like this.
   3328 echo '.include "confinc.mk" # ignored' > confmf.BSD
   3329 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
   3330 echo 'include confinc.mk # ignored' > confmf.GNU
   3331 _am_result=no
   3332 for s in GNU BSD; do
   3333   { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
   3334    (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
   3335    ac_status=$?
   3336    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3337    (exit $ac_status); }
   3338   case $?:`cat confinc.out 2>/dev/null` in #(
   3339   '0:this is the am__doit target') :
   3340     case $s in #(
   3341   BSD) :
   3342     am__include='.include' am__quote='"' ;; #(
   3343   *) :
   3344     am__include='include' am__quote='' ;;
   3345 esac ;; #(
   3346   *) :
   3347      ;;
   3348 esac
   3349   if test "$am__include" != "#"; then
   3350     _am_result="yes ($s style)"
   3351     break
   3352   fi
   3353 done
   3354 rm -f confinc.* confmf.*
   3355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
   3356 printf "%s\n" "${_am_result}" >&6; }
   3357 
   3358 # Check whether --enable-dependency-tracking was given.
   3359 if test ${enable_dependency_tracking+y}
   3360 then :
   3361   enableval=$enable_dependency_tracking;
   3362 fi
   3363 
   3364 if test "x$enable_dependency_tracking" != xno; then
   3365   am_depcomp="$ac_aux_dir/depcomp"
   3366   AMDEPBACKSLASH='\'
   3367   am__nodep='_no'
   3368 fi
   3369  if test "x$enable_dependency_tracking" != xno; then
   3370   AMDEP_TRUE=
   3371   AMDEP_FALSE='#'
   3372 else
   3373   AMDEP_TRUE='#'
   3374   AMDEP_FALSE=
   3375 fi
   3376 
   3377 
   3378 ac_ext=c
   3379 ac_cpp='$CPP $CPPFLAGS'
   3380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3383 if test -n "$ac_tool_prefix"; then
   3384   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3385 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3387 printf %s "checking for $ac_word... " >&6; }
   3388 if test ${ac_cv_prog_CC+y}
   3389 then :
   3390   printf %s "(cached) " >&6
   3391 else case e in #(
   3392   e) if test -n "$CC"; then
   3393   ac_cv_prog_CC="$CC" # Let the user override the test.
   3394 else
   3395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3396 for as_dir in $PATH
   3397 do
   3398   IFS=$as_save_IFS
   3399   case $as_dir in #(((
   3400     '') as_dir=./ ;;
   3401     */) ;;
   3402     *) as_dir=$as_dir/ ;;
   3403   esac
   3404     for ac_exec_ext in '' $ac_executable_extensions; do
   3405   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3406     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3407     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3408     break 2
   3409   fi
   3410 done
   3411   done
   3412 IFS=$as_save_IFS
   3413 
   3414 fi ;;
   3415 esac
   3416 fi
   3417 CC=$ac_cv_prog_CC
   3418 if test -n "$CC"; then
   3419   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3420 printf "%s\n" "$CC" >&6; }
   3421 else
   3422   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3423 printf "%s\n" "no" >&6; }
   3424 fi
   3425 
   3426 
   3427 fi
   3428 if test -z "$ac_cv_prog_CC"; then
   3429   ac_ct_CC=$CC
   3430   # Extract the first word of "gcc", so it can be a program name with args.
   3431 set dummy gcc; ac_word=$2
   3432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3433 printf %s "checking for $ac_word... " >&6; }
   3434 if test ${ac_cv_prog_ac_ct_CC+y}
   3435 then :
   3436   printf %s "(cached) " >&6
   3437 else case e in #(
   3438   e) if test -n "$ac_ct_CC"; then
   3439   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3440 else
   3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3442 for as_dir in $PATH
   3443 do
   3444   IFS=$as_save_IFS
   3445   case $as_dir in #(((
   3446     '') as_dir=./ ;;
   3447     */) ;;
   3448     *) as_dir=$as_dir/ ;;
   3449   esac
   3450     for ac_exec_ext in '' $ac_executable_extensions; do
   3451   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3452     ac_cv_prog_ac_ct_CC="gcc"
   3453     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3454     break 2
   3455   fi
   3456 done
   3457   done
   3458 IFS=$as_save_IFS
   3459 
   3460 fi ;;
   3461 esac
   3462 fi
   3463 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3464 if test -n "$ac_ct_CC"; then
   3465   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3466 printf "%s\n" "$ac_ct_CC" >&6; }
   3467 else
   3468   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3469 printf "%s\n" "no" >&6; }
   3470 fi
   3471 
   3472   if test "x$ac_ct_CC" = x; then
   3473     CC=""
   3474   else
   3475     case $cross_compiling:$ac_tool_warned in
   3476 yes:)
   3477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3478 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3479 ac_tool_warned=yes ;;
   3480 esac
   3481     CC=$ac_ct_CC
   3482   fi
   3483 else
   3484   CC="$ac_cv_prog_CC"
   3485 fi
   3486 
   3487 if test -z "$CC"; then
   3488           if test -n "$ac_tool_prefix"; then
   3489     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3490 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3492 printf %s "checking for $ac_word... " >&6; }
   3493 if test ${ac_cv_prog_CC+y}
   3494 then :
   3495   printf %s "(cached) " >&6
   3496 else case e in #(
   3497   e) if test -n "$CC"; then
   3498   ac_cv_prog_CC="$CC" # Let the user override the test.
   3499 else
   3500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3501 for as_dir in $PATH
   3502 do
   3503   IFS=$as_save_IFS
   3504   case $as_dir in #(((
   3505     '') as_dir=./ ;;
   3506     */) ;;
   3507     *) as_dir=$as_dir/ ;;
   3508   esac
   3509     for ac_exec_ext in '' $ac_executable_extensions; do
   3510   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3511     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3512     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3513     break 2
   3514   fi
   3515 done
   3516   done
   3517 IFS=$as_save_IFS
   3518 
   3519 fi ;;
   3520 esac
   3521 fi
   3522 CC=$ac_cv_prog_CC
   3523 if test -n "$CC"; then
   3524   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3525 printf "%s\n" "$CC" >&6; }
   3526 else
   3527   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3528 printf "%s\n" "no" >&6; }
   3529 fi
   3530 
   3531 
   3532   fi
   3533 fi
   3534 if test -z "$CC"; then
   3535   # Extract the first word of "cc", so it can be a program name with args.
   3536 set dummy cc; ac_word=$2
   3537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3538 printf %s "checking for $ac_word... " >&6; }
   3539 if test ${ac_cv_prog_CC+y}
   3540 then :
   3541   printf %s "(cached) " >&6
   3542 else case e in #(
   3543   e) if test -n "$CC"; then
   3544   ac_cv_prog_CC="$CC" # Let the user override the test.
   3545 else
   3546   ac_prog_rejected=no
   3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3548 for as_dir in $PATH
   3549 do
   3550   IFS=$as_save_IFS
   3551   case $as_dir in #(((
   3552     '') as_dir=./ ;;
   3553     */) ;;
   3554     *) as_dir=$as_dir/ ;;
   3555   esac
   3556     for ac_exec_ext in '' $ac_executable_extensions; do
   3557   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3558     if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3559        ac_prog_rejected=yes
   3560        continue
   3561      fi
   3562     ac_cv_prog_CC="cc"
   3563     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3564     break 2
   3565   fi
   3566 done
   3567   done
   3568 IFS=$as_save_IFS
   3569 
   3570 if test $ac_prog_rejected = yes; then
   3571   # We found a bogon in the path, so make sure we never use it.
   3572   set dummy $ac_cv_prog_CC
   3573   shift
   3574   if test $# != 0; then
   3575     # We chose a different compiler from the bogus one.
   3576     # However, it has the same basename, so the bogon will be chosen
   3577     # first if we set CC to just the basename; use the full file name.
   3578     shift
   3579     ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
   3580   fi
   3581 fi
   3582 fi ;;
   3583 esac
   3584 fi
   3585 CC=$ac_cv_prog_CC
   3586 if test -n "$CC"; then
   3587   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3588 printf "%s\n" "$CC" >&6; }
   3589 else
   3590   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3591 printf "%s\n" "no" >&6; }
   3592 fi
   3593 
   3594 
   3595 fi
   3596 if test -z "$CC"; then
   3597   if test -n "$ac_tool_prefix"; then
   3598   for ac_prog in cl.exe
   3599   do
   3600     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3601 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3603 printf %s "checking for $ac_word... " >&6; }
   3604 if test ${ac_cv_prog_CC+y}
   3605 then :
   3606   printf %s "(cached) " >&6
   3607 else case e in #(
   3608   e) if test -n "$CC"; then
   3609   ac_cv_prog_CC="$CC" # Let the user override the test.
   3610 else
   3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3612 for as_dir in $PATH
   3613 do
   3614   IFS=$as_save_IFS
   3615   case $as_dir in #(((
   3616     '') as_dir=./ ;;
   3617     */) ;;
   3618     *) as_dir=$as_dir/ ;;
   3619   esac
   3620     for ac_exec_ext in '' $ac_executable_extensions; do
   3621   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3622     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3623     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3624     break 2
   3625   fi
   3626 done
   3627   done
   3628 IFS=$as_save_IFS
   3629 
   3630 fi ;;
   3631 esac
   3632 fi
   3633 CC=$ac_cv_prog_CC
   3634 if test -n "$CC"; then
   3635   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3636 printf "%s\n" "$CC" >&6; }
   3637 else
   3638   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3639 printf "%s\n" "no" >&6; }
   3640 fi
   3641 
   3642 
   3643     test -n "$CC" && break
   3644   done
   3645 fi
   3646 if test -z "$CC"; then
   3647   ac_ct_CC=$CC
   3648   for ac_prog in cl.exe
   3649 do
   3650   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3651 set dummy $ac_prog; ac_word=$2
   3652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3653 printf %s "checking for $ac_word... " >&6; }
   3654 if test ${ac_cv_prog_ac_ct_CC+y}
   3655 then :
   3656   printf %s "(cached) " >&6
   3657 else case e in #(
   3658   e) if test -n "$ac_ct_CC"; then
   3659   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3660 else
   3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3662 for as_dir in $PATH
   3663 do
   3664   IFS=$as_save_IFS
   3665   case $as_dir in #(((
   3666     '') as_dir=./ ;;
   3667     */) ;;
   3668     *) as_dir=$as_dir/ ;;
   3669   esac
   3670     for ac_exec_ext in '' $ac_executable_extensions; do
   3671   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3672     ac_cv_prog_ac_ct_CC="$ac_prog"
   3673     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3674     break 2
   3675   fi
   3676 done
   3677   done
   3678 IFS=$as_save_IFS
   3679 
   3680 fi ;;
   3681 esac
   3682 fi
   3683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3684 if test -n "$ac_ct_CC"; then
   3685   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3686 printf "%s\n" "$ac_ct_CC" >&6; }
   3687 else
   3688   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3689 printf "%s\n" "no" >&6; }
   3690 fi
   3691 
   3692 
   3693   test -n "$ac_ct_CC" && break
   3694 done
   3695 
   3696   if test "x$ac_ct_CC" = x; then
   3697     CC=""
   3698   else
   3699     case $cross_compiling:$ac_tool_warned in
   3700 yes:)
   3701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3702 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3703 ac_tool_warned=yes ;;
   3704 esac
   3705     CC=$ac_ct_CC
   3706   fi
   3707 fi
   3708 
   3709 fi
   3710 if test -z "$CC"; then
   3711   if test -n "$ac_tool_prefix"; then
   3712   # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
   3713 set dummy ${ac_tool_prefix}clang; ac_word=$2
   3714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3715 printf %s "checking for $ac_word... " >&6; }
   3716 if test ${ac_cv_prog_CC+y}
   3717 then :
   3718   printf %s "(cached) " >&6
   3719 else case e in #(
   3720   e) if test -n "$CC"; then
   3721   ac_cv_prog_CC="$CC" # Let the user override the test.
   3722 else
   3723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3724 for as_dir in $PATH
   3725 do
   3726   IFS=$as_save_IFS
   3727   case $as_dir in #(((
   3728     '') as_dir=./ ;;
   3729     */) ;;
   3730     *) as_dir=$as_dir/ ;;
   3731   esac
   3732     for ac_exec_ext in '' $ac_executable_extensions; do
   3733   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3734     ac_cv_prog_CC="${ac_tool_prefix}clang"
   3735     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3736     break 2
   3737   fi
   3738 done
   3739   done
   3740 IFS=$as_save_IFS
   3741 
   3742 fi ;;
   3743 esac
   3744 fi
   3745 CC=$ac_cv_prog_CC
   3746 if test -n "$CC"; then
   3747   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3748 printf "%s\n" "$CC" >&6; }
   3749 else
   3750   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3751 printf "%s\n" "no" >&6; }
   3752 fi
   3753 
   3754 
   3755 fi
   3756 if test -z "$ac_cv_prog_CC"; then
   3757   ac_ct_CC=$CC
   3758   # Extract the first word of "clang", so it can be a program name with args.
   3759 set dummy clang; ac_word=$2
   3760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3761 printf %s "checking for $ac_word... " >&6; }
   3762 if test ${ac_cv_prog_ac_ct_CC+y}
   3763 then :
   3764   printf %s "(cached) " >&6
   3765 else case e in #(
   3766   e) if test -n "$ac_ct_CC"; then
   3767   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3768 else
   3769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3770 for as_dir in $PATH
   3771 do
   3772   IFS=$as_save_IFS
   3773   case $as_dir in #(((
   3774     '') as_dir=./ ;;
   3775     */) ;;
   3776     *) as_dir=$as_dir/ ;;
   3777   esac
   3778     for ac_exec_ext in '' $ac_executable_extensions; do
   3779   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   3780     ac_cv_prog_ac_ct_CC="clang"
   3781     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   3782     break 2
   3783   fi
   3784 done
   3785   done
   3786 IFS=$as_save_IFS
   3787 
   3788 fi ;;
   3789 esac
   3790 fi
   3791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3792 if test -n "$ac_ct_CC"; then
   3793   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3794 printf "%s\n" "$ac_ct_CC" >&6; }
   3795 else
   3796   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3797 printf "%s\n" "no" >&6; }
   3798 fi
   3799 
   3800   if test "x$ac_ct_CC" = x; then
   3801     CC=""
   3802   else
   3803     case $cross_compiling:$ac_tool_warned in
   3804 yes:)
   3805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3806 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3807 ac_tool_warned=yes ;;
   3808 esac
   3809     CC=$ac_ct_CC
   3810   fi
   3811 else
   3812   CC="$ac_cv_prog_CC"
   3813 fi
   3814 
   3815 fi
   3816 
   3817 
   3818 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3819 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3820 as_fn_error $? "no acceptable C compiler found in \$PATH
   3821 See 'config.log' for more details" "$LINENO" 5; }
   3822 
   3823 # Provide some information about the compiler.
   3824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3825 set X $ac_compile
   3826 ac_compiler=$2
   3827 for ac_option in --version -v -V -qversion -version; do
   3828   { { ac_try="$ac_compiler $ac_option >&5"
   3829 case "(($ac_try" in
   3830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3831   *) ac_try_echo=$ac_try;;
   3832 esac
   3833 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3834 printf "%s\n" "$ac_try_echo"; } >&5
   3835   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3836   ac_status=$?
   3837   if test -s conftest.err; then
   3838     sed '10a\
   3839 ... rest of stderr output deleted ...
   3840          10q' conftest.err >conftest.er1
   3841     cat conftest.er1 >&5
   3842   fi
   3843   rm -f conftest.er1 conftest.err
   3844   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3845   test $ac_status = 0; }
   3846 done
   3847 
   3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3849 /* end confdefs.h.  */
   3850 
   3851 int
   3852 main (void)
   3853 {
   3854 
   3855   ;
   3856   return 0;
   3857 }
   3858 _ACEOF
   3859 ac_clean_files_save=$ac_clean_files
   3860 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3861 # Try to create an executable without -o first, disregard a.out.
   3862 # It will help us diagnose broken compilers, and finding out an intuition
   3863 # of exeext.
   3864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3865 printf %s "checking whether the C compiler works... " >&6; }
   3866 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3867 
   3868 # The possible output files:
   3869 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3870 
   3871 ac_rmfiles=
   3872 for ac_file in $ac_files
   3873 do
   3874   case $ac_file in
   3875     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3876     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3877   esac
   3878 done
   3879 rm -f $ac_rmfiles
   3880 
   3881 if { { ac_try="$ac_link_default"
   3882 case "(($ac_try" in
   3883   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3884   *) ac_try_echo=$ac_try;;
   3885 esac
   3886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3887 printf "%s\n" "$ac_try_echo"; } >&5
   3888   (eval "$ac_link_default") 2>&5
   3889   ac_status=$?
   3890   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3891   test $ac_status = 0; }
   3892 then :
   3893   # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
   3894 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
   3895 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3896 # so that the user can short-circuit this test for compilers unknown to
   3897 # Autoconf.
   3898 for ac_file in $ac_files ''
   3899 do
   3900   test -f "$ac_file" || continue
   3901   case $ac_file in
   3902     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3903 	;;
   3904     [ab].out )
   3905 	# We found the default executable, but exeext='' is most
   3906 	# certainly right.
   3907 	break;;
   3908     *.* )
   3909 	if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
   3910 	then :; else
   3911 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3912 	fi
   3913 	# We set ac_cv_exeext here because the later test for it is not
   3914 	# safe: cross compilers may not add the suffix if given an '-o'
   3915 	# argument, so we may need to know it at that point already.
   3916 	# Even if this section looks crufty: it has the advantage of
   3917 	# actually working.
   3918 	break;;
   3919     * )
   3920 	break;;
   3921   esac
   3922 done
   3923 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3924 
   3925 else case e in #(
   3926   e) ac_file='' ;;
   3927 esac
   3928 fi
   3929 if test -z "$ac_file"
   3930 then :
   3931   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3932 printf "%s\n" "no" >&6; }
   3933 printf "%s\n" "$as_me: failed program was:" >&5
   3934 sed 's/^/| /' conftest.$ac_ext >&5
   3935 
   3936 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3937 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3938 as_fn_error 77 "C compiler cannot create executables
   3939 See 'config.log' for more details" "$LINENO" 5; }
   3940 else case e in #(
   3941   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3942 printf "%s\n" "yes" >&6; } ;;
   3943 esac
   3944 fi
   3945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3946 printf %s "checking for C compiler default output file name... " >&6; }
   3947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3948 printf "%s\n" "$ac_file" >&6; }
   3949 ac_exeext=$ac_cv_exeext
   3950 
   3951 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3952 ac_clean_files=$ac_clean_files_save
   3953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3954 printf %s "checking for suffix of executables... " >&6; }
   3955 if { { ac_try="$ac_link"
   3956 case "(($ac_try" in
   3957   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3958   *) ac_try_echo=$ac_try;;
   3959 esac
   3960 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3961 printf "%s\n" "$ac_try_echo"; } >&5
   3962   (eval "$ac_link") 2>&5
   3963   ac_status=$?
   3964   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3965   test $ac_status = 0; }
   3966 then :
   3967   # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
   3968 # catch 'conftest.exe'.  For instance with Cygwin, 'ls conftest' will
   3969 # work properly (i.e., refer to 'conftest.exe'), while it won't with
   3970 # 'rm'.
   3971 for ac_file in conftest.exe conftest conftest.*; do
   3972   test -f "$ac_file" || continue
   3973   case $ac_file in
   3974     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3975     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3976 	  break;;
   3977     * ) break;;
   3978   esac
   3979 done
   3980 else case e in #(
   3981   e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   3982 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   3983 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3984 See 'config.log' for more details" "$LINENO" 5; } ;;
   3985 esac
   3986 fi
   3987 rm -f conftest conftest$ac_cv_exeext
   3988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3989 printf "%s\n" "$ac_cv_exeext" >&6; }
   3990 
   3991 rm -f conftest.$ac_ext
   3992 EXEEXT=$ac_cv_exeext
   3993 ac_exeext=$EXEEXT
   3994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3995 /* end confdefs.h.  */
   3996 #include <stdio.h>
   3997 int
   3998 main (void)
   3999 {
   4000 FILE *f = fopen ("conftest.out", "w");
   4001  if (!f)
   4002   return 1;
   4003  return ferror (f) || fclose (f) != 0;
   4004 
   4005   ;
   4006   return 0;
   4007 }
   4008 _ACEOF
   4009 ac_clean_files="$ac_clean_files conftest.out"
   4010 # Check that the compiler produces executables we can run.  If not, either
   4011 # the compiler is broken, or we cross compile.
   4012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   4013 printf %s "checking whether we are cross compiling... " >&6; }
   4014 if test "$cross_compiling" != yes; then
   4015   { { ac_try="$ac_link"
   4016 case "(($ac_try" in
   4017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4018   *) ac_try_echo=$ac_try;;
   4019 esac
   4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4021 printf "%s\n" "$ac_try_echo"; } >&5
   4022   (eval "$ac_link") 2>&5
   4023   ac_status=$?
   4024   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4025   test $ac_status = 0; }
   4026   if { ac_try='./conftest$ac_cv_exeext'
   4027   { { case "(($ac_try" in
   4028   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4029   *) ac_try_echo=$ac_try;;
   4030 esac
   4031 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4032 printf "%s\n" "$ac_try_echo"; } >&5
   4033   (eval "$ac_try") 2>&5
   4034   ac_status=$?
   4035   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4036   test $ac_status = 0; }; }; then
   4037     cross_compiling=no
   4038   else
   4039     if test "$cross_compiling" = maybe; then
   4040 	cross_compiling=yes
   4041     else
   4042 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4043 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4044 as_fn_error 77 "cannot run C compiled programs.
   4045 If you meant to cross compile, use '--host'.
   4046 See 'config.log' for more details" "$LINENO" 5; }
   4047     fi
   4048   fi
   4049 fi
   4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   4051 printf "%s\n" "$cross_compiling" >&6; }
   4052 
   4053 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
   4054   conftest.o conftest.obj conftest.out
   4055 ac_clean_files=$ac_clean_files_save
   4056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   4057 printf %s "checking for suffix of object files... " >&6; }
   4058 if test ${ac_cv_objext+y}
   4059 then :
   4060   printf %s "(cached) " >&6
   4061 else case e in #(
   4062   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4063 /* end confdefs.h.  */
   4064 
   4065 int
   4066 main (void)
   4067 {
   4068 
   4069   ;
   4070   return 0;
   4071 }
   4072 _ACEOF
   4073 rm -f conftest.o conftest.obj
   4074 if { { ac_try="$ac_compile"
   4075 case "(($ac_try" in
   4076   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   4077   *) ac_try_echo=$ac_try;;
   4078 esac
   4079 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   4080 printf "%s\n" "$ac_try_echo"; } >&5
   4081   (eval "$ac_compile") 2>&5
   4082   ac_status=$?
   4083   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4084   test $ac_status = 0; }
   4085 then :
   4086   for ac_file in conftest.o conftest.obj conftest.*; do
   4087   test -f "$ac_file" || continue;
   4088   case $ac_file in
   4089     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   4090     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   4091        break;;
   4092   esac
   4093 done
   4094 else case e in #(
   4095   e) printf "%s\n" "$as_me: failed program was:" >&5
   4096 sed 's/^/| /' conftest.$ac_ext >&5
   4097 
   4098 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4099 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4100 as_fn_error $? "cannot compute suffix of object files: cannot compile
   4101 See 'config.log' for more details" "$LINENO" 5; } ;;
   4102 esac
   4103 fi
   4104 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
   4105 esac
   4106 fi
   4107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   4108 printf "%s\n" "$ac_cv_objext" >&6; }
   4109 OBJEXT=$ac_cv_objext
   4110 ac_objext=$OBJEXT
   4111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
   4112 printf %s "checking whether the compiler supports GNU C... " >&6; }
   4113 if test ${ac_cv_c_compiler_gnu+y}
   4114 then :
   4115   printf %s "(cached) " >&6
   4116 else case e in #(
   4117   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4118 /* end confdefs.h.  */
   4119 
   4120 int
   4121 main (void)
   4122 {
   4123 #ifndef __GNUC__
   4124        choke me
   4125 #endif
   4126 
   4127   ;
   4128   return 0;
   4129 }
   4130 _ACEOF
   4131 if ac_fn_c_try_compile "$LINENO"
   4132 then :
   4133   ac_compiler_gnu=yes
   4134 else case e in #(
   4135   e) ac_compiler_gnu=no ;;
   4136 esac
   4137 fi
   4138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4139 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4140  ;;
   4141 esac
   4142 fi
   4143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   4144 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
   4145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4146 
   4147 if test $ac_compiler_gnu = yes; then
   4148   GCC=yes
   4149 else
   4150   GCC=
   4151 fi
   4152 ac_test_CFLAGS=${CFLAGS+y}
   4153 ac_save_CFLAGS=$CFLAGS
   4154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   4155 printf %s "checking whether $CC accepts -g... " >&6; }
   4156 if test ${ac_cv_prog_cc_g+y}
   4157 then :
   4158   printf %s "(cached) " >&6
   4159 else case e in #(
   4160   e) ac_save_c_werror_flag=$ac_c_werror_flag
   4161    ac_c_werror_flag=yes
   4162    ac_cv_prog_cc_g=no
   4163    CFLAGS="-g"
   4164    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4165 /* end confdefs.h.  */
   4166 
   4167 int
   4168 main (void)
   4169 {
   4170 
   4171   ;
   4172   return 0;
   4173 }
   4174 _ACEOF
   4175 if ac_fn_c_try_compile "$LINENO"
   4176 then :
   4177   ac_cv_prog_cc_g=yes
   4178 else case e in #(
   4179   e) CFLAGS=""
   4180       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4181 /* end confdefs.h.  */
   4182 
   4183 int
   4184 main (void)
   4185 {
   4186 
   4187   ;
   4188   return 0;
   4189 }
   4190 _ACEOF
   4191 if ac_fn_c_try_compile "$LINENO"
   4192 then :
   4193 
   4194 else case e in #(
   4195   e) ac_c_werror_flag=$ac_save_c_werror_flag
   4196 	 CFLAGS="-g"
   4197 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4198 /* end confdefs.h.  */
   4199 
   4200 int
   4201 main (void)
   4202 {
   4203 
   4204   ;
   4205   return 0;
   4206 }
   4207 _ACEOF
   4208 if ac_fn_c_try_compile "$LINENO"
   4209 then :
   4210   ac_cv_prog_cc_g=yes
   4211 fi
   4212 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4213 esac
   4214 fi
   4215 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4216 esac
   4217 fi
   4218 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4219    ac_c_werror_flag=$ac_save_c_werror_flag ;;
   4220 esac
   4221 fi
   4222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   4223 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
   4224 if test $ac_test_CFLAGS; then
   4225   CFLAGS=$ac_save_CFLAGS
   4226 elif test $ac_cv_prog_cc_g = yes; then
   4227   if test "$GCC" = yes; then
   4228     CFLAGS="-g -O2"
   4229   else
   4230     CFLAGS="-g"
   4231   fi
   4232 else
   4233   if test "$GCC" = yes; then
   4234     CFLAGS="-O2"
   4235   else
   4236     CFLAGS=
   4237   fi
   4238 fi
   4239 ac_prog_cc_stdc=no
   4240 if test x$ac_prog_cc_stdc = xno
   4241 then :
   4242   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
   4243 printf %s "checking for $CC option to enable C11 features... " >&6; }
   4244 if test ${ac_cv_prog_cc_c11+y}
   4245 then :
   4246   printf %s "(cached) " >&6
   4247 else case e in #(
   4248   e) ac_cv_prog_cc_c11=no
   4249 ac_save_CC=$CC
   4250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4251 /* end confdefs.h.  */
   4252 $ac_c_conftest_c11_program
   4253 _ACEOF
   4254 for ac_arg in '' -std=gnu11
   4255 do
   4256   CC="$ac_save_CC $ac_arg"
   4257   if ac_fn_c_try_compile "$LINENO"
   4258 then :
   4259   ac_cv_prog_cc_c11=$ac_arg
   4260 fi
   4261 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4262   test "x$ac_cv_prog_cc_c11" != "xno" && break
   4263 done
   4264 rm -f conftest.$ac_ext
   4265 CC=$ac_save_CC ;;
   4266 esac
   4267 fi
   4268 
   4269 if test "x$ac_cv_prog_cc_c11" = xno
   4270 then :
   4271   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4272 printf "%s\n" "unsupported" >&6; }
   4273 else case e in #(
   4274   e) if test "x$ac_cv_prog_cc_c11" = x
   4275 then :
   4276   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4277 printf "%s\n" "none needed" >&6; }
   4278 else case e in #(
   4279   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
   4280 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
   4281      CC="$CC $ac_cv_prog_cc_c11" ;;
   4282 esac
   4283 fi
   4284   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
   4285   ac_prog_cc_stdc=c11 ;;
   4286 esac
   4287 fi
   4288 fi
   4289 if test x$ac_prog_cc_stdc = xno
   4290 then :
   4291   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
   4292 printf %s "checking for $CC option to enable C99 features... " >&6; }
   4293 if test ${ac_cv_prog_cc_c99+y}
   4294 then :
   4295   printf %s "(cached) " >&6
   4296 else case e in #(
   4297   e) ac_cv_prog_cc_c99=no
   4298 ac_save_CC=$CC
   4299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4300 /* end confdefs.h.  */
   4301 $ac_c_conftest_c99_program
   4302 _ACEOF
   4303 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
   4304 do
   4305   CC="$ac_save_CC $ac_arg"
   4306   if ac_fn_c_try_compile "$LINENO"
   4307 then :
   4308   ac_cv_prog_cc_c99=$ac_arg
   4309 fi
   4310 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4311   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4312 done
   4313 rm -f conftest.$ac_ext
   4314 CC=$ac_save_CC ;;
   4315 esac
   4316 fi
   4317 
   4318 if test "x$ac_cv_prog_cc_c99" = xno
   4319 then :
   4320   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4321 printf "%s\n" "unsupported" >&6; }
   4322 else case e in #(
   4323   e) if test "x$ac_cv_prog_cc_c99" = x
   4324 then :
   4325   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4326 printf "%s\n" "none needed" >&6; }
   4327 else case e in #(
   4328   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4329 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
   4330      CC="$CC $ac_cv_prog_cc_c99" ;;
   4331 esac
   4332 fi
   4333   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
   4334   ac_prog_cc_stdc=c99 ;;
   4335 esac
   4336 fi
   4337 fi
   4338 if test x$ac_prog_cc_stdc = xno
   4339 then :
   4340   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
   4341 printf %s "checking for $CC option to enable C89 features... " >&6; }
   4342 if test ${ac_cv_prog_cc_c89+y}
   4343 then :
   4344   printf %s "(cached) " >&6
   4345 else case e in #(
   4346   e) ac_cv_prog_cc_c89=no
   4347 ac_save_CC=$CC
   4348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4349 /* end confdefs.h.  */
   4350 $ac_c_conftest_c89_program
   4351 _ACEOF
   4352 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4353 do
   4354   CC="$ac_save_CC $ac_arg"
   4355   if ac_fn_c_try_compile "$LINENO"
   4356 then :
   4357   ac_cv_prog_cc_c89=$ac_arg
   4358 fi
   4359 rm -f core conftest.err conftest.$ac_objext conftest.beam
   4360   test "x$ac_cv_prog_cc_c89" != "xno" && break
   4361 done
   4362 rm -f conftest.$ac_ext
   4363 CC=$ac_save_CC ;;
   4364 esac
   4365 fi
   4366 
   4367 if test "x$ac_cv_prog_cc_c89" = xno
   4368 then :
   4369   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4370 printf "%s\n" "unsupported" >&6; }
   4371 else case e in #(
   4372   e) if test "x$ac_cv_prog_cc_c89" = x
   4373 then :
   4374   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4375 printf "%s\n" "none needed" >&6; }
   4376 else case e in #(
   4377   e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   4378 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
   4379      CC="$CC $ac_cv_prog_cc_c89" ;;
   4380 esac
   4381 fi
   4382   ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
   4383   ac_prog_cc_stdc=c89 ;;
   4384 esac
   4385 fi
   4386 fi
   4387 
   4388 ac_ext=c
   4389 ac_cpp='$CPP $CPPFLAGS'
   4390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4393 
   4394 
   4395   ac_ext=c
   4396 ac_cpp='$CPP $CPPFLAGS'
   4397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   4401 printf %s "checking whether $CC understands -c and -o together... " >&6; }
   4402 if test ${am_cv_prog_cc_c_o+y}
   4403 then :
   4404   printf %s "(cached) " >&6
   4405 else case e in #(
   4406   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4407 /* end confdefs.h.  */
   4408 
   4409 int
   4410 main (void)
   4411 {
   4412 
   4413   ;
   4414   return 0;
   4415 }
   4416 _ACEOF
   4417   # Make sure it works both with $CC and with simple cc.
   4418   # Following AC_PROG_CC_C_O, we do the test twice because some
   4419   # compilers refuse to overwrite an existing .o file with -o,
   4420   # though they will create one.
   4421   am_cv_prog_cc_c_o=yes
   4422   for am_i in 1 2; do
   4423     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   4424    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   4425    ac_status=$?
   4426    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4427    (exit $ac_status); } \
   4428          && test -f conftest2.$ac_objext; then
   4429       : OK
   4430     else
   4431       am_cv_prog_cc_c_o=no
   4432       break
   4433     fi
   4434   done
   4435   rm -f core conftest*
   4436   unset am_i ;;
   4437 esac
   4438 fi
   4439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   4440 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
   4441 if test "$am_cv_prog_cc_c_o" != yes; then
   4442    # Losing compiler, so override with the script.
   4443    # FIXME: It is wrong to rewrite CC.
   4444    # But if we don't then we get into trouble of one sort or another.
   4445    # A longer-term fix would be to have automake use am__CC in this case,
   4446    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   4447    CC="$am_aux_dir/compile $CC"
   4448 fi
   4449 ac_ext=c
   4450 ac_cpp='$CPP $CPPFLAGS'
   4451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4454 
   4455 
   4456 depcc="$CC"   am_compiler_list=
   4457 
   4458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4459 printf %s "checking dependency style of $depcc... " >&6; }
   4460 if test ${am_cv_CC_dependencies_compiler_type+y}
   4461 then :
   4462   printf %s "(cached) " >&6
   4463 else case e in #(
   4464   e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4465   # We make a subdir and do the tests there.  Otherwise we can end up
   4466   # making bogus files that we don't know about and never remove.  For
   4467   # instance it was reported that on HP-UX the gcc test will end up
   4468   # making a dummy file named 'D' -- because '-MD' means "put the output
   4469   # in D".
   4470   rm -rf conftest.dir
   4471   mkdir conftest.dir
   4472   # Copy depcomp to subdir because otherwise we won't find it if we're
   4473   # using a relative directory.
   4474   cp "$am_depcomp" conftest.dir
   4475   cd conftest.dir
   4476   # We will build objects and dependencies in a subdirectory because
   4477   # it helps to detect inapplicable dependency modes.  For instance
   4478   # both Tru64's cc and ICC support -MD to output dependencies as a
   4479   # side effect of compilation, but ICC will put the dependencies in
   4480   # the current directory while Tru64 will put them in the object
   4481   # directory.
   4482   mkdir sub
   4483 
   4484   am_cv_CC_dependencies_compiler_type=none
   4485   if test "$am_compiler_list" = ""; then
   4486      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4487   fi
   4488   am__universal=false
   4489   case " $depcc " in #(
   4490      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4491      esac
   4492 
   4493   for depmode in $am_compiler_list; do
   4494     # Setup a source with many dependencies, because some compilers
   4495     # like to wrap large dependency lists on column 80 (with \), and
   4496     # we should not choose a depcomp mode which is confused by this.
   4497     #
   4498     # We need to recreate these files for each test, as the compiler may
   4499     # overwrite some of them when testing with obscure command lines.
   4500     # This happens at least with the AIX C compiler.
   4501     : > sub/conftest.c
   4502     for i in 1 2 3 4 5 6; do
   4503       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4504       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4505       # Solaris 10 /bin/sh.
   4506       echo '/* dummy */' > sub/conftst$i.h
   4507     done
   4508     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4509 
   4510     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4511     # mode.  It turns out that the SunPro C++ compiler does not properly
   4512     # handle '-M -o', and we need to detect this.  Also, some Intel
   4513     # versions had trouble with output in subdirs.
   4514     am__obj=sub/conftest.${OBJEXT-o}
   4515     am__minus_obj="-o $am__obj"
   4516     case $depmode in
   4517     gcc)
   4518       # This depmode causes a compiler race in universal mode.
   4519       test "$am__universal" = false || continue
   4520       ;;
   4521     nosideeffect)
   4522       # After this tag, mechanisms are not by side-effect, so they'll
   4523       # only be used when explicitly requested.
   4524       if test "x$enable_dependency_tracking" = xyes; then
   4525 	continue
   4526       else
   4527 	break
   4528       fi
   4529       ;;
   4530     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4531       # This compiler won't grok '-c -o', but also, the minuso test has
   4532       # not run yet.  These depmodes are late enough in the game, and
   4533       # so weak that their functioning should not be impacted.
   4534       am__obj=conftest.${OBJEXT-o}
   4535       am__minus_obj=
   4536       ;;
   4537     none) break ;;
   4538     esac
   4539     if depmode=$depmode \
   4540        source=sub/conftest.c object=$am__obj \
   4541        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4542        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4543          >/dev/null 2>conftest.err &&
   4544        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4545        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4546        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4547        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4548       # icc doesn't choke on unknown options, it will just issue warnings
   4549       # or remarks (even with -Werror).  So we grep stderr for any message
   4550       # that says an option was ignored or not supported.
   4551       # When given -MP, icc 7.0 and 7.1 complain thus:
   4552       #   icc: Command line warning: ignoring option '-M'; no argument required
   4553       # The diagnosis changed in icc 8.0:
   4554       #   icc: Command line remark: option '-MP' not supported
   4555       if (grep 'ignoring option' conftest.err ||
   4556           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4557         am_cv_CC_dependencies_compiler_type=$depmode
   4558         break
   4559       fi
   4560     fi
   4561   done
   4562 
   4563   cd ..
   4564   rm -rf conftest.dir
   4565 else
   4566   am_cv_CC_dependencies_compiler_type=none
   4567 fi
   4568  ;;
   4569 esac
   4570 fi
   4571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4572 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
   4573 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4574 
   4575  if
   4576   test "x$enable_dependency_tracking" != xno \
   4577   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4578   am__fastdepCC_TRUE=
   4579   am__fastdepCC_FALSE='#'
   4580 else
   4581   am__fastdepCC_TRUE='#'
   4582   am__fastdepCC_FALSE=
   4583 fi
   4584 
   4585 
   4586 
   4587 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC options needed to detect all undeclared functions" >&5
   4588 printf %s "checking for $CC options needed to detect all undeclared functions... " >&6; }
   4589 if test ${ac_cv_c_undeclared_builtin_options+y}
   4590 then :
   4591   printf %s "(cached) " >&6
   4592 else case e in #(
   4593   e) ac_save_CFLAGS=$CFLAGS
   4594    ac_cv_c_undeclared_builtin_options='cannot detect'
   4595    for ac_arg in '' -fno-builtin; do
   4596      CFLAGS="$ac_save_CFLAGS $ac_arg"
   4597      # This test program should *not* compile successfully.
   4598      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4599 /* end confdefs.h.  */
   4600 
   4601 int
   4602 main (void)
   4603 {
   4604 (void) strchr;
   4605   ;
   4606   return 0;
   4607 }
   4608 _ACEOF
   4609 if ac_fn_c_try_compile "$LINENO"
   4610 then :
   4611 
   4612 else case e in #(
   4613   e) # This test program should compile successfully.
   4614         # No library function is consistently available on
   4615         # freestanding implementations, so test against a dummy
   4616         # declaration.  Include always-available headers on the
   4617         # off chance that they somehow elicit warnings.
   4618         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4619 /* end confdefs.h.  */
   4620 #include <float.h>
   4621 #include <limits.h>
   4622 #include <stdarg.h>
   4623 #include <stddef.h>
   4624 extern void ac_decl (int, char *);
   4625 
   4626 int
   4627 main (void)
   4628 {
   4629 (void) ac_decl (0, (char *) 0);
   4630   (void) ac_decl;
   4631 
   4632   ;
   4633   return 0;
   4634 }
   4635 _ACEOF
   4636 if ac_fn_c_try_compile "$LINENO"
   4637 then :
   4638   if test x"$ac_arg" = x
   4639 then :
   4640   ac_cv_c_undeclared_builtin_options='none needed'
   4641 else case e in #(
   4642   e) ac_cv_c_undeclared_builtin_options=$ac_arg ;;
   4643 esac
   4644 fi
   4645           break
   4646 fi
   4647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   4648 esac
   4649 fi
   4650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
   4651     done
   4652     CFLAGS=$ac_save_CFLAGS
   4653    ;;
   4654 esac
   4655 fi
   4656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_undeclared_builtin_options" >&5
   4657 printf "%s\n" "$ac_cv_c_undeclared_builtin_options" >&6; }
   4658   case $ac_cv_c_undeclared_builtin_options in #(
   4659   'cannot detect') :
   4660     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   4661 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   4662 as_fn_error $? "cannot make $CC report undeclared builtins
   4663 See 'config.log' for more details" "$LINENO" 5; } ;; #(
   4664   'none needed') :
   4665     ac_c_undeclared_builtin_options='' ;; #(
   4666   *) :
   4667     ac_c_undeclared_builtin_options=$ac_cv_c_undeclared_builtin_options ;;
   4668 esac
   4669 
   4670 ac_header= ac_cache=
   4671 for ac_item in $ac_header_c_list
   4672 do
   4673   if test $ac_cache; then
   4674     ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
   4675     if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
   4676       printf "%s\n" "#define $ac_item 1" >> confdefs.h
   4677     fi
   4678     ac_header= ac_cache=
   4679   elif test $ac_header; then
   4680     ac_cache=$ac_item
   4681   else
   4682     ac_header=$ac_item
   4683   fi
   4684 done
   4685 
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 
   4693 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
   4694 then :
   4695 
   4696 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
   4697 
   4698 fi
   4699 
   4700 
   4701 
   4702 
   4703 ac_fn_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4704 if test "x$ac_cv_have_decl___clang__" = xyes
   4705 then :
   4706   CLANGCC="yes"
   4707 else case e in #(
   4708   e) CLANGCC="no" ;;
   4709 esac
   4710 fi
   4711 ac_fn_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4712 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes
   4713 then :
   4714   INTELCC="yes"
   4715 else case e in #(
   4716   e) INTELCC="no" ;;
   4717 esac
   4718 fi
   4719 ac_fn_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default" "$ac_c_undeclared_builtin_options" "CFLAGS"
   4720 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes
   4721 then :
   4722   SUNCC="yes"
   4723 else case e in #(
   4724   e) SUNCC="no" ;;
   4725 esac
   4726 fi
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4736 	if test -n "$ac_tool_prefix"; then
   4737   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4738 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4740 printf %s "checking for $ac_word... " >&6; }
   4741 if test ${ac_cv_path_PKG_CONFIG+y}
   4742 then :
   4743   printf %s "(cached) " >&6
   4744 else case e in #(
   4745   e) case $PKG_CONFIG in
   4746   [\\/]* | ?:[\\/]*)
   4747   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4748   ;;
   4749   *)
   4750   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4751 for as_dir in $PATH
   4752 do
   4753   IFS=$as_save_IFS
   4754   case $as_dir in #(((
   4755     '') as_dir=./ ;;
   4756     */) ;;
   4757     *) as_dir=$as_dir/ ;;
   4758   esac
   4759     for ac_exec_ext in '' $ac_executable_extensions; do
   4760   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4761     ac_cv_path_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4762     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4763     break 2
   4764   fi
   4765 done
   4766   done
   4767 IFS=$as_save_IFS
   4768 
   4769   ;;
   4770 esac ;;
   4771 esac
   4772 fi
   4773 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4774 if test -n "$PKG_CONFIG"; then
   4775   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4776 printf "%s\n" "$PKG_CONFIG" >&6; }
   4777 else
   4778   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4779 printf "%s\n" "no" >&6; }
   4780 fi
   4781 
   4782 
   4783 fi
   4784 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4785   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4786   # Extract the first word of "pkg-config", so it can be a program name with args.
   4787 set dummy pkg-config; ac_word=$2
   4788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4789 printf %s "checking for $ac_word... " >&6; }
   4790 if test ${ac_cv_path_ac_pt_PKG_CONFIG+y}
   4791 then :
   4792   printf %s "(cached) " >&6
   4793 else case e in #(
   4794   e) case $ac_pt_PKG_CONFIG in
   4795   [\\/]* | ?:[\\/]*)
   4796   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4797   ;;
   4798   *)
   4799   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4800 for as_dir in $PATH
   4801 do
   4802   IFS=$as_save_IFS
   4803   case $as_dir in #(((
   4804     '') as_dir=./ ;;
   4805     */) ;;
   4806     *) as_dir=$as_dir/ ;;
   4807   esac
   4808     for ac_exec_ext in '' $ac_executable_extensions; do
   4809   if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
   4810     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir$ac_word$ac_exec_ext"
   4811     printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
   4812     break 2
   4813   fi
   4814 done
   4815   done
   4816 IFS=$as_save_IFS
   4817 
   4818   ;;
   4819 esac ;;
   4820 esac
   4821 fi
   4822 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4823 if test -n "$ac_pt_PKG_CONFIG"; then
   4824   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4825 printf "%s\n" "$ac_pt_PKG_CONFIG" >&6; }
   4826 else
   4827   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4828 printf "%s\n" "no" >&6; }
   4829 fi
   4830 
   4831   if test "x$ac_pt_PKG_CONFIG" = x; then
   4832     PKG_CONFIG=""
   4833   else
   4834     case $cross_compiling:$ac_tool_warned in
   4835 yes:)
   4836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4837 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4838 ac_tool_warned=yes ;;
   4839 esac
   4840     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4841   fi
   4842 else
   4843   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4844 fi
   4845 
   4846 fi
   4847 if test -n "$PKG_CONFIG"; then
   4848 	_pkg_min_version=0.9.0
   4849 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4850 printf %s "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4851 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4852 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4853 printf "%s\n" "yes" >&6; }
   4854 	else
   4855 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4856 printf "%s\n" "no" >&6; }
   4857 		PKG_CONFIG=""
   4858 	fi
   4859 fi
   4860 
   4861 
   4862   # Make sure we can run config.sub.
   4863 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
   4864   as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
   4865 
   4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4867 printf %s "checking build system type... " >&6; }
   4868 if test ${ac_cv_build+y}
   4869 then :
   4870   printf %s "(cached) " >&6
   4871 else case e in #(
   4872   e) ac_build_alias=$build_alias
   4873 test "x$ac_build_alias" = x &&
   4874   ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
   4875 test "x$ac_build_alias" = x &&
   4876   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4877 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
   4878   as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
   4879  ;;
   4880 esac
   4881 fi
   4882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4883 printf "%s\n" "$ac_cv_build" >&6; }
   4884 case $ac_cv_build in
   4885 *-*-*) ;;
   4886 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4887 esac
   4888 build=$ac_cv_build
   4889 ac_save_IFS=$IFS; IFS='-'
   4890 set x $ac_cv_build
   4891 shift
   4892 build_cpu=$1
   4893 build_vendor=$2
   4894 shift; shift
   4895 # Remember, the first character of IFS is used to create $*,
   4896 # except with old shells:
   4897 build_os=$*
   4898 IFS=$ac_save_IFS
   4899 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4900 
   4901 
   4902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4903 printf %s "checking host system type... " >&6; }
   4904 if test ${ac_cv_host+y}
   4905 then :
   4906   printf %s "(cached) " >&6
   4907 else case e in #(
   4908   e) if test "x$host_alias" = x; then
   4909   ac_cv_host=$ac_cv_build
   4910 else
   4911   ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
   4912     as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
   4913 fi
   4914  ;;
   4915 esac
   4916 fi
   4917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4918 printf "%s\n" "$ac_cv_host" >&6; }
   4919 case $ac_cv_host in
   4920 *-*-*) ;;
   4921 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4922 esac
   4923 host=$ac_cv_host
   4924 ac_save_IFS=$IFS; IFS='-'
   4925 set x $ac_cv_host
   4926 shift
   4927 host_cpu=$1
   4928 host_vendor=$2
   4929 shift; shift
   4930 # Remember, the first character of IFS is used to create $*,
   4931 # except with old shells:
   4932 host_os=$*
   4933 IFS=$ac_save_IFS
   4934 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4935 
   4936 
   4937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4938 printf %s "checking for a sed that does not truncate output... " >&6; }
   4939 if test ${ac_cv_path_SED+y}
   4940 then :
   4941   printf %s "(cached) " >&6
   4942 else case e in #(
   4943   e)           ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4944      for ac_i in 1 2 3 4 5 6 7; do
   4945        ac_script="$ac_script$as_nl$ac_script"
   4946      done
   4947      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4948      { ac_script=; unset ac_script;}
   4949      if test -z "$SED"; then
   4950   ac_path_SED_found=false
   4951   # Loop through the user's path and test for each of PROGNAME-LIST
   4952   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4953 for as_dir in $PATH
   4954 do
   4955   IFS=$as_save_IFS
   4956   case $as_dir in #(((
   4957     '') as_dir=./ ;;
   4958     */) ;;
   4959     *) as_dir=$as_dir/ ;;
   4960   esac
   4961     for ac_prog in sed gsed
   4962    do
   4963     for ac_exec_ext in '' $ac_executable_extensions; do
   4964       ac_path_SED="$as_dir$ac_prog$ac_exec_ext"
   4965       as_fn_executable_p "$ac_path_SED" || continue
   4966 # Check for GNU ac_path_SED and select it if it is found.
   4967   # Check for GNU $ac_path_SED
   4968 case `"$ac_path_SED" --version 2>&1` in #(
   4969 *GNU*)
   4970   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4971 #(
   4972 *)
   4973   ac_count=0
   4974   printf %s 0123456789 >"conftest.in"
   4975   while :
   4976   do
   4977     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4978     mv "conftest.tmp" "conftest.in"
   4979     cp "conftest.in" "conftest.nl"
   4980     printf "%s\n" '' >> "conftest.nl"
   4981     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4982     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4983     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4984     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4985       # Best one so far, save it but keep looking for a better one
   4986       ac_cv_path_SED="$ac_path_SED"
   4987       ac_path_SED_max=$ac_count
   4988     fi
   4989     # 10*(2^10) chars as input seems more than enough
   4990     test $ac_count -gt 10 && break
   4991   done
   4992   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4993 esac
   4994 
   4995       $ac_path_SED_found && break 3
   4996     done
   4997   done
   4998   done
   4999 IFS=$as_save_IFS
   5000   if test -z "$ac_cv_path_SED"; then
   5001     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   5002   fi
   5003 else
   5004   ac_cv_path_SED=$SED
   5005 fi
   5006  ;;
   5007 esac
   5008 fi
   5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   5010 printf "%s\n" "$ac_cv_path_SED" >&6; }
   5011  SED="$ac_cv_path_SED"
   5012   rm -f conftest.sed
   5013 
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 # Check whether --enable-selective-werror was given.
   5020 if test ${enable_selective_werror+y}
   5021 then :
   5022   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   5023 else case e in #(
   5024   e) SELECTIVE_WERROR=yes ;;
   5025 esac
   5026 fi
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   5033 if test "x$SUNCC" = "xyes"; then
   5034     BASE_CFLAGS="-v"
   5035 else
   5036     BASE_CFLAGS=""
   5037 fi
   5038 
   5039 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 xorg_testset_save_CFLAGS="$CFLAGS"
   5054 
   5055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5057 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5058 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5059 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5060 then :
   5061   printf %s "(cached) " >&6
   5062 else case e in #(
   5063   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5064 /* end confdefs.h.  */
   5065 int i;
   5066 _ACEOF
   5067 if ac_fn_c_try_compile "$LINENO"
   5068 then :
   5069   xorg_cv_cc_flag_unknown_warning_option=yes
   5070 else case e in #(
   5071   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5072 esac
   5073 fi
   5074 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5075 esac
   5076 fi
   5077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5078 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5079 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5080 	CFLAGS="$xorg_testset_save_CFLAGS"
   5081 fi
   5082 
   5083 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5084 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5085 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5086 	fi
   5087 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5088 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5089 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5090 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5091 then :
   5092   printf %s "(cached) " >&6
   5093 else case e in #(
   5094   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5095 /* end confdefs.h.  */
   5096 int i;
   5097 _ACEOF
   5098 if ac_fn_c_try_compile "$LINENO"
   5099 then :
   5100   xorg_cv_cc_flag_unused_command_line_argument=yes
   5101 else case e in #(
   5102   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5103 esac
   5104 fi
   5105 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5106 esac
   5107 fi
   5108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5109 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5110 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5111 	CFLAGS="$xorg_testset_save_CFLAGS"
   5112 fi
   5113 
   5114 found="no"
   5115 
   5116 	if test $found = "no" ; then
   5117 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5118 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5119 		fi
   5120 
   5121 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5122 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5123 		fi
   5124 
   5125 		CFLAGS="$CFLAGS -Wall"
   5126 
   5127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5128 printf %s "checking if $CC supports -Wall... " >&6; }
   5129 		cacheid=xorg_cv_cc_flag__Wall
   5130 		if eval test \${$cacheid+y}
   5131 then :
   5132   printf %s "(cached) " >&6
   5133 else case e in #(
   5134   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5135 /* end confdefs.h.  */
   5136 int i;
   5137 int
   5138 main (void)
   5139 {
   5140 
   5141   ;
   5142   return 0;
   5143 }
   5144 _ACEOF
   5145 if ac_fn_c_try_link "$LINENO"
   5146 then :
   5147   eval $cacheid=yes
   5148 else case e in #(
   5149   e) eval $cacheid=no ;;
   5150 esac
   5151 fi
   5152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5153     conftest$ac_exeext conftest.$ac_ext ;;
   5154 esac
   5155 fi
   5156 
   5157 
   5158 		CFLAGS="$xorg_testset_save_CFLAGS"
   5159 
   5160 		eval supported=\$$cacheid
   5161 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5162 printf "%s\n" "$supported" >&6; }
   5163 		if test "$supported" = "yes" ; then
   5164 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5165 			found="yes"
   5166 		fi
   5167 	fi
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 
   5176 
   5177 
   5178 
   5179 
   5180 
   5181 
   5182 
   5183 xorg_testset_save_CFLAGS="$CFLAGS"
   5184 
   5185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5187 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5188 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5189 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5190 then :
   5191   printf %s "(cached) " >&6
   5192 else case e in #(
   5193   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5194 /* end confdefs.h.  */
   5195 int i;
   5196 _ACEOF
   5197 if ac_fn_c_try_compile "$LINENO"
   5198 then :
   5199   xorg_cv_cc_flag_unknown_warning_option=yes
   5200 else case e in #(
   5201   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5202 esac
   5203 fi
   5204 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5205 esac
   5206 fi
   5207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5208 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5209 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5210 	CFLAGS="$xorg_testset_save_CFLAGS"
   5211 fi
   5212 
   5213 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5214 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5215 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5216 	fi
   5217 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5218 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5219 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5220 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5221 then :
   5222   printf %s "(cached) " >&6
   5223 else case e in #(
   5224   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5225 /* end confdefs.h.  */
   5226 int i;
   5227 _ACEOF
   5228 if ac_fn_c_try_compile "$LINENO"
   5229 then :
   5230   xorg_cv_cc_flag_unused_command_line_argument=yes
   5231 else case e in #(
   5232   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5233 esac
   5234 fi
   5235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5236 esac
   5237 fi
   5238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5239 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5240 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5241 	CFLAGS="$xorg_testset_save_CFLAGS"
   5242 fi
   5243 
   5244 found="no"
   5245 
   5246 	if test $found = "no" ; then
   5247 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5248 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5249 		fi
   5250 
   5251 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5252 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5253 		fi
   5254 
   5255 		CFLAGS="$CFLAGS -Wpointer-arith"
   5256 
   5257 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5258 printf %s "checking if $CC supports -Wpointer-arith... " >&6; }
   5259 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5260 		if eval test \${$cacheid+y}
   5261 then :
   5262   printf %s "(cached) " >&6
   5263 else case e in #(
   5264   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5265 /* end confdefs.h.  */
   5266 int i;
   5267 int
   5268 main (void)
   5269 {
   5270 
   5271   ;
   5272   return 0;
   5273 }
   5274 _ACEOF
   5275 if ac_fn_c_try_link "$LINENO"
   5276 then :
   5277   eval $cacheid=yes
   5278 else case e in #(
   5279   e) eval $cacheid=no ;;
   5280 esac
   5281 fi
   5282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5283     conftest$ac_exeext conftest.$ac_ext ;;
   5284 esac
   5285 fi
   5286 
   5287 
   5288 		CFLAGS="$xorg_testset_save_CFLAGS"
   5289 
   5290 		eval supported=\$$cacheid
   5291 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5292 printf "%s\n" "$supported" >&6; }
   5293 		if test "$supported" = "yes" ; then
   5294 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5295 			found="yes"
   5296 		fi
   5297 	fi
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 xorg_testset_save_CFLAGS="$CFLAGS"
   5314 
   5315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5317 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5318 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5319 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5320 then :
   5321   printf %s "(cached) " >&6
   5322 else case e in #(
   5323   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5324 /* end confdefs.h.  */
   5325 int i;
   5326 _ACEOF
   5327 if ac_fn_c_try_compile "$LINENO"
   5328 then :
   5329   xorg_cv_cc_flag_unknown_warning_option=yes
   5330 else case e in #(
   5331   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5332 esac
   5333 fi
   5334 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5335 esac
   5336 fi
   5337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5338 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5340 	CFLAGS="$xorg_testset_save_CFLAGS"
   5341 fi
   5342 
   5343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5346 	fi
   5347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5348 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5349 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5350 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5351 then :
   5352   printf %s "(cached) " >&6
   5353 else case e in #(
   5354   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5355 /* end confdefs.h.  */
   5356 int i;
   5357 _ACEOF
   5358 if ac_fn_c_try_compile "$LINENO"
   5359 then :
   5360   xorg_cv_cc_flag_unused_command_line_argument=yes
   5361 else case e in #(
   5362   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5363 esac
   5364 fi
   5365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5366 esac
   5367 fi
   5368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5369 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5371 	CFLAGS="$xorg_testset_save_CFLAGS"
   5372 fi
   5373 
   5374 found="no"
   5375 
   5376 	if test $found = "no" ; then
   5377 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5379 		fi
   5380 
   5381 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5383 		fi
   5384 
   5385 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5386 
   5387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5388 printf %s "checking if $CC supports -Wmissing-declarations... " >&6; }
   5389 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5390 		if eval test \${$cacheid+y}
   5391 then :
   5392   printf %s "(cached) " >&6
   5393 else case e in #(
   5394   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5395 /* end confdefs.h.  */
   5396 int i;
   5397 int
   5398 main (void)
   5399 {
   5400 
   5401   ;
   5402   return 0;
   5403 }
   5404 _ACEOF
   5405 if ac_fn_c_try_link "$LINENO"
   5406 then :
   5407   eval $cacheid=yes
   5408 else case e in #(
   5409   e) eval $cacheid=no ;;
   5410 esac
   5411 fi
   5412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5413     conftest$ac_exeext conftest.$ac_ext ;;
   5414 esac
   5415 fi
   5416 
   5417 
   5418 		CFLAGS="$xorg_testset_save_CFLAGS"
   5419 
   5420 		eval supported=\$$cacheid
   5421 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5422 printf "%s\n" "$supported" >&6; }
   5423 		if test "$supported" = "yes" ; then
   5424 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5425 			found="yes"
   5426 		fi
   5427 	fi
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 xorg_testset_save_CFLAGS="$CFLAGS"
   5444 
   5445 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5446 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5447 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5448 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5449 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5450 then :
   5451   printf %s "(cached) " >&6
   5452 else case e in #(
   5453   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5454 /* end confdefs.h.  */
   5455 int i;
   5456 _ACEOF
   5457 if ac_fn_c_try_compile "$LINENO"
   5458 then :
   5459   xorg_cv_cc_flag_unknown_warning_option=yes
   5460 else case e in #(
   5461   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5462 esac
   5463 fi
   5464 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5465 esac
   5466 fi
   5467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5468 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5469 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5470 	CFLAGS="$xorg_testset_save_CFLAGS"
   5471 fi
   5472 
   5473 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5474 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5475 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5476 	fi
   5477 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5478 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5479 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5480 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5481 then :
   5482   printf %s "(cached) " >&6
   5483 else case e in #(
   5484   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5485 /* end confdefs.h.  */
   5486 int i;
   5487 _ACEOF
   5488 if ac_fn_c_try_compile "$LINENO"
   5489 then :
   5490   xorg_cv_cc_flag_unused_command_line_argument=yes
   5491 else case e in #(
   5492   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5493 esac
   5494 fi
   5495 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5496 esac
   5497 fi
   5498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5499 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5500 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5501 	CFLAGS="$xorg_testset_save_CFLAGS"
   5502 fi
   5503 
   5504 found="no"
   5505 
   5506 	if test $found = "no" ; then
   5507 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5508 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5509 		fi
   5510 
   5511 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5512 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5513 		fi
   5514 
   5515 		CFLAGS="$CFLAGS -Wformat=2"
   5516 
   5517 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5518 printf %s "checking if $CC supports -Wformat=2... " >&6; }
   5519 		cacheid=xorg_cv_cc_flag__Wformat_2
   5520 		if eval test \${$cacheid+y}
   5521 then :
   5522   printf %s "(cached) " >&6
   5523 else case e in #(
   5524   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5525 /* end confdefs.h.  */
   5526 int i;
   5527 int
   5528 main (void)
   5529 {
   5530 
   5531   ;
   5532   return 0;
   5533 }
   5534 _ACEOF
   5535 if ac_fn_c_try_link "$LINENO"
   5536 then :
   5537   eval $cacheid=yes
   5538 else case e in #(
   5539   e) eval $cacheid=no ;;
   5540 esac
   5541 fi
   5542 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5543     conftest$ac_exeext conftest.$ac_ext ;;
   5544 esac
   5545 fi
   5546 
   5547 
   5548 		CFLAGS="$xorg_testset_save_CFLAGS"
   5549 
   5550 		eval supported=\$$cacheid
   5551 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5552 printf "%s\n" "$supported" >&6; }
   5553 		if test "$supported" = "yes" ; then
   5554 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5555 			found="yes"
   5556 		fi
   5557 	fi
   5558 
   5559 	if test $found = "no" ; then
   5560 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5562 		fi
   5563 
   5564 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5566 		fi
   5567 
   5568 		CFLAGS="$CFLAGS -Wformat"
   5569 
   5570 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5571 printf %s "checking if $CC supports -Wformat... " >&6; }
   5572 		cacheid=xorg_cv_cc_flag__Wformat
   5573 		if eval test \${$cacheid+y}
   5574 then :
   5575   printf %s "(cached) " >&6
   5576 else case e in #(
   5577   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5578 /* end confdefs.h.  */
   5579 int i;
   5580 int
   5581 main (void)
   5582 {
   5583 
   5584   ;
   5585   return 0;
   5586 }
   5587 _ACEOF
   5588 if ac_fn_c_try_link "$LINENO"
   5589 then :
   5590   eval $cacheid=yes
   5591 else case e in #(
   5592   e) eval $cacheid=no ;;
   5593 esac
   5594 fi
   5595 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5596     conftest$ac_exeext conftest.$ac_ext ;;
   5597 esac
   5598 fi
   5599 
   5600 
   5601 		CFLAGS="$xorg_testset_save_CFLAGS"
   5602 
   5603 		eval supported=\$$cacheid
   5604 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5605 printf "%s\n" "$supported" >&6; }
   5606 		if test "$supported" = "yes" ; then
   5607 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5608 			found="yes"
   5609 		fi
   5610 	fi
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 
   5622 
   5623 
   5624 
   5625 
   5626 
   5627 
   5628 xorg_testset_save_CFLAGS="$CFLAGS"
   5629 
   5630 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5631 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5632 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5633 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5634 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5635 then :
   5636   printf %s "(cached) " >&6
   5637 else case e in #(
   5638   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5639 /* end confdefs.h.  */
   5640 int i;
   5641 _ACEOF
   5642 if ac_fn_c_try_compile "$LINENO"
   5643 then :
   5644   xorg_cv_cc_flag_unknown_warning_option=yes
   5645 else case e in #(
   5646   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5647 esac
   5648 fi
   5649 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5650 esac
   5651 fi
   5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5653 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5654 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5655 	CFLAGS="$xorg_testset_save_CFLAGS"
   5656 fi
   5657 
   5658 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5659 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5660 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5661 	fi
   5662 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5663 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5664 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5665 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5666 then :
   5667   printf %s "(cached) " >&6
   5668 else case e in #(
   5669   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5670 /* end confdefs.h.  */
   5671 int i;
   5672 _ACEOF
   5673 if ac_fn_c_try_compile "$LINENO"
   5674 then :
   5675   xorg_cv_cc_flag_unused_command_line_argument=yes
   5676 else case e in #(
   5677   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5678 esac
   5679 fi
   5680 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5681 esac
   5682 fi
   5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5684 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5685 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5686 	CFLAGS="$xorg_testset_save_CFLAGS"
   5687 fi
   5688 
   5689 found="no"
   5690 
   5691 	if test $found = "no" ; then
   5692 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5693 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5694 		fi
   5695 
   5696 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5697 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5698 		fi
   5699 
   5700 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5701 
   5702 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5703 printf %s "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5704 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5705 		if eval test \${$cacheid+y}
   5706 then :
   5707   printf %s "(cached) " >&6
   5708 else case e in #(
   5709   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5710 /* end confdefs.h.  */
   5711 int i;
   5712 int
   5713 main (void)
   5714 {
   5715 
   5716   ;
   5717   return 0;
   5718 }
   5719 _ACEOF
   5720 if ac_fn_c_try_link "$LINENO"
   5721 then :
   5722   eval $cacheid=yes
   5723 else case e in #(
   5724   e) eval $cacheid=no ;;
   5725 esac
   5726 fi
   5727 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5728     conftest$ac_exeext conftest.$ac_ext ;;
   5729 esac
   5730 fi
   5731 
   5732 
   5733 		CFLAGS="$xorg_testset_save_CFLAGS"
   5734 
   5735 		eval supported=\$$cacheid
   5736 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5737 printf "%s\n" "$supported" >&6; }
   5738 		if test "$supported" = "yes" ; then
   5739 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5740 			found="yes"
   5741 		fi
   5742 	fi
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 xorg_testset_save_CFLAGS="$CFLAGS"
   5759 
   5760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5762 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5763 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5764 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5765 then :
   5766   printf %s "(cached) " >&6
   5767 else case e in #(
   5768   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5769 /* end confdefs.h.  */
   5770 int i;
   5771 _ACEOF
   5772 if ac_fn_c_try_compile "$LINENO"
   5773 then :
   5774   xorg_cv_cc_flag_unknown_warning_option=yes
   5775 else case e in #(
   5776   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5777 esac
   5778 fi
   5779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5780 esac
   5781 fi
   5782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5783 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5784 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5785 	CFLAGS="$xorg_testset_save_CFLAGS"
   5786 fi
   5787 
   5788 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5789 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5790 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5791 	fi
   5792 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5793 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5794 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5795 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5796 then :
   5797   printf %s "(cached) " >&6
   5798 else case e in #(
   5799   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5800 /* end confdefs.h.  */
   5801 int i;
   5802 _ACEOF
   5803 if ac_fn_c_try_compile "$LINENO"
   5804 then :
   5805   xorg_cv_cc_flag_unused_command_line_argument=yes
   5806 else case e in #(
   5807   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5808 esac
   5809 fi
   5810 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5811 esac
   5812 fi
   5813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5814 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5815 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5816 	CFLAGS="$xorg_testset_save_CFLAGS"
   5817 fi
   5818 
   5819 found="no"
   5820 
   5821 	if test $found = "no" ; then
   5822 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5823 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5824 		fi
   5825 
   5826 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5827 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5828 		fi
   5829 
   5830 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5831 
   5832 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5833 printf %s "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5834 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5835 		if eval test \${$cacheid+y}
   5836 then :
   5837   printf %s "(cached) " >&6
   5838 else case e in #(
   5839   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5840 /* end confdefs.h.  */
   5841 int i;
   5842 int
   5843 main (void)
   5844 {
   5845 
   5846   ;
   5847   return 0;
   5848 }
   5849 _ACEOF
   5850 if ac_fn_c_try_link "$LINENO"
   5851 then :
   5852   eval $cacheid=yes
   5853 else case e in #(
   5854   e) eval $cacheid=no ;;
   5855 esac
   5856 fi
   5857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5858     conftest$ac_exeext conftest.$ac_ext ;;
   5859 esac
   5860 fi
   5861 
   5862 
   5863 		CFLAGS="$xorg_testset_save_CFLAGS"
   5864 
   5865 		eval supported=\$$cacheid
   5866 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5867 printf "%s\n" "$supported" >&6; }
   5868 		if test "$supported" = "yes" ; then
   5869 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5870 			found="yes"
   5871 		fi
   5872 	fi
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 xorg_testset_save_CFLAGS="$CFLAGS"
   5889 
   5890 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5891 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5892 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5893 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5894 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   5895 then :
   5896   printf %s "(cached) " >&6
   5897 else case e in #(
   5898   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5899 /* end confdefs.h.  */
   5900 int i;
   5901 _ACEOF
   5902 if ac_fn_c_try_compile "$LINENO"
   5903 then :
   5904   xorg_cv_cc_flag_unknown_warning_option=yes
   5905 else case e in #(
   5906   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   5907 esac
   5908 fi
   5909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5910 esac
   5911 fi
   5912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5913 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5914 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5915 	CFLAGS="$xorg_testset_save_CFLAGS"
   5916 fi
   5917 
   5918 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5919 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5920 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5921 	fi
   5922 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5923 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5924 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5925 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   5926 then :
   5927   printf %s "(cached) " >&6
   5928 else case e in #(
   5929   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5930 /* end confdefs.h.  */
   5931 int i;
   5932 _ACEOF
   5933 if ac_fn_c_try_compile "$LINENO"
   5934 then :
   5935   xorg_cv_cc_flag_unused_command_line_argument=yes
   5936 else case e in #(
   5937   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   5938 esac
   5939 fi
   5940 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   5941 esac
   5942 fi
   5943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5944 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5945 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5946 	CFLAGS="$xorg_testset_save_CFLAGS"
   5947 fi
   5948 
   5949 found="no"
   5950 
   5951 	if test $found = "no" ; then
   5952 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5953 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5954 		fi
   5955 
   5956 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5957 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5958 		fi
   5959 
   5960 		CFLAGS="$CFLAGS -Wnested-externs"
   5961 
   5962 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5963 printf %s "checking if $CC supports -Wnested-externs... " >&6; }
   5964 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5965 		if eval test \${$cacheid+y}
   5966 then :
   5967   printf %s "(cached) " >&6
   5968 else case e in #(
   5969   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5970 /* end confdefs.h.  */
   5971 int i;
   5972 int
   5973 main (void)
   5974 {
   5975 
   5976   ;
   5977   return 0;
   5978 }
   5979 _ACEOF
   5980 if ac_fn_c_try_link "$LINENO"
   5981 then :
   5982   eval $cacheid=yes
   5983 else case e in #(
   5984   e) eval $cacheid=no ;;
   5985 esac
   5986 fi
   5987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   5988     conftest$ac_exeext conftest.$ac_ext ;;
   5989 esac
   5990 fi
   5991 
   5992 
   5993 		CFLAGS="$xorg_testset_save_CFLAGS"
   5994 
   5995 		eval supported=\$$cacheid
   5996 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5997 printf "%s\n" "$supported" >&6; }
   5998 		if test "$supported" = "yes" ; then
   5999 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   6000 			found="yes"
   6001 		fi
   6002 	fi
   6003 
   6004 
   6005 
   6006 
   6007 
   6008 
   6009 
   6010 
   6011 
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 xorg_testset_save_CFLAGS="$CFLAGS"
   6019 
   6020 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6021 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6022 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6023 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6024 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6025 then :
   6026   printf %s "(cached) " >&6
   6027 else case e in #(
   6028   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6029 /* end confdefs.h.  */
   6030 int i;
   6031 _ACEOF
   6032 if ac_fn_c_try_compile "$LINENO"
   6033 then :
   6034   xorg_cv_cc_flag_unknown_warning_option=yes
   6035 else case e in #(
   6036   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6037 esac
   6038 fi
   6039 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6040 esac
   6041 fi
   6042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6043 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6044 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6045 	CFLAGS="$xorg_testset_save_CFLAGS"
   6046 fi
   6047 
   6048 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6049 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6050 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6051 	fi
   6052 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6053 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6054 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6055 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6056 then :
   6057   printf %s "(cached) " >&6
   6058 else case e in #(
   6059   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6060 /* end confdefs.h.  */
   6061 int i;
   6062 _ACEOF
   6063 if ac_fn_c_try_compile "$LINENO"
   6064 then :
   6065   xorg_cv_cc_flag_unused_command_line_argument=yes
   6066 else case e in #(
   6067   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6068 esac
   6069 fi
   6070 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6071 esac
   6072 fi
   6073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6074 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6075 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6076 	CFLAGS="$xorg_testset_save_CFLAGS"
   6077 fi
   6078 
   6079 found="no"
   6080 
   6081 	if test $found = "no" ; then
   6082 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6083 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6084 		fi
   6085 
   6086 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6087 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6088 		fi
   6089 
   6090 		CFLAGS="$CFLAGS -Wbad-function-cast"
   6091 
   6092 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   6093 printf %s "checking if $CC supports -Wbad-function-cast... " >&6; }
   6094 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   6095 		if eval test \${$cacheid+y}
   6096 then :
   6097   printf %s "(cached) " >&6
   6098 else case e in #(
   6099   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6100 /* end confdefs.h.  */
   6101 int i;
   6102 int
   6103 main (void)
   6104 {
   6105 
   6106   ;
   6107   return 0;
   6108 }
   6109 _ACEOF
   6110 if ac_fn_c_try_link "$LINENO"
   6111 then :
   6112   eval $cacheid=yes
   6113 else case e in #(
   6114   e) eval $cacheid=no ;;
   6115 esac
   6116 fi
   6117 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6118     conftest$ac_exeext conftest.$ac_ext ;;
   6119 esac
   6120 fi
   6121 
   6122 
   6123 		CFLAGS="$xorg_testset_save_CFLAGS"
   6124 
   6125 		eval supported=\$$cacheid
   6126 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6127 printf "%s\n" "$supported" >&6; }
   6128 		if test "$supported" = "yes" ; then
   6129 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   6130 			found="yes"
   6131 		fi
   6132 	fi
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 xorg_testset_save_CFLAGS="$CFLAGS"
   6149 
   6150 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6151 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6152 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6153 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6154 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6155 then :
   6156   printf %s "(cached) " >&6
   6157 else case e in #(
   6158   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6159 /* end confdefs.h.  */
   6160 int i;
   6161 _ACEOF
   6162 if ac_fn_c_try_compile "$LINENO"
   6163 then :
   6164   xorg_cv_cc_flag_unknown_warning_option=yes
   6165 else case e in #(
   6166   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6167 esac
   6168 fi
   6169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6170 esac
   6171 fi
   6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6173 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6175 	CFLAGS="$xorg_testset_save_CFLAGS"
   6176 fi
   6177 
   6178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6181 	fi
   6182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6183 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6184 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6185 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6186 then :
   6187   printf %s "(cached) " >&6
   6188 else case e in #(
   6189   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6190 /* end confdefs.h.  */
   6191 int i;
   6192 _ACEOF
   6193 if ac_fn_c_try_compile "$LINENO"
   6194 then :
   6195   xorg_cv_cc_flag_unused_command_line_argument=yes
   6196 else case e in #(
   6197   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6198 esac
   6199 fi
   6200 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6201 esac
   6202 fi
   6203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6204 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6205 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6206 	CFLAGS="$xorg_testset_save_CFLAGS"
   6207 fi
   6208 
   6209 found="no"
   6210 
   6211 	if test $found = "no" ; then
   6212 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6213 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6214 		fi
   6215 
   6216 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6217 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6218 		fi
   6219 
   6220 		CFLAGS="$CFLAGS -Wold-style-definition"
   6221 
   6222 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   6223 printf %s "checking if $CC supports -Wold-style-definition... " >&6; }
   6224 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6225 		if eval test \${$cacheid+y}
   6226 then :
   6227   printf %s "(cached) " >&6
   6228 else case e in #(
   6229   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6230 /* end confdefs.h.  */
   6231 int i;
   6232 int
   6233 main (void)
   6234 {
   6235 
   6236   ;
   6237   return 0;
   6238 }
   6239 _ACEOF
   6240 if ac_fn_c_try_link "$LINENO"
   6241 then :
   6242   eval $cacheid=yes
   6243 else case e in #(
   6244   e) eval $cacheid=no ;;
   6245 esac
   6246 fi
   6247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6248     conftest$ac_exeext conftest.$ac_ext ;;
   6249 esac
   6250 fi
   6251 
   6252 
   6253 		CFLAGS="$xorg_testset_save_CFLAGS"
   6254 
   6255 		eval supported=\$$cacheid
   6256 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6257 printf "%s\n" "$supported" >&6; }
   6258 		if test "$supported" = "yes" ; then
   6259 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6260 			found="yes"
   6261 		fi
   6262 	fi
   6263 
   6264 	if test $found = "no" ; then
   6265 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6266 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6267 		fi
   6268 
   6269 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6270 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6271 		fi
   6272 
   6273 		CFLAGS="$CFLAGS -fd"
   6274 
   6275 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6276 printf %s "checking if $CC supports -fd... " >&6; }
   6277 		cacheid=xorg_cv_cc_flag__fd
   6278 		if eval test \${$cacheid+y}
   6279 then :
   6280   printf %s "(cached) " >&6
   6281 else case e in #(
   6282   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6283 /* end confdefs.h.  */
   6284 int i;
   6285 int
   6286 main (void)
   6287 {
   6288 
   6289   ;
   6290   return 0;
   6291 }
   6292 _ACEOF
   6293 if ac_fn_c_try_link "$LINENO"
   6294 then :
   6295   eval $cacheid=yes
   6296 else case e in #(
   6297   e) eval $cacheid=no ;;
   6298 esac
   6299 fi
   6300 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6301     conftest$ac_exeext conftest.$ac_ext ;;
   6302 esac
   6303 fi
   6304 
   6305 
   6306 		CFLAGS="$xorg_testset_save_CFLAGS"
   6307 
   6308 		eval supported=\$$cacheid
   6309 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6310 printf "%s\n" "$supported" >&6; }
   6311 		if test "$supported" = "yes" ; then
   6312 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6313 			found="yes"
   6314 		fi
   6315 	fi
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 xorg_testset_save_CFLAGS="$CFLAGS"
   6332 
   6333 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6334 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6335 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6336 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6337 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6338 then :
   6339   printf %s "(cached) " >&6
   6340 else case e in #(
   6341   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6342 /* end confdefs.h.  */
   6343 int i;
   6344 _ACEOF
   6345 if ac_fn_c_try_compile "$LINENO"
   6346 then :
   6347   xorg_cv_cc_flag_unknown_warning_option=yes
   6348 else case e in #(
   6349   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6350 esac
   6351 fi
   6352 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6353 esac
   6354 fi
   6355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6356 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6358 	CFLAGS="$xorg_testset_save_CFLAGS"
   6359 fi
   6360 
   6361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6364 	fi
   6365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6366 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6367 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6368 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6369 then :
   6370   printf %s "(cached) " >&6
   6371 else case e in #(
   6372   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6373 /* end confdefs.h.  */
   6374 int i;
   6375 _ACEOF
   6376 if ac_fn_c_try_compile "$LINENO"
   6377 then :
   6378   xorg_cv_cc_flag_unused_command_line_argument=yes
   6379 else case e in #(
   6380   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6381 esac
   6382 fi
   6383 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6384 esac
   6385 fi
   6386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6387 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6389 	CFLAGS="$xorg_testset_save_CFLAGS"
   6390 fi
   6391 
   6392 found="no"
   6393 
   6394 	if test $found = "no" ; then
   6395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6397 		fi
   6398 
   6399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6401 		fi
   6402 
   6403 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6404 
   6405 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6406 printf %s "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6407 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6408 		if eval test \${$cacheid+y}
   6409 then :
   6410   printf %s "(cached) " >&6
   6411 else case e in #(
   6412   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6413 /* end confdefs.h.  */
   6414 int i;
   6415 int
   6416 main (void)
   6417 {
   6418 
   6419   ;
   6420   return 0;
   6421 }
   6422 _ACEOF
   6423 if ac_fn_c_try_link "$LINENO"
   6424 then :
   6425   eval $cacheid=yes
   6426 else case e in #(
   6427   e) eval $cacheid=no ;;
   6428 esac
   6429 fi
   6430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6431     conftest$ac_exeext conftest.$ac_ext ;;
   6432 esac
   6433 fi
   6434 
   6435 
   6436 		CFLAGS="$xorg_testset_save_CFLAGS"
   6437 
   6438 		eval supported=\$$cacheid
   6439 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6440 printf "%s\n" "$supported" >&6; }
   6441 		if test "$supported" = "yes" ; then
   6442 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6443 			found="yes"
   6444 		fi
   6445 	fi
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 # This chunk adds additional warnings that could catch undesired effects.
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 
   6458 
   6459 
   6460 
   6461 
   6462 
   6463 
   6464 
   6465 xorg_testset_save_CFLAGS="$CFLAGS"
   6466 
   6467 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6468 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6469 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6470 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6471 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6472 then :
   6473   printf %s "(cached) " >&6
   6474 else case e in #(
   6475   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6476 /* end confdefs.h.  */
   6477 int i;
   6478 _ACEOF
   6479 if ac_fn_c_try_compile "$LINENO"
   6480 then :
   6481   xorg_cv_cc_flag_unknown_warning_option=yes
   6482 else case e in #(
   6483   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6484 esac
   6485 fi
   6486 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6487 esac
   6488 fi
   6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6490 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6492 	CFLAGS="$xorg_testset_save_CFLAGS"
   6493 fi
   6494 
   6495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6498 	fi
   6499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6500 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6501 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6502 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6503 then :
   6504   printf %s "(cached) " >&6
   6505 else case e in #(
   6506   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6507 /* end confdefs.h.  */
   6508 int i;
   6509 _ACEOF
   6510 if ac_fn_c_try_compile "$LINENO"
   6511 then :
   6512   xorg_cv_cc_flag_unused_command_line_argument=yes
   6513 else case e in #(
   6514   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6515 esac
   6516 fi
   6517 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6518 esac
   6519 fi
   6520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6521 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6522 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6523 	CFLAGS="$xorg_testset_save_CFLAGS"
   6524 fi
   6525 
   6526 found="no"
   6527 
   6528 	if test $found = "no" ; then
   6529 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6530 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6531 		fi
   6532 
   6533 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6534 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6535 		fi
   6536 
   6537 		CFLAGS="$CFLAGS -Wunused"
   6538 
   6539 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6540 printf %s "checking if $CC supports -Wunused... " >&6; }
   6541 		cacheid=xorg_cv_cc_flag__Wunused
   6542 		if eval test \${$cacheid+y}
   6543 then :
   6544   printf %s "(cached) " >&6
   6545 else case e in #(
   6546   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6547 /* end confdefs.h.  */
   6548 int i;
   6549 int
   6550 main (void)
   6551 {
   6552 
   6553   ;
   6554   return 0;
   6555 }
   6556 _ACEOF
   6557 if ac_fn_c_try_link "$LINENO"
   6558 then :
   6559   eval $cacheid=yes
   6560 else case e in #(
   6561   e) eval $cacheid=no ;;
   6562 esac
   6563 fi
   6564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6565     conftest$ac_exeext conftest.$ac_ext ;;
   6566 esac
   6567 fi
   6568 
   6569 
   6570 		CFLAGS="$xorg_testset_save_CFLAGS"
   6571 
   6572 		eval supported=\$$cacheid
   6573 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6574 printf "%s\n" "$supported" >&6; }
   6575 		if test "$supported" = "yes" ; then
   6576 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6577 			found="yes"
   6578 		fi
   6579 	fi
   6580 
   6581 
   6582 
   6583 
   6584 
   6585 
   6586 
   6587 
   6588 
   6589 
   6590 
   6591 
   6592 
   6593 
   6594 
   6595 xorg_testset_save_CFLAGS="$CFLAGS"
   6596 
   6597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6598 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6599 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6600 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6601 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6602 then :
   6603   printf %s "(cached) " >&6
   6604 else case e in #(
   6605   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6606 /* end confdefs.h.  */
   6607 int i;
   6608 _ACEOF
   6609 if ac_fn_c_try_compile "$LINENO"
   6610 then :
   6611   xorg_cv_cc_flag_unknown_warning_option=yes
   6612 else case e in #(
   6613   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6614 esac
   6615 fi
   6616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6617 esac
   6618 fi
   6619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6620 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6621 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6622 	CFLAGS="$xorg_testset_save_CFLAGS"
   6623 fi
   6624 
   6625 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6626 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6627 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6628 	fi
   6629 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6630 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6631 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6632 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6633 then :
   6634   printf %s "(cached) " >&6
   6635 else case e in #(
   6636   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6637 /* end confdefs.h.  */
   6638 int i;
   6639 _ACEOF
   6640 if ac_fn_c_try_compile "$LINENO"
   6641 then :
   6642   xorg_cv_cc_flag_unused_command_line_argument=yes
   6643 else case e in #(
   6644   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6645 esac
   6646 fi
   6647 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6648 esac
   6649 fi
   6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6651 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6653 	CFLAGS="$xorg_testset_save_CFLAGS"
   6654 fi
   6655 
   6656 found="no"
   6657 
   6658 	if test $found = "no" ; then
   6659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6661 		fi
   6662 
   6663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6665 		fi
   6666 
   6667 		CFLAGS="$CFLAGS -Wuninitialized"
   6668 
   6669 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6670 printf %s "checking if $CC supports -Wuninitialized... " >&6; }
   6671 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6672 		if eval test \${$cacheid+y}
   6673 then :
   6674   printf %s "(cached) " >&6
   6675 else case e in #(
   6676   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6677 /* end confdefs.h.  */
   6678 int i;
   6679 int
   6680 main (void)
   6681 {
   6682 
   6683   ;
   6684   return 0;
   6685 }
   6686 _ACEOF
   6687 if ac_fn_c_try_link "$LINENO"
   6688 then :
   6689   eval $cacheid=yes
   6690 else case e in #(
   6691   e) eval $cacheid=no ;;
   6692 esac
   6693 fi
   6694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6695     conftest$ac_exeext conftest.$ac_ext ;;
   6696 esac
   6697 fi
   6698 
   6699 
   6700 		CFLAGS="$xorg_testset_save_CFLAGS"
   6701 
   6702 		eval supported=\$$cacheid
   6703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6704 printf "%s\n" "$supported" >&6; }
   6705 		if test "$supported" = "yes" ; then
   6706 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6707 			found="yes"
   6708 		fi
   6709 	fi
   6710 
   6711 
   6712 
   6713 
   6714 
   6715 
   6716 
   6717 
   6718 
   6719 
   6720 
   6721 
   6722 
   6723 
   6724 
   6725 xorg_testset_save_CFLAGS="$CFLAGS"
   6726 
   6727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6729 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6730 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6731 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6732 then :
   6733   printf %s "(cached) " >&6
   6734 else case e in #(
   6735   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6736 /* end confdefs.h.  */
   6737 int i;
   6738 _ACEOF
   6739 if ac_fn_c_try_compile "$LINENO"
   6740 then :
   6741   xorg_cv_cc_flag_unknown_warning_option=yes
   6742 else case e in #(
   6743   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6744 esac
   6745 fi
   6746 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6747 esac
   6748 fi
   6749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6750 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6751 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6752 	CFLAGS="$xorg_testset_save_CFLAGS"
   6753 fi
   6754 
   6755 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6756 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6757 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6758 	fi
   6759 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6760 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6761 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6762 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6763 then :
   6764   printf %s "(cached) " >&6
   6765 else case e in #(
   6766   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6767 /* end confdefs.h.  */
   6768 int i;
   6769 _ACEOF
   6770 if ac_fn_c_try_compile "$LINENO"
   6771 then :
   6772   xorg_cv_cc_flag_unused_command_line_argument=yes
   6773 else case e in #(
   6774   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6775 esac
   6776 fi
   6777 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6778 esac
   6779 fi
   6780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6781 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6782 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6783 	CFLAGS="$xorg_testset_save_CFLAGS"
   6784 fi
   6785 
   6786 found="no"
   6787 
   6788 	if test $found = "no" ; then
   6789 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6790 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6791 		fi
   6792 
   6793 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6794 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6795 		fi
   6796 
   6797 		CFLAGS="$CFLAGS -Wshadow"
   6798 
   6799 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6800 printf %s "checking if $CC supports -Wshadow... " >&6; }
   6801 		cacheid=xorg_cv_cc_flag__Wshadow
   6802 		if eval test \${$cacheid+y}
   6803 then :
   6804   printf %s "(cached) " >&6
   6805 else case e in #(
   6806   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6807 /* end confdefs.h.  */
   6808 int i;
   6809 int
   6810 main (void)
   6811 {
   6812 
   6813   ;
   6814   return 0;
   6815 }
   6816 _ACEOF
   6817 if ac_fn_c_try_link "$LINENO"
   6818 then :
   6819   eval $cacheid=yes
   6820 else case e in #(
   6821   e) eval $cacheid=no ;;
   6822 esac
   6823 fi
   6824 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6825     conftest$ac_exeext conftest.$ac_ext ;;
   6826 esac
   6827 fi
   6828 
   6829 
   6830 		CFLAGS="$xorg_testset_save_CFLAGS"
   6831 
   6832 		eval supported=\$$cacheid
   6833 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6834 printf "%s\n" "$supported" >&6; }
   6835 		if test "$supported" = "yes" ; then
   6836 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6837 			found="yes"
   6838 		fi
   6839 	fi
   6840 
   6841 
   6842 
   6843 
   6844 
   6845 
   6846 
   6847 
   6848 
   6849 
   6850 
   6851 
   6852 
   6853 
   6854 
   6855 xorg_testset_save_CFLAGS="$CFLAGS"
   6856 
   6857 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6858 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6859 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6860 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6861 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6862 then :
   6863   printf %s "(cached) " >&6
   6864 else case e in #(
   6865   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6866 /* end confdefs.h.  */
   6867 int i;
   6868 _ACEOF
   6869 if ac_fn_c_try_compile "$LINENO"
   6870 then :
   6871   xorg_cv_cc_flag_unknown_warning_option=yes
   6872 else case e in #(
   6873   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   6874 esac
   6875 fi
   6876 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6877 esac
   6878 fi
   6879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6880 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6881 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6882 	CFLAGS="$xorg_testset_save_CFLAGS"
   6883 fi
   6884 
   6885 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6886 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6887 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6888 	fi
   6889 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6890 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6891 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6892 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   6893 then :
   6894   printf %s "(cached) " >&6
   6895 else case e in #(
   6896   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6897 /* end confdefs.h.  */
   6898 int i;
   6899 _ACEOF
   6900 if ac_fn_c_try_compile "$LINENO"
   6901 then :
   6902   xorg_cv_cc_flag_unused_command_line_argument=yes
   6903 else case e in #(
   6904   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   6905 esac
   6906 fi
   6907 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   6908 esac
   6909 fi
   6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6911 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6912 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6913 	CFLAGS="$xorg_testset_save_CFLAGS"
   6914 fi
   6915 
   6916 found="no"
   6917 
   6918 	if test $found = "no" ; then
   6919 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6920 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6921 		fi
   6922 
   6923 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6924 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6925 		fi
   6926 
   6927 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6928 
   6929 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6930 printf %s "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6931 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6932 		if eval test \${$cacheid+y}
   6933 then :
   6934   printf %s "(cached) " >&6
   6935 else case e in #(
   6936   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6937 /* end confdefs.h.  */
   6938 int i;
   6939 int
   6940 main (void)
   6941 {
   6942 
   6943   ;
   6944   return 0;
   6945 }
   6946 _ACEOF
   6947 if ac_fn_c_try_link "$LINENO"
   6948 then :
   6949   eval $cacheid=yes
   6950 else case e in #(
   6951   e) eval $cacheid=no ;;
   6952 esac
   6953 fi
   6954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   6955     conftest$ac_exeext conftest.$ac_ext ;;
   6956 esac
   6957 fi
   6958 
   6959 
   6960 		CFLAGS="$xorg_testset_save_CFLAGS"
   6961 
   6962 		eval supported=\$$cacheid
   6963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6964 printf "%s\n" "$supported" >&6; }
   6965 		if test "$supported" = "yes" ; then
   6966 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6967 			found="yes"
   6968 		fi
   6969 	fi
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 xorg_testset_save_CFLAGS="$CFLAGS"
   6986 
   6987 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6988 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6989 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6990 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6991 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   6992 then :
   6993   printf %s "(cached) " >&6
   6994 else case e in #(
   6995   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6996 /* end confdefs.h.  */
   6997 int i;
   6998 _ACEOF
   6999 if ac_fn_c_try_compile "$LINENO"
   7000 then :
   7001   xorg_cv_cc_flag_unknown_warning_option=yes
   7002 else case e in #(
   7003   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7004 esac
   7005 fi
   7006 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7007 esac
   7008 fi
   7009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7010 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7011 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7012 	CFLAGS="$xorg_testset_save_CFLAGS"
   7013 fi
   7014 
   7015 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7016 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7017 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7018 	fi
   7019 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7020 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7021 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7022 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7023 then :
   7024   printf %s "(cached) " >&6
   7025 else case e in #(
   7026   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7027 /* end confdefs.h.  */
   7028 int i;
   7029 _ACEOF
   7030 if ac_fn_c_try_compile "$LINENO"
   7031 then :
   7032   xorg_cv_cc_flag_unused_command_line_argument=yes
   7033 else case e in #(
   7034   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7035 esac
   7036 fi
   7037 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7038 esac
   7039 fi
   7040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7041 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7043 	CFLAGS="$xorg_testset_save_CFLAGS"
   7044 fi
   7045 
   7046 found="no"
   7047 
   7048 	if test $found = "no" ; then
   7049 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7051 		fi
   7052 
   7053 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7055 		fi
   7056 
   7057 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   7058 
   7059 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   7060 printf %s "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   7061 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   7062 		if eval test \${$cacheid+y}
   7063 then :
   7064   printf %s "(cached) " >&6
   7065 else case e in #(
   7066   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7067 /* end confdefs.h.  */
   7068 int i;
   7069 int
   7070 main (void)
   7071 {
   7072 
   7073   ;
   7074   return 0;
   7075 }
   7076 _ACEOF
   7077 if ac_fn_c_try_link "$LINENO"
   7078 then :
   7079   eval $cacheid=yes
   7080 else case e in #(
   7081   e) eval $cacheid=no ;;
   7082 esac
   7083 fi
   7084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7085     conftest$ac_exeext conftest.$ac_ext ;;
   7086 esac
   7087 fi
   7088 
   7089 
   7090 		CFLAGS="$xorg_testset_save_CFLAGS"
   7091 
   7092 		eval supported=\$$cacheid
   7093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7094 printf "%s\n" "$supported" >&6; }
   7095 		if test "$supported" = "yes" ; then
   7096 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   7097 			found="yes"
   7098 		fi
   7099 	fi
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 xorg_testset_save_CFLAGS="$CFLAGS"
   7116 
   7117 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7118 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7119 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7120 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7121 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7122 then :
   7123   printf %s "(cached) " >&6
   7124 else case e in #(
   7125   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7126 /* end confdefs.h.  */
   7127 int i;
   7128 _ACEOF
   7129 if ac_fn_c_try_compile "$LINENO"
   7130 then :
   7131   xorg_cv_cc_flag_unknown_warning_option=yes
   7132 else case e in #(
   7133   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7134 esac
   7135 fi
   7136 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7137 esac
   7138 fi
   7139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7140 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7142 	CFLAGS="$xorg_testset_save_CFLAGS"
   7143 fi
   7144 
   7145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7148 	fi
   7149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7150 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7151 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7152 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7153 then :
   7154   printf %s "(cached) " >&6
   7155 else case e in #(
   7156   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7157 /* end confdefs.h.  */
   7158 int i;
   7159 _ACEOF
   7160 if ac_fn_c_try_compile "$LINENO"
   7161 then :
   7162   xorg_cv_cc_flag_unused_command_line_argument=yes
   7163 else case e in #(
   7164   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7165 esac
   7166 fi
   7167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7168 esac
   7169 fi
   7170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7171 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7173 	CFLAGS="$xorg_testset_save_CFLAGS"
   7174 fi
   7175 
   7176 found="no"
   7177 
   7178 	if test $found = "no" ; then
   7179 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7181 		fi
   7182 
   7183 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7185 		fi
   7186 
   7187 		CFLAGS="$CFLAGS -Wredundant-decls"
   7188 
   7189 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   7190 printf %s "checking if $CC supports -Wredundant-decls... " >&6; }
   7191 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   7192 		if eval test \${$cacheid+y}
   7193 then :
   7194   printf %s "(cached) " >&6
   7195 else case e in #(
   7196   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7197 /* end confdefs.h.  */
   7198 int i;
   7199 int
   7200 main (void)
   7201 {
   7202 
   7203   ;
   7204   return 0;
   7205 }
   7206 _ACEOF
   7207 if ac_fn_c_try_link "$LINENO"
   7208 then :
   7209   eval $cacheid=yes
   7210 else case e in #(
   7211   e) eval $cacheid=no ;;
   7212 esac
   7213 fi
   7214 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7215     conftest$ac_exeext conftest.$ac_ext ;;
   7216 esac
   7217 fi
   7218 
   7219 
   7220 		CFLAGS="$xorg_testset_save_CFLAGS"
   7221 
   7222 		eval supported=\$$cacheid
   7223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7224 printf "%s\n" "$supported" >&6; }
   7225 		if test "$supported" = "yes" ; then
   7226 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   7227 			found="yes"
   7228 		fi
   7229 	fi
   7230 
   7231 
   7232 
   7233 
   7234 
   7235 
   7236 
   7237 
   7238 
   7239 
   7240 
   7241 
   7242 
   7243 
   7244 
   7245 xorg_testset_save_CFLAGS="$CFLAGS"
   7246 
   7247 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7248 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7249 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7250 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7251 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7252 then :
   7253   printf %s "(cached) " >&6
   7254 else case e in #(
   7255   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7256 /* end confdefs.h.  */
   7257 int i;
   7258 _ACEOF
   7259 if ac_fn_c_try_compile "$LINENO"
   7260 then :
   7261   xorg_cv_cc_flag_unknown_warning_option=yes
   7262 else case e in #(
   7263   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7264 esac
   7265 fi
   7266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7267 esac
   7268 fi
   7269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7270 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7272 	CFLAGS="$xorg_testset_save_CFLAGS"
   7273 fi
   7274 
   7275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7278 	fi
   7279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7280 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7281 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7282 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7283 then :
   7284   printf %s "(cached) " >&6
   7285 else case e in #(
   7286   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7287 /* end confdefs.h.  */
   7288 int i;
   7289 _ACEOF
   7290 if ac_fn_c_try_compile "$LINENO"
   7291 then :
   7292   xorg_cv_cc_flag_unused_command_line_argument=yes
   7293 else case e in #(
   7294   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7295 esac
   7296 fi
   7297 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7298 esac
   7299 fi
   7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7301 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7302 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7303 	CFLAGS="$xorg_testset_save_CFLAGS"
   7304 fi
   7305 
   7306 found="no"
   7307 
   7308 	if test $found = "no" ; then
   7309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7311 		fi
   7312 
   7313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7315 		fi
   7316 
   7317 		CFLAGS="$CFLAGS -Wlogical-op"
   7318 
   7319 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   7320 printf %s "checking if $CC supports -Wlogical-op... " >&6; }
   7321 		cacheid=xorg_cv_cc_flag__Wlogical_op
   7322 		if eval test \${$cacheid+y}
   7323 then :
   7324   printf %s "(cached) " >&6
   7325 else case e in #(
   7326   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7327 /* end confdefs.h.  */
   7328 int i;
   7329 int
   7330 main (void)
   7331 {
   7332 
   7333   ;
   7334   return 0;
   7335 }
   7336 _ACEOF
   7337 if ac_fn_c_try_link "$LINENO"
   7338 then :
   7339   eval $cacheid=yes
   7340 else case e in #(
   7341   e) eval $cacheid=no ;;
   7342 esac
   7343 fi
   7344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7345     conftest$ac_exeext conftest.$ac_ext ;;
   7346 esac
   7347 fi
   7348 
   7349 
   7350 		CFLAGS="$xorg_testset_save_CFLAGS"
   7351 
   7352 		eval supported=\$$cacheid
   7353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7354 printf "%s\n" "$supported" >&6; }
   7355 		if test "$supported" = "yes" ; then
   7356 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7357 			found="yes"
   7358 		fi
   7359 	fi
   7360 
   7361 
   7362 
   7363 # These are currently disabled because they are noisy.  They will be enabled
   7364 # in the future once the codebase is sufficiently modernized to silence
   7365 # them.  For now, I don't want them to drown out the other warnings.
   7366 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7367 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7368 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7369 
   7370 # Turn some warnings into errors, so we don't accidentally get successful builds
   7371 # when there are problems that should be fixed.
   7372 
   7373 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 xorg_testset_save_CFLAGS="$CFLAGS"
   7388 
   7389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7391 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7392 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7393 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7394 then :
   7395   printf %s "(cached) " >&6
   7396 else case e in #(
   7397   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7398 /* end confdefs.h.  */
   7399 int i;
   7400 _ACEOF
   7401 if ac_fn_c_try_compile "$LINENO"
   7402 then :
   7403   xorg_cv_cc_flag_unknown_warning_option=yes
   7404 else case e in #(
   7405   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7406 esac
   7407 fi
   7408 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7409 esac
   7410 fi
   7411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7412 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7414 	CFLAGS="$xorg_testset_save_CFLAGS"
   7415 fi
   7416 
   7417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7420 	fi
   7421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7422 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7423 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7424 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7425 then :
   7426   printf %s "(cached) " >&6
   7427 else case e in #(
   7428   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7429 /* end confdefs.h.  */
   7430 int i;
   7431 _ACEOF
   7432 if ac_fn_c_try_compile "$LINENO"
   7433 then :
   7434   xorg_cv_cc_flag_unused_command_line_argument=yes
   7435 else case e in #(
   7436   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7437 esac
   7438 fi
   7439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7440 esac
   7441 fi
   7442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7443 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7444 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7445 	CFLAGS="$xorg_testset_save_CFLAGS"
   7446 fi
   7447 
   7448 found="no"
   7449 
   7450 	if test $found = "no" ; then
   7451 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7452 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7453 		fi
   7454 
   7455 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7456 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7457 		fi
   7458 
   7459 		CFLAGS="$CFLAGS -Werror=implicit"
   7460 
   7461 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7462 printf %s "checking if $CC supports -Werror=implicit... " >&6; }
   7463 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7464 		if eval test \${$cacheid+y}
   7465 then :
   7466   printf %s "(cached) " >&6
   7467 else case e in #(
   7468   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7469 /* end confdefs.h.  */
   7470 int i;
   7471 int
   7472 main (void)
   7473 {
   7474 
   7475   ;
   7476   return 0;
   7477 }
   7478 _ACEOF
   7479 if ac_fn_c_try_link "$LINENO"
   7480 then :
   7481   eval $cacheid=yes
   7482 else case e in #(
   7483   e) eval $cacheid=no ;;
   7484 esac
   7485 fi
   7486 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7487     conftest$ac_exeext conftest.$ac_ext ;;
   7488 esac
   7489 fi
   7490 
   7491 
   7492 		CFLAGS="$xorg_testset_save_CFLAGS"
   7493 
   7494 		eval supported=\$$cacheid
   7495 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7496 printf "%s\n" "$supported" >&6; }
   7497 		if test "$supported" = "yes" ; then
   7498 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7499 			found="yes"
   7500 		fi
   7501 	fi
   7502 
   7503 	if test $found = "no" ; then
   7504 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7505 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7506 		fi
   7507 
   7508 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7509 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7510 		fi
   7511 
   7512 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7513 
   7514 		{ 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
   7515 printf %s "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7516 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7517 		if eval test \${$cacheid+y}
   7518 then :
   7519   printf %s "(cached) " >&6
   7520 else case e in #(
   7521   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7522 /* end confdefs.h.  */
   7523 int i;
   7524 int
   7525 main (void)
   7526 {
   7527 
   7528   ;
   7529   return 0;
   7530 }
   7531 _ACEOF
   7532 if ac_fn_c_try_link "$LINENO"
   7533 then :
   7534   eval $cacheid=yes
   7535 else case e in #(
   7536   e) eval $cacheid=no ;;
   7537 esac
   7538 fi
   7539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7540     conftest$ac_exeext conftest.$ac_ext ;;
   7541 esac
   7542 fi
   7543 
   7544 
   7545 		CFLAGS="$xorg_testset_save_CFLAGS"
   7546 
   7547 		eval supported=\$$cacheid
   7548 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7549 printf "%s\n" "$supported" >&6; }
   7550 		if test "$supported" = "yes" ; then
   7551 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7552 			found="yes"
   7553 		fi
   7554 	fi
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 xorg_testset_save_CFLAGS="$CFLAGS"
   7571 
   7572 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7573 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7574 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7575 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7576 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7577 then :
   7578   printf %s "(cached) " >&6
   7579 else case e in #(
   7580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7581 /* end confdefs.h.  */
   7582 int i;
   7583 _ACEOF
   7584 if ac_fn_c_try_compile "$LINENO"
   7585 then :
   7586   xorg_cv_cc_flag_unknown_warning_option=yes
   7587 else case e in #(
   7588   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7589 esac
   7590 fi
   7591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7592 esac
   7593 fi
   7594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7595 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7597 	CFLAGS="$xorg_testset_save_CFLAGS"
   7598 fi
   7599 
   7600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7603 	fi
   7604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7605 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7606 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7607 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7608 then :
   7609   printf %s "(cached) " >&6
   7610 else case e in #(
   7611   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7612 /* end confdefs.h.  */
   7613 int i;
   7614 _ACEOF
   7615 if ac_fn_c_try_compile "$LINENO"
   7616 then :
   7617   xorg_cv_cc_flag_unused_command_line_argument=yes
   7618 else case e in #(
   7619   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7620 esac
   7621 fi
   7622 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7623 esac
   7624 fi
   7625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7626 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7627 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7628 	CFLAGS="$xorg_testset_save_CFLAGS"
   7629 fi
   7630 
   7631 found="no"
   7632 
   7633 	if test $found = "no" ; then
   7634 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7636 		fi
   7637 
   7638 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7640 		fi
   7641 
   7642 		CFLAGS="$CFLAGS -Werror=nonnull"
   7643 
   7644 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7645 printf %s "checking if $CC supports -Werror=nonnull... " >&6; }
   7646 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7647 		if eval test \${$cacheid+y}
   7648 then :
   7649   printf %s "(cached) " >&6
   7650 else case e in #(
   7651   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7652 /* end confdefs.h.  */
   7653 int i;
   7654 int
   7655 main (void)
   7656 {
   7657 
   7658   ;
   7659   return 0;
   7660 }
   7661 _ACEOF
   7662 if ac_fn_c_try_link "$LINENO"
   7663 then :
   7664   eval $cacheid=yes
   7665 else case e in #(
   7666   e) eval $cacheid=no ;;
   7667 esac
   7668 fi
   7669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7670     conftest$ac_exeext conftest.$ac_ext ;;
   7671 esac
   7672 fi
   7673 
   7674 
   7675 		CFLAGS="$xorg_testset_save_CFLAGS"
   7676 
   7677 		eval supported=\$$cacheid
   7678 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7679 printf "%s\n" "$supported" >&6; }
   7680 		if test "$supported" = "yes" ; then
   7681 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7682 			found="yes"
   7683 		fi
   7684 	fi
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 xorg_testset_save_CFLAGS="$CFLAGS"
   7701 
   7702 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7703 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7705 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7706 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7707 then :
   7708   printf %s "(cached) " >&6
   7709 else case e in #(
   7710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7711 /* end confdefs.h.  */
   7712 int i;
   7713 _ACEOF
   7714 if ac_fn_c_try_compile "$LINENO"
   7715 then :
   7716   xorg_cv_cc_flag_unknown_warning_option=yes
   7717 else case e in #(
   7718   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7719 esac
   7720 fi
   7721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7722 esac
   7723 fi
   7724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7725 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7727 	CFLAGS="$xorg_testset_save_CFLAGS"
   7728 fi
   7729 
   7730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7733 	fi
   7734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7735 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7736 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7737 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7738 then :
   7739   printf %s "(cached) " >&6
   7740 else case e in #(
   7741   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7742 /* end confdefs.h.  */
   7743 int i;
   7744 _ACEOF
   7745 if ac_fn_c_try_compile "$LINENO"
   7746 then :
   7747   xorg_cv_cc_flag_unused_command_line_argument=yes
   7748 else case e in #(
   7749   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7750 esac
   7751 fi
   7752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7753 esac
   7754 fi
   7755 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7756 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7757 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7758 	CFLAGS="$xorg_testset_save_CFLAGS"
   7759 fi
   7760 
   7761 found="no"
   7762 
   7763 	if test $found = "no" ; then
   7764 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7765 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7766 		fi
   7767 
   7768 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7769 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7770 		fi
   7771 
   7772 		CFLAGS="$CFLAGS -Werror=init-self"
   7773 
   7774 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7775 printf %s "checking if $CC supports -Werror=init-self... " >&6; }
   7776 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7777 		if eval test \${$cacheid+y}
   7778 then :
   7779   printf %s "(cached) " >&6
   7780 else case e in #(
   7781   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7782 /* end confdefs.h.  */
   7783 int i;
   7784 int
   7785 main (void)
   7786 {
   7787 
   7788   ;
   7789   return 0;
   7790 }
   7791 _ACEOF
   7792 if ac_fn_c_try_link "$LINENO"
   7793 then :
   7794   eval $cacheid=yes
   7795 else case e in #(
   7796   e) eval $cacheid=no ;;
   7797 esac
   7798 fi
   7799 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7800     conftest$ac_exeext conftest.$ac_ext ;;
   7801 esac
   7802 fi
   7803 
   7804 
   7805 		CFLAGS="$xorg_testset_save_CFLAGS"
   7806 
   7807 		eval supported=\$$cacheid
   7808 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7809 printf "%s\n" "$supported" >&6; }
   7810 		if test "$supported" = "yes" ; then
   7811 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7812 			found="yes"
   7813 		fi
   7814 	fi
   7815 
   7816 
   7817 
   7818 
   7819 
   7820 
   7821 
   7822 
   7823 
   7824 
   7825 
   7826 
   7827 
   7828 
   7829 
   7830 xorg_testset_save_CFLAGS="$CFLAGS"
   7831 
   7832 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7833 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7835 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7836 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7837 then :
   7838   printf %s "(cached) " >&6
   7839 else case e in #(
   7840   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7841 /* end confdefs.h.  */
   7842 int i;
   7843 _ACEOF
   7844 if ac_fn_c_try_compile "$LINENO"
   7845 then :
   7846   xorg_cv_cc_flag_unknown_warning_option=yes
   7847 else case e in #(
   7848   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7849 esac
   7850 fi
   7851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7852 esac
   7853 fi
   7854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7855 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7856 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7857 	CFLAGS="$xorg_testset_save_CFLAGS"
   7858 fi
   7859 
   7860 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7861 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7862 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7863 	fi
   7864 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7865 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7866 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7867 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7868 then :
   7869   printf %s "(cached) " >&6
   7870 else case e in #(
   7871   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7872 /* end confdefs.h.  */
   7873 int i;
   7874 _ACEOF
   7875 if ac_fn_c_try_compile "$LINENO"
   7876 then :
   7877   xorg_cv_cc_flag_unused_command_line_argument=yes
   7878 else case e in #(
   7879   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   7880 esac
   7881 fi
   7882 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7883 esac
   7884 fi
   7885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7886 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7887 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7888 	CFLAGS="$xorg_testset_save_CFLAGS"
   7889 fi
   7890 
   7891 found="no"
   7892 
   7893 	if test $found = "no" ; then
   7894 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7895 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7896 		fi
   7897 
   7898 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7899 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7900 		fi
   7901 
   7902 		CFLAGS="$CFLAGS -Werror=main"
   7903 
   7904 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7905 printf %s "checking if $CC supports -Werror=main... " >&6; }
   7906 		cacheid=xorg_cv_cc_flag__Werror_main
   7907 		if eval test \${$cacheid+y}
   7908 then :
   7909   printf %s "(cached) " >&6
   7910 else case e in #(
   7911   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7912 /* end confdefs.h.  */
   7913 int i;
   7914 int
   7915 main (void)
   7916 {
   7917 
   7918   ;
   7919   return 0;
   7920 }
   7921 _ACEOF
   7922 if ac_fn_c_try_link "$LINENO"
   7923 then :
   7924   eval $cacheid=yes
   7925 else case e in #(
   7926   e) eval $cacheid=no ;;
   7927 esac
   7928 fi
   7929 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   7930     conftest$ac_exeext conftest.$ac_ext ;;
   7931 esac
   7932 fi
   7933 
   7934 
   7935 		CFLAGS="$xorg_testset_save_CFLAGS"
   7936 
   7937 		eval supported=\$$cacheid
   7938 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7939 printf "%s\n" "$supported" >&6; }
   7940 		if test "$supported" = "yes" ; then
   7941 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7942 			found="yes"
   7943 		fi
   7944 	fi
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 
   7958 
   7959 
   7960 xorg_testset_save_CFLAGS="$CFLAGS"
   7961 
   7962 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7963 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7964 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7965 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7966 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   7967 then :
   7968   printf %s "(cached) " >&6
   7969 else case e in #(
   7970   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7971 /* end confdefs.h.  */
   7972 int i;
   7973 _ACEOF
   7974 if ac_fn_c_try_compile "$LINENO"
   7975 then :
   7976   xorg_cv_cc_flag_unknown_warning_option=yes
   7977 else case e in #(
   7978   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   7979 esac
   7980 fi
   7981 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   7982 esac
   7983 fi
   7984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7985 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7986 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7987 	CFLAGS="$xorg_testset_save_CFLAGS"
   7988 fi
   7989 
   7990 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7991 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7992 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7993 	fi
   7994 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7995 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7996 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7997 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   7998 then :
   7999   printf %s "(cached) " >&6
   8000 else case e in #(
   8001   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8002 /* end confdefs.h.  */
   8003 int i;
   8004 _ACEOF
   8005 if ac_fn_c_try_compile "$LINENO"
   8006 then :
   8007   xorg_cv_cc_flag_unused_command_line_argument=yes
   8008 else case e in #(
   8009   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8010 esac
   8011 fi
   8012 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8013 esac
   8014 fi
   8015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8016 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8018 	CFLAGS="$xorg_testset_save_CFLAGS"
   8019 fi
   8020 
   8021 found="no"
   8022 
   8023 	if test $found = "no" ; then
   8024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8026 		fi
   8027 
   8028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8030 		fi
   8031 
   8032 		CFLAGS="$CFLAGS -Werror=missing-braces"
   8033 
   8034 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   8035 printf %s "checking if $CC supports -Werror=missing-braces... " >&6; }
   8036 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   8037 		if eval test \${$cacheid+y}
   8038 then :
   8039   printf %s "(cached) " >&6
   8040 else case e in #(
   8041   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8042 /* end confdefs.h.  */
   8043 int i;
   8044 int
   8045 main (void)
   8046 {
   8047 
   8048   ;
   8049   return 0;
   8050 }
   8051 _ACEOF
   8052 if ac_fn_c_try_link "$LINENO"
   8053 then :
   8054   eval $cacheid=yes
   8055 else case e in #(
   8056   e) eval $cacheid=no ;;
   8057 esac
   8058 fi
   8059 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8060     conftest$ac_exeext conftest.$ac_ext ;;
   8061 esac
   8062 fi
   8063 
   8064 
   8065 		CFLAGS="$xorg_testset_save_CFLAGS"
   8066 
   8067 		eval supported=\$$cacheid
   8068 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8069 printf "%s\n" "$supported" >&6; }
   8070 		if test "$supported" = "yes" ; then
   8071 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   8072 			found="yes"
   8073 		fi
   8074 	fi
   8075 
   8076 
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 xorg_testset_save_CFLAGS="$CFLAGS"
   8091 
   8092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8094 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8095 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8096 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8097 then :
   8098   printf %s "(cached) " >&6
   8099 else case e in #(
   8100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8101 /* end confdefs.h.  */
   8102 int i;
   8103 _ACEOF
   8104 if ac_fn_c_try_compile "$LINENO"
   8105 then :
   8106   xorg_cv_cc_flag_unknown_warning_option=yes
   8107 else case e in #(
   8108   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8109 esac
   8110 fi
   8111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8112 esac
   8113 fi
   8114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8115 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8117 	CFLAGS="$xorg_testset_save_CFLAGS"
   8118 fi
   8119 
   8120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8123 	fi
   8124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8125 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8126 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8127 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8128 then :
   8129   printf %s "(cached) " >&6
   8130 else case e in #(
   8131   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8132 /* end confdefs.h.  */
   8133 int i;
   8134 _ACEOF
   8135 if ac_fn_c_try_compile "$LINENO"
   8136 then :
   8137   xorg_cv_cc_flag_unused_command_line_argument=yes
   8138 else case e in #(
   8139   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8140 esac
   8141 fi
   8142 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8143 esac
   8144 fi
   8145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8146 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8147 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8148 	CFLAGS="$xorg_testset_save_CFLAGS"
   8149 fi
   8150 
   8151 found="no"
   8152 
   8153 	if test $found = "no" ; then
   8154 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8155 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8156 		fi
   8157 
   8158 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8159 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8160 		fi
   8161 
   8162 		CFLAGS="$CFLAGS -Werror=sequence-point"
   8163 
   8164 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   8165 printf %s "checking if $CC supports -Werror=sequence-point... " >&6; }
   8166 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   8167 		if eval test \${$cacheid+y}
   8168 then :
   8169   printf %s "(cached) " >&6
   8170 else case e in #(
   8171   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8172 /* end confdefs.h.  */
   8173 int i;
   8174 int
   8175 main (void)
   8176 {
   8177 
   8178   ;
   8179   return 0;
   8180 }
   8181 _ACEOF
   8182 if ac_fn_c_try_link "$LINENO"
   8183 then :
   8184   eval $cacheid=yes
   8185 else case e in #(
   8186   e) eval $cacheid=no ;;
   8187 esac
   8188 fi
   8189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8190     conftest$ac_exeext conftest.$ac_ext ;;
   8191 esac
   8192 fi
   8193 
   8194 
   8195 		CFLAGS="$xorg_testset_save_CFLAGS"
   8196 
   8197 		eval supported=\$$cacheid
   8198 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8199 printf "%s\n" "$supported" >&6; }
   8200 		if test "$supported" = "yes" ; then
   8201 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   8202 			found="yes"
   8203 		fi
   8204 	fi
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 
   8220 xorg_testset_save_CFLAGS="$CFLAGS"
   8221 
   8222 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8223 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8224 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8225 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8226 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8227 then :
   8228   printf %s "(cached) " >&6
   8229 else case e in #(
   8230   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8231 /* end confdefs.h.  */
   8232 int i;
   8233 _ACEOF
   8234 if ac_fn_c_try_compile "$LINENO"
   8235 then :
   8236   xorg_cv_cc_flag_unknown_warning_option=yes
   8237 else case e in #(
   8238   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8239 esac
   8240 fi
   8241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8242 esac
   8243 fi
   8244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8245 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8246 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8247 	CFLAGS="$xorg_testset_save_CFLAGS"
   8248 fi
   8249 
   8250 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8251 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8252 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8253 	fi
   8254 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8255 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8256 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8257 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8258 then :
   8259   printf %s "(cached) " >&6
   8260 else case e in #(
   8261   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8262 /* end confdefs.h.  */
   8263 int i;
   8264 _ACEOF
   8265 if ac_fn_c_try_compile "$LINENO"
   8266 then :
   8267   xorg_cv_cc_flag_unused_command_line_argument=yes
   8268 else case e in #(
   8269   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8270 esac
   8271 fi
   8272 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8273 esac
   8274 fi
   8275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8276 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8277 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8278 	CFLAGS="$xorg_testset_save_CFLAGS"
   8279 fi
   8280 
   8281 found="no"
   8282 
   8283 	if test $found = "no" ; then
   8284 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8285 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8286 		fi
   8287 
   8288 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8289 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8290 		fi
   8291 
   8292 		CFLAGS="$CFLAGS -Werror=return-type"
   8293 
   8294 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   8295 printf %s "checking if $CC supports -Werror=return-type... " >&6; }
   8296 		cacheid=xorg_cv_cc_flag__Werror_return_type
   8297 		if eval test \${$cacheid+y}
   8298 then :
   8299   printf %s "(cached) " >&6
   8300 else case e in #(
   8301   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8302 /* end confdefs.h.  */
   8303 int i;
   8304 int
   8305 main (void)
   8306 {
   8307 
   8308   ;
   8309   return 0;
   8310 }
   8311 _ACEOF
   8312 if ac_fn_c_try_link "$LINENO"
   8313 then :
   8314   eval $cacheid=yes
   8315 else case e in #(
   8316   e) eval $cacheid=no ;;
   8317 esac
   8318 fi
   8319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8320     conftest$ac_exeext conftest.$ac_ext ;;
   8321 esac
   8322 fi
   8323 
   8324 
   8325 		CFLAGS="$xorg_testset_save_CFLAGS"
   8326 
   8327 		eval supported=\$$cacheid
   8328 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8329 printf "%s\n" "$supported" >&6; }
   8330 		if test "$supported" = "yes" ; then
   8331 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   8332 			found="yes"
   8333 		fi
   8334 	fi
   8335 
   8336 	if test $found = "no" ; then
   8337 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8338 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8339 		fi
   8340 
   8341 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8342 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8343 		fi
   8344 
   8345 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8346 
   8347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   8348 printf %s "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   8349 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   8350 		if eval test \${$cacheid+y}
   8351 then :
   8352   printf %s "(cached) " >&6
   8353 else case e in #(
   8354   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8355 /* end confdefs.h.  */
   8356 int i;
   8357 int
   8358 main (void)
   8359 {
   8360 
   8361   ;
   8362   return 0;
   8363 }
   8364 _ACEOF
   8365 if ac_fn_c_try_link "$LINENO"
   8366 then :
   8367   eval $cacheid=yes
   8368 else case e in #(
   8369   e) eval $cacheid=no ;;
   8370 esac
   8371 fi
   8372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8373     conftest$ac_exeext conftest.$ac_ext ;;
   8374 esac
   8375 fi
   8376 
   8377 
   8378 		CFLAGS="$xorg_testset_save_CFLAGS"
   8379 
   8380 		eval supported=\$$cacheid
   8381 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8382 printf "%s\n" "$supported" >&6; }
   8383 		if test "$supported" = "yes" ; then
   8384 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   8385 			found="yes"
   8386 		fi
   8387 	fi
   8388 
   8389 
   8390 
   8391 
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 xorg_testset_save_CFLAGS="$CFLAGS"
   8404 
   8405 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8406 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8407 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8408 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8409 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8410 then :
   8411   printf %s "(cached) " >&6
   8412 else case e in #(
   8413   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8414 /* end confdefs.h.  */
   8415 int i;
   8416 _ACEOF
   8417 if ac_fn_c_try_compile "$LINENO"
   8418 then :
   8419   xorg_cv_cc_flag_unknown_warning_option=yes
   8420 else case e in #(
   8421   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8422 esac
   8423 fi
   8424 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8425 esac
   8426 fi
   8427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8428 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8429 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8430 	CFLAGS="$xorg_testset_save_CFLAGS"
   8431 fi
   8432 
   8433 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8434 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8435 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8436 	fi
   8437 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8438 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8439 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8440 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8441 then :
   8442   printf %s "(cached) " >&6
   8443 else case e in #(
   8444   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8445 /* end confdefs.h.  */
   8446 int i;
   8447 _ACEOF
   8448 if ac_fn_c_try_compile "$LINENO"
   8449 then :
   8450   xorg_cv_cc_flag_unused_command_line_argument=yes
   8451 else case e in #(
   8452   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8453 esac
   8454 fi
   8455 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8456 esac
   8457 fi
   8458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8459 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8460 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8461 	CFLAGS="$xorg_testset_save_CFLAGS"
   8462 fi
   8463 
   8464 found="no"
   8465 
   8466 	if test $found = "no" ; then
   8467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8469 		fi
   8470 
   8471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8473 		fi
   8474 
   8475 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8476 
   8477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8478 printf %s "checking if $CC supports -Werror=trigraphs... " >&6; }
   8479 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8480 		if eval test \${$cacheid+y}
   8481 then :
   8482   printf %s "(cached) " >&6
   8483 else case e in #(
   8484   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8485 /* end confdefs.h.  */
   8486 int i;
   8487 int
   8488 main (void)
   8489 {
   8490 
   8491   ;
   8492   return 0;
   8493 }
   8494 _ACEOF
   8495 if ac_fn_c_try_link "$LINENO"
   8496 then :
   8497   eval $cacheid=yes
   8498 else case e in #(
   8499   e) eval $cacheid=no ;;
   8500 esac
   8501 fi
   8502 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8503     conftest$ac_exeext conftest.$ac_ext ;;
   8504 esac
   8505 fi
   8506 
   8507 
   8508 		CFLAGS="$xorg_testset_save_CFLAGS"
   8509 
   8510 		eval supported=\$$cacheid
   8511 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8512 printf "%s\n" "$supported" >&6; }
   8513 		if test "$supported" = "yes" ; then
   8514 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8515 			found="yes"
   8516 		fi
   8517 	fi
   8518 
   8519 
   8520 
   8521 
   8522 
   8523 
   8524 
   8525 
   8526 
   8527 
   8528 
   8529 
   8530 
   8531 
   8532 
   8533 xorg_testset_save_CFLAGS="$CFLAGS"
   8534 
   8535 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8536 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8537 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8538 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8539 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8540 then :
   8541   printf %s "(cached) " >&6
   8542 else case e in #(
   8543   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8544 /* end confdefs.h.  */
   8545 int i;
   8546 _ACEOF
   8547 if ac_fn_c_try_compile "$LINENO"
   8548 then :
   8549   xorg_cv_cc_flag_unknown_warning_option=yes
   8550 else case e in #(
   8551   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8552 esac
   8553 fi
   8554 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8555 esac
   8556 fi
   8557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8558 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8559 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8560 	CFLAGS="$xorg_testset_save_CFLAGS"
   8561 fi
   8562 
   8563 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8564 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8565 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8566 	fi
   8567 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8568 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8569 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8570 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8571 then :
   8572   printf %s "(cached) " >&6
   8573 else case e in #(
   8574   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8575 /* end confdefs.h.  */
   8576 int i;
   8577 _ACEOF
   8578 if ac_fn_c_try_compile "$LINENO"
   8579 then :
   8580   xorg_cv_cc_flag_unused_command_line_argument=yes
   8581 else case e in #(
   8582   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8583 esac
   8584 fi
   8585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8586 esac
   8587 fi
   8588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8589 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8590 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8591 	CFLAGS="$xorg_testset_save_CFLAGS"
   8592 fi
   8593 
   8594 found="no"
   8595 
   8596 	if test $found = "no" ; then
   8597 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8598 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8599 		fi
   8600 
   8601 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8602 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8603 		fi
   8604 
   8605 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8606 
   8607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8608 printf %s "checking if $CC supports -Werror=array-bounds... " >&6; }
   8609 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8610 		if eval test \${$cacheid+y}
   8611 then :
   8612   printf %s "(cached) " >&6
   8613 else case e in #(
   8614   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8615 /* end confdefs.h.  */
   8616 int i;
   8617 int
   8618 main (void)
   8619 {
   8620 
   8621   ;
   8622   return 0;
   8623 }
   8624 _ACEOF
   8625 if ac_fn_c_try_link "$LINENO"
   8626 then :
   8627   eval $cacheid=yes
   8628 else case e in #(
   8629   e) eval $cacheid=no ;;
   8630 esac
   8631 fi
   8632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8633     conftest$ac_exeext conftest.$ac_ext ;;
   8634 esac
   8635 fi
   8636 
   8637 
   8638 		CFLAGS="$xorg_testset_save_CFLAGS"
   8639 
   8640 		eval supported=\$$cacheid
   8641 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8642 printf "%s\n" "$supported" >&6; }
   8643 		if test "$supported" = "yes" ; then
   8644 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8645 			found="yes"
   8646 		fi
   8647 	fi
   8648 
   8649 
   8650 
   8651 
   8652 
   8653 
   8654 
   8655 
   8656 
   8657 
   8658 
   8659 
   8660 
   8661 
   8662 
   8663 xorg_testset_save_CFLAGS="$CFLAGS"
   8664 
   8665 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8666 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8667 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8668 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8669 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8670 then :
   8671   printf %s "(cached) " >&6
   8672 else case e in #(
   8673   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8674 /* end confdefs.h.  */
   8675 int i;
   8676 _ACEOF
   8677 if ac_fn_c_try_compile "$LINENO"
   8678 then :
   8679   xorg_cv_cc_flag_unknown_warning_option=yes
   8680 else case e in #(
   8681   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8682 esac
   8683 fi
   8684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8685 esac
   8686 fi
   8687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8688 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8690 	CFLAGS="$xorg_testset_save_CFLAGS"
   8691 fi
   8692 
   8693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8696 	fi
   8697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8698 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8699 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8700 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8701 then :
   8702   printf %s "(cached) " >&6
   8703 else case e in #(
   8704   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8705 /* end confdefs.h.  */
   8706 int i;
   8707 _ACEOF
   8708 if ac_fn_c_try_compile "$LINENO"
   8709 then :
   8710   xorg_cv_cc_flag_unused_command_line_argument=yes
   8711 else case e in #(
   8712   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8713 esac
   8714 fi
   8715 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8716 esac
   8717 fi
   8718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8719 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8720 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8721 	CFLAGS="$xorg_testset_save_CFLAGS"
   8722 fi
   8723 
   8724 found="no"
   8725 
   8726 	if test $found = "no" ; then
   8727 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8728 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8729 		fi
   8730 
   8731 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8732 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8733 		fi
   8734 
   8735 		CFLAGS="$CFLAGS -Werror=write-strings"
   8736 
   8737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8738 printf %s "checking if $CC supports -Werror=write-strings... " >&6; }
   8739 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8740 		if eval test \${$cacheid+y}
   8741 then :
   8742   printf %s "(cached) " >&6
   8743 else case e in #(
   8744   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8745 /* end confdefs.h.  */
   8746 int i;
   8747 int
   8748 main (void)
   8749 {
   8750 
   8751   ;
   8752   return 0;
   8753 }
   8754 _ACEOF
   8755 if ac_fn_c_try_link "$LINENO"
   8756 then :
   8757   eval $cacheid=yes
   8758 else case e in #(
   8759   e) eval $cacheid=no ;;
   8760 esac
   8761 fi
   8762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8763     conftest$ac_exeext conftest.$ac_ext ;;
   8764 esac
   8765 fi
   8766 
   8767 
   8768 		CFLAGS="$xorg_testset_save_CFLAGS"
   8769 
   8770 		eval supported=\$$cacheid
   8771 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8772 printf "%s\n" "$supported" >&6; }
   8773 		if test "$supported" = "yes" ; then
   8774 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8775 			found="yes"
   8776 		fi
   8777 	fi
   8778 
   8779 
   8780 
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 xorg_testset_save_CFLAGS="$CFLAGS"
   8794 
   8795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8797 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8798 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8799 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8800 then :
   8801   printf %s "(cached) " >&6
   8802 else case e in #(
   8803   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8804 /* end confdefs.h.  */
   8805 int i;
   8806 _ACEOF
   8807 if ac_fn_c_try_compile "$LINENO"
   8808 then :
   8809   xorg_cv_cc_flag_unknown_warning_option=yes
   8810 else case e in #(
   8811   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8812 esac
   8813 fi
   8814 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8815 esac
   8816 fi
   8817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8818 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8819 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8820 	CFLAGS="$xorg_testset_save_CFLAGS"
   8821 fi
   8822 
   8823 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8824 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8825 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8826 	fi
   8827 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8828 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8829 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8830 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8831 then :
   8832   printf %s "(cached) " >&6
   8833 else case e in #(
   8834   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8835 /* end confdefs.h.  */
   8836 int i;
   8837 _ACEOF
   8838 if ac_fn_c_try_compile "$LINENO"
   8839 then :
   8840   xorg_cv_cc_flag_unused_command_line_argument=yes
   8841 else case e in #(
   8842   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8843 esac
   8844 fi
   8845 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8846 esac
   8847 fi
   8848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8849 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8850 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8851 	CFLAGS="$xorg_testset_save_CFLAGS"
   8852 fi
   8853 
   8854 found="no"
   8855 
   8856 	if test $found = "no" ; then
   8857 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8858 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8859 		fi
   8860 
   8861 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8862 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8863 		fi
   8864 
   8865 		CFLAGS="$CFLAGS -Werror=address"
   8866 
   8867 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8868 printf %s "checking if $CC supports -Werror=address... " >&6; }
   8869 		cacheid=xorg_cv_cc_flag__Werror_address
   8870 		if eval test \${$cacheid+y}
   8871 then :
   8872   printf %s "(cached) " >&6
   8873 else case e in #(
   8874   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8875 /* end confdefs.h.  */
   8876 int i;
   8877 int
   8878 main (void)
   8879 {
   8880 
   8881   ;
   8882   return 0;
   8883 }
   8884 _ACEOF
   8885 if ac_fn_c_try_link "$LINENO"
   8886 then :
   8887   eval $cacheid=yes
   8888 else case e in #(
   8889   e) eval $cacheid=no ;;
   8890 esac
   8891 fi
   8892 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   8893     conftest$ac_exeext conftest.$ac_ext ;;
   8894 esac
   8895 fi
   8896 
   8897 
   8898 		CFLAGS="$xorg_testset_save_CFLAGS"
   8899 
   8900 		eval supported=\$$cacheid
   8901 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8902 printf "%s\n" "$supported" >&6; }
   8903 		if test "$supported" = "yes" ; then
   8904 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8905 			found="yes"
   8906 		fi
   8907 	fi
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 xorg_testset_save_CFLAGS="$CFLAGS"
   8924 
   8925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8927 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8928 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8929 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   8930 then :
   8931   printf %s "(cached) " >&6
   8932 else case e in #(
   8933   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8934 /* end confdefs.h.  */
   8935 int i;
   8936 _ACEOF
   8937 if ac_fn_c_try_compile "$LINENO"
   8938 then :
   8939   xorg_cv_cc_flag_unknown_warning_option=yes
   8940 else case e in #(
   8941   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   8942 esac
   8943 fi
   8944 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8945 esac
   8946 fi
   8947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8948 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8949 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8950 	CFLAGS="$xorg_testset_save_CFLAGS"
   8951 fi
   8952 
   8953 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8954 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8955 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8956 	fi
   8957 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8958 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8959 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8960 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   8961 then :
   8962   printf %s "(cached) " >&6
   8963 else case e in #(
   8964   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8965 /* end confdefs.h.  */
   8966 int i;
   8967 _ACEOF
   8968 if ac_fn_c_try_compile "$LINENO"
   8969 then :
   8970   xorg_cv_cc_flag_unused_command_line_argument=yes
   8971 else case e in #(
   8972   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   8973 esac
   8974 fi
   8975 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   8976 esac
   8977 fi
   8978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8979 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8981 	CFLAGS="$xorg_testset_save_CFLAGS"
   8982 fi
   8983 
   8984 found="no"
   8985 
   8986 	if test $found = "no" ; then
   8987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8989 		fi
   8990 
   8991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8993 		fi
   8994 
   8995 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8996 
   8997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8998 printf %s "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8999 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   9000 		if eval test \${$cacheid+y}
   9001 then :
   9002   printf %s "(cached) " >&6
   9003 else case e in #(
   9004   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9005 /* end confdefs.h.  */
   9006 int i;
   9007 int
   9008 main (void)
   9009 {
   9010 
   9011   ;
   9012   return 0;
   9013 }
   9014 _ACEOF
   9015 if ac_fn_c_try_link "$LINENO"
   9016 then :
   9017   eval $cacheid=yes
   9018 else case e in #(
   9019   e) eval $cacheid=no ;;
   9020 esac
   9021 fi
   9022 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9023     conftest$ac_exeext conftest.$ac_ext ;;
   9024 esac
   9025 fi
   9026 
   9027 
   9028 		CFLAGS="$xorg_testset_save_CFLAGS"
   9029 
   9030 		eval supported=\$$cacheid
   9031 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9032 printf "%s\n" "$supported" >&6; }
   9033 		if test "$supported" = "yes" ; then
   9034 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   9035 			found="yes"
   9036 		fi
   9037 	fi
   9038 
   9039 	if test $found = "no" ; then
   9040 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9041 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9042 		fi
   9043 
   9044 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9045 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9046 		fi
   9047 
   9048 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9049 
   9050 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   9051 printf %s "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   9052 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   9053 		if eval test \${$cacheid+y}
   9054 then :
   9055   printf %s "(cached) " >&6
   9056 else case e in #(
   9057   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9058 /* end confdefs.h.  */
   9059 int i;
   9060 int
   9061 main (void)
   9062 {
   9063 
   9064   ;
   9065   return 0;
   9066 }
   9067 _ACEOF
   9068 if ac_fn_c_try_link "$LINENO"
   9069 then :
   9070   eval $cacheid=yes
   9071 else case e in #(
   9072   e) eval $cacheid=no ;;
   9073 esac
   9074 fi
   9075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9076     conftest$ac_exeext conftest.$ac_ext ;;
   9077 esac
   9078 fi
   9079 
   9080 
   9081 		CFLAGS="$xorg_testset_save_CFLAGS"
   9082 
   9083 		eval supported=\$$cacheid
   9084 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9085 printf "%s\n" "$supported" >&6; }
   9086 		if test "$supported" = "yes" ; then
   9087 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   9088 			found="yes"
   9089 		fi
   9090 	fi
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104 
   9105 
   9106 xorg_testset_save_CFLAGS="$CFLAGS"
   9107 
   9108 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9109 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9110 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9111 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9112 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9113 then :
   9114   printf %s "(cached) " >&6
   9115 else case e in #(
   9116   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9117 /* end confdefs.h.  */
   9118 int i;
   9119 _ACEOF
   9120 if ac_fn_c_try_compile "$LINENO"
   9121 then :
   9122   xorg_cv_cc_flag_unknown_warning_option=yes
   9123 else case e in #(
   9124   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9125 esac
   9126 fi
   9127 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9128 esac
   9129 fi
   9130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9131 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9132 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9133 	CFLAGS="$xorg_testset_save_CFLAGS"
   9134 fi
   9135 
   9136 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9137 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9138 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9139 	fi
   9140 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9141 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9142 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9143 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9144 then :
   9145   printf %s "(cached) " >&6
   9146 else case e in #(
   9147   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9148 /* end confdefs.h.  */
   9149 int i;
   9150 _ACEOF
   9151 if ac_fn_c_try_compile "$LINENO"
   9152 then :
   9153   xorg_cv_cc_flag_unused_command_line_argument=yes
   9154 else case e in #(
   9155   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9156 esac
   9157 fi
   9158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9159 esac
   9160 fi
   9161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9162 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9163 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9164 	CFLAGS="$xorg_testset_save_CFLAGS"
   9165 fi
   9166 
   9167 found="no"
   9168 
   9169 	if test $found = "no" ; then
   9170 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9171 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9172 		fi
   9173 
   9174 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9175 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9176 		fi
   9177 
   9178 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   9179 
   9180 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   9181 printf %s "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   9182 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   9183 		if eval test \${$cacheid+y}
   9184 then :
   9185   printf %s "(cached) " >&6
   9186 else case e in #(
   9187   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9188 /* end confdefs.h.  */
   9189 int i;
   9190 int
   9191 main (void)
   9192 {
   9193 
   9194   ;
   9195   return 0;
   9196 }
   9197 _ACEOF
   9198 if ac_fn_c_try_link "$LINENO"
   9199 then :
   9200   eval $cacheid=yes
   9201 else case e in #(
   9202   e) eval $cacheid=no ;;
   9203 esac
   9204 fi
   9205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9206     conftest$ac_exeext conftest.$ac_ext ;;
   9207 esac
   9208 fi
   9209 
   9210 
   9211 		CFLAGS="$xorg_testset_save_CFLAGS"
   9212 
   9213 		eval supported=\$$cacheid
   9214 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9215 printf "%s\n" "$supported" >&6; }
   9216 		if test "$supported" = "yes" ; then
   9217 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   9218 			found="yes"
   9219 		fi
   9220 	fi
   9221 
   9222  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   9223 else
   9224 { 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
   9225 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;}
   9226 
   9227 
   9228 
   9229 
   9230 
   9231 
   9232 
   9233 
   9234 
   9235 
   9236 
   9237 
   9238 
   9239 xorg_testset_save_CFLAGS="$CFLAGS"
   9240 
   9241 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9243 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9244 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9245 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9246 then :
   9247   printf %s "(cached) " >&6
   9248 else case e in #(
   9249   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9250 /* end confdefs.h.  */
   9251 int i;
   9252 _ACEOF
   9253 if ac_fn_c_try_compile "$LINENO"
   9254 then :
   9255   xorg_cv_cc_flag_unknown_warning_option=yes
   9256 else case e in #(
   9257   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9258 esac
   9259 fi
   9260 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9261 esac
   9262 fi
   9263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9264 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9266 	CFLAGS="$xorg_testset_save_CFLAGS"
   9267 fi
   9268 
   9269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9272 	fi
   9273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9274 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9275 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9276 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9277 then :
   9278   printf %s "(cached) " >&6
   9279 else case e in #(
   9280   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9281 /* end confdefs.h.  */
   9282 int i;
   9283 _ACEOF
   9284 if ac_fn_c_try_compile "$LINENO"
   9285 then :
   9286   xorg_cv_cc_flag_unused_command_line_argument=yes
   9287 else case e in #(
   9288   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9289 esac
   9290 fi
   9291 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9292 esac
   9293 fi
   9294 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9295 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9296 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9297 	CFLAGS="$xorg_testset_save_CFLAGS"
   9298 fi
   9299 
   9300 found="no"
   9301 
   9302 	if test $found = "no" ; then
   9303 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9304 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9305 		fi
   9306 
   9307 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9308 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9309 		fi
   9310 
   9311 		CFLAGS="$CFLAGS -Wimplicit"
   9312 
   9313 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   9314 printf %s "checking if $CC supports -Wimplicit... " >&6; }
   9315 		cacheid=xorg_cv_cc_flag__Wimplicit
   9316 		if eval test \${$cacheid+y}
   9317 then :
   9318   printf %s "(cached) " >&6
   9319 else case e in #(
   9320   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9321 /* end confdefs.h.  */
   9322 int i;
   9323 int
   9324 main (void)
   9325 {
   9326 
   9327   ;
   9328   return 0;
   9329 }
   9330 _ACEOF
   9331 if ac_fn_c_try_link "$LINENO"
   9332 then :
   9333   eval $cacheid=yes
   9334 else case e in #(
   9335   e) eval $cacheid=no ;;
   9336 esac
   9337 fi
   9338 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9339     conftest$ac_exeext conftest.$ac_ext ;;
   9340 esac
   9341 fi
   9342 
   9343 
   9344 		CFLAGS="$xorg_testset_save_CFLAGS"
   9345 
   9346 		eval supported=\$$cacheid
   9347 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9348 printf "%s\n" "$supported" >&6; }
   9349 		if test "$supported" = "yes" ; then
   9350 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   9351 			found="yes"
   9352 		fi
   9353 	fi
   9354 
   9355 
   9356 
   9357 
   9358 
   9359 
   9360 
   9361 
   9362 
   9363 
   9364 
   9365 
   9366 
   9367 
   9368 
   9369 xorg_testset_save_CFLAGS="$CFLAGS"
   9370 
   9371 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9372 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9373 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9374 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9375 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9376 then :
   9377   printf %s "(cached) " >&6
   9378 else case e in #(
   9379   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9380 /* end confdefs.h.  */
   9381 int i;
   9382 _ACEOF
   9383 if ac_fn_c_try_compile "$LINENO"
   9384 then :
   9385   xorg_cv_cc_flag_unknown_warning_option=yes
   9386 else case e in #(
   9387   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9388 esac
   9389 fi
   9390 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9391 esac
   9392 fi
   9393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9394 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9395 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9396 	CFLAGS="$xorg_testset_save_CFLAGS"
   9397 fi
   9398 
   9399 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9400 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9401 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9402 	fi
   9403 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9404 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9405 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9406 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9407 then :
   9408   printf %s "(cached) " >&6
   9409 else case e in #(
   9410   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9411 /* end confdefs.h.  */
   9412 int i;
   9413 _ACEOF
   9414 if ac_fn_c_try_compile "$LINENO"
   9415 then :
   9416   xorg_cv_cc_flag_unused_command_line_argument=yes
   9417 else case e in #(
   9418   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9419 esac
   9420 fi
   9421 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9422 esac
   9423 fi
   9424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9425 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9427 	CFLAGS="$xorg_testset_save_CFLAGS"
   9428 fi
   9429 
   9430 found="no"
   9431 
   9432 	if test $found = "no" ; then
   9433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9435 		fi
   9436 
   9437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9439 		fi
   9440 
   9441 		CFLAGS="$CFLAGS -Wnonnull"
   9442 
   9443 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   9444 printf %s "checking if $CC supports -Wnonnull... " >&6; }
   9445 		cacheid=xorg_cv_cc_flag__Wnonnull
   9446 		if eval test \${$cacheid+y}
   9447 then :
   9448   printf %s "(cached) " >&6
   9449 else case e in #(
   9450   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9451 /* end confdefs.h.  */
   9452 int i;
   9453 int
   9454 main (void)
   9455 {
   9456 
   9457   ;
   9458   return 0;
   9459 }
   9460 _ACEOF
   9461 if ac_fn_c_try_link "$LINENO"
   9462 then :
   9463   eval $cacheid=yes
   9464 else case e in #(
   9465   e) eval $cacheid=no ;;
   9466 esac
   9467 fi
   9468 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9469     conftest$ac_exeext conftest.$ac_ext ;;
   9470 esac
   9471 fi
   9472 
   9473 
   9474 		CFLAGS="$xorg_testset_save_CFLAGS"
   9475 
   9476 		eval supported=\$$cacheid
   9477 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9478 printf "%s\n" "$supported" >&6; }
   9479 		if test "$supported" = "yes" ; then
   9480 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   9481 			found="yes"
   9482 		fi
   9483 	fi
   9484 
   9485 
   9486 
   9487 
   9488 
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 xorg_testset_save_CFLAGS="$CFLAGS"
   9500 
   9501 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9502 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9503 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9504 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9505 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9506 then :
   9507   printf %s "(cached) " >&6
   9508 else case e in #(
   9509   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9510 /* end confdefs.h.  */
   9511 int i;
   9512 _ACEOF
   9513 if ac_fn_c_try_compile "$LINENO"
   9514 then :
   9515   xorg_cv_cc_flag_unknown_warning_option=yes
   9516 else case e in #(
   9517   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9518 esac
   9519 fi
   9520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9521 esac
   9522 fi
   9523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9524 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9525 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9526 	CFLAGS="$xorg_testset_save_CFLAGS"
   9527 fi
   9528 
   9529 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9530 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9532 	fi
   9533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9534 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9535 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9536 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9537 then :
   9538   printf %s "(cached) " >&6
   9539 else case e in #(
   9540   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9541 /* end confdefs.h.  */
   9542 int i;
   9543 _ACEOF
   9544 if ac_fn_c_try_compile "$LINENO"
   9545 then :
   9546   xorg_cv_cc_flag_unused_command_line_argument=yes
   9547 else case e in #(
   9548   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9549 esac
   9550 fi
   9551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9552 esac
   9553 fi
   9554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9555 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9556 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9557 	CFLAGS="$xorg_testset_save_CFLAGS"
   9558 fi
   9559 
   9560 found="no"
   9561 
   9562 	if test $found = "no" ; then
   9563 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9564 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9565 		fi
   9566 
   9567 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9568 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9569 		fi
   9570 
   9571 		CFLAGS="$CFLAGS -Winit-self"
   9572 
   9573 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9574 printf %s "checking if $CC supports -Winit-self... " >&6; }
   9575 		cacheid=xorg_cv_cc_flag__Winit_self
   9576 		if eval test \${$cacheid+y}
   9577 then :
   9578   printf %s "(cached) " >&6
   9579 else case e in #(
   9580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9581 /* end confdefs.h.  */
   9582 int i;
   9583 int
   9584 main (void)
   9585 {
   9586 
   9587   ;
   9588   return 0;
   9589 }
   9590 _ACEOF
   9591 if ac_fn_c_try_link "$LINENO"
   9592 then :
   9593   eval $cacheid=yes
   9594 else case e in #(
   9595   e) eval $cacheid=no ;;
   9596 esac
   9597 fi
   9598 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9599     conftest$ac_exeext conftest.$ac_ext ;;
   9600 esac
   9601 fi
   9602 
   9603 
   9604 		CFLAGS="$xorg_testset_save_CFLAGS"
   9605 
   9606 		eval supported=\$$cacheid
   9607 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9608 printf "%s\n" "$supported" >&6; }
   9609 		if test "$supported" = "yes" ; then
   9610 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9611 			found="yes"
   9612 		fi
   9613 	fi
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 
   9623 
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 xorg_testset_save_CFLAGS="$CFLAGS"
   9630 
   9631 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9632 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9633 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9634 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9635 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9636 then :
   9637   printf %s "(cached) " >&6
   9638 else case e in #(
   9639   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9640 /* end confdefs.h.  */
   9641 int i;
   9642 _ACEOF
   9643 if ac_fn_c_try_compile "$LINENO"
   9644 then :
   9645   xorg_cv_cc_flag_unknown_warning_option=yes
   9646 else case e in #(
   9647   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9648 esac
   9649 fi
   9650 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9651 esac
   9652 fi
   9653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9654 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9655 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9656 	CFLAGS="$xorg_testset_save_CFLAGS"
   9657 fi
   9658 
   9659 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9660 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9661 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9662 	fi
   9663 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9664 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9665 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9666 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9667 then :
   9668   printf %s "(cached) " >&6
   9669 else case e in #(
   9670   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9671 /* end confdefs.h.  */
   9672 int i;
   9673 _ACEOF
   9674 if ac_fn_c_try_compile "$LINENO"
   9675 then :
   9676   xorg_cv_cc_flag_unused_command_line_argument=yes
   9677 else case e in #(
   9678   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9679 esac
   9680 fi
   9681 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9682 esac
   9683 fi
   9684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9685 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9686 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9687 	CFLAGS="$xorg_testset_save_CFLAGS"
   9688 fi
   9689 
   9690 found="no"
   9691 
   9692 	if test $found = "no" ; then
   9693 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9694 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9695 		fi
   9696 
   9697 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9698 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9699 		fi
   9700 
   9701 		CFLAGS="$CFLAGS -Wmain"
   9702 
   9703 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9704 printf %s "checking if $CC supports -Wmain... " >&6; }
   9705 		cacheid=xorg_cv_cc_flag__Wmain
   9706 		if eval test \${$cacheid+y}
   9707 then :
   9708   printf %s "(cached) " >&6
   9709 else case e in #(
   9710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9711 /* end confdefs.h.  */
   9712 int i;
   9713 int
   9714 main (void)
   9715 {
   9716 
   9717   ;
   9718   return 0;
   9719 }
   9720 _ACEOF
   9721 if ac_fn_c_try_link "$LINENO"
   9722 then :
   9723   eval $cacheid=yes
   9724 else case e in #(
   9725   e) eval $cacheid=no ;;
   9726 esac
   9727 fi
   9728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9729     conftest$ac_exeext conftest.$ac_ext ;;
   9730 esac
   9731 fi
   9732 
   9733 
   9734 		CFLAGS="$xorg_testset_save_CFLAGS"
   9735 
   9736 		eval supported=\$$cacheid
   9737 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9738 printf "%s\n" "$supported" >&6; }
   9739 		if test "$supported" = "yes" ; then
   9740 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9741 			found="yes"
   9742 		fi
   9743 	fi
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 xorg_testset_save_CFLAGS="$CFLAGS"
   9760 
   9761 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9762 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9763 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9764 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9765 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9766 then :
   9767   printf %s "(cached) " >&6
   9768 else case e in #(
   9769   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9770 /* end confdefs.h.  */
   9771 int i;
   9772 _ACEOF
   9773 if ac_fn_c_try_compile "$LINENO"
   9774 then :
   9775   xorg_cv_cc_flag_unknown_warning_option=yes
   9776 else case e in #(
   9777   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9778 esac
   9779 fi
   9780 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9781 esac
   9782 fi
   9783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9784 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9785 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9786 	CFLAGS="$xorg_testset_save_CFLAGS"
   9787 fi
   9788 
   9789 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9790 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9791 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9792 	fi
   9793 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9794 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9795 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9796 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9797 then :
   9798   printf %s "(cached) " >&6
   9799 else case e in #(
   9800   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9801 /* end confdefs.h.  */
   9802 int i;
   9803 _ACEOF
   9804 if ac_fn_c_try_compile "$LINENO"
   9805 then :
   9806   xorg_cv_cc_flag_unused_command_line_argument=yes
   9807 else case e in #(
   9808   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9809 esac
   9810 fi
   9811 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9812 esac
   9813 fi
   9814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9815 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9817 	CFLAGS="$xorg_testset_save_CFLAGS"
   9818 fi
   9819 
   9820 found="no"
   9821 
   9822 	if test $found = "no" ; then
   9823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9825 		fi
   9826 
   9827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9829 		fi
   9830 
   9831 		CFLAGS="$CFLAGS -Wmissing-braces"
   9832 
   9833 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9834 printf %s "checking if $CC supports -Wmissing-braces... " >&6; }
   9835 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9836 		if eval test \${$cacheid+y}
   9837 then :
   9838   printf %s "(cached) " >&6
   9839 else case e in #(
   9840   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9841 /* end confdefs.h.  */
   9842 int i;
   9843 int
   9844 main (void)
   9845 {
   9846 
   9847   ;
   9848   return 0;
   9849 }
   9850 _ACEOF
   9851 if ac_fn_c_try_link "$LINENO"
   9852 then :
   9853   eval $cacheid=yes
   9854 else case e in #(
   9855   e) eval $cacheid=no ;;
   9856 esac
   9857 fi
   9858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9859     conftest$ac_exeext conftest.$ac_ext ;;
   9860 esac
   9861 fi
   9862 
   9863 
   9864 		CFLAGS="$xorg_testset_save_CFLAGS"
   9865 
   9866 		eval supported=\$$cacheid
   9867 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9868 printf "%s\n" "$supported" >&6; }
   9869 		if test "$supported" = "yes" ; then
   9870 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9871 			found="yes"
   9872 		fi
   9873 	fi
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 xorg_testset_save_CFLAGS="$CFLAGS"
   9890 
   9891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9893 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9894 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9895 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   9896 then :
   9897   printf %s "(cached) " >&6
   9898 else case e in #(
   9899   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9900 /* end confdefs.h.  */
   9901 int i;
   9902 _ACEOF
   9903 if ac_fn_c_try_compile "$LINENO"
   9904 then :
   9905   xorg_cv_cc_flag_unknown_warning_option=yes
   9906 else case e in #(
   9907   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   9908 esac
   9909 fi
   9910 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9911 esac
   9912 fi
   9913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9914 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9915 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9916 	CFLAGS="$xorg_testset_save_CFLAGS"
   9917 fi
   9918 
   9919 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9920 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9921 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9922 	fi
   9923 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9924 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9925 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9926 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   9927 then :
   9928   printf %s "(cached) " >&6
   9929 else case e in #(
   9930   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9931 /* end confdefs.h.  */
   9932 int i;
   9933 _ACEOF
   9934 if ac_fn_c_try_compile "$LINENO"
   9935 then :
   9936   xorg_cv_cc_flag_unused_command_line_argument=yes
   9937 else case e in #(
   9938   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   9939 esac
   9940 fi
   9941 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   9942 esac
   9943 fi
   9944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9945 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9946 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9947 	CFLAGS="$xorg_testset_save_CFLAGS"
   9948 fi
   9949 
   9950 found="no"
   9951 
   9952 	if test $found = "no" ; then
   9953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9955 		fi
   9956 
   9957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9959 		fi
   9960 
   9961 		CFLAGS="$CFLAGS -Wsequence-point"
   9962 
   9963 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9964 printf %s "checking if $CC supports -Wsequence-point... " >&6; }
   9965 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9966 		if eval test \${$cacheid+y}
   9967 then :
   9968   printf %s "(cached) " >&6
   9969 else case e in #(
   9970   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9971 /* end confdefs.h.  */
   9972 int i;
   9973 int
   9974 main (void)
   9975 {
   9976 
   9977   ;
   9978   return 0;
   9979 }
   9980 _ACEOF
   9981 if ac_fn_c_try_link "$LINENO"
   9982 then :
   9983   eval $cacheid=yes
   9984 else case e in #(
   9985   e) eval $cacheid=no ;;
   9986 esac
   9987 fi
   9988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   9989     conftest$ac_exeext conftest.$ac_ext ;;
   9990 esac
   9991 fi
   9992 
   9993 
   9994 		CFLAGS="$xorg_testset_save_CFLAGS"
   9995 
   9996 		eval supported=\$$cacheid
   9997 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9998 printf "%s\n" "$supported" >&6; }
   9999 		if test "$supported" = "yes" ; then
   10000 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   10001 			found="yes"
   10002 		fi
   10003 	fi
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 xorg_testset_save_CFLAGS="$CFLAGS"
   10020 
   10021 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10023 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10024 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10025 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10026 then :
   10027   printf %s "(cached) " >&6
   10028 else case e in #(
   10029   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10030 /* end confdefs.h.  */
   10031 int i;
   10032 _ACEOF
   10033 if ac_fn_c_try_compile "$LINENO"
   10034 then :
   10035   xorg_cv_cc_flag_unknown_warning_option=yes
   10036 else case e in #(
   10037   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10038 esac
   10039 fi
   10040 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10041 esac
   10042 fi
   10043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10044 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10045 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10046 	CFLAGS="$xorg_testset_save_CFLAGS"
   10047 fi
   10048 
   10049 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10050 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10051 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10052 	fi
   10053 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10054 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10055 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10056 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10057 then :
   10058   printf %s "(cached) " >&6
   10059 else case e in #(
   10060   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10061 /* end confdefs.h.  */
   10062 int i;
   10063 _ACEOF
   10064 if ac_fn_c_try_compile "$LINENO"
   10065 then :
   10066   xorg_cv_cc_flag_unused_command_line_argument=yes
   10067 else case e in #(
   10068   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10069 esac
   10070 fi
   10071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10072 esac
   10073 fi
   10074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10075 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10077 	CFLAGS="$xorg_testset_save_CFLAGS"
   10078 fi
   10079 
   10080 found="no"
   10081 
   10082 	if test $found = "no" ; then
   10083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10085 		fi
   10086 
   10087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10089 		fi
   10090 
   10091 		CFLAGS="$CFLAGS -Wreturn-type"
   10092 
   10093 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   10094 printf %s "checking if $CC supports -Wreturn-type... " >&6; }
   10095 		cacheid=xorg_cv_cc_flag__Wreturn_type
   10096 		if eval test \${$cacheid+y}
   10097 then :
   10098   printf %s "(cached) " >&6
   10099 else case e in #(
   10100   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10101 /* end confdefs.h.  */
   10102 int i;
   10103 int
   10104 main (void)
   10105 {
   10106 
   10107   ;
   10108   return 0;
   10109 }
   10110 _ACEOF
   10111 if ac_fn_c_try_link "$LINENO"
   10112 then :
   10113   eval $cacheid=yes
   10114 else case e in #(
   10115   e) eval $cacheid=no ;;
   10116 esac
   10117 fi
   10118 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10119     conftest$ac_exeext conftest.$ac_ext ;;
   10120 esac
   10121 fi
   10122 
   10123 
   10124 		CFLAGS="$xorg_testset_save_CFLAGS"
   10125 
   10126 		eval supported=\$$cacheid
   10127 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10128 printf "%s\n" "$supported" >&6; }
   10129 		if test "$supported" = "yes" ; then
   10130 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   10131 			found="yes"
   10132 		fi
   10133 	fi
   10134 
   10135 
   10136 
   10137 
   10138 
   10139 
   10140 
   10141 
   10142 
   10143 
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 xorg_testset_save_CFLAGS="$CFLAGS"
   10150 
   10151 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10152 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10153 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10154 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10155 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10156 then :
   10157   printf %s "(cached) " >&6
   10158 else case e in #(
   10159   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10160 /* end confdefs.h.  */
   10161 int i;
   10162 _ACEOF
   10163 if ac_fn_c_try_compile "$LINENO"
   10164 then :
   10165   xorg_cv_cc_flag_unknown_warning_option=yes
   10166 else case e in #(
   10167   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10168 esac
   10169 fi
   10170 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10171 esac
   10172 fi
   10173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10174 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10176 	CFLAGS="$xorg_testset_save_CFLAGS"
   10177 fi
   10178 
   10179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10182 	fi
   10183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10184 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10185 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10186 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10187 then :
   10188   printf %s "(cached) " >&6
   10189 else case e in #(
   10190   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10191 /* end confdefs.h.  */
   10192 int i;
   10193 _ACEOF
   10194 if ac_fn_c_try_compile "$LINENO"
   10195 then :
   10196   xorg_cv_cc_flag_unused_command_line_argument=yes
   10197 else case e in #(
   10198   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10199 esac
   10200 fi
   10201 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10202 esac
   10203 fi
   10204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10205 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10207 	CFLAGS="$xorg_testset_save_CFLAGS"
   10208 fi
   10209 
   10210 found="no"
   10211 
   10212 	if test $found = "no" ; then
   10213 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10215 		fi
   10216 
   10217 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10219 		fi
   10220 
   10221 		CFLAGS="$CFLAGS -Wtrigraphs"
   10222 
   10223 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   10224 printf %s "checking if $CC supports -Wtrigraphs... " >&6; }
   10225 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   10226 		if eval test \${$cacheid+y}
   10227 then :
   10228   printf %s "(cached) " >&6
   10229 else case e in #(
   10230   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10231 /* end confdefs.h.  */
   10232 int i;
   10233 int
   10234 main (void)
   10235 {
   10236 
   10237   ;
   10238   return 0;
   10239 }
   10240 _ACEOF
   10241 if ac_fn_c_try_link "$LINENO"
   10242 then :
   10243   eval $cacheid=yes
   10244 else case e in #(
   10245   e) eval $cacheid=no ;;
   10246 esac
   10247 fi
   10248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10249     conftest$ac_exeext conftest.$ac_ext ;;
   10250 esac
   10251 fi
   10252 
   10253 
   10254 		CFLAGS="$xorg_testset_save_CFLAGS"
   10255 
   10256 		eval supported=\$$cacheid
   10257 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10258 printf "%s\n" "$supported" >&6; }
   10259 		if test "$supported" = "yes" ; then
   10260 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   10261 			found="yes"
   10262 		fi
   10263 	fi
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 xorg_testset_save_CFLAGS="$CFLAGS"
   10280 
   10281 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10282 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10283 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10284 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10285 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10286 then :
   10287   printf %s "(cached) " >&6
   10288 else case e in #(
   10289   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10290 /* end confdefs.h.  */
   10291 int i;
   10292 _ACEOF
   10293 if ac_fn_c_try_compile "$LINENO"
   10294 then :
   10295   xorg_cv_cc_flag_unknown_warning_option=yes
   10296 else case e in #(
   10297   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10298 esac
   10299 fi
   10300 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10301 esac
   10302 fi
   10303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10304 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10305 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10306 	CFLAGS="$xorg_testset_save_CFLAGS"
   10307 fi
   10308 
   10309 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10310 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10311 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10312 	fi
   10313 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10314 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10315 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10316 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10317 then :
   10318   printf %s "(cached) " >&6
   10319 else case e in #(
   10320   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10321 /* end confdefs.h.  */
   10322 int i;
   10323 _ACEOF
   10324 if ac_fn_c_try_compile "$LINENO"
   10325 then :
   10326   xorg_cv_cc_flag_unused_command_line_argument=yes
   10327 else case e in #(
   10328   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10329 esac
   10330 fi
   10331 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10332 esac
   10333 fi
   10334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10335 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10336 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10337 	CFLAGS="$xorg_testset_save_CFLAGS"
   10338 fi
   10339 
   10340 found="no"
   10341 
   10342 	if test $found = "no" ; then
   10343 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10344 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10345 		fi
   10346 
   10347 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10348 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10349 		fi
   10350 
   10351 		CFLAGS="$CFLAGS -Warray-bounds"
   10352 
   10353 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   10354 printf %s "checking if $CC supports -Warray-bounds... " >&6; }
   10355 		cacheid=xorg_cv_cc_flag__Warray_bounds
   10356 		if eval test \${$cacheid+y}
   10357 then :
   10358   printf %s "(cached) " >&6
   10359 else case e in #(
   10360   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10361 /* end confdefs.h.  */
   10362 int i;
   10363 int
   10364 main (void)
   10365 {
   10366 
   10367   ;
   10368   return 0;
   10369 }
   10370 _ACEOF
   10371 if ac_fn_c_try_link "$LINENO"
   10372 then :
   10373   eval $cacheid=yes
   10374 else case e in #(
   10375   e) eval $cacheid=no ;;
   10376 esac
   10377 fi
   10378 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10379     conftest$ac_exeext conftest.$ac_ext ;;
   10380 esac
   10381 fi
   10382 
   10383 
   10384 		CFLAGS="$xorg_testset_save_CFLAGS"
   10385 
   10386 		eval supported=\$$cacheid
   10387 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10388 printf "%s\n" "$supported" >&6; }
   10389 		if test "$supported" = "yes" ; then
   10390 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   10391 			found="yes"
   10392 		fi
   10393 	fi
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 xorg_testset_save_CFLAGS="$CFLAGS"
   10410 
   10411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10413 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10414 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10415 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10416 then :
   10417   printf %s "(cached) " >&6
   10418 else case e in #(
   10419   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10420 /* end confdefs.h.  */
   10421 int i;
   10422 _ACEOF
   10423 if ac_fn_c_try_compile "$LINENO"
   10424 then :
   10425   xorg_cv_cc_flag_unknown_warning_option=yes
   10426 else case e in #(
   10427   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10428 esac
   10429 fi
   10430 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10431 esac
   10432 fi
   10433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10434 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10435 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10436 	CFLAGS="$xorg_testset_save_CFLAGS"
   10437 fi
   10438 
   10439 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10440 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10441 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10442 	fi
   10443 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10444 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10445 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10446 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10447 then :
   10448   printf %s "(cached) " >&6
   10449 else case e in #(
   10450   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10451 /* end confdefs.h.  */
   10452 int i;
   10453 _ACEOF
   10454 if ac_fn_c_try_compile "$LINENO"
   10455 then :
   10456   xorg_cv_cc_flag_unused_command_line_argument=yes
   10457 else case e in #(
   10458   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10459 esac
   10460 fi
   10461 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10462 esac
   10463 fi
   10464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10465 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10466 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10467 	CFLAGS="$xorg_testset_save_CFLAGS"
   10468 fi
   10469 
   10470 found="no"
   10471 
   10472 	if test $found = "no" ; then
   10473 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10474 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10475 		fi
   10476 
   10477 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10478 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10479 		fi
   10480 
   10481 		CFLAGS="$CFLAGS -Wwrite-strings"
   10482 
   10483 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   10484 printf %s "checking if $CC supports -Wwrite-strings... " >&6; }
   10485 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   10486 		if eval test \${$cacheid+y}
   10487 then :
   10488   printf %s "(cached) " >&6
   10489 else case e in #(
   10490   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10491 /* end confdefs.h.  */
   10492 int i;
   10493 int
   10494 main (void)
   10495 {
   10496 
   10497   ;
   10498   return 0;
   10499 }
   10500 _ACEOF
   10501 if ac_fn_c_try_link "$LINENO"
   10502 then :
   10503   eval $cacheid=yes
   10504 else case e in #(
   10505   e) eval $cacheid=no ;;
   10506 esac
   10507 fi
   10508 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10509     conftest$ac_exeext conftest.$ac_ext ;;
   10510 esac
   10511 fi
   10512 
   10513 
   10514 		CFLAGS="$xorg_testset_save_CFLAGS"
   10515 
   10516 		eval supported=\$$cacheid
   10517 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10518 printf "%s\n" "$supported" >&6; }
   10519 		if test "$supported" = "yes" ; then
   10520 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   10521 			found="yes"
   10522 		fi
   10523 	fi
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 xorg_testset_save_CFLAGS="$CFLAGS"
   10540 
   10541 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10542 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10543 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10544 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10545 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10546 then :
   10547   printf %s "(cached) " >&6
   10548 else case e in #(
   10549   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10550 /* end confdefs.h.  */
   10551 int i;
   10552 _ACEOF
   10553 if ac_fn_c_try_compile "$LINENO"
   10554 then :
   10555   xorg_cv_cc_flag_unknown_warning_option=yes
   10556 else case e in #(
   10557   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10558 esac
   10559 fi
   10560 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10561 esac
   10562 fi
   10563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10564 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10566 	CFLAGS="$xorg_testset_save_CFLAGS"
   10567 fi
   10568 
   10569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10572 	fi
   10573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10574 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10575 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10576 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10577 then :
   10578   printf %s "(cached) " >&6
   10579 else case e in #(
   10580   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10581 /* end confdefs.h.  */
   10582 int i;
   10583 _ACEOF
   10584 if ac_fn_c_try_compile "$LINENO"
   10585 then :
   10586   xorg_cv_cc_flag_unused_command_line_argument=yes
   10587 else case e in #(
   10588   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10589 esac
   10590 fi
   10591 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10592 esac
   10593 fi
   10594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10595 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10597 	CFLAGS="$xorg_testset_save_CFLAGS"
   10598 fi
   10599 
   10600 found="no"
   10601 
   10602 	if test $found = "no" ; then
   10603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10605 		fi
   10606 
   10607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10609 		fi
   10610 
   10611 		CFLAGS="$CFLAGS -Waddress"
   10612 
   10613 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   10614 printf %s "checking if $CC supports -Waddress... " >&6; }
   10615 		cacheid=xorg_cv_cc_flag__Waddress
   10616 		if eval test \${$cacheid+y}
   10617 then :
   10618   printf %s "(cached) " >&6
   10619 else case e in #(
   10620   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10621 /* end confdefs.h.  */
   10622 int i;
   10623 int
   10624 main (void)
   10625 {
   10626 
   10627   ;
   10628   return 0;
   10629 }
   10630 _ACEOF
   10631 if ac_fn_c_try_link "$LINENO"
   10632 then :
   10633   eval $cacheid=yes
   10634 else case e in #(
   10635   e) eval $cacheid=no ;;
   10636 esac
   10637 fi
   10638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10639     conftest$ac_exeext conftest.$ac_ext ;;
   10640 esac
   10641 fi
   10642 
   10643 
   10644 		CFLAGS="$xorg_testset_save_CFLAGS"
   10645 
   10646 		eval supported=\$$cacheid
   10647 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10648 printf "%s\n" "$supported" >&6; }
   10649 		if test "$supported" = "yes" ; then
   10650 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10651 			found="yes"
   10652 		fi
   10653 	fi
   10654 
   10655 
   10656 
   10657 
   10658 
   10659 
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 xorg_testset_save_CFLAGS="$CFLAGS"
   10670 
   10671 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10672 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10673 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10674 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10675 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10676 then :
   10677   printf %s "(cached) " >&6
   10678 else case e in #(
   10679   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10680 /* end confdefs.h.  */
   10681 int i;
   10682 _ACEOF
   10683 if ac_fn_c_try_compile "$LINENO"
   10684 then :
   10685   xorg_cv_cc_flag_unknown_warning_option=yes
   10686 else case e in #(
   10687   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10688 esac
   10689 fi
   10690 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10691 esac
   10692 fi
   10693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10694 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10696 	CFLAGS="$xorg_testset_save_CFLAGS"
   10697 fi
   10698 
   10699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10702 	fi
   10703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10704 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10705 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10706 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10707 then :
   10708   printf %s "(cached) " >&6
   10709 else case e in #(
   10710   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10711 /* end confdefs.h.  */
   10712 int i;
   10713 _ACEOF
   10714 if ac_fn_c_try_compile "$LINENO"
   10715 then :
   10716   xorg_cv_cc_flag_unused_command_line_argument=yes
   10717 else case e in #(
   10718   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10719 esac
   10720 fi
   10721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10722 esac
   10723 fi
   10724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10725 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10726 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10727 	CFLAGS="$xorg_testset_save_CFLAGS"
   10728 fi
   10729 
   10730 found="no"
   10731 
   10732 	if test $found = "no" ; then
   10733 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10735 		fi
   10736 
   10737 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10739 		fi
   10740 
   10741 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10742 
   10743 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10744 printf %s "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10745 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10746 		if eval test \${$cacheid+y}
   10747 then :
   10748   printf %s "(cached) " >&6
   10749 else case e in #(
   10750   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10751 /* end confdefs.h.  */
   10752 int i;
   10753 int
   10754 main (void)
   10755 {
   10756 
   10757   ;
   10758   return 0;
   10759 }
   10760 _ACEOF
   10761 if ac_fn_c_try_link "$LINENO"
   10762 then :
   10763   eval $cacheid=yes
   10764 else case e in #(
   10765   e) eval $cacheid=no ;;
   10766 esac
   10767 fi
   10768 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10769     conftest$ac_exeext conftest.$ac_ext ;;
   10770 esac
   10771 fi
   10772 
   10773 
   10774 		CFLAGS="$xorg_testset_save_CFLAGS"
   10775 
   10776 		eval supported=\$$cacheid
   10777 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10778 printf "%s\n" "$supported" >&6; }
   10779 		if test "$supported" = "yes" ; then
   10780 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10781 			found="yes"
   10782 		fi
   10783 	fi
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 xorg_testset_save_CFLAGS="$CFLAGS"
   10800 
   10801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10803 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10804 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10805 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10806 then :
   10807   printf %s "(cached) " >&6
   10808 else case e in #(
   10809   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10810 /* end confdefs.h.  */
   10811 int i;
   10812 _ACEOF
   10813 if ac_fn_c_try_compile "$LINENO"
   10814 then :
   10815   xorg_cv_cc_flag_unknown_warning_option=yes
   10816 else case e in #(
   10817   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10818 esac
   10819 fi
   10820 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10821 esac
   10822 fi
   10823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10824 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10825 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10826 	CFLAGS="$xorg_testset_save_CFLAGS"
   10827 fi
   10828 
   10829 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10830 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10831 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10832 	fi
   10833 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10834 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10835 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10836 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   10837 then :
   10838   printf %s "(cached) " >&6
   10839 else case e in #(
   10840   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10841 /* end confdefs.h.  */
   10842 int i;
   10843 _ACEOF
   10844 if ac_fn_c_try_compile "$LINENO"
   10845 then :
   10846   xorg_cv_cc_flag_unused_command_line_argument=yes
   10847 else case e in #(
   10848   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   10849 esac
   10850 fi
   10851 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10852 esac
   10853 fi
   10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10855 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10856 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10857 	CFLAGS="$xorg_testset_save_CFLAGS"
   10858 fi
   10859 
   10860 found="no"
   10861 
   10862 	if test $found = "no" ; then
   10863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10865 		fi
   10866 
   10867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10869 		fi
   10870 
   10871 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10872 
   10873 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10874 printf %s "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10875 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10876 		if eval test \${$cacheid+y}
   10877 then :
   10878   printf %s "(cached) " >&6
   10879 else case e in #(
   10880   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10881 /* end confdefs.h.  */
   10882 int i;
   10883 int
   10884 main (void)
   10885 {
   10886 
   10887   ;
   10888   return 0;
   10889 }
   10890 _ACEOF
   10891 if ac_fn_c_try_link "$LINENO"
   10892 then :
   10893   eval $cacheid=yes
   10894 else case e in #(
   10895   e) eval $cacheid=no ;;
   10896 esac
   10897 fi
   10898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   10899     conftest$ac_exeext conftest.$ac_ext ;;
   10900 esac
   10901 fi
   10902 
   10903 
   10904 		CFLAGS="$xorg_testset_save_CFLAGS"
   10905 
   10906 		eval supported=\$$cacheid
   10907 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10908 printf "%s\n" "$supported" >&6; }
   10909 		if test "$supported" = "yes" ; then
   10910 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10911 			found="yes"
   10912 		fi
   10913 	fi
   10914 
   10915 
   10916 fi
   10917 
   10918 
   10919 
   10920 
   10921 
   10922 
   10923 
   10924 		CWARNFLAGS="$BASE_CFLAGS"
   10925 		if  test "x$GCC" = xyes ; then
   10926 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10927 		fi
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 # Check whether --enable-strict-compilation was given.
   10937 if test ${enable_strict_compilation+y}
   10938 then :
   10939   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10940 else case e in #(
   10941   e) STRICT_COMPILE=no ;;
   10942 esac
   10943 fi
   10944 
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 STRICT_CFLAGS=""
   10951 
   10952 
   10953 
   10954 
   10955 
   10956 
   10957 
   10958 
   10959 
   10960 
   10961 
   10962 
   10963 
   10964 xorg_testset_save_CFLAGS="$CFLAGS"
   10965 
   10966 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10967 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10968 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10969 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10970 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   10971 then :
   10972   printf %s "(cached) " >&6
   10973 else case e in #(
   10974   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10975 /* end confdefs.h.  */
   10976 int i;
   10977 _ACEOF
   10978 if ac_fn_c_try_compile "$LINENO"
   10979 then :
   10980   xorg_cv_cc_flag_unknown_warning_option=yes
   10981 else case e in #(
   10982   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   10983 esac
   10984 fi
   10985 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   10986 esac
   10987 fi
   10988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10989 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10991 	CFLAGS="$xorg_testset_save_CFLAGS"
   10992 fi
   10993 
   10994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10997 	fi
   10998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10999 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11000 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11001 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11002 then :
   11003   printf %s "(cached) " >&6
   11004 else case e in #(
   11005   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11006 /* end confdefs.h.  */
   11007 int i;
   11008 _ACEOF
   11009 if ac_fn_c_try_compile "$LINENO"
   11010 then :
   11011   xorg_cv_cc_flag_unused_command_line_argument=yes
   11012 else case e in #(
   11013   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11014 esac
   11015 fi
   11016 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11017 esac
   11018 fi
   11019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11020 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11021 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11022 	CFLAGS="$xorg_testset_save_CFLAGS"
   11023 fi
   11024 
   11025 found="no"
   11026 
   11027 	if test $found = "no" ; then
   11028 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11029 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11030 		fi
   11031 
   11032 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11033 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11034 		fi
   11035 
   11036 		CFLAGS="$CFLAGS -pedantic"
   11037 
   11038 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   11039 printf %s "checking if $CC supports -pedantic... " >&6; }
   11040 		cacheid=xorg_cv_cc_flag__pedantic
   11041 		if eval test \${$cacheid+y}
   11042 then :
   11043   printf %s "(cached) " >&6
   11044 else case e in #(
   11045   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11046 /* end confdefs.h.  */
   11047 int i;
   11048 int
   11049 main (void)
   11050 {
   11051 
   11052   ;
   11053   return 0;
   11054 }
   11055 _ACEOF
   11056 if ac_fn_c_try_link "$LINENO"
   11057 then :
   11058   eval $cacheid=yes
   11059 else case e in #(
   11060   e) eval $cacheid=no ;;
   11061 esac
   11062 fi
   11063 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11064     conftest$ac_exeext conftest.$ac_ext ;;
   11065 esac
   11066 fi
   11067 
   11068 
   11069 		CFLAGS="$xorg_testset_save_CFLAGS"
   11070 
   11071 		eval supported=\$$cacheid
   11072 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11073 printf "%s\n" "$supported" >&6; }
   11074 		if test "$supported" = "yes" ; then
   11075 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   11076 			found="yes"
   11077 		fi
   11078 	fi
   11079 
   11080 
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 
   11093 
   11094 xorg_testset_save_CFLAGS="$CFLAGS"
   11095 
   11096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11098 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11099 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11100 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11101 then :
   11102   printf %s "(cached) " >&6
   11103 else case e in #(
   11104   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11105 /* end confdefs.h.  */
   11106 int i;
   11107 _ACEOF
   11108 if ac_fn_c_try_compile "$LINENO"
   11109 then :
   11110   xorg_cv_cc_flag_unknown_warning_option=yes
   11111 else case e in #(
   11112   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11113 esac
   11114 fi
   11115 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11116 esac
   11117 fi
   11118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11119 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11120 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11121 	CFLAGS="$xorg_testset_save_CFLAGS"
   11122 fi
   11123 
   11124 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11125 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11126 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11127 	fi
   11128 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11129 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11130 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11131 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11132 then :
   11133   printf %s "(cached) " >&6
   11134 else case e in #(
   11135   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11136 /* end confdefs.h.  */
   11137 int i;
   11138 _ACEOF
   11139 if ac_fn_c_try_compile "$LINENO"
   11140 then :
   11141   xorg_cv_cc_flag_unused_command_line_argument=yes
   11142 else case e in #(
   11143   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11144 esac
   11145 fi
   11146 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11147 esac
   11148 fi
   11149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11150 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11151 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11152 	CFLAGS="$xorg_testset_save_CFLAGS"
   11153 fi
   11154 
   11155 found="no"
   11156 
   11157 	if test $found = "no" ; then
   11158 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11160 		fi
   11161 
   11162 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11164 		fi
   11165 
   11166 		CFLAGS="$CFLAGS -Werror"
   11167 
   11168 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   11169 printf %s "checking if $CC supports -Werror... " >&6; }
   11170 		cacheid=xorg_cv_cc_flag__Werror
   11171 		if eval test \${$cacheid+y}
   11172 then :
   11173   printf %s "(cached) " >&6
   11174 else case e in #(
   11175   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11176 /* end confdefs.h.  */
   11177 int i;
   11178 int
   11179 main (void)
   11180 {
   11181 
   11182   ;
   11183   return 0;
   11184 }
   11185 _ACEOF
   11186 if ac_fn_c_try_link "$LINENO"
   11187 then :
   11188   eval $cacheid=yes
   11189 else case e in #(
   11190   e) eval $cacheid=no ;;
   11191 esac
   11192 fi
   11193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11194     conftest$ac_exeext conftest.$ac_ext ;;
   11195 esac
   11196 fi
   11197 
   11198 
   11199 		CFLAGS="$xorg_testset_save_CFLAGS"
   11200 
   11201 		eval supported=\$$cacheid
   11202 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11203 printf "%s\n" "$supported" >&6; }
   11204 		if test "$supported" = "yes" ; then
   11205 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   11206 			found="yes"
   11207 		fi
   11208 	fi
   11209 
   11210 	if test $found = "no" ; then
   11211 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11213 		fi
   11214 
   11215 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11217 		fi
   11218 
   11219 		CFLAGS="$CFLAGS -errwarn"
   11220 
   11221 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   11222 printf %s "checking if $CC supports -errwarn... " >&6; }
   11223 		cacheid=xorg_cv_cc_flag__errwarn
   11224 		if eval test \${$cacheid+y}
   11225 then :
   11226   printf %s "(cached) " >&6
   11227 else case e in #(
   11228   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11229 /* end confdefs.h.  */
   11230 int i;
   11231 int
   11232 main (void)
   11233 {
   11234 
   11235   ;
   11236   return 0;
   11237 }
   11238 _ACEOF
   11239 if ac_fn_c_try_link "$LINENO"
   11240 then :
   11241   eval $cacheid=yes
   11242 else case e in #(
   11243   e) eval $cacheid=no ;;
   11244 esac
   11245 fi
   11246 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11247     conftest$ac_exeext conftest.$ac_ext ;;
   11248 esac
   11249 fi
   11250 
   11251 
   11252 		CFLAGS="$xorg_testset_save_CFLAGS"
   11253 
   11254 		eval supported=\$$cacheid
   11255 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11256 printf "%s\n" "$supported" >&6; }
   11257 		if test "$supported" = "yes" ; then
   11258 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   11259 			found="yes"
   11260 		fi
   11261 	fi
   11262 
   11263 
   11264 
   11265 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   11266 # activate it with -Werror, so we add it here explicitly.
   11267 
   11268 
   11269 
   11270 
   11271 
   11272 
   11273 
   11274 
   11275 
   11276 
   11277 
   11278 
   11279 
   11280 xorg_testset_save_CFLAGS="$CFLAGS"
   11281 
   11282 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11283 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11284 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11285 printf %s "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11286 if test ${xorg_cv_cc_flag_unknown_warning_option+y}
   11287 then :
   11288   printf %s "(cached) " >&6
   11289 else case e in #(
   11290   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11291 /* end confdefs.h.  */
   11292 int i;
   11293 _ACEOF
   11294 if ac_fn_c_try_compile "$LINENO"
   11295 then :
   11296   xorg_cv_cc_flag_unknown_warning_option=yes
   11297 else case e in #(
   11298   e) xorg_cv_cc_flag_unknown_warning_option=no ;;
   11299 esac
   11300 fi
   11301 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11302 esac
   11303 fi
   11304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11305 printf "%s\n" "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11307 	CFLAGS="$xorg_testset_save_CFLAGS"
   11308 fi
   11309 
   11310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11313 	fi
   11314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11315 	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11316 printf %s "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11317 if test ${xorg_cv_cc_flag_unused_command_line_argument+y}
   11318 then :
   11319   printf %s "(cached) " >&6
   11320 else case e in #(
   11321   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11322 /* end confdefs.h.  */
   11323 int i;
   11324 _ACEOF
   11325 if ac_fn_c_try_compile "$LINENO"
   11326 then :
   11327   xorg_cv_cc_flag_unused_command_line_argument=yes
   11328 else case e in #(
   11329   e) xorg_cv_cc_flag_unused_command_line_argument=no ;;
   11330 esac
   11331 fi
   11332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
   11333 esac
   11334 fi
   11335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11336 printf "%s\n" "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11338 	CFLAGS="$xorg_testset_save_CFLAGS"
   11339 fi
   11340 
   11341 found="no"
   11342 
   11343 	if test $found = "no" ; then
   11344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11346 		fi
   11347 
   11348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11350 		fi
   11351 
   11352 		CFLAGS="$CFLAGS -Werror=attributes"
   11353 
   11354 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   11355 printf %s "checking if $CC supports -Werror=attributes... " >&6; }
   11356 		cacheid=xorg_cv_cc_flag__Werror_attributes
   11357 		if eval test \${$cacheid+y}
   11358 then :
   11359   printf %s "(cached) " >&6
   11360 else case e in #(
   11361   e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11362 /* end confdefs.h.  */
   11363 int i;
   11364 int
   11365 main (void)
   11366 {
   11367 
   11368   ;
   11369   return 0;
   11370 }
   11371 _ACEOF
   11372 if ac_fn_c_try_link "$LINENO"
   11373 then :
   11374   eval $cacheid=yes
   11375 else case e in #(
   11376   e) eval $cacheid=no ;;
   11377 esac
   11378 fi
   11379 rm -f core conftest.err conftest.$ac_objext conftest.beam \
   11380     conftest$ac_exeext conftest.$ac_ext ;;
   11381 esac
   11382 fi
   11383 
   11384 
   11385 		CFLAGS="$xorg_testset_save_CFLAGS"
   11386 
   11387 		eval supported=\$$cacheid
   11388 		{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11389 printf "%s\n" "$supported" >&6; }
   11390 		if test "$supported" = "yes" ; then
   11391 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   11392 			found="yes"
   11393 		fi
   11394 	fi
   11395 
   11396 
   11397 
   11398 if test "x$STRICT_COMPILE" = "xyes"; then
   11399     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   11400     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   11401 fi
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 cat >>confdefs.h <<_ACEOF
   11411 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   11412 _ACEOF
   11413 
   11414 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   11415 	if test "x$PVM" = "x"; then
   11416 		PVM="0"
   11417 	fi
   11418 
   11419 printf "%s\n" "#define PACKAGE_VERSION_MINOR $PVM" >>confdefs.h
   11420 
   11421 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   11422 	if test "x$PVP" = "x"; then
   11423 		PVP="0"
   11424 	fi
   11425 
   11426 printf "%s\n" "#define PACKAGE_VERSION_PATCHLEVEL $PVP" >>confdefs.h
   11427 
   11428 
   11429 
   11430 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   11431 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   11432 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   11433 touch \$(top_srcdir)/ChangeLog; \
   11434 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   11435 
   11436 
   11437 
   11438 
   11439 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   11440 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   11441 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   11442 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   11443 touch \$(top_srcdir)/INSTALL; \
   11444 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 case $host_os in
   11452     solaris*)
   11453         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   11454         # check for a man page file found in later versions that use
   11455         # traditional section numbers instead
   11456         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   11457 printf %s "checking for /usr/share/man/man7/attributes.7... " >&6; }
   11458 if test ${ac_cv_file__usr_share_man_man7_attributes_7+y}
   11459 then :
   11460   printf %s "(cached) " >&6
   11461 else case e in #(
   11462   e) test "$cross_compiling" = yes &&
   11463   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   11464 if test -r "/usr/share/man/man7/attributes.7"; then
   11465   ac_cv_file__usr_share_man_man7_attributes_7=yes
   11466 else
   11467   ac_cv_file__usr_share_man_man7_attributes_7=no
   11468 fi ;;
   11469 esac
   11470 fi
   11471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   11472 printf "%s\n" "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   11473 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes
   11474 then :
   11475   SYSV_MAN_SECTIONS=false
   11476 else case e in #(
   11477   e) SYSV_MAN_SECTIONS=true ;;
   11478 esac
   11479 fi
   11480 
   11481         ;;
   11482     *) SYSV_MAN_SECTIONS=false ;;
   11483 esac
   11484 
   11485 if test x$APP_MAN_SUFFIX = x    ; then
   11486     APP_MAN_SUFFIX=1
   11487 fi
   11488 if test x$APP_MAN_DIR = x    ; then
   11489     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   11490 fi
   11491 
   11492 if test x$LIB_MAN_SUFFIX = x    ; then
   11493     LIB_MAN_SUFFIX=3
   11494 fi
   11495 if test x$LIB_MAN_DIR = x    ; then
   11496     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   11497 fi
   11498 
   11499 if test x$FILE_MAN_SUFFIX = x    ; then
   11500     case $SYSV_MAN_SECTIONS in
   11501 	true)				FILE_MAN_SUFFIX=4  ;;
   11502 	*)				FILE_MAN_SUFFIX=5  ;;
   11503     esac
   11504 fi
   11505 if test x$FILE_MAN_DIR = x    ; then
   11506     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   11507 fi
   11508 
   11509 if test x$MISC_MAN_SUFFIX = x    ; then
   11510     case $SYSV_MAN_SECTIONS in
   11511 	true)				MISC_MAN_SUFFIX=5  ;;
   11512 	*)				MISC_MAN_SUFFIX=7  ;;
   11513     esac
   11514 fi
   11515 if test x$MISC_MAN_DIR = x    ; then
   11516     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   11517 fi
   11518 
   11519 if test x$DRIVER_MAN_SUFFIX = x    ; then
   11520     case $SYSV_MAN_SECTIONS in
   11521 	true)				DRIVER_MAN_SUFFIX=7  ;;
   11522 	*)				DRIVER_MAN_SUFFIX=4  ;;
   11523     esac
   11524 fi
   11525 if test x$DRIVER_MAN_DIR = x    ; then
   11526     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   11527 fi
   11528 
   11529 if test x$ADMIN_MAN_SUFFIX = x    ; then
   11530     case $SYSV_MAN_SECTIONS in
   11531 	true)				ADMIN_MAN_SUFFIX=1m ;;
   11532 	*)				ADMIN_MAN_SUFFIX=8  ;;
   11533     esac
   11534 fi
   11535 if test x$ADMIN_MAN_DIR = x    ; then
   11536     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   11537 fi
   11538 
   11539 
   11540 
   11541 
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 
   11549 
   11550 
   11551 
   11552 
   11553 XORG_MAN_PAGE="X Version 11"
   11554 
   11555 MAN_SUBSTS="\
   11556 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11557 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   11558 	-e 's|__xservername__|Xorg|g' \
   11559 	-e 's|__xconfigfile__|xorg.conf|g' \
   11560 	-e 's|__projectroot__|\$(prefix)|g' \
   11561 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   11562 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   11563 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   11564 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   11565 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   11566 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   11567 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   11568 
   11569 
   11570 
   11571 
   11572 AM_DEFAULT_VERBOSITY=0
   11573 
   11574 
   11575 
   11576 # Checks for pkg-config packages
   11577 if test -n "$PKG_CONFIG" && \
   11578     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xkbfile\""; } >&5
   11579   ($PKG_CONFIG --exists --print-errors "xkbfile") 2>&5
   11580   ac_status=$?
   11581   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11582   test $ac_status = 0; }; then
   11583   XKBPKG="xkbfile"
   11584 else
   11585   XKBPKG=""
   11586 fi
   11587 if test x$XKBPKG = xxkbfile ; then
   11588 
   11589 printf "%s\n" "#define XKB 1" >>confdefs.h
   11590 
   11591 fi
   11592 
   11593 pkg_failed=no
   11594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XCLIPBOARD" >&5
   11595 printf %s "checking for XCLIPBOARD... " >&6; }
   11596 
   11597 if test -n "$XCLIPBOARD_CFLAGS"; then
   11598     pkg_cv_XCLIPBOARD_CFLAGS="$XCLIPBOARD_CFLAGS"
   11599  elif test -n "$PKG_CONFIG"; then
   11600     if test -n "$PKG_CONFIG" && \
   11601     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.1 x11 \${XKBPKG} xproto >= 7.0.17\""; } >&5
   11602   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17") 2>&5
   11603   ac_status=$?
   11604   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11605   test $ac_status = 0; }; then
   11606   pkg_cv_XCLIPBOARD_CFLAGS=`$PKG_CONFIG --cflags "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17" 2>/dev/null`
   11607 		      test "x$?" != "x0" && pkg_failed=yes
   11608 else
   11609   pkg_failed=yes
   11610 fi
   11611  else
   11612     pkg_failed=untried
   11613 fi
   11614 if test -n "$XCLIPBOARD_LIBS"; then
   11615     pkg_cv_XCLIPBOARD_LIBS="$XCLIPBOARD_LIBS"
   11616  elif test -n "$PKG_CONFIG"; then
   11617     if test -n "$PKG_CONFIG" && \
   11618     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xaw7 xmu xt >= 1.1 x11 \${XKBPKG} xproto >= 7.0.17\""; } >&5
   11619   ($PKG_CONFIG --exists --print-errors "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17") 2>&5
   11620   ac_status=$?
   11621   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11622   test $ac_status = 0; }; then
   11623   pkg_cv_XCLIPBOARD_LIBS=`$PKG_CONFIG --libs "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17" 2>/dev/null`
   11624 		      test "x$?" != "x0" && pkg_failed=yes
   11625 else
   11626   pkg_failed=yes
   11627 fi
   11628  else
   11629     pkg_failed=untried
   11630 fi
   11631 
   11632 
   11633 
   11634 if test $pkg_failed = yes; then
   11635    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11636 printf "%s\n" "no" >&6; }
   11637 
   11638 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11639         _pkg_short_errors_supported=yes
   11640 else
   11641         _pkg_short_errors_supported=no
   11642 fi
   11643         if test $_pkg_short_errors_supported = yes; then
   11644 	        XCLIPBOARD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17" 2>&1`
   11645         else
   11646 	        XCLIPBOARD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17" 2>&1`
   11647         fi
   11648 	# Put the nasty error message in config.log where it belongs
   11649 	echo "$XCLIPBOARD_PKG_ERRORS" >&5
   11650 
   11651 	as_fn_error $? "Package requirements (xaw7 xmu xt >= 1.1 x11 ${XKBPKG} xproto >= 7.0.17) were not met:
   11652 
   11653 $XCLIPBOARD_PKG_ERRORS
   11654 
   11655 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11656 installed software in a non-standard prefix.
   11657 
   11658 Alternatively, you may set the environment variables XCLIPBOARD_CFLAGS
   11659 and XCLIPBOARD_LIBS to avoid the need to call pkg-config.
   11660 See the pkg-config man page for more details." "$LINENO" 5
   11661 elif test $pkg_failed = untried; then
   11662      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11663 printf "%s\n" "no" >&6; }
   11664 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11665 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11666 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11667 is in your PATH or set the PKG_CONFIG environment variable to the full
   11668 path to pkg-config.
   11669 
   11670 Alternatively, you may set the environment variables XCLIPBOARD_CFLAGS
   11671 and XCLIPBOARD_LIBS to avoid the need to call pkg-config.
   11672 See the pkg-config man page for more details.
   11673 
   11674 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11675 See 'config.log' for more details" "$LINENO" 5; }
   11676 else
   11677 	XCLIPBOARD_CFLAGS=$pkg_cv_XCLIPBOARD_CFLAGS
   11678 	XCLIPBOARD_LIBS=$pkg_cv_XCLIPBOARD_LIBS
   11679         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11680 printf "%s\n" "yes" >&6; }
   11681 
   11682 fi
   11683 
   11684 
   11685 pkg_failed=no
   11686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for APPDEFS" >&5
   11687 printf %s "checking for APPDEFS... " >&6; }
   11688 
   11689 if test -n "$APPDEFS_CFLAGS"; then
   11690     pkg_cv_APPDEFS_CFLAGS="$APPDEFS_CFLAGS"
   11691  elif test -n "$PKG_CONFIG"; then
   11692     if test -n "$PKG_CONFIG" && \
   11693     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11694   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11695   ac_status=$?
   11696   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11697   test $ac_status = 0; }; then
   11698   pkg_cv_APPDEFS_CFLAGS=`$PKG_CONFIG --cflags "xt" 2>/dev/null`
   11699 		      test "x$?" != "x0" && pkg_failed=yes
   11700 else
   11701   pkg_failed=yes
   11702 fi
   11703  else
   11704     pkg_failed=untried
   11705 fi
   11706 if test -n "$APPDEFS_LIBS"; then
   11707     pkg_cv_APPDEFS_LIBS="$APPDEFS_LIBS"
   11708  elif test -n "$PKG_CONFIG"; then
   11709     if test -n "$PKG_CONFIG" && \
   11710     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xt\""; } >&5
   11711   ($PKG_CONFIG --exists --print-errors "xt") 2>&5
   11712   ac_status=$?
   11713   printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11714   test $ac_status = 0; }; then
   11715   pkg_cv_APPDEFS_LIBS=`$PKG_CONFIG --libs "xt" 2>/dev/null`
   11716 		      test "x$?" != "x0" && pkg_failed=yes
   11717 else
   11718   pkg_failed=yes
   11719 fi
   11720  else
   11721     pkg_failed=untried
   11722 fi
   11723 
   11724 
   11725 
   11726 if test $pkg_failed = yes; then
   11727    	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11728 printf "%s\n" "no" >&6; }
   11729 
   11730 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11731         _pkg_short_errors_supported=yes
   11732 else
   11733         _pkg_short_errors_supported=no
   11734 fi
   11735         if test $_pkg_short_errors_supported = yes; then
   11736 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xt" 2>&1`
   11737         else
   11738 	        APPDEFS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xt" 2>&1`
   11739         fi
   11740 	# Put the nasty error message in config.log where it belongs
   11741 	echo "$APPDEFS_PKG_ERRORS" >&5
   11742 
   11743 	as_fn_error $? "Package requirements (xt) were not met:
   11744 
   11745 $APPDEFS_PKG_ERRORS
   11746 
   11747 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11748 installed software in a non-standard prefix.
   11749 
   11750 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11751 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11752 See the pkg-config man page for more details." "$LINENO" 5
   11753 elif test $pkg_failed = untried; then
   11754      	{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11755 printf "%s\n" "no" >&6; }
   11756 	{ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   11757 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   11758 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11759 is in your PATH or set the PKG_CONFIG environment variable to the full
   11760 path to pkg-config.
   11761 
   11762 Alternatively, you may set the environment variables APPDEFS_CFLAGS
   11763 and APPDEFS_LIBS to avoid the need to call pkg-config.
   11764 See the pkg-config man page for more details.
   11765 
   11766 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11767 See 'config.log' for more details" "$LINENO" 5; }
   11768 else
   11769 	APPDEFS_CFLAGS=$pkg_cv_APPDEFS_CFLAGS
   11770 	APPDEFS_LIBS=$pkg_cv_APPDEFS_LIBS
   11771         { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11772 printf "%s\n" "yes" >&6; }
   11773 
   11774 fi
   11775 xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt`
   11776 
   11777 # Check whether --with-appdefaultdir was given.
   11778 if test ${with_appdefaultdir+y}
   11779 then :
   11780   withval=$with_appdefaultdir; appdefaultdir="$withval"
   11781 else case e in #(
   11782   e) appdefaultdir="${xt_appdefaultdir}" ;;
   11783 esac
   11784 fi
   11785 
   11786 
   11787 
   11788 
   11789 ac_config_files="$ac_config_files Makefile man/Makefile"
   11790 
   11791 cat >confcache <<\_ACEOF
   11792 # This file is a shell script that caches the results of configure
   11793 # tests run on this system so they can be shared between configure
   11794 # scripts and configure runs, see configure's option --config-cache.
   11795 # It is not useful on other systems.  If it contains results you don't
   11796 # want to keep, you may remove or edit it.
   11797 #
   11798 # config.status only pays attention to the cache file if you give it
   11799 # the --recheck option to rerun configure.
   11800 #
   11801 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
   11802 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
   11803 # following values.
   11804 
   11805 _ACEOF
   11806 
   11807 # The following way of writing the cache mishandles newlines in values,
   11808 # but we know of no workaround that is simple, portable, and efficient.
   11809 # So, we kill variables containing newlines.
   11810 # Ultrix sh set writes to stderr and can't be redirected directly,
   11811 # and sets the high bit in the cache file unless we assign to the vars.
   11812 (
   11813   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11814     eval ac_val=\$$ac_var
   11815     case $ac_val in #(
   11816     *${as_nl}*)
   11817       case $ac_var in #(
   11818       *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11819 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11820       esac
   11821       case $ac_var in #(
   11822       _ | IFS | as_nl) ;; #(
   11823       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11824       *) { eval $ac_var=; unset $ac_var;} ;;
   11825       esac ;;
   11826     esac
   11827   done
   11828 
   11829   (set) 2>&1 |
   11830     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11831     *${as_nl}ac_space=\ *)
   11832       # 'set' does not quote correctly, so add quotes: double-quote
   11833       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11834       sed -n \
   11835 	"s/'/'\\\\''/g;
   11836 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11837       ;; #(
   11838     *)
   11839       # 'set' quotes correctly as required by POSIX, so do not add quotes.
   11840       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11841       ;;
   11842     esac |
   11843     sort
   11844 ) |
   11845   sed '
   11846      /^ac_cv_env_/b end
   11847      t clear
   11848      :clear
   11849      s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
   11850      t end
   11851      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11852      :end' >>confcache
   11853 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11854   if test -w "$cache_file"; then
   11855     if test "x$cache_file" != "x/dev/null"; then
   11856       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11857 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
   11858       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11859 	cat confcache >"$cache_file"
   11860       else
   11861         case $cache_file in #(
   11862         */* | ?:*)
   11863 	  mv -f confcache "$cache_file"$$ &&
   11864 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11865         *)
   11866 	  mv -f confcache "$cache_file" ;;
   11867 	esac
   11868       fi
   11869     fi
   11870   else
   11871     { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11872 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
   11873   fi
   11874 fi
   11875 rm -f confcache
   11876 
   11877 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11878 # Let make expand exec_prefix.
   11879 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11880 
   11881 DEFS=-DHAVE_CONFIG_H
   11882 
   11883 ac_libobjs=
   11884 ac_ltlibobjs=
   11885 U=
   11886 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11887   # 1. Remove the extension, and $U if already installed.
   11888   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11889   ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
   11890   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11891   #    will be set to the directory where LIBOBJS objects are built.
   11892   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11893   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11894 done
   11895 LIBOBJS=$ac_libobjs
   11896 
   11897 LTLIBOBJS=$ac_ltlibobjs
   11898 
   11899 
   11900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11901 printf %s "checking that generated files are newer than configure... " >&6; }
   11902    if test -n "$am_sleep_pid"; then
   11903      # Hide warnings about reused PIDs.
   11904      wait $am_sleep_pid 2>/dev/null
   11905    fi
   11906    { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11907 printf "%s\n" "done" >&6; }
   11908 case $enable_silent_rules in # (((
   11909   yes) AM_DEFAULT_VERBOSITY=0;;
   11910    no) AM_DEFAULT_VERBOSITY=1;;
   11911 esac
   11912 if test $am_cv_make_support_nested_variables = yes; then
   11913     AM_V='$(V)'
   11914   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   11915 else
   11916   AM_V=$AM_DEFAULT_VERBOSITY
   11917   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   11918 fi
   11919 
   11920  if test -n "$EXEEXT"; then
   11921   am__EXEEXT_TRUE=
   11922   am__EXEEXT_FALSE='#'
   11923 else
   11924   am__EXEEXT_TRUE='#'
   11925   am__EXEEXT_FALSE=
   11926 fi
   11927 
   11928 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11929   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11930 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11931 fi
   11932 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11933   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11934 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11935 fi
   11936 
   11937 : "${CONFIG_STATUS=./config.status}"
   11938 ac_write_fail=0
   11939 ac_clean_files_save=$ac_clean_files
   11940 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11942 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
   11943 as_write_fail=0
   11944 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11945 #! $SHELL
   11946 # Generated by $as_me.
   11947 # Run this file to recreate the current configuration.
   11948 # Compiler output produced by configure, useful for debugging
   11949 # configure, is in config.log if it exists.
   11950 
   11951 debug=false
   11952 ac_cs_recheck=false
   11953 ac_cs_silent=false
   11954 
   11955 SHELL=\${CONFIG_SHELL-$SHELL}
   11956 export SHELL
   11957 _ASEOF
   11958 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11959 ## -------------------- ##
   11960 ## M4sh Initialization. ##
   11961 ## -------------------- ##
   11962 
   11963 # Be more Bourne compatible
   11964 DUALCASE=1; export DUALCASE # for MKS sh
   11965 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
   11966 then :
   11967   emulate sh
   11968   NULLCMD=:
   11969   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11970   # is contrary to our usage.  Disable this feature.
   11971   alias -g '${1+"$@"}'='"$@"'
   11972   setopt NO_GLOB_SUBST
   11973 else case e in #(
   11974   e) case `(set -o) 2>/dev/null` in #(
   11975   *posix*) :
   11976     set -o posix ;; #(
   11977   *) :
   11978      ;;
   11979 esac ;;
   11980 esac
   11981 fi
   11982 
   11983 
   11984 
   11985 # Reset variables that may have inherited troublesome values from
   11986 # the environment.
   11987 
   11988 # IFS needs to be set, to space, tab, and newline, in precisely that order.
   11989 # (If _AS_PATH_WALK were called with IFS unset, it would have the
   11990 # side effect of setting IFS to empty, thus disabling word splitting.)
   11991 # Quoting is to prevent editors from complaining about space-tab.
   11992 as_nl='
   11993 '
   11994 export as_nl
   11995 IFS=" ""	$as_nl"
   11996 
   11997 PS1='$ '
   11998 PS2='> '
   11999 PS4='+ '
   12000 
   12001 # Ensure predictable behavior from utilities with locale-dependent output.
   12002 LC_ALL=C
   12003 export LC_ALL
   12004 LANGUAGE=C
   12005 export LANGUAGE
   12006 
   12007 # We cannot yet rely on "unset" to work, but we need these variables
   12008 # to be unset--not just set to an empty or harmless value--now, to
   12009 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh).  This construct
   12010 # also avoids known problems related to "unset" and subshell syntax
   12011 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
   12012 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
   12013 do eval test \${$as_var+y} \
   12014   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   12015 done
   12016 
   12017 # Ensure that fds 0, 1, and 2 are open.
   12018 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
   12019 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
   12020 if (exec 3>&2)            ; then :; else exec 2>/dev/null; fi
   12021 
   12022 # The user is always right.
   12023 if ${PATH_SEPARATOR+false} :; then
   12024   PATH_SEPARATOR=:
   12025   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   12026     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   12027       PATH_SEPARATOR=';'
   12028   }
   12029 fi
   12030 
   12031 
   12032 # Find who we are.  Look in the path if we contain no directory separator.
   12033 as_myself=
   12034 case $0 in #((
   12035   *[\\/]* ) as_myself=$0 ;;
   12036   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12037 for as_dir in $PATH
   12038 do
   12039   IFS=$as_save_IFS
   12040   case $as_dir in #(((
   12041     '') as_dir=./ ;;
   12042     */) ;;
   12043     *) as_dir=$as_dir/ ;;
   12044   esac
   12045     test -r "$as_dir$0" && as_myself=$as_dir$0 && break
   12046   done
   12047 IFS=$as_save_IFS
   12048 
   12049      ;;
   12050 esac
   12051 # We did not find ourselves, most probably we were run as 'sh COMMAND'
   12052 # in which case we are not to be found in the path.
   12053 if test "x$as_myself" = x; then
   12054   as_myself=$0
   12055 fi
   12056 if test ! -f "$as_myself"; then
   12057   printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   12058   exit 1
   12059 fi
   12060 
   12061 
   12062 
   12063 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   12064 # ----------------------------------------
   12065 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   12066 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   12067 # script with STATUS, using 1 if that was 0.
   12068 as_fn_error ()
   12069 {
   12070   as_status=$1; test $as_status -eq 0 && as_status=1
   12071   if test "$4"; then
   12072     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   12073     printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   12074   fi
   12075   printf "%s\n" "$as_me: error: $2" >&2
   12076   as_fn_exit $as_status
   12077 } # as_fn_error
   12078 
   12079 
   12080 # as_fn_set_status STATUS
   12081 # -----------------------
   12082 # Set $? to STATUS, without forking.
   12083 as_fn_set_status ()
   12084 {
   12085   return $1
   12086 } # as_fn_set_status
   12087 
   12088 # as_fn_exit STATUS
   12089 # -----------------
   12090 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   12091 as_fn_exit ()
   12092 {
   12093   set +e
   12094   as_fn_set_status $1
   12095   exit $1
   12096 } # as_fn_exit
   12097 
   12098 # as_fn_unset VAR
   12099 # ---------------
   12100 # Portably unset VAR.
   12101 as_fn_unset ()
   12102 {
   12103   { eval $1=; unset $1;}
   12104 }
   12105 as_unset=as_fn_unset
   12106 
   12107 # as_fn_append VAR VALUE
   12108 # ----------------------
   12109 # Append the text in VALUE to the end of the definition contained in VAR. Take
   12110 # advantage of any shell optimizations that allow amortized linear growth over
   12111 # repeated appends, instead of the typical quadratic growth present in naive
   12112 # implementations.
   12113 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
   12114 then :
   12115   eval 'as_fn_append ()
   12116   {
   12117     eval $1+=\$2
   12118   }'
   12119 else case e in #(
   12120   e) as_fn_append ()
   12121   {
   12122     eval $1=\$$1\$2
   12123   } ;;
   12124 esac
   12125 fi # as_fn_append
   12126 
   12127 # as_fn_arith ARG...
   12128 # ------------------
   12129 # Perform arithmetic evaluation on the ARGs, and store the result in the
   12130 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   12131 # must be portable across $(()) and expr.
   12132 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
   12133 then :
   12134   eval 'as_fn_arith ()
   12135   {
   12136     as_val=$(( $* ))
   12137   }'
   12138 else case e in #(
   12139   e) as_fn_arith ()
   12140   {
   12141     as_val=`expr "$@" || test $? -eq 1`
   12142   } ;;
   12143 esac
   12144 fi # as_fn_arith
   12145 
   12146 
   12147 if expr a : '\(a\)' >/dev/null 2>&1 &&
   12148    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   12149   as_expr=expr
   12150 else
   12151   as_expr=false
   12152 fi
   12153 
   12154 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   12155   as_basename=basename
   12156 else
   12157   as_basename=false
   12158 fi
   12159 
   12160 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   12161   as_dirname=dirname
   12162 else
   12163   as_dirname=false
   12164 fi
   12165 
   12166 as_me=`$as_basename -- "$0" ||
   12167 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   12168 	 X"$0" : 'X\(//\)$' \| \
   12169 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   12170 printf "%s\n" X/"$0" |
   12171     sed '/^.*\/\([^/][^/]*\)\/*$/{
   12172 	    s//\1/
   12173 	    q
   12174 	  }
   12175 	  /^X\/\(\/\/\)$/{
   12176 	    s//\1/
   12177 	    q
   12178 	  }
   12179 	  /^X\/\(\/\).*/{
   12180 	    s//\1/
   12181 	    q
   12182 	  }
   12183 	  s/.*/./; q'`
   12184 
   12185 # Avoid depending upon Character Ranges.
   12186 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   12187 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   12188 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   12189 as_cr_digits='0123456789'
   12190 as_cr_alnum=$as_cr_Letters$as_cr_digits
   12191 
   12192 
   12193 # Determine whether it's possible to make 'echo' print without a newline.
   12194 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
   12195 # for compatibility with existing Makefiles.
   12196 ECHO_C= ECHO_N= ECHO_T=
   12197 case `echo -n x` in #(((((
   12198 -n*)
   12199   case `echo 'xy\c'` in
   12200   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   12201   xy)  ECHO_C='\c';;
   12202   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   12203        ECHO_T='	';;
   12204   esac;;
   12205 *)
   12206   ECHO_N='-n';;
   12207 esac
   12208 
   12209 # For backward compatibility with old third-party macros, we provide
   12210 # the shell variables $as_echo and $as_echo_n.  New code should use
   12211 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
   12212 as_echo='printf %s\n'
   12213 as_echo_n='printf %s'
   12214 
   12215 rm -f conf$$ conf$$.exe conf$$.file
   12216 if test -d conf$$.dir; then
   12217   rm -f conf$$.dir/conf$$.file
   12218 else
   12219   rm -f conf$$.dir
   12220   mkdir conf$$.dir 2>/dev/null
   12221 fi
   12222 if (echo >conf$$.file) 2>/dev/null; then
   12223   if ln -s conf$$.file conf$$ 2>/dev/null; then
   12224     as_ln_s='ln -s'
   12225     # ... but there are two gotchas:
   12226     # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
   12227     # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
   12228     # In both cases, we have to default to 'cp -pR'.
   12229     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   12230       as_ln_s='cp -pR'
   12231   elif ln conf$$.file conf$$ 2>/dev/null; then
   12232     as_ln_s=ln
   12233   else
   12234     as_ln_s='cp -pR'
   12235   fi
   12236 else
   12237   as_ln_s='cp -pR'
   12238 fi
   12239 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   12240 rmdir conf$$.dir 2>/dev/null
   12241 
   12242 
   12243 # as_fn_mkdir_p
   12244 # -------------
   12245 # Create "$as_dir" as a directory, including parents if necessary.
   12246 as_fn_mkdir_p ()
   12247 {
   12248 
   12249   case $as_dir in #(
   12250   -*) as_dir=./$as_dir;;
   12251   esac
   12252   test -d "$as_dir" || eval $as_mkdir_p || {
   12253     as_dirs=
   12254     while :; do
   12255       case $as_dir in #(
   12256       *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   12257       *) as_qdir=$as_dir;;
   12258       esac
   12259       as_dirs="'$as_qdir' $as_dirs"
   12260       as_dir=`$as_dirname -- "$as_dir" ||
   12261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12262 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   12263 	 X"$as_dir" : 'X\(//\)$' \| \
   12264 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   12265 printf "%s\n" X"$as_dir" |
   12266     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12267 	    s//\1/
   12268 	    q
   12269 	  }
   12270 	  /^X\(\/\/\)[^/].*/{
   12271 	    s//\1/
   12272 	    q
   12273 	  }
   12274 	  /^X\(\/\/\)$/{
   12275 	    s//\1/
   12276 	    q
   12277 	  }
   12278 	  /^X\(\/\).*/{
   12279 	    s//\1/
   12280 	    q
   12281 	  }
   12282 	  s/.*/./; q'`
   12283       test -d "$as_dir" && break
   12284     done
   12285     test -z "$as_dirs" || eval "mkdir $as_dirs"
   12286   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   12287 
   12288 
   12289 } # as_fn_mkdir_p
   12290 if mkdir -p . 2>/dev/null; then
   12291   as_mkdir_p='mkdir -p "$as_dir"'
   12292 else
   12293   test -d ./-p && rmdir ./-p
   12294   as_mkdir_p=false
   12295 fi
   12296 
   12297 
   12298 # as_fn_executable_p FILE
   12299 # -----------------------
   12300 # Test if FILE is an executable regular file.
   12301 as_fn_executable_p ()
   12302 {
   12303   test -f "$1" && test -x "$1"
   12304 } # as_fn_executable_p
   12305 as_test_x='test -x'
   12306 as_executable_p=as_fn_executable_p
   12307 
   12308 # Sed expression to map a string onto a valid CPP name.
   12309 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
   12310 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
   12311 
   12312 # Sed expression to map a string onto a valid variable name.
   12313 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
   12314 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
   12315 
   12316 
   12317 exec 6>&1
   12318 ## ----------------------------------- ##
   12319 ## Main body of $CONFIG_STATUS script. ##
   12320 ## ----------------------------------- ##
   12321 _ASEOF
   12322 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   12323 
   12324 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12325 # Save the log message, to keep $0 and so on meaningful, and to
   12326 # report actual input values of CONFIG_FILES etc. instead of their
   12327 # values after options handling.
   12328 ac_log="
   12329 This file was extended by xclipboard $as_me 1.1.5, which was
   12330 generated by GNU Autoconf 2.72.  Invocation command line was
   12331 
   12332   CONFIG_FILES    = $CONFIG_FILES
   12333   CONFIG_HEADERS  = $CONFIG_HEADERS
   12334   CONFIG_LINKS    = $CONFIG_LINKS
   12335   CONFIG_COMMANDS = $CONFIG_COMMANDS
   12336   $ $0 $@
   12337 
   12338 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   12339 "
   12340 
   12341 _ACEOF
   12342 
   12343 case $ac_config_files in *"
   12344 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   12345 esac
   12346 
   12347 case $ac_config_headers in *"
   12348 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   12349 esac
   12350 
   12351 
   12352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12353 # Files that config.status was made for.
   12354 config_files="$ac_config_files"
   12355 config_headers="$ac_config_headers"
   12356 config_commands="$ac_config_commands"
   12357 
   12358 _ACEOF
   12359 
   12360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12361 ac_cs_usage="\
   12362 '$as_me' instantiates files and other configuration actions
   12363 from templates according to the current configuration.  Unless the files
   12364 and actions are specified as TAGs, all are instantiated by default.
   12365 
   12366 Usage: $0 [OPTION]... [TAG]...
   12367 
   12368   -h, --help       print this help, then exit
   12369   -V, --version    print version number and configuration settings, then exit
   12370       --config     print configuration, then exit
   12371   -q, --quiet, --silent
   12372                    do not print progress messages
   12373   -d, --debug      don't remove temporary files
   12374       --recheck    update $as_me by reconfiguring in the same conditions
   12375       --file=FILE[:TEMPLATE]
   12376                    instantiate the configuration file FILE
   12377       --header=FILE[:TEMPLATE]
   12378                    instantiate the configuration header FILE
   12379 
   12380 Configuration files:
   12381 $config_files
   12382 
   12383 Configuration headers:
   12384 $config_headers
   12385 
   12386 Configuration commands:
   12387 $config_commands
   12388 
   12389 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xclipboard/-/issue>.
   12390 xclipboard home page: <https://gitlab.freedesktop.org/xorg/app/xclipboard/>."
   12391 
   12392 _ACEOF
   12393 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
   12394 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
   12395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12396 ac_cs_config='$ac_cs_config_escaped'
   12397 ac_cs_version="\\
   12398 xclipboard config.status 1.1.5
   12399 configured by $0, generated by GNU Autoconf 2.72,
   12400   with options \\"\$ac_cs_config\\"
   12401 
   12402 Copyright (C) 2023 Free Software Foundation, Inc.
   12403 This config.status script is free software; the Free Software Foundation
   12404 gives unlimited permission to copy, distribute and modify it."
   12405 
   12406 ac_pwd='$ac_pwd'
   12407 srcdir='$srcdir'
   12408 INSTALL='$INSTALL'
   12409 MKDIR_P='$MKDIR_P'
   12410 AWK='$AWK'
   12411 test -n "\$AWK" || AWK=awk
   12412 _ACEOF
   12413 
   12414 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12415 # The default lists apply if the user does not specify any file.
   12416 ac_need_defaults=:
   12417 while test $# != 0
   12418 do
   12419   case $1 in
   12420   --*=?*)
   12421     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12422     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   12423     ac_shift=:
   12424     ;;
   12425   --*=)
   12426     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   12427     ac_optarg=
   12428     ac_shift=:
   12429     ;;
   12430   *)
   12431     ac_option=$1
   12432     ac_optarg=$2
   12433     ac_shift=shift
   12434     ;;
   12435   esac
   12436 
   12437   case $ac_option in
   12438   # Handling of the options.
   12439   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   12440     ac_cs_recheck=: ;;
   12441   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   12442     printf "%s\n" "$ac_cs_version"; exit ;;
   12443   --config | --confi | --conf | --con | --co | --c )
   12444     printf "%s\n" "$ac_cs_config"; exit ;;
   12445   --debug | --debu | --deb | --de | --d | -d )
   12446     debug=: ;;
   12447   --file | --fil | --fi | --f )
   12448     $ac_shift
   12449     case $ac_optarg in
   12450     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12451     '') as_fn_error $? "missing file argument" ;;
   12452     esac
   12453     as_fn_append CONFIG_FILES " '$ac_optarg'"
   12454     ac_need_defaults=false;;
   12455   --header | --heade | --head | --hea )
   12456     $ac_shift
   12457     case $ac_optarg in
   12458     *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   12459     esac
   12460     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   12461     ac_need_defaults=false;;
   12462   --he | --h)
   12463     # Conflict between --help and --header
   12464     as_fn_error $? "ambiguous option: '$1'
   12465 Try '$0 --help' for more information.";;
   12466   --help | --hel | -h )
   12467     printf "%s\n" "$ac_cs_usage"; exit ;;
   12468   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   12469   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   12470     ac_cs_silent=: ;;
   12471 
   12472   # This is an error.
   12473   -*) as_fn_error $? "unrecognized option: '$1'
   12474 Try '$0 --help' for more information." ;;
   12475 
   12476   *) as_fn_append ac_config_targets " $1"
   12477      ac_need_defaults=false ;;
   12478 
   12479   esac
   12480   shift
   12481 done
   12482 
   12483 ac_configure_extra_args=
   12484 
   12485 if $ac_cs_silent; then
   12486   exec 6>/dev/null
   12487   ac_configure_extra_args="$ac_configure_extra_args --silent"
   12488 fi
   12489 
   12490 _ACEOF
   12491 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12492 if \$ac_cs_recheck; then
   12493   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   12494   shift
   12495   \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
   12496   CONFIG_SHELL='$SHELL'
   12497   export CONFIG_SHELL
   12498   exec "\$@"
   12499 fi
   12500 
   12501 _ACEOF
   12502 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12503 exec 5>>config.log
   12504 {
   12505   echo
   12506   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   12507 ## Running $as_me. ##
   12508 _ASBOX
   12509   printf "%s\n" "$ac_log"
   12510 } >&5
   12511 
   12512 _ACEOF
   12513 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12514 #
   12515 # INIT-COMMANDS
   12516 #
   12517 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
   12518 
   12519 _ACEOF
   12520 
   12521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12522 
   12523 # Handling of arguments.
   12524 for ac_config_target in $ac_config_targets
   12525 do
   12526   case $ac_config_target in
   12527     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   12528     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   12529     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   12530     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   12531 
   12532   *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
   12533   esac
   12534 done
   12535 
   12536 
   12537 # If the user did not use the arguments to specify the items to instantiate,
   12538 # then the envvar interface is used.  Set only those that are not.
   12539 # We use the long form for the default assignment because of an extremely
   12540 # bizarre bug on SunOS 4.1.3.
   12541 if $ac_need_defaults; then
   12542   test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
   12543   test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
   12544   test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
   12545 fi
   12546 
   12547 # Have a temporary directory for convenience.  Make it in the build tree
   12548 # simply because there is no reason against having it here, and in addition,
   12549 # creating and moving files from /tmp can sometimes cause problems.
   12550 # Hook for its removal unless debugging.
   12551 # Note that there is a small window in which the directory will not be cleaned:
   12552 # after its creation but before its name has been assigned to '$tmp'.
   12553 $debug ||
   12554 {
   12555   tmp= ac_tmp=
   12556   trap 'exit_status=$?
   12557   : "${ac_tmp:=$tmp}"
   12558   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12559 ' 0
   12560   trap 'as_fn_exit 1' 1 2 13 15
   12561 }
   12562 # Create a (secure) tmp directory for tmp files.
   12563 
   12564 {
   12565   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12566   test -d "$tmp"
   12567 }  ||
   12568 {
   12569   tmp=./conf$$-$RANDOM
   12570   (umask 077 && mkdir "$tmp")
   12571 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12572 ac_tmp=$tmp
   12573 
   12574 # Set up the scripts for CONFIG_FILES section.
   12575 # No need to generate them if there are no CONFIG_FILES.
   12576 # This happens for instance with './config.status config.h'.
   12577 if test -n "$CONFIG_FILES"; then
   12578 
   12579 
   12580 ac_cr=`echo X | tr X '\015'`
   12581 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12582 # But we know of no other shell where ac_cr would be empty at this
   12583 # point, so we can use a bashism as a fallback.
   12584 if test "x$ac_cr" = x; then
   12585   eval ac_cr=\$\'\\r\'
   12586 fi
   12587 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12588 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12589   ac_cs_awk_cr='\\r'
   12590 else
   12591   ac_cs_awk_cr=$ac_cr
   12592 fi
   12593 
   12594 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12595 _ACEOF
   12596 
   12597 
   12598 {
   12599   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12600   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12601   echo "_ACEOF"
   12602 } >conf$$subs.sh ||
   12603   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12604 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12605 ac_delim='%!_!# '
   12606 for ac_last_try in false false false false false :; do
   12607   . ./conf$$subs.sh ||
   12608     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12609 
   12610   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12611   if test $ac_delim_n = $ac_delim_num; then
   12612     break
   12613   elif $ac_last_try; then
   12614     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12615   else
   12616     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12617   fi
   12618 done
   12619 rm -f conf$$subs.sh
   12620 
   12621 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12622 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12623 _ACEOF
   12624 sed -n '
   12625 h
   12626 s/^/S["/; s/!.*/"]=/
   12627 p
   12628 g
   12629 s/^[^!]*!//
   12630 :repl
   12631 t repl
   12632 s/'"$ac_delim"'$//
   12633 t delim
   12634 :nl
   12635 h
   12636 s/\(.\{148\}\)..*/\1/
   12637 t more1
   12638 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12639 p
   12640 n
   12641 b repl
   12642 :more1
   12643 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12644 p
   12645 g
   12646 s/.\{148\}//
   12647 t nl
   12648 :delim
   12649 h
   12650 s/\(.\{148\}\)..*/\1/
   12651 t more2
   12652 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12653 p
   12654 b
   12655 :more2
   12656 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12657 p
   12658 g
   12659 s/.\{148\}//
   12660 t delim
   12661 ' <conf$$subs.awk | sed '
   12662 /^[^""]/{
   12663   N
   12664   s/\n//
   12665 }
   12666 ' >>$CONFIG_STATUS || ac_write_fail=1
   12667 rm -f conf$$subs.awk
   12668 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12669 _ACAWK
   12670 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12671   for (key in S) S_is_set[key] = 1
   12672   FS = ""
   12673 
   12674 }
   12675 {
   12676   line = $ 0
   12677   nfields = split(line, field, "@")
   12678   substed = 0
   12679   len = length(field[1])
   12680   for (i = 2; i < nfields; i++) {
   12681     key = field[i]
   12682     keylen = length(key)
   12683     if (S_is_set[key]) {
   12684       value = S[key]
   12685       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12686       len += length(value) + length(field[++i])
   12687       substed = 1
   12688     } else
   12689       len += 1 + keylen
   12690   }
   12691 
   12692   print line
   12693 }
   12694 
   12695 _ACAWK
   12696 _ACEOF
   12697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12698 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12699   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12700 else
   12701   cat
   12702 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12703   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12704 _ACEOF
   12705 
   12706 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12707 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12708 # trailing colons and then remove the whole line if VPATH becomes empty
   12709 # (actually we leave an empty line to preserve line numbers).
   12710 if test "x$srcdir" = x.; then
   12711   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12712 h
   12713 s///
   12714 s/^/:/
   12715 s/[	 ]*$/:/
   12716 s/:\$(srcdir):/:/g
   12717 s/:\${srcdir}:/:/g
   12718 s/:@srcdir@:/:/g
   12719 s/^:*//
   12720 s/:*$//
   12721 x
   12722 s/\(=[	 ]*\).*/\1/
   12723 G
   12724 s/\n//
   12725 s/^[^=]*=[	 ]*$//
   12726 }'
   12727 fi
   12728 
   12729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12730 fi # test -n "$CONFIG_FILES"
   12731 
   12732 # Set up the scripts for CONFIG_HEADERS section.
   12733 # No need to generate them if there are no CONFIG_HEADERS.
   12734 # This happens for instance with './config.status Makefile'.
   12735 if test -n "$CONFIG_HEADERS"; then
   12736 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12737 BEGIN {
   12738 _ACEOF
   12739 
   12740 # Transform confdefs.h into an awk script 'defines.awk', embedded as
   12741 # here-document in config.status, that substitutes the proper values into
   12742 # config.h.in to produce config.h.
   12743 
   12744 # Create a delimiter string that does not exist in confdefs.h, to ease
   12745 # handling of long lines.
   12746 ac_delim='%!_!# '
   12747 for ac_last_try in false false :; do
   12748   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12749   if test -z "$ac_tt"; then
   12750     break
   12751   elif $ac_last_try; then
   12752     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12753   else
   12754     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12755   fi
   12756 done
   12757 
   12758 # For the awk script, D is an array of macro values keyed by name,
   12759 # likewise P contains macro parameters if any.  Preserve backslash
   12760 # newline sequences.
   12761 
   12762 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12763 sed -n '
   12764 s/.\{148\}/&'"$ac_delim"'/g
   12765 t rset
   12766 :rset
   12767 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12768 t def
   12769 d
   12770 :def
   12771 s/\\$//
   12772 t bsnl
   12773 s/["\\]/\\&/g
   12774 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12775 D["\1"]=" \3"/p
   12776 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12777 d
   12778 :bsnl
   12779 s/["\\]/\\&/g
   12780 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12781 D["\1"]=" \3\\\\\\n"\\/p
   12782 t cont
   12783 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12784 t cont
   12785 d
   12786 :cont
   12787 n
   12788 s/.\{148\}/&'"$ac_delim"'/g
   12789 t clear
   12790 :clear
   12791 s/\\$//
   12792 t bsnlc
   12793 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12794 d
   12795 :bsnlc
   12796 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12797 b cont
   12798 ' <confdefs.h | sed '
   12799 s/'"$ac_delim"'/"\\\
   12800 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12801 
   12802 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12803   for (key in D) D_is_set[key] = 1
   12804   FS = ""
   12805 }
   12806 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12807   line = \$ 0
   12808   split(line, arg, " ")
   12809   if (arg[1] == "#") {
   12810     defundef = arg[2]
   12811     mac1 = arg[3]
   12812   } else {
   12813     defundef = substr(arg[1], 2)
   12814     mac1 = arg[2]
   12815   }
   12816   split(mac1, mac2, "(") #)
   12817   macro = mac2[1]
   12818   prefix = substr(line, 1, index(line, defundef) - 1)
   12819   if (D_is_set[macro]) {
   12820     # Preserve the white space surrounding the "#".
   12821     print prefix "define", macro P[macro] D[macro]
   12822     next
   12823   } else {
   12824     # Replace #undef with comments.  This is necessary, for example,
   12825     # in the case of _POSIX_SOURCE, which is predefined and required
   12826     # on some systems where configure will not decide to define it.
   12827     if (defundef == "undef") {
   12828       print "/*", prefix defundef, macro, "*/"
   12829       next
   12830     }
   12831   }
   12832 }
   12833 { print }
   12834 _ACAWK
   12835 _ACEOF
   12836 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12837   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12838 fi # test -n "$CONFIG_HEADERS"
   12839 
   12840 
   12841 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12842 shift
   12843 for ac_tag
   12844 do
   12845   case $ac_tag in
   12846   :[FHLC]) ac_mode=$ac_tag; continue;;
   12847   esac
   12848   case $ac_mode$ac_tag in
   12849   :[FHL]*:*);;
   12850   :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
   12851   :[FH]-) ac_tag=-:-;;
   12852   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12853   esac
   12854   ac_save_IFS=$IFS
   12855   IFS=:
   12856   set x $ac_tag
   12857   IFS=$ac_save_IFS
   12858   shift
   12859   ac_file=$1
   12860   shift
   12861 
   12862   case $ac_mode in
   12863   :L) ac_source=$1;;
   12864   :[FH])
   12865     ac_file_inputs=
   12866     for ac_f
   12867     do
   12868       case $ac_f in
   12869       -) ac_f="$ac_tmp/stdin";;
   12870       *) # Look for the file first in the build tree, then in the source tree
   12871 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12872 	 # because $ac_f cannot contain ':'.
   12873 	 test -f "$ac_f" ||
   12874 	   case $ac_f in
   12875 	   [\\/$]*) false;;
   12876 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12877 	   esac ||
   12878 	   as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
   12879       esac
   12880       case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12881       as_fn_append ac_file_inputs " '$ac_f'"
   12882     done
   12883 
   12884     # Let's still pretend it is 'configure' which instantiates (i.e., don't
   12885     # use $as_me), people would be surprised to read:
   12886     #    /* config.h.  Generated by config.status.  */
   12887     configure_input='Generated from '`
   12888 	  printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12889 	`' by configure.'
   12890     if test x"$ac_file" != x-; then
   12891       configure_input="$ac_file.  $configure_input"
   12892       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12893 printf "%s\n" "$as_me: creating $ac_file" >&6;}
   12894     fi
   12895     # Neutralize special characters interpreted by sed in replacement strings.
   12896     case $configure_input in #(
   12897     *\&* | *\|* | *\\* )
   12898        ac_sed_conf_input=`printf "%s\n" "$configure_input" |
   12899        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12900     *) ac_sed_conf_input=$configure_input;;
   12901     esac
   12902 
   12903     case $ac_tag in
   12904     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12905       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12906     esac
   12907     ;;
   12908   esac
   12909 
   12910   ac_dir=`$as_dirname -- "$ac_file" ||
   12911 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12912 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12913 	 X"$ac_file" : 'X\(//\)$' \| \
   12914 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12915 printf "%s\n" X"$ac_file" |
   12916     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12917 	    s//\1/
   12918 	    q
   12919 	  }
   12920 	  /^X\(\/\/\)[^/].*/{
   12921 	    s//\1/
   12922 	    q
   12923 	  }
   12924 	  /^X\(\/\/\)$/{
   12925 	    s//\1/
   12926 	    q
   12927 	  }
   12928 	  /^X\(\/\).*/{
   12929 	    s//\1/
   12930 	    q
   12931 	  }
   12932 	  s/.*/./; q'`
   12933   as_dir="$ac_dir"; as_fn_mkdir_p
   12934   ac_builddir=.
   12935 
   12936 case "$ac_dir" in
   12937 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12938 *)
   12939   ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
   12940   # A ".." for each directory in $ac_dir_suffix.
   12941   ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12942   case $ac_top_builddir_sub in
   12943   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12944   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12945   esac ;;
   12946 esac
   12947 ac_abs_top_builddir=$ac_pwd
   12948 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12949 # for backward compatibility:
   12950 ac_top_builddir=$ac_top_build_prefix
   12951 
   12952 case $srcdir in
   12953   .)  # We are building in place.
   12954     ac_srcdir=.
   12955     ac_top_srcdir=$ac_top_builddir_sub
   12956     ac_abs_top_srcdir=$ac_pwd ;;
   12957   [\\/]* | ?:[\\/]* )  # Absolute name.
   12958     ac_srcdir=$srcdir$ac_dir_suffix;
   12959     ac_top_srcdir=$srcdir
   12960     ac_abs_top_srcdir=$srcdir ;;
   12961   *) # Relative name.
   12962     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12963     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12964     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12965 esac
   12966 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12967 
   12968 
   12969   case $ac_mode in
   12970   :F)
   12971   #
   12972   # CONFIG_FILE
   12973   #
   12974 
   12975   case $INSTALL in
   12976   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12977   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12978   esac
   12979   ac_MKDIR_P=$MKDIR_P
   12980   case $MKDIR_P in
   12981   [\\/$]* | ?:[\\/]* ) ;;
   12982   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12983   esac
   12984 _ACEOF
   12985 
   12986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12987 # If the template does not know about datarootdir, expand it.
   12988 # FIXME: This hack should be removed a few years after 2.60.
   12989 ac_datarootdir_hack=; ac_datarootdir_seen=
   12990 ac_sed_dataroot='
   12991 /datarootdir/ {
   12992   p
   12993   q
   12994 }
   12995 /@datadir@/p
   12996 /@docdir@/p
   12997 /@infodir@/p
   12998 /@localedir@/p
   12999 /@mandir@/p'
   13000 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   13001 *datarootdir*) ac_datarootdir_seen=yes;;
   13002 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   13003   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   13004 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   13005 _ACEOF
   13006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13007   ac_datarootdir_hack='
   13008   s&@datadir@&$datadir&g
   13009   s&@docdir@&$docdir&g
   13010   s&@infodir@&$infodir&g
   13011   s&@localedir@&$localedir&g
   13012   s&@mandir@&$mandir&g
   13013   s&\\\${datarootdir}&$datarootdir&g' ;;
   13014 esac
   13015 _ACEOF
   13016 
   13017 # Neutralize VPATH when '$srcdir' = '.'.
   13018 # Shell code in configure.ac might set extrasub.
   13019 # FIXME: do we really want to maintain this feature?
   13020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   13021 ac_sed_extra="$ac_vpsub
   13022 $extrasub
   13023 _ACEOF
   13024 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   13025 :t
   13026 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   13027 s|@configure_input@|$ac_sed_conf_input|;t t
   13028 s&@top_builddir@&$ac_top_builddir_sub&;t t
   13029 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   13030 s&@srcdir@&$ac_srcdir&;t t
   13031 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   13032 s&@top_srcdir@&$ac_top_srcdir&;t t
   13033 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   13034 s&@builddir@&$ac_builddir&;t t
   13035 s&@abs_builddir@&$ac_abs_builddir&;t t
   13036 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   13037 s&@INSTALL@&$ac_INSTALL&;t t
   13038 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   13039 $ac_datarootdir_hack
   13040 "
   13041 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   13042   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13043 
   13044 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   13045   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   13046   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   13047       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   13048   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13049 which seems to be undefined.  Please make sure it is defined" >&5
   13050 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
   13051 which seems to be undefined.  Please make sure it is defined" >&2;}
   13052 
   13053   rm -f "$ac_tmp/stdin"
   13054   case $ac_file in
   13055   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   13056   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   13057   esac \
   13058   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13059  ;;
   13060   :H)
   13061   #
   13062   # CONFIG_HEADER
   13063   #
   13064   if test x"$ac_file" != x-; then
   13065     {
   13066       printf "%s\n" "/* $configure_input  */" >&1 \
   13067       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   13068     } >"$ac_tmp/config.h" \
   13069       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13070     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   13071       { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   13072 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
   13073     else
   13074       rm -f "$ac_file"
   13075       mv "$ac_tmp/config.h" "$ac_file" \
   13076 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   13077     fi
   13078   else
   13079     printf "%s\n" "/* $configure_input  */" >&1 \
   13080       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   13081       || as_fn_error $? "could not create -" "$LINENO" 5
   13082   fi
   13083 # Compute "$ac_file"'s index in $config_headers.
   13084 _am_arg="$ac_file"
   13085 _am_stamp_count=1
   13086 for _am_header in $config_headers :; do
   13087   case $_am_header in
   13088     $_am_arg | $_am_arg:* )
   13089       break ;;
   13090     * )
   13091       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   13092   esac
   13093 done
   13094 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   13095 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13096 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   13097 	 X"$_am_arg" : 'X\(//\)$' \| \
   13098 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   13099 printf "%s\n" X"$_am_arg" |
   13100     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13101 	    s//\1/
   13102 	    q
   13103 	  }
   13104 	  /^X\(\/\/\)[^/].*/{
   13105 	    s//\1/
   13106 	    q
   13107 	  }
   13108 	  /^X\(\/\/\)$/{
   13109 	    s//\1/
   13110 	    q
   13111 	  }
   13112 	  /^X\(\/\).*/{
   13113 	    s//\1/
   13114 	    q
   13115 	  }
   13116 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   13117  ;;
   13118 
   13119   :C)  { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   13120 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
   13121  ;;
   13122   esac
   13123 
   13124 
   13125   case $ac_file$ac_mode in
   13126     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   13127   # Older Autoconf quotes --file arguments for eval, but not when files
   13128   # are listed without --file.  Let's play safe and only enable the eval
   13129   # if we detect the quoting.
   13130   # TODO: see whether this extra hack can be removed once we start
   13131   # requiring Autoconf 2.70 or later.
   13132   case $CONFIG_FILES in #(
   13133   *\'*) :
   13134     eval set x "$CONFIG_FILES" ;; #(
   13135   *) :
   13136     set x $CONFIG_FILES ;; #(
   13137   *) :
   13138      ;;
   13139 esac
   13140   shift
   13141   # Used to flag and report bootstrapping failures.
   13142   am_rc=0
   13143   for am_mf
   13144   do
   13145     # Strip MF so we end up with the name of the file.
   13146     am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
   13147     # Check whether this is an Automake generated Makefile which includes
   13148     # dependency-tracking related rules and includes.
   13149     # Grep'ing the whole file directly is not great: AIX grep has a line
   13150     # limit of 2048, but all sed's we know have understand at least 4000.
   13151     sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
   13152       || continue
   13153     am_dirpart=`$as_dirname -- "$am_mf" ||
   13154 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   13155 	 X"$am_mf" : 'X\(//\)[^/]' \| \
   13156 	 X"$am_mf" : 'X\(//\)$' \| \
   13157 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13158 printf "%s\n" X"$am_mf" |
   13159     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   13160 	    s//\1/
   13161 	    q
   13162 	  }
   13163 	  /^X\(\/\/\)[^/].*/{
   13164 	    s//\1/
   13165 	    q
   13166 	  }
   13167 	  /^X\(\/\/\)$/{
   13168 	    s//\1/
   13169 	    q
   13170 	  }
   13171 	  /^X\(\/\).*/{
   13172 	    s//\1/
   13173 	    q
   13174 	  }
   13175 	  s/.*/./; q'`
   13176     am_filepart=`$as_basename -- "$am_mf" ||
   13177 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
   13178 	 X"$am_mf" : 'X\(//\)$' \| \
   13179 	 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
   13180 printf "%s\n" X/"$am_mf" |
   13181     sed '/^.*\/\([^/][^/]*\)\/*$/{
   13182 	    s//\1/
   13183 	    q
   13184 	  }
   13185 	  /^X\/\(\/\/\)$/{
   13186 	    s//\1/
   13187 	    q
   13188 	  }
   13189 	  /^X\/\(\/\).*/{
   13190 	    s//\1/
   13191 	    q
   13192 	  }
   13193 	  s/.*/./; q'`
   13194     { echo "$as_me:$LINENO: cd "$am_dirpart" \
   13195       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13196         | $MAKE -f - am--depfiles" >&5
   13197    (cd "$am_dirpart" \
   13198       && sed -e '/# am--include-marker/d' "$am_filepart" \
   13199         | $MAKE -f - am--depfiles) >&5 2>&5
   13200    ac_status=$?
   13201    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13202    (exit $ac_status); } || am_rc=$?
   13203   done
   13204   if test $am_rc -ne 0; then
   13205     { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
   13206 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
   13207 as_fn_error $? "Something went wrong bootstrapping makefile fragments
   13208     for automatic dependency tracking.  If GNU make was not used, consider
   13209     re-running the configure script with MAKE=\"gmake\" (or whatever is
   13210     necessary).  You can also try re-running configure with the
   13211     '--disable-dependency-tracking' option to at least be able to build
   13212     the package (albeit without support for automatic dependency tracking).
   13213 See 'config.log' for more details" "$LINENO" 5; }
   13214   fi
   13215   { am_dirpart=; unset am_dirpart;}
   13216   { am_filepart=; unset am_filepart;}
   13217   { am_mf=; unset am_mf;}
   13218   { am_rc=; unset am_rc;}
   13219   rm -f conftest-deps.mk
   13220 }
   13221  ;;
   13222 
   13223   esac
   13224 done # for ac_tag
   13225 
   13226 
   13227 as_fn_exit 0
   13228 _ACEOF
   13229 ac_clean_files=$ac_clean_files_save
   13230 
   13231 test $ac_write_fail = 0 ||
   13232   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   13233 
   13234 
   13235 # configure is writing to config.log, and then calls config.status.
   13236 # config.status does its own redirection, appending to config.log.
   13237 # Unfortunately, on DOS this fails, as config.log is still kept open
   13238 # by configure, so config.status won't be able to write to it; its
   13239 # output is simply discarded.  So we exec the FD to /dev/null,
   13240 # effectively closing config.log, so it can be properly (re)opened and
   13241 # appended to by config.status.  When coming back to configure, we
   13242 # need to make the FD available again.
   13243 if test "$no_create" != yes; then
   13244   ac_cs_success=:
   13245   ac_config_status_args=
   13246   test "$silent" = yes &&
   13247     ac_config_status_args="$ac_config_status_args --quiet"
   13248   exec 5>/dev/null
   13249   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   13250   exec 5>>config.log
   13251   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   13252   # would make configure fail if this is the last instruction.
   13253   $ac_cs_success || as_fn_exit 1
   13254 fi
   13255 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   13256   { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   13257 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   13258 fi
   13259 
   13260 
   13261