Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xmodmap 1.0.10.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmodmap/issues>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    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   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1"
    202   if (eval "$as_required") 2>/dev/null; then :
    203   as_have_required=yes
    204 else
    205   as_have_required=no
    206 fi
    207   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    208 
    209 else
    210   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    211 as_found=false
    212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    213 do
    214   IFS=$as_save_IFS
    215   test -z "$as_dir" && as_dir=.
    216   as_found=:
    217   case $as_dir in #(
    218 	 /*)
    219 	   for as_base in sh bash ksh sh5; do
    220 	     # Try only shells that exist, to save several forks.
    221 	     as_shell=$as_dir/$as_base
    222 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    223 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    224   CONFIG_SHELL=$as_shell as_have_required=yes
    225 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    226   break 2
    227 fi
    228 fi
    229 	   done;;
    230        esac
    231   as_found=false
    232 done
    233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    234 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    235   CONFIG_SHELL=$SHELL as_have_required=yes
    236 fi; }
    237 IFS=$as_save_IFS
    238 
    239 
    240       if test "x$CONFIG_SHELL" != x; then :
    241   export CONFIG_SHELL
    242              # We cannot yet assume a decent shell, so we have to provide a
    243 # neutralization value for shells without unset; and this also
    244 # works around shells that cannot unset nonexistent variables.
    245 # Preserve -v and -x to the replacement shell.
    246 BASH_ENV=/dev/null
    247 ENV=/dev/null
    248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    249 case $- in # ((((
    250   *v*x* | *x*v* ) as_opts=-vx ;;
    251   *v* ) as_opts=-v ;;
    252   *x* ) as_opts=-x ;;
    253   * ) as_opts= ;;
    254 esac
    255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    256 # Admittedly, this is quite paranoid, since all the known shells bail
    257 # out after a failed `exec'.
    258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    259 exit 255
    260 fi
    261 
    262     if test x$as_have_required = xno; then :
    263   $as_echo "$0: This script requires a shell more modern than all"
    264   $as_echo "$0: the shells that I found on your system."
    265   if test x${ZSH_VERSION+set} = xset ; then
    266     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    267     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    268   else
    269     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    270 $0: https://gitlab.freedesktop.org/xorg/app/xmodmap/issues
    271 $0: about your system, including any error possibly output
    272 $0: before this message. Then install a modern shell, or
    273 $0: manually run the script under such a shell if you do
    274 $0: have one."
    275   fi
    276   exit 1
    277 fi
    278 fi
    279 fi
    280 SHELL=${CONFIG_SHELL-/bin/sh}
    281 export SHELL
    282 # Unset more variables known to interfere with behavior of common tools.
    283 CLICOLOR_FORCE= GREP_OPTIONS=
    284 unset CLICOLOR_FORCE GREP_OPTIONS
    285 
    286 ## --------------------- ##
    287 ## M4sh Shell Functions. ##
    288 ## --------------------- ##
    289 # as_fn_unset VAR
    290 # ---------------
    291 # Portably unset VAR.
    292 as_fn_unset ()
    293 {
    294   { eval $1=; unset $1;}
    295 }
    296 as_unset=as_fn_unset
    297 
    298 # as_fn_set_status STATUS
    299 # -----------------------
    300 # Set $? to STATUS, without forking.
    301 as_fn_set_status ()
    302 {
    303   return $1
    304 } # as_fn_set_status
    305 
    306 # as_fn_exit STATUS
    307 # -----------------
    308 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    309 as_fn_exit ()
    310 {
    311   set +e
    312   as_fn_set_status $1
    313   exit $1
    314 } # as_fn_exit
    315 
    316 # as_fn_mkdir_p
    317 # -------------
    318 # Create "$as_dir" as a directory, including parents if necessary.
    319 as_fn_mkdir_p ()
    320 {
    321 
    322   case $as_dir in #(
    323   -*) as_dir=./$as_dir;;
    324   esac
    325   test -d "$as_dir" || eval $as_mkdir_p || {
    326     as_dirs=
    327     while :; do
    328       case $as_dir in #(
    329       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    330       *) as_qdir=$as_dir;;
    331       esac
    332       as_dirs="'$as_qdir' $as_dirs"
    333       as_dir=`$as_dirname -- "$as_dir" ||
    334 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    335 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    336 	 X"$as_dir" : 'X\(//\)$' \| \
    337 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    338 $as_echo X"$as_dir" |
    339     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    340 	    s//\1/
    341 	    q
    342 	  }
    343 	  /^X\(\/\/\)[^/].*/{
    344 	    s//\1/
    345 	    q
    346 	  }
    347 	  /^X\(\/\/\)$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\).*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  s/.*/./; q'`
    356       test -d "$as_dir" && break
    357     done
    358     test -z "$as_dirs" || eval "mkdir $as_dirs"
    359   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    360 
    361 
    362 } # as_fn_mkdir_p
    363 
    364 # as_fn_executable_p FILE
    365 # -----------------------
    366 # Test if FILE is an executable regular file.
    367 as_fn_executable_p ()
    368 {
    369   test -f "$1" && test -x "$1"
    370 } # as_fn_executable_p
    371 # as_fn_append VAR VALUE
    372 # ----------------------
    373 # Append the text in VALUE to the end of the definition contained in VAR. Take
    374 # advantage of any shell optimizations that allow amortized linear growth over
    375 # repeated appends, instead of the typical quadratic growth present in naive
    376 # implementations.
    377 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    378   eval 'as_fn_append ()
    379   {
    380     eval $1+=\$2
    381   }'
    382 else
    383   as_fn_append ()
    384   {
    385     eval $1=\$$1\$2
    386   }
    387 fi # as_fn_append
    388 
    389 # as_fn_arith ARG...
    390 # ------------------
    391 # Perform arithmetic evaluation on the ARGs, and store the result in the
    392 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    393 # must be portable across $(()) and expr.
    394 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    395   eval 'as_fn_arith ()
    396   {
    397     as_val=$(( $* ))
    398   }'
    399 else
    400   as_fn_arith ()
    401   {
    402     as_val=`expr "$@" || test $? -eq 1`
    403   }
    404 fi # as_fn_arith
    405 
    406 
    407 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    408 # ----------------------------------------
    409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    411 # script with STATUS, using 1 if that was 0.
    412 as_fn_error ()
    413 {
    414   as_status=$1; test $as_status -eq 0 && as_status=1
    415   if test "$4"; then
    416     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    417     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    418   fi
    419   $as_echo "$as_me: error: $2" >&2
    420   as_fn_exit $as_status
    421 } # as_fn_error
    422 
    423 if expr a : '\(a\)' >/dev/null 2>&1 &&
    424    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    425   as_expr=expr
    426 else
    427   as_expr=false
    428 fi
    429 
    430 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    431   as_basename=basename
    432 else
    433   as_basename=false
    434 fi
    435 
    436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    437   as_dirname=dirname
    438 else
    439   as_dirname=false
    440 fi
    441 
    442 as_me=`$as_basename -- "$0" ||
    443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    444 	 X"$0" : 'X\(//\)$' \| \
    445 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    446 $as_echo X/"$0" |
    447     sed '/^.*\/\([^/][^/]*\)\/*$/{
    448 	    s//\1/
    449 	    q
    450 	  }
    451 	  /^X\/\(\/\/\)$/{
    452 	    s//\1/
    453 	    q
    454 	  }
    455 	  /^X\/\(\/\).*/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  s/.*/./; q'`
    460 
    461 # Avoid depending upon Character Ranges.
    462 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    463 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    464 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    465 as_cr_digits='0123456789'
    466 as_cr_alnum=$as_cr_Letters$as_cr_digits
    467 
    468 
    469   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    470   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    471   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    472   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    473   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    474   sed -n '
    475     p
    476     /[$]LINENO/=
    477   ' <$as_myself |
    478     sed '
    479       s/[$]LINENO.*/&-/
    480       t lineno
    481       b
    482       :lineno
    483       N
    484       :loop
    485       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    486       t loop
    487       s/-\n.*//
    488     ' >$as_me.lineno &&
    489   chmod +x "$as_me.lineno" ||
    490     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    491 
    492   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    493   # already done that, so ensure we don't try to do so again and fall
    494   # in an infinite loop.  This has already happened in practice.
    495   _as_can_reexec=no; export _as_can_reexec
    496   # Don't try to exec as it changes $[0], causing all sort of problems
    497   # (the dirname of $[0] is not the place where we might find the
    498   # original and so on.  Autoconf is especially sensitive to this).
    499   . "./$as_me.lineno"
    500   # Exit status is that of the last command.
    501   exit
    502 }
    503 
    504 ECHO_C= ECHO_N= ECHO_T=
    505 case `echo -n x` in #(((((
    506 -n*)
    507   case `echo 'xy\c'` in
    508   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    509   xy)  ECHO_C='\c';;
    510   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    511        ECHO_T='	';;
    512   esac;;
    513 *)
    514   ECHO_N='-n';;
    515 esac
    516 
    517 rm -f conf$$ conf$$.exe conf$$.file
    518 if test -d conf$$.dir; then
    519   rm -f conf$$.dir/conf$$.file
    520 else
    521   rm -f conf$$.dir
    522   mkdir conf$$.dir 2>/dev/null
    523 fi
    524 if (echo >conf$$.file) 2>/dev/null; then
    525   if ln -s conf$$.file conf$$ 2>/dev/null; then
    526     as_ln_s='ln -s'
    527     # ... but there are two gotchas:
    528     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    529     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    530     # In both cases, we have to default to `cp -pR'.
    531     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    532       as_ln_s='cp -pR'
    533   elif ln conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s=ln
    535   else
    536     as_ln_s='cp -pR'
    537   fi
    538 else
    539   as_ln_s='cp -pR'
    540 fi
    541 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    542 rmdir conf$$.dir 2>/dev/null
    543 
    544 if mkdir -p . 2>/dev/null; then
    545   as_mkdir_p='mkdir -p "$as_dir"'
    546 else
    547   test -d ./-p && rmdir ./-p
    548   as_mkdir_p=false
    549 fi
    550 
    551 as_test_x='test -x'
    552 as_executable_p=as_fn_executable_p
    553 
    554 # Sed expression to map a string onto a valid CPP name.
    555 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    556 
    557 # Sed expression to map a string onto a valid variable name.
    558 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    559 
    560 
    561 test -n "$DJDIR" || exec 7<&0 </dev/null
    562 exec 6>&1
    563 
    564 # Name of the host.
    565 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    566 # so uname gets run too.
    567 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    568 
    569 #
    570 # Initializations.
    571 #
    572 ac_default_prefix=/usr/local
    573 ac_clean_files=
    574 ac_config_libobj_dir=.
    575 LIBOBJS=
    576 cross_compiling=no
    577 subdirs=
    578 MFLAGS=
    579 MAKEFLAGS=
    580 
    581 # Identity of this package.
    582 PACKAGE_NAME='xmodmap'
    583 PACKAGE_TARNAME='xmodmap'
    584 PACKAGE_VERSION='1.0.10'
    585 PACKAGE_STRING='xmodmap 1.0.10'
    586 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/app/xmodmap/issues'
    587 PACKAGE_URL=''
    588 
    589 ac_unique_file="Makefile.am"
    590 # Factoring default headers for most tests.
    591 ac_includes_default="\
    592 #include <stdio.h>
    593 #ifdef HAVE_SYS_TYPES_H
    594 # include <sys/types.h>
    595 #endif
    596 #ifdef HAVE_SYS_STAT_H
    597 # include <sys/stat.h>
    598 #endif
    599 #ifdef STDC_HEADERS
    600 # include <stdlib.h>
    601 # include <stddef.h>
    602 #else
    603 # ifdef HAVE_STDLIB_H
    604 #  include <stdlib.h>
    605 # endif
    606 #endif
    607 #ifdef HAVE_STRING_H
    608 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    609 #  include <memory.h>
    610 # endif
    611 # include <string.h>
    612 #endif
    613 #ifdef HAVE_STRINGS_H
    614 # include <strings.h>
    615 #endif
    616 #ifdef HAVE_INTTYPES_H
    617 # include <inttypes.h>
    618 #endif
    619 #ifdef HAVE_STDINT_H
    620 # include <stdint.h>
    621 #endif
    622 #ifdef HAVE_UNISTD_H
    623 # include <unistd.h>
    624 #endif"
    625 
    626 ac_subst_vars='am__EXEEXT_FALSE
    627 am__EXEEXT_TRUE
    628 LTLIBOBJS
    629 LIBOBJS
    630 LINT_FALSE
    631 LINT_TRUE
    632 LINT_FLAGS
    633 LINT
    634 XMODMAP_LIBS
    635 XMODMAP_CFLAGS
    636 MAN_SUBSTS
    637 XORG_MAN_PAGE
    638 ADMIN_MAN_DIR
    639 DRIVER_MAN_DIR
    640 MISC_MAN_DIR
    641 FILE_MAN_DIR
    642 LIB_MAN_DIR
    643 APP_MAN_DIR
    644 ADMIN_MAN_SUFFIX
    645 DRIVER_MAN_SUFFIX
    646 MISC_MAN_SUFFIX
    647 FILE_MAN_SUFFIX
    648 LIB_MAN_SUFFIX
    649 APP_MAN_SUFFIX
    650 SED
    651 host_os
    652 host_vendor
    653 host_cpu
    654 host
    655 build_os
    656 build_vendor
    657 build_cpu
    658 build
    659 INSTALL_CMD
    660 PKG_CONFIG_LIBDIR
    661 PKG_CONFIG_PATH
    662 PKG_CONFIG
    663 CHANGELOG_CMD
    664 STRICT_CFLAGS
    665 CWARNFLAGS
    666 BASE_CFLAGS
    667 AM_BACKSLASH
    668 AM_DEFAULT_VERBOSITY
    669 AM_DEFAULT_V
    670 AM_V
    671 am__fastdepCC_FALSE
    672 am__fastdepCC_TRUE
    673 CCDEPMODE
    674 am__nodep
    675 AMDEPBACKSLASH
    676 AMDEP_FALSE
    677 AMDEP_TRUE
    678 am__quote
    679 am__include
    680 DEPDIR
    681 am__untar
    682 am__tar
    683 AMTAR
    684 am__leading_dot
    685 SET_MAKE
    686 AWK
    687 mkdir_p
    688 MKDIR_P
    689 INSTALL_STRIP_PROGRAM
    690 STRIP
    691 install_sh
    692 MAKEINFO
    693 AUTOHEADER
    694 AUTOMAKE
    695 AUTOCONF
    696 ACLOCAL
    697 VERSION
    698 PACKAGE
    699 CYGPATH_W
    700 am__isrc
    701 INSTALL_DATA
    702 INSTALL_SCRIPT
    703 INSTALL_PROGRAM
    704 EGREP
    705 GREP
    706 CPP
    707 OBJEXT
    708 EXEEXT
    709 ac_ct_CC
    710 CPPFLAGS
    711 LDFLAGS
    712 CFLAGS
    713 CC
    714 target_alias
    715 host_alias
    716 build_alias
    717 LIBS
    718 ECHO_T
    719 ECHO_N
    720 ECHO_C
    721 DEFS
    722 mandir
    723 localedir
    724 libdir
    725 psdir
    726 pdfdir
    727 dvidir
    728 htmldir
    729 infodir
    730 docdir
    731 oldincludedir
    732 includedir
    733 localstatedir
    734 sharedstatedir
    735 sysconfdir
    736 datadir
    737 datarootdir
    738 libexecdir
    739 sbindir
    740 bindir
    741 program_transform_name
    742 prefix
    743 exec_prefix
    744 PACKAGE_URL
    745 PACKAGE_BUGREPORT
    746 PACKAGE_STRING
    747 PACKAGE_VERSION
    748 PACKAGE_TARNAME
    749 PACKAGE_NAME
    750 PATH_SEPARATOR
    751 SHELL'
    752 ac_subst_files=''
    753 ac_user_opts='
    754 enable_option_checking
    755 enable_dependency_tracking
    756 enable_silent_rules
    757 enable_selective_werror
    758 enable_strict_compilation
    759 with_lint
    760 '
    761       ac_precious_vars='build_alias
    762 host_alias
    763 target_alias
    764 CC
    765 CFLAGS
    766 LDFLAGS
    767 LIBS
    768 CPPFLAGS
    769 CPP
    770 PKG_CONFIG
    771 PKG_CONFIG_PATH
    772 PKG_CONFIG_LIBDIR
    773 XMODMAP_CFLAGS
    774 XMODMAP_LIBS
    775 LINT
    776 LINT_FLAGS'
    777 
    778 
    779 # Initialize some variables set by options.
    780 ac_init_help=
    781 ac_init_version=false
    782 ac_unrecognized_opts=
    783 ac_unrecognized_sep=
    784 # The variables have the same names as the options, with
    785 # dashes changed to underlines.
    786 cache_file=/dev/null
    787 exec_prefix=NONE
    788 no_create=
    789 no_recursion=
    790 prefix=NONE
    791 program_prefix=NONE
    792 program_suffix=NONE
    793 program_transform_name=s,x,x,
    794 silent=
    795 site=
    796 srcdir=
    797 verbose=
    798 x_includes=NONE
    799 x_libraries=NONE
    800 
    801 # Installation directory options.
    802 # These are left unexpanded so users can "make install exec_prefix=/foo"
    803 # and all the variables that are supposed to be based on exec_prefix
    804 # by default will actually change.
    805 # Use braces instead of parens because sh, perl, etc. also accept them.
    806 # (The list follows the same order as the GNU Coding Standards.)
    807 bindir='${exec_prefix}/bin'
    808 sbindir='${exec_prefix}/sbin'
    809 libexecdir='${exec_prefix}/libexec'
    810 datarootdir='${prefix}/share'
    811 datadir='${datarootdir}'
    812 sysconfdir='${prefix}/etc'
    813 sharedstatedir='${prefix}/com'
    814 localstatedir='${prefix}/var'
    815 includedir='${prefix}/include'
    816 oldincludedir='/usr/include'
    817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    818 infodir='${datarootdir}/info'
    819 htmldir='${docdir}'
    820 dvidir='${docdir}'
    821 pdfdir='${docdir}'
    822 psdir='${docdir}'
    823 libdir='${exec_prefix}/lib'
    824 localedir='${datarootdir}/locale'
    825 mandir='${datarootdir}/man'
    826 
    827 ac_prev=
    828 ac_dashdash=
    829 for ac_option
    830 do
    831   # If the previous option needs an argument, assign it.
    832   if test -n "$ac_prev"; then
    833     eval $ac_prev=\$ac_option
    834     ac_prev=
    835     continue
    836   fi
    837 
    838   case $ac_option in
    839   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    840   *=)   ac_optarg= ;;
    841   *)    ac_optarg=yes ;;
    842   esac
    843 
    844   # Accept the important Cygnus configure options, so we can diagnose typos.
    845 
    846   case $ac_dashdash$ac_option in
    847   --)
    848     ac_dashdash=yes ;;
    849 
    850   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    851     ac_prev=bindir ;;
    852   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    853     bindir=$ac_optarg ;;
    854 
    855   -build | --build | --buil | --bui | --bu)
    856     ac_prev=build_alias ;;
    857   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    858     build_alias=$ac_optarg ;;
    859 
    860   -cache-file | --cache-file | --cache-fil | --cache-fi \
    861   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    862     ac_prev=cache_file ;;
    863   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    864   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    865     cache_file=$ac_optarg ;;
    866 
    867   --config-cache | -C)
    868     cache_file=config.cache ;;
    869 
    870   -datadir | --datadir | --datadi | --datad)
    871     ac_prev=datadir ;;
    872   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    873     datadir=$ac_optarg ;;
    874 
    875   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    876   | --dataroo | --dataro | --datar)
    877     ac_prev=datarootdir ;;
    878   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    879   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    880     datarootdir=$ac_optarg ;;
    881 
    882   -disable-* | --disable-*)
    883     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    884     # Reject names that are not valid shell variable names.
    885     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    886       as_fn_error $? "invalid feature name: $ac_useropt"
    887     ac_useropt_orig=$ac_useropt
    888     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    889     case $ac_user_opts in
    890       *"
    891 "enable_$ac_useropt"
    892 "*) ;;
    893       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    894 	 ac_unrecognized_sep=', ';;
    895     esac
    896     eval enable_$ac_useropt=no ;;
    897 
    898   -docdir | --docdir | --docdi | --doc | --do)
    899     ac_prev=docdir ;;
    900   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    901     docdir=$ac_optarg ;;
    902 
    903   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    904     ac_prev=dvidir ;;
    905   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    906     dvidir=$ac_optarg ;;
    907 
    908   -enable-* | --enable-*)
    909     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    910     # Reject names that are not valid shell variable names.
    911     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    912       as_fn_error $? "invalid feature name: $ac_useropt"
    913     ac_useropt_orig=$ac_useropt
    914     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    915     case $ac_user_opts in
    916       *"
    917 "enable_$ac_useropt"
    918 "*) ;;
    919       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    920 	 ac_unrecognized_sep=', ';;
    921     esac
    922     eval enable_$ac_useropt=\$ac_optarg ;;
    923 
    924   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    925   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    926   | --exec | --exe | --ex)
    927     ac_prev=exec_prefix ;;
    928   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    929   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    930   | --exec=* | --exe=* | --ex=*)
    931     exec_prefix=$ac_optarg ;;
    932 
    933   -gas | --gas | --ga | --g)
    934     # Obsolete; use --with-gas.
    935     with_gas=yes ;;
    936 
    937   -help | --help | --hel | --he | -h)
    938     ac_init_help=long ;;
    939   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    940     ac_init_help=recursive ;;
    941   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    942     ac_init_help=short ;;
    943 
    944   -host | --host | --hos | --ho)
    945     ac_prev=host_alias ;;
    946   -host=* | --host=* | --hos=* | --ho=*)
    947     host_alias=$ac_optarg ;;
    948 
    949   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    950     ac_prev=htmldir ;;
    951   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    952   | --ht=*)
    953     htmldir=$ac_optarg ;;
    954 
    955   -includedir | --includedir | --includedi | --included | --include \
    956   | --includ | --inclu | --incl | --inc)
    957     ac_prev=includedir ;;
    958   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    959   | --includ=* | --inclu=* | --incl=* | --inc=*)
    960     includedir=$ac_optarg ;;
    961 
    962   -infodir | --infodir | --infodi | --infod | --info | --inf)
    963     ac_prev=infodir ;;
    964   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    965     infodir=$ac_optarg ;;
    966 
    967   -libdir | --libdir | --libdi | --libd)
    968     ac_prev=libdir ;;
    969   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    970     libdir=$ac_optarg ;;
    971 
    972   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    973   | --libexe | --libex | --libe)
    974     ac_prev=libexecdir ;;
    975   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    976   | --libexe=* | --libex=* | --libe=*)
    977     libexecdir=$ac_optarg ;;
    978 
    979   -localedir | --localedir | --localedi | --localed | --locale)
    980     ac_prev=localedir ;;
    981   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    982     localedir=$ac_optarg ;;
    983 
    984   -localstatedir | --localstatedir | --localstatedi | --localstated \
    985   | --localstate | --localstat | --localsta | --localst | --locals)
    986     ac_prev=localstatedir ;;
    987   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    988   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    989     localstatedir=$ac_optarg ;;
    990 
    991   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    992     ac_prev=mandir ;;
    993   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    994     mandir=$ac_optarg ;;
    995 
    996   -nfp | --nfp | --nf)
    997     # Obsolete; use --without-fp.
    998     with_fp=no ;;
    999 
   1000   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1001   | --no-cr | --no-c | -n)
   1002     no_create=yes ;;
   1003 
   1004   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1005   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1006     no_recursion=yes ;;
   1007 
   1008   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1009   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1010   | --oldin | --oldi | --old | --ol | --o)
   1011     ac_prev=oldincludedir ;;
   1012   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1013   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1014   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1015     oldincludedir=$ac_optarg ;;
   1016 
   1017   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1018     ac_prev=prefix ;;
   1019   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1020     prefix=$ac_optarg ;;
   1021 
   1022   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1023   | --program-pre | --program-pr | --program-p)
   1024     ac_prev=program_prefix ;;
   1025   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1026   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1027     program_prefix=$ac_optarg ;;
   1028 
   1029   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1030   | --program-suf | --program-su | --program-s)
   1031     ac_prev=program_suffix ;;
   1032   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1033   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1034     program_suffix=$ac_optarg ;;
   1035 
   1036   -program-transform-name | --program-transform-name \
   1037   | --program-transform-nam | --program-transform-na \
   1038   | --program-transform-n | --program-transform- \
   1039   | --program-transform | --program-transfor \
   1040   | --program-transfo | --program-transf \
   1041   | --program-trans | --program-tran \
   1042   | --progr-tra | --program-tr | --program-t)
   1043     ac_prev=program_transform_name ;;
   1044   -program-transform-name=* | --program-transform-name=* \
   1045   | --program-transform-nam=* | --program-transform-na=* \
   1046   | --program-transform-n=* | --program-transform-=* \
   1047   | --program-transform=* | --program-transfor=* \
   1048   | --program-transfo=* | --program-transf=* \
   1049   | --program-trans=* | --program-tran=* \
   1050   | --progr-tra=* | --program-tr=* | --program-t=*)
   1051     program_transform_name=$ac_optarg ;;
   1052 
   1053   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1054     ac_prev=pdfdir ;;
   1055   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1056     pdfdir=$ac_optarg ;;
   1057 
   1058   -psdir | --psdir | --psdi | --psd | --ps)
   1059     ac_prev=psdir ;;
   1060   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1061     psdir=$ac_optarg ;;
   1062 
   1063   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1064   | -silent | --silent | --silen | --sile | --sil)
   1065     silent=yes ;;
   1066 
   1067   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1068     ac_prev=sbindir ;;
   1069   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1070   | --sbi=* | --sb=*)
   1071     sbindir=$ac_optarg ;;
   1072 
   1073   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1074   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1075   | --sharedst | --shareds | --shared | --share | --shar \
   1076   | --sha | --sh)
   1077     ac_prev=sharedstatedir ;;
   1078   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1079   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1080   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1081   | --sha=* | --sh=*)
   1082     sharedstatedir=$ac_optarg ;;
   1083 
   1084   -site | --site | --sit)
   1085     ac_prev=site ;;
   1086   -site=* | --site=* | --sit=*)
   1087     site=$ac_optarg ;;
   1088 
   1089   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1090     ac_prev=srcdir ;;
   1091   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1092     srcdir=$ac_optarg ;;
   1093 
   1094   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1095   | --syscon | --sysco | --sysc | --sys | --sy)
   1096     ac_prev=sysconfdir ;;
   1097   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1098   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1099     sysconfdir=$ac_optarg ;;
   1100 
   1101   -target | --target | --targe | --targ | --tar | --ta | --t)
   1102     ac_prev=target_alias ;;
   1103   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1104     target_alias=$ac_optarg ;;
   1105 
   1106   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1107     verbose=yes ;;
   1108 
   1109   -version | --version | --versio | --versi | --vers | -V)
   1110     ac_init_version=: ;;
   1111 
   1112   -with-* | --with-*)
   1113     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1114     # Reject names that are not valid shell variable names.
   1115     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1116       as_fn_error $? "invalid package name: $ac_useropt"
   1117     ac_useropt_orig=$ac_useropt
   1118     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1119     case $ac_user_opts in
   1120       *"
   1121 "with_$ac_useropt"
   1122 "*) ;;
   1123       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1124 	 ac_unrecognized_sep=', ';;
   1125     esac
   1126     eval with_$ac_useropt=\$ac_optarg ;;
   1127 
   1128   -without-* | --without-*)
   1129     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1130     # Reject names that are not valid shell variable names.
   1131     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1132       as_fn_error $? "invalid package name: $ac_useropt"
   1133     ac_useropt_orig=$ac_useropt
   1134     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1135     case $ac_user_opts in
   1136       *"
   1137 "with_$ac_useropt"
   1138 "*) ;;
   1139       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1140 	 ac_unrecognized_sep=', ';;
   1141     esac
   1142     eval with_$ac_useropt=no ;;
   1143 
   1144   --x)
   1145     # Obsolete; use --with-x.
   1146     with_x=yes ;;
   1147 
   1148   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1149   | --x-incl | --x-inc | --x-in | --x-i)
   1150     ac_prev=x_includes ;;
   1151   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1152   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1153     x_includes=$ac_optarg ;;
   1154 
   1155   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1156   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1157     ac_prev=x_libraries ;;
   1158   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1159   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1160     x_libraries=$ac_optarg ;;
   1161 
   1162   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1163 Try \`$0 --help' for more information"
   1164     ;;
   1165 
   1166   *=*)
   1167     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1168     # Reject names that are not valid shell variable names.
   1169     case $ac_envvar in #(
   1170       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1171       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1172     esac
   1173     eval $ac_envvar=\$ac_optarg
   1174     export $ac_envvar ;;
   1175 
   1176   *)
   1177     # FIXME: should be removed in autoconf 3.0.
   1178     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1179     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1180       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1181     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1182     ;;
   1183 
   1184   esac
   1185 done
   1186 
   1187 if test -n "$ac_prev"; then
   1188   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1189   as_fn_error $? "missing argument to $ac_option"
   1190 fi
   1191 
   1192 if test -n "$ac_unrecognized_opts"; then
   1193   case $enable_option_checking in
   1194     no) ;;
   1195     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1196     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1197   esac
   1198 fi
   1199 
   1200 # Check all directory arguments for consistency.
   1201 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1202 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1203 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1204 		libdir localedir mandir
   1205 do
   1206   eval ac_val=\$$ac_var
   1207   # Remove trailing slashes.
   1208   case $ac_val in
   1209     */ )
   1210       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1211       eval $ac_var=\$ac_val;;
   1212   esac
   1213   # Be sure to have absolute directory names.
   1214   case $ac_val in
   1215     [\\/$]* | ?:[\\/]* )  continue;;
   1216     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1217   esac
   1218   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1219 done
   1220 
   1221 # There might be people who depend on the old broken behavior: `$host'
   1222 # used to hold the argument of --host etc.
   1223 # FIXME: To remove some day.
   1224 build=$build_alias
   1225 host=$host_alias
   1226 target=$target_alias
   1227 
   1228 # FIXME: To remove some day.
   1229 if test "x$host_alias" != x; then
   1230   if test "x$build_alias" = x; then
   1231     cross_compiling=maybe
   1232   elif test "x$build_alias" != "x$host_alias"; then
   1233     cross_compiling=yes
   1234   fi
   1235 fi
   1236 
   1237 ac_tool_prefix=
   1238 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1239 
   1240 test "$silent" = yes && exec 6>/dev/null
   1241 
   1242 
   1243 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1244 ac_ls_di=`ls -di .` &&
   1245 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1246   as_fn_error $? "working directory cannot be determined"
   1247 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1248   as_fn_error $? "pwd does not report name of working directory"
   1249 
   1250 
   1251 # Find the source files, if location was not specified.
   1252 if test -z "$srcdir"; then
   1253   ac_srcdir_defaulted=yes
   1254   # Try the directory containing this script, then the parent directory.
   1255   ac_confdir=`$as_dirname -- "$as_myself" ||
   1256 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1257 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1258 	 X"$as_myself" : 'X\(//\)$' \| \
   1259 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1260 $as_echo X"$as_myself" |
   1261     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1262 	    s//\1/
   1263 	    q
   1264 	  }
   1265 	  /^X\(\/\/\)[^/].*/{
   1266 	    s//\1/
   1267 	    q
   1268 	  }
   1269 	  /^X\(\/\/\)$/{
   1270 	    s//\1/
   1271 	    q
   1272 	  }
   1273 	  /^X\(\/\).*/{
   1274 	    s//\1/
   1275 	    q
   1276 	  }
   1277 	  s/.*/./; q'`
   1278   srcdir=$ac_confdir
   1279   if test ! -r "$srcdir/$ac_unique_file"; then
   1280     srcdir=..
   1281   fi
   1282 else
   1283   ac_srcdir_defaulted=no
   1284 fi
   1285 if test ! -r "$srcdir/$ac_unique_file"; then
   1286   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1287   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1288 fi
   1289 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1290 ac_abs_confdir=`(
   1291 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1292 	pwd)`
   1293 # When building in place, set srcdir=.
   1294 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1295   srcdir=.
   1296 fi
   1297 # Remove unnecessary trailing slashes from srcdir.
   1298 # Double slashes in file names in object file debugging info
   1299 # mess up M-x gdb in Emacs.
   1300 case $srcdir in
   1301 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1302 esac
   1303 for ac_var in $ac_precious_vars; do
   1304   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1305   eval ac_env_${ac_var}_value=\$${ac_var}
   1306   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1307   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1308 done
   1309 
   1310 #
   1311 # Report the --help message.
   1312 #
   1313 if test "$ac_init_help" = "long"; then
   1314   # Omit some internal or obsolete options to make the list less imposing.
   1315   # This message is too long to be a string in the A/UX 3.1 sh.
   1316   cat <<_ACEOF
   1317 \`configure' configures xmodmap 1.0.10 to adapt to many kinds of systems.
   1318 
   1319 Usage: $0 [OPTION]... [VAR=VALUE]...
   1320 
   1321 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1322 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1323 
   1324 Defaults for the options are specified in brackets.
   1325 
   1326 Configuration:
   1327   -h, --help              display this help and exit
   1328       --help=short        display options specific to this package
   1329       --help=recursive    display the short help of all the included packages
   1330   -V, --version           display version information and exit
   1331   -q, --quiet, --silent   do not print \`checking ...' messages
   1332       --cache-file=FILE   cache test results in FILE [disabled]
   1333   -C, --config-cache      alias for \`--cache-file=config.cache'
   1334   -n, --no-create         do not create output files
   1335       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1336 
   1337 Installation directories:
   1338   --prefix=PREFIX         install architecture-independent files in PREFIX
   1339                           [$ac_default_prefix]
   1340   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1341                           [PREFIX]
   1342 
   1343 By default, \`make install' will install all the files in
   1344 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1345 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1346 for instance \`--prefix=\$HOME'.
   1347 
   1348 For better control, use the options below.
   1349 
   1350 Fine tuning of the installation directories:
   1351   --bindir=DIR            user executables [EPREFIX/bin]
   1352   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1353   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1354   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1355   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1356   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1357   --libdir=DIR            object code libraries [EPREFIX/lib]
   1358   --includedir=DIR        C header files [PREFIX/include]
   1359   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1360   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1361   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1362   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1363   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1364   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1365   --docdir=DIR            documentation root [DATAROOTDIR/doc/xmodmap]
   1366   --htmldir=DIR           html documentation [DOCDIR]
   1367   --dvidir=DIR            dvi documentation [DOCDIR]
   1368   --pdfdir=DIR            pdf documentation [DOCDIR]
   1369   --psdir=DIR             ps documentation [DOCDIR]
   1370 _ACEOF
   1371 
   1372   cat <<\_ACEOF
   1373 
   1374 Program names:
   1375   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1376   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1377   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1378 
   1379 System types:
   1380   --build=BUILD     configure for building on BUILD [guessed]
   1381   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1382 _ACEOF
   1383 fi
   1384 
   1385 if test -n "$ac_init_help"; then
   1386   case $ac_init_help in
   1387      short | recursive ) echo "Configuration of xmodmap 1.0.10:";;
   1388    esac
   1389   cat <<\_ACEOF
   1390 
   1391 Optional Features:
   1392   --disable-option-checking  ignore unrecognized --enable/--with options
   1393   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1394   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1395   --enable-dependency-tracking
   1396                           do not reject slow dependency extractors
   1397   --disable-dependency-tracking
   1398                           speeds up one-time build
   1399   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1400   --disable-silent-rules  verbose build output (undo: "make V=0")
   1401   --disable-selective-werror
   1402                           Turn off selective compiler errors. (default:
   1403                           enabled)
   1404   --enable-strict-compilation
   1405                           Enable all warnings from compiler and make them
   1406                           errors (default: disabled)
   1407 
   1408 Optional Packages:
   1409   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1410   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1411   --with-lint             Use a lint-style source code checker (default:
   1412                           disabled)
   1413 
   1414 Some influential environment variables:
   1415   CC          C compiler command
   1416   CFLAGS      C compiler flags
   1417   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1418               nonstandard directory <lib dir>
   1419   LIBS        libraries to pass to the linker, e.g. -l<library>
   1420   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1421               you have headers in a nonstandard directory <include dir>
   1422   CPP         C preprocessor
   1423   PKG_CONFIG  path to pkg-config utility
   1424   PKG_CONFIG_PATH
   1425               directories to add to pkg-config's search path
   1426   PKG_CONFIG_LIBDIR
   1427               path overriding pkg-config's built-in search path
   1428   XMODMAP_CFLAGS
   1429               C compiler flags for XMODMAP, overriding pkg-config
   1430   XMODMAP_LIBS
   1431               linker flags for XMODMAP, overriding pkg-config
   1432   LINT        Path to a lint-style command
   1433   LINT_FLAGS  Flags for the lint-style command
   1434 
   1435 Use these variables to override the choices made by `configure' or to help
   1436 it to find libraries and programs with nonstandard names/locations.
   1437 
   1438 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmodmap/issues>.
   1439 _ACEOF
   1440 ac_status=$?
   1441 fi
   1442 
   1443 if test "$ac_init_help" = "recursive"; then
   1444   # If there are subdirs, report their specific --help.
   1445   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1446     test -d "$ac_dir" ||
   1447       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1448       continue
   1449     ac_builddir=.
   1450 
   1451 case "$ac_dir" in
   1452 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1453 *)
   1454   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1455   # A ".." for each directory in $ac_dir_suffix.
   1456   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1457   case $ac_top_builddir_sub in
   1458   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1459   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1460   esac ;;
   1461 esac
   1462 ac_abs_top_builddir=$ac_pwd
   1463 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1464 # for backward compatibility:
   1465 ac_top_builddir=$ac_top_build_prefix
   1466 
   1467 case $srcdir in
   1468   .)  # We are building in place.
   1469     ac_srcdir=.
   1470     ac_top_srcdir=$ac_top_builddir_sub
   1471     ac_abs_top_srcdir=$ac_pwd ;;
   1472   [\\/]* | ?:[\\/]* )  # Absolute name.
   1473     ac_srcdir=$srcdir$ac_dir_suffix;
   1474     ac_top_srcdir=$srcdir
   1475     ac_abs_top_srcdir=$srcdir ;;
   1476   *) # Relative name.
   1477     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1478     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1479     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1480 esac
   1481 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1482 
   1483     cd "$ac_dir" || { ac_status=$?; continue; }
   1484     # Check for guested configure.
   1485     if test -f "$ac_srcdir/configure.gnu"; then
   1486       echo &&
   1487       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1488     elif test -f "$ac_srcdir/configure"; then
   1489       echo &&
   1490       $SHELL "$ac_srcdir/configure" --help=recursive
   1491     else
   1492       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1493     fi || ac_status=$?
   1494     cd "$ac_pwd" || { ac_status=$?; break; }
   1495   done
   1496 fi
   1497 
   1498 test -n "$ac_init_help" && exit $ac_status
   1499 if $ac_init_version; then
   1500   cat <<\_ACEOF
   1501 xmodmap configure 1.0.10
   1502 generated by GNU Autoconf 2.69
   1503 
   1504 Copyright (C) 2012 Free Software Foundation, Inc.
   1505 This configure script is free software; the Free Software Foundation
   1506 gives unlimited permission to copy, distribute and modify it.
   1507 _ACEOF
   1508   exit
   1509 fi
   1510 
   1511 ## ------------------------ ##
   1512 ## Autoconf initialization. ##
   1513 ## ------------------------ ##
   1514 
   1515 # ac_fn_c_try_compile LINENO
   1516 # --------------------------
   1517 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1518 ac_fn_c_try_compile ()
   1519 {
   1520   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1521   rm -f conftest.$ac_objext
   1522   if { { ac_try="$ac_compile"
   1523 case "(($ac_try" in
   1524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1525   *) ac_try_echo=$ac_try;;
   1526 esac
   1527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1528 $as_echo "$ac_try_echo"; } >&5
   1529   (eval "$ac_compile") 2>conftest.err
   1530   ac_status=$?
   1531   if test -s conftest.err; then
   1532     grep -v '^ *+' conftest.err >conftest.er1
   1533     cat conftest.er1 >&5
   1534     mv -f conftest.er1 conftest.err
   1535   fi
   1536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1537   test $ac_status = 0; } && {
   1538 	 test -z "$ac_c_werror_flag" ||
   1539 	 test ! -s conftest.err
   1540        } && test -s conftest.$ac_objext; then :
   1541   ac_retval=0
   1542 else
   1543   $as_echo "$as_me: failed program was:" >&5
   1544 sed 's/^/| /' conftest.$ac_ext >&5
   1545 
   1546 	ac_retval=1
   1547 fi
   1548   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1549   as_fn_set_status $ac_retval
   1550 
   1551 } # ac_fn_c_try_compile
   1552 
   1553 # ac_fn_c_try_cpp LINENO
   1554 # ----------------------
   1555 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1556 ac_fn_c_try_cpp ()
   1557 {
   1558   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1559   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1560 case "(($ac_try" in
   1561   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1562   *) ac_try_echo=$ac_try;;
   1563 esac
   1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1565 $as_echo "$ac_try_echo"; } >&5
   1566   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1567   ac_status=$?
   1568   if test -s conftest.err; then
   1569     grep -v '^ *+' conftest.err >conftest.er1
   1570     cat conftest.er1 >&5
   1571     mv -f conftest.er1 conftest.err
   1572   fi
   1573   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1574   test $ac_status = 0; } > conftest.i && {
   1575 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1576 	 test ! -s conftest.err
   1577        }; then :
   1578   ac_retval=0
   1579 else
   1580   $as_echo "$as_me: failed program was:" >&5
   1581 sed 's/^/| /' conftest.$ac_ext >&5
   1582 
   1583     ac_retval=1
   1584 fi
   1585   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1586   as_fn_set_status $ac_retval
   1587 
   1588 } # ac_fn_c_try_cpp
   1589 
   1590 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1591 # -------------------------------------------------------
   1592 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1593 # the include files in INCLUDES and setting the cache variable VAR
   1594 # accordingly.
   1595 ac_fn_c_check_header_mongrel ()
   1596 {
   1597   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1598   if eval \${$3+:} false; then :
   1599   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1600 $as_echo_n "checking for $2... " >&6; }
   1601 if eval \${$3+:} false; then :
   1602   $as_echo_n "(cached) " >&6
   1603 fi
   1604 eval ac_res=\$$3
   1605 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1606 $as_echo "$ac_res" >&6; }
   1607 else
   1608   # Is the header compilable?
   1609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1610 $as_echo_n "checking $2 usability... " >&6; }
   1611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1612 /* end confdefs.h.  */
   1613 $4
   1614 #include <$2>
   1615 _ACEOF
   1616 if ac_fn_c_try_compile "$LINENO"; then :
   1617   ac_header_compiler=yes
   1618 else
   1619   ac_header_compiler=no
   1620 fi
   1621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1623 $as_echo "$ac_header_compiler" >&6; }
   1624 
   1625 # Is the header present?
   1626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1627 $as_echo_n "checking $2 presence... " >&6; }
   1628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1629 /* end confdefs.h.  */
   1630 #include <$2>
   1631 _ACEOF
   1632 if ac_fn_c_try_cpp "$LINENO"; then :
   1633   ac_header_preproc=yes
   1634 else
   1635   ac_header_preproc=no
   1636 fi
   1637 rm -f conftest.err conftest.i conftest.$ac_ext
   1638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1639 $as_echo "$ac_header_preproc" >&6; }
   1640 
   1641 # So?  What about this header?
   1642 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1643   yes:no: )
   1644     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1645 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1646     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1647 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1648     ;;
   1649   no:yes:* )
   1650     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1651 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1652     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1653 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1654     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1655 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1656     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1657 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1658     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1659 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1660 ( $as_echo "## --------------------------------------------------------------------- ##
   1661 ## Report this to https://gitlab.freedesktop.org/xorg/app/xmodmap/issues ##
   1662 ## --------------------------------------------------------------------- ##"
   1663      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1664     ;;
   1665 esac
   1666   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1667 $as_echo_n "checking for $2... " >&6; }
   1668 if eval \${$3+:} false; then :
   1669   $as_echo_n "(cached) " >&6
   1670 else
   1671   eval "$3=\$ac_header_compiler"
   1672 fi
   1673 eval ac_res=\$$3
   1674 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1675 $as_echo "$ac_res" >&6; }
   1676 fi
   1677   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1678 
   1679 } # ac_fn_c_check_header_mongrel
   1680 
   1681 # ac_fn_c_try_run LINENO
   1682 # ----------------------
   1683 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1684 # that executables *can* be run.
   1685 ac_fn_c_try_run ()
   1686 {
   1687   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1688   if { { ac_try="$ac_link"
   1689 case "(($ac_try" in
   1690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1691   *) ac_try_echo=$ac_try;;
   1692 esac
   1693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1694 $as_echo "$ac_try_echo"; } >&5
   1695   (eval "$ac_link") 2>&5
   1696   ac_status=$?
   1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1699   { { case "(($ac_try" in
   1700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1701   *) ac_try_echo=$ac_try;;
   1702 esac
   1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1704 $as_echo "$ac_try_echo"; } >&5
   1705   (eval "$ac_try") 2>&5
   1706   ac_status=$?
   1707   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1708   test $ac_status = 0; }; }; then :
   1709   ac_retval=0
   1710 else
   1711   $as_echo "$as_me: program exited with status $ac_status" >&5
   1712        $as_echo "$as_me: failed program was:" >&5
   1713 sed 's/^/| /' conftest.$ac_ext >&5
   1714 
   1715        ac_retval=$ac_status
   1716 fi
   1717   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_run
   1722 
   1723 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1724 # -------------------------------------------------------
   1725 # Tests whether HEADER exists and can be compiled using the include files in
   1726 # INCLUDES, setting the cache variable VAR accordingly.
   1727 ac_fn_c_check_header_compile ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1731 $as_echo_n "checking for $2... " >&6; }
   1732 if eval \${$3+:} false; then :
   1733   $as_echo_n "(cached) " >&6
   1734 else
   1735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1736 /* end confdefs.h.  */
   1737 $4
   1738 #include <$2>
   1739 _ACEOF
   1740 if ac_fn_c_try_compile "$LINENO"; then :
   1741   eval "$3=yes"
   1742 else
   1743   eval "$3=no"
   1744 fi
   1745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1746 fi
   1747 eval ac_res=\$$3
   1748 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1749 $as_echo "$ac_res" >&6; }
   1750   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1751 
   1752 } # ac_fn_c_check_header_compile
   1753 
   1754 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1755 # ---------------------------------------------
   1756 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1757 # accordingly.
   1758 ac_fn_c_check_decl ()
   1759 {
   1760   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1761   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1762   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1764 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1765 if eval \${$3+:} false; then :
   1766   $as_echo_n "(cached) " >&6
   1767 else
   1768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1769 /* end confdefs.h.  */
   1770 $4
   1771 int
   1772 main ()
   1773 {
   1774 #ifndef $as_decl_name
   1775 #ifdef __cplusplus
   1776   (void) $as_decl_use;
   1777 #else
   1778   (void) $as_decl_name;
   1779 #endif
   1780 #endif
   1781 
   1782   ;
   1783   return 0;
   1784 }
   1785 _ACEOF
   1786 if ac_fn_c_try_compile "$LINENO"; then :
   1787   eval "$3=yes"
   1788 else
   1789   eval "$3=no"
   1790 fi
   1791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1792 fi
   1793 eval ac_res=\$$3
   1794 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1795 $as_echo "$ac_res" >&6; }
   1796   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1797 
   1798 } # ac_fn_c_check_decl
   1799 
   1800 # ac_fn_c_try_link LINENO
   1801 # -----------------------
   1802 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1803 ac_fn_c_try_link ()
   1804 {
   1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1806   rm -f conftest.$ac_objext conftest$ac_exeext
   1807   if { { ac_try="$ac_link"
   1808 case "(($ac_try" in
   1809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1810   *) ac_try_echo=$ac_try;;
   1811 esac
   1812 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1813 $as_echo "$ac_try_echo"; } >&5
   1814   (eval "$ac_link") 2>conftest.err
   1815   ac_status=$?
   1816   if test -s conftest.err; then
   1817     grep -v '^ *+' conftest.err >conftest.er1
   1818     cat conftest.er1 >&5
   1819     mv -f conftest.er1 conftest.err
   1820   fi
   1821   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1822   test $ac_status = 0; } && {
   1823 	 test -z "$ac_c_werror_flag" ||
   1824 	 test ! -s conftest.err
   1825        } && test -s conftest$ac_exeext && {
   1826 	 test "$cross_compiling" = yes ||
   1827 	 test -x conftest$ac_exeext
   1828        }; then :
   1829   ac_retval=0
   1830 else
   1831   $as_echo "$as_me: failed program was:" >&5
   1832 sed 's/^/| /' conftest.$ac_ext >&5
   1833 
   1834 	ac_retval=1
   1835 fi
   1836   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1837   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1838   # interfere with the next link command; also delete a directory that is
   1839   # left behind by Apple's compiler.  We do this before executing the actions.
   1840   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1842   as_fn_set_status $ac_retval
   1843 
   1844 } # ac_fn_c_try_link
   1845 
   1846 # ac_fn_c_check_func LINENO FUNC VAR
   1847 # ----------------------------------
   1848 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1849 ac_fn_c_check_func ()
   1850 {
   1851   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1852   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1853 $as_echo_n "checking for $2... " >&6; }
   1854 if eval \${$3+:} false; then :
   1855   $as_echo_n "(cached) " >&6
   1856 else
   1857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1858 /* end confdefs.h.  */
   1859 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1860    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1861 #define $2 innocuous_$2
   1862 
   1863 /* System header to define __stub macros and hopefully few prototypes,
   1864     which can conflict with char $2 (); below.
   1865     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1866     <limits.h> exists even on freestanding compilers.  */
   1867 
   1868 #ifdef __STDC__
   1869 # include <limits.h>
   1870 #else
   1871 # include <assert.h>
   1872 #endif
   1873 
   1874 #undef $2
   1875 
   1876 /* Override any GCC internal prototype to avoid an error.
   1877    Use char because int might match the return type of a GCC
   1878    builtin and then its argument prototype would still apply.  */
   1879 #ifdef __cplusplus
   1880 extern "C"
   1881 #endif
   1882 char $2 ();
   1883 /* The GNU C library defines this for functions which it implements
   1884     to always fail with ENOSYS.  Some functions are actually named
   1885     something starting with __ and the normal name is an alias.  */
   1886 #if defined __stub_$2 || defined __stub___$2
   1887 choke me
   1888 #endif
   1889 
   1890 int
   1891 main ()
   1892 {
   1893 return $2 ();
   1894   ;
   1895   return 0;
   1896 }
   1897 _ACEOF
   1898 if ac_fn_c_try_link "$LINENO"; then :
   1899   eval "$3=yes"
   1900 else
   1901   eval "$3=no"
   1902 fi
   1903 rm -f core conftest.err conftest.$ac_objext \
   1904     conftest$ac_exeext conftest.$ac_ext
   1905 fi
   1906 eval ac_res=\$$3
   1907 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1908 $as_echo "$ac_res" >&6; }
   1909   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1910 
   1911 } # ac_fn_c_check_func
   1912 cat >config.log <<_ACEOF
   1913 This file contains any messages produced by compilers while
   1914 running configure, to aid debugging if configure makes a mistake.
   1915 
   1916 It was created by xmodmap $as_me 1.0.10, which was
   1917 generated by GNU Autoconf 2.69.  Invocation command line was
   1918 
   1919   $ $0 $@
   1920 
   1921 _ACEOF
   1922 exec 5>>config.log
   1923 {
   1924 cat <<_ASUNAME
   1925 ## --------- ##
   1926 ## Platform. ##
   1927 ## --------- ##
   1928 
   1929 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1930 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1931 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1932 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1933 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1934 
   1935 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1936 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1937 
   1938 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1939 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1940 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1941 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1942 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1943 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1944 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1945 
   1946 _ASUNAME
   1947 
   1948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1949 for as_dir in $PATH
   1950 do
   1951   IFS=$as_save_IFS
   1952   test -z "$as_dir" && as_dir=.
   1953     $as_echo "PATH: $as_dir"
   1954   done
   1955 IFS=$as_save_IFS
   1956 
   1957 } >&5
   1958 
   1959 cat >&5 <<_ACEOF
   1960 
   1961 
   1962 ## ----------- ##
   1963 ## Core tests. ##
   1964 ## ----------- ##
   1965 
   1966 _ACEOF
   1967 
   1968 
   1969 # Keep a trace of the command line.
   1970 # Strip out --no-create and --no-recursion so they do not pile up.
   1971 # Strip out --silent because we don't want to record it for future runs.
   1972 # Also quote any args containing shell meta-characters.
   1973 # Make two passes to allow for proper duplicate-argument suppression.
   1974 ac_configure_args=
   1975 ac_configure_args0=
   1976 ac_configure_args1=
   1977 ac_must_keep_next=false
   1978 for ac_pass in 1 2
   1979 do
   1980   for ac_arg
   1981   do
   1982     case $ac_arg in
   1983     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1984     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1985     | -silent | --silent | --silen | --sile | --sil)
   1986       continue ;;
   1987     *\'*)
   1988       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1989     esac
   1990     case $ac_pass in
   1991     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1992     2)
   1993       as_fn_append ac_configure_args1 " '$ac_arg'"
   1994       if test $ac_must_keep_next = true; then
   1995 	ac_must_keep_next=false # Got value, back to normal.
   1996       else
   1997 	case $ac_arg in
   1998 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1999 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2000 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2001 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2002 	    case "$ac_configure_args0 " in
   2003 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2004 	    esac
   2005 	    ;;
   2006 	  -* ) ac_must_keep_next=true ;;
   2007 	esac
   2008       fi
   2009       as_fn_append ac_configure_args " '$ac_arg'"
   2010       ;;
   2011     esac
   2012   done
   2013 done
   2014 { ac_configure_args0=; unset ac_configure_args0;}
   2015 { ac_configure_args1=; unset ac_configure_args1;}
   2016 
   2017 # When interrupted or exit'd, cleanup temporary files, and complete
   2018 # config.log.  We remove comments because anyway the quotes in there
   2019 # would cause problems or look ugly.
   2020 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2021 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2022 trap 'exit_status=$?
   2023   # Save into config.log some information that might help in debugging.
   2024   {
   2025     echo
   2026 
   2027     $as_echo "## ---------------- ##
   2028 ## Cache variables. ##
   2029 ## ---------------- ##"
   2030     echo
   2031     # The following way of writing the cache mishandles newlines in values,
   2032 (
   2033   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2034     eval ac_val=\$$ac_var
   2035     case $ac_val in #(
   2036     *${as_nl}*)
   2037       case $ac_var in #(
   2038       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2039 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2040       esac
   2041       case $ac_var in #(
   2042       _ | IFS | as_nl) ;; #(
   2043       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2044       *) { eval $ac_var=; unset $ac_var;} ;;
   2045       esac ;;
   2046     esac
   2047   done
   2048   (set) 2>&1 |
   2049     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2050     *${as_nl}ac_space=\ *)
   2051       sed -n \
   2052 	"s/'\''/'\''\\\\'\'''\''/g;
   2053 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2054       ;; #(
   2055     *)
   2056       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2057       ;;
   2058     esac |
   2059     sort
   2060 )
   2061     echo
   2062 
   2063     $as_echo "## ----------------- ##
   2064 ## Output variables. ##
   2065 ## ----------------- ##"
   2066     echo
   2067     for ac_var in $ac_subst_vars
   2068     do
   2069       eval ac_val=\$$ac_var
   2070       case $ac_val in
   2071       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2072       esac
   2073       $as_echo "$ac_var='\''$ac_val'\''"
   2074     done | sort
   2075     echo
   2076 
   2077     if test -n "$ac_subst_files"; then
   2078       $as_echo "## ------------------- ##
   2079 ## File substitutions. ##
   2080 ## ------------------- ##"
   2081       echo
   2082       for ac_var in $ac_subst_files
   2083       do
   2084 	eval ac_val=\$$ac_var
   2085 	case $ac_val in
   2086 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2087 	esac
   2088 	$as_echo "$ac_var='\''$ac_val'\''"
   2089       done | sort
   2090       echo
   2091     fi
   2092 
   2093     if test -s confdefs.h; then
   2094       $as_echo "## ----------- ##
   2095 ## confdefs.h. ##
   2096 ## ----------- ##"
   2097       echo
   2098       cat confdefs.h
   2099       echo
   2100     fi
   2101     test "$ac_signal" != 0 &&
   2102       $as_echo "$as_me: caught signal $ac_signal"
   2103     $as_echo "$as_me: exit $exit_status"
   2104   } >&5
   2105   rm -f core *.core core.conftest.* &&
   2106     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2107     exit $exit_status
   2108 ' 0
   2109 for ac_signal in 1 2 13 15; do
   2110   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2111 done
   2112 ac_signal=0
   2113 
   2114 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2115 rm -f -r conftest* confdefs.h
   2116 
   2117 $as_echo "/* confdefs.h */" > confdefs.h
   2118 
   2119 # Predefined preprocessor variables.
   2120 
   2121 cat >>confdefs.h <<_ACEOF
   2122 #define PACKAGE_NAME "$PACKAGE_NAME"
   2123 _ACEOF
   2124 
   2125 cat >>confdefs.h <<_ACEOF
   2126 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2127 _ACEOF
   2128 
   2129 cat >>confdefs.h <<_ACEOF
   2130 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2131 _ACEOF
   2132 
   2133 cat >>confdefs.h <<_ACEOF
   2134 #define PACKAGE_STRING "$PACKAGE_STRING"
   2135 _ACEOF
   2136 
   2137 cat >>confdefs.h <<_ACEOF
   2138 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2139 _ACEOF
   2140 
   2141 cat >>confdefs.h <<_ACEOF
   2142 #define PACKAGE_URL "$PACKAGE_URL"
   2143 _ACEOF
   2144 
   2145 
   2146 # Let the site file select an alternate cache file if it wants to.
   2147 # Prefer an explicitly selected file to automatically selected ones.
   2148 ac_site_file1=NONE
   2149 ac_site_file2=NONE
   2150 if test -n "$CONFIG_SITE"; then
   2151   # We do not want a PATH search for config.site.
   2152   case $CONFIG_SITE in #((
   2153     -*)  ac_site_file1=./$CONFIG_SITE;;
   2154     */*) ac_site_file1=$CONFIG_SITE;;
   2155     *)   ac_site_file1=./$CONFIG_SITE;;
   2156   esac
   2157 elif test "x$prefix" != xNONE; then
   2158   ac_site_file1=$prefix/share/config.site
   2159   ac_site_file2=$prefix/etc/config.site
   2160 else
   2161   ac_site_file1=$ac_default_prefix/share/config.site
   2162   ac_site_file2=$ac_default_prefix/etc/config.site
   2163 fi
   2164 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2165 do
   2166   test "x$ac_site_file" = xNONE && continue
   2167   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2168     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2169 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2170     sed 's/^/| /' "$ac_site_file" >&5
   2171     . "$ac_site_file" \
   2172       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2174 as_fn_error $? "failed to load site script $ac_site_file
   2175 See \`config.log' for more details" "$LINENO" 5; }
   2176   fi
   2177 done
   2178 
   2179 if test -r "$cache_file"; then
   2180   # Some versions of bash will fail to source /dev/null (special files
   2181   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2182   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2183     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2184 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2185     case $cache_file in
   2186       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2187       *)                      . "./$cache_file";;
   2188     esac
   2189   fi
   2190 else
   2191   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2192 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2193   >$cache_file
   2194 fi
   2195 
   2196 # Check that the precious variables saved in the cache have kept the same
   2197 # value.
   2198 ac_cache_corrupted=false
   2199 for ac_var in $ac_precious_vars; do
   2200   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2201   eval ac_new_set=\$ac_env_${ac_var}_set
   2202   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2203   eval ac_new_val=\$ac_env_${ac_var}_value
   2204   case $ac_old_set,$ac_new_set in
   2205     set,)
   2206       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2207 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2208       ac_cache_corrupted=: ;;
   2209     ,set)
   2210       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2211 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2212       ac_cache_corrupted=: ;;
   2213     ,);;
   2214     *)
   2215       if test "x$ac_old_val" != "x$ac_new_val"; then
   2216 	# differences in whitespace do not lead to failure.
   2217 	ac_old_val_w=`echo x $ac_old_val`
   2218 	ac_new_val_w=`echo x $ac_new_val`
   2219 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2220 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2221 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2222 	  ac_cache_corrupted=:
   2223 	else
   2224 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2225 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2226 	  eval $ac_var=\$ac_old_val
   2227 	fi
   2228 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2229 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2230 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2231 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2232       fi;;
   2233   esac
   2234   # Pass precious variables to config.status.
   2235   if test "$ac_new_set" = set; then
   2236     case $ac_new_val in
   2237     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2238     *) ac_arg=$ac_var=$ac_new_val ;;
   2239     esac
   2240     case " $ac_configure_args " in
   2241       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2242       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2243     esac
   2244   fi
   2245 done
   2246 if $ac_cache_corrupted; then
   2247   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2248 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2249   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2250 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2251   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2252 fi
   2253 ## -------------------- ##
   2254 ## Main body of script. ##
   2255 ## -------------------- ##
   2256 
   2257 ac_ext=c
   2258 ac_cpp='$CPP $CPPFLAGS'
   2259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2262 
   2263 
   2264 
   2265 ac_config_headers="$ac_config_headers config.h"
   2266 
   2267 # Needed for asprintf on GNU libc
   2268 ac_aux_dir=
   2269 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2270   if test -f "$ac_dir/install-sh"; then
   2271     ac_aux_dir=$ac_dir
   2272     ac_install_sh="$ac_aux_dir/install-sh -c"
   2273     break
   2274   elif test -f "$ac_dir/install.sh"; then
   2275     ac_aux_dir=$ac_dir
   2276     ac_install_sh="$ac_aux_dir/install.sh -c"
   2277     break
   2278   elif test -f "$ac_dir/shtool"; then
   2279     ac_aux_dir=$ac_dir
   2280     ac_install_sh="$ac_aux_dir/shtool install -c"
   2281     break
   2282   fi
   2283 done
   2284 if test -z "$ac_aux_dir"; then
   2285   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2286 fi
   2287 
   2288 # These three variables are undocumented and unsupported,
   2289 # and are intended to be withdrawn in a future Autoconf release.
   2290 # They can cause serious problems if a builder's source tree is in a directory
   2291 # whose full name contains unusual characters.
   2292 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2293 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2294 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2295 
   2296 
   2297 # Expand $ac_aux_dir to an absolute path.
   2298 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2299 
   2300 ac_ext=c
   2301 ac_cpp='$CPP $CPPFLAGS'
   2302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2305 if test -n "$ac_tool_prefix"; then
   2306   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2307 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2309 $as_echo_n "checking for $ac_word... " >&6; }
   2310 if ${ac_cv_prog_CC+:} false; then :
   2311   $as_echo_n "(cached) " >&6
   2312 else
   2313   if test -n "$CC"; then
   2314   ac_cv_prog_CC="$CC" # Let the user override the test.
   2315 else
   2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2317 for as_dir in $PATH
   2318 do
   2319   IFS=$as_save_IFS
   2320   test -z "$as_dir" && as_dir=.
   2321     for ac_exec_ext in '' $ac_executable_extensions; do
   2322   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2323     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2325     break 2
   2326   fi
   2327 done
   2328   done
   2329 IFS=$as_save_IFS
   2330 
   2331 fi
   2332 fi
   2333 CC=$ac_cv_prog_CC
   2334 if test -n "$CC"; then
   2335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2336 $as_echo "$CC" >&6; }
   2337 else
   2338   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2339 $as_echo "no" >&6; }
   2340 fi
   2341 
   2342 
   2343 fi
   2344 if test -z "$ac_cv_prog_CC"; then
   2345   ac_ct_CC=$CC
   2346   # Extract the first word of "gcc", so it can be a program name with args.
   2347 set dummy gcc; ac_word=$2
   2348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2349 $as_echo_n "checking for $ac_word... " >&6; }
   2350 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2351   $as_echo_n "(cached) " >&6
   2352 else
   2353   if test -n "$ac_ct_CC"; then
   2354   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2355 else
   2356 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2357 for as_dir in $PATH
   2358 do
   2359   IFS=$as_save_IFS
   2360   test -z "$as_dir" && as_dir=.
   2361     for ac_exec_ext in '' $ac_executable_extensions; do
   2362   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2363     ac_cv_prog_ac_ct_CC="gcc"
   2364     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2365     break 2
   2366   fi
   2367 done
   2368   done
   2369 IFS=$as_save_IFS
   2370 
   2371 fi
   2372 fi
   2373 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2374 if test -n "$ac_ct_CC"; then
   2375   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2376 $as_echo "$ac_ct_CC" >&6; }
   2377 else
   2378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2379 $as_echo "no" >&6; }
   2380 fi
   2381 
   2382   if test "x$ac_ct_CC" = x; then
   2383     CC=""
   2384   else
   2385     case $cross_compiling:$ac_tool_warned in
   2386 yes:)
   2387 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2388 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2389 ac_tool_warned=yes ;;
   2390 esac
   2391     CC=$ac_ct_CC
   2392   fi
   2393 else
   2394   CC="$ac_cv_prog_CC"
   2395 fi
   2396 
   2397 if test -z "$CC"; then
   2398           if test -n "$ac_tool_prefix"; then
   2399     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2400 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2402 $as_echo_n "checking for $ac_word... " >&6; }
   2403 if ${ac_cv_prog_CC+:} false; then :
   2404   $as_echo_n "(cached) " >&6
   2405 else
   2406   if test -n "$CC"; then
   2407   ac_cv_prog_CC="$CC" # Let the user override the test.
   2408 else
   2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2410 for as_dir in $PATH
   2411 do
   2412   IFS=$as_save_IFS
   2413   test -z "$as_dir" && as_dir=.
   2414     for ac_exec_ext in '' $ac_executable_extensions; do
   2415   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2416     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2418     break 2
   2419   fi
   2420 done
   2421   done
   2422 IFS=$as_save_IFS
   2423 
   2424 fi
   2425 fi
   2426 CC=$ac_cv_prog_CC
   2427 if test -n "$CC"; then
   2428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2429 $as_echo "$CC" >&6; }
   2430 else
   2431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2432 $as_echo "no" >&6; }
   2433 fi
   2434 
   2435 
   2436   fi
   2437 fi
   2438 if test -z "$CC"; then
   2439   # Extract the first word of "cc", so it can be a program name with args.
   2440 set dummy cc; ac_word=$2
   2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2442 $as_echo_n "checking for $ac_word... " >&6; }
   2443 if ${ac_cv_prog_CC+:} false; then :
   2444   $as_echo_n "(cached) " >&6
   2445 else
   2446   if test -n "$CC"; then
   2447   ac_cv_prog_CC="$CC" # Let the user override the test.
   2448 else
   2449   ac_prog_rejected=no
   2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2451 for as_dir in $PATH
   2452 do
   2453   IFS=$as_save_IFS
   2454   test -z "$as_dir" && as_dir=.
   2455     for ac_exec_ext in '' $ac_executable_extensions; do
   2456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2457     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2458        ac_prog_rejected=yes
   2459        continue
   2460      fi
   2461     ac_cv_prog_CC="cc"
   2462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2463     break 2
   2464   fi
   2465 done
   2466   done
   2467 IFS=$as_save_IFS
   2468 
   2469 if test $ac_prog_rejected = yes; then
   2470   # We found a bogon in the path, so make sure we never use it.
   2471   set dummy $ac_cv_prog_CC
   2472   shift
   2473   if test $# != 0; then
   2474     # We chose a different compiler from the bogus one.
   2475     # However, it has the same basename, so the bogon will be chosen
   2476     # first if we set CC to just the basename; use the full file name.
   2477     shift
   2478     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2479   fi
   2480 fi
   2481 fi
   2482 fi
   2483 CC=$ac_cv_prog_CC
   2484 if test -n "$CC"; then
   2485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2486 $as_echo "$CC" >&6; }
   2487 else
   2488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2489 $as_echo "no" >&6; }
   2490 fi
   2491 
   2492 
   2493 fi
   2494 if test -z "$CC"; then
   2495   if test -n "$ac_tool_prefix"; then
   2496   for ac_prog in cl.exe
   2497   do
   2498     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2501 $as_echo_n "checking for $ac_word... " >&6; }
   2502 if ${ac_cv_prog_CC+:} false; then :
   2503   $as_echo_n "(cached) " >&6
   2504 else
   2505   if test -n "$CC"; then
   2506   ac_cv_prog_CC="$CC" # Let the user override the test.
   2507 else
   2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2509 for as_dir in $PATH
   2510 do
   2511   IFS=$as_save_IFS
   2512   test -z "$as_dir" && as_dir=.
   2513     for ac_exec_ext in '' $ac_executable_extensions; do
   2514   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2515     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2516     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2517     break 2
   2518   fi
   2519 done
   2520   done
   2521 IFS=$as_save_IFS
   2522 
   2523 fi
   2524 fi
   2525 CC=$ac_cv_prog_CC
   2526 if test -n "$CC"; then
   2527   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2528 $as_echo "$CC" >&6; }
   2529 else
   2530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2531 $as_echo "no" >&6; }
   2532 fi
   2533 
   2534 
   2535     test -n "$CC" && break
   2536   done
   2537 fi
   2538 if test -z "$CC"; then
   2539   ac_ct_CC=$CC
   2540   for ac_prog in cl.exe
   2541 do
   2542   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2543 set dummy $ac_prog; ac_word=$2
   2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2545 $as_echo_n "checking for $ac_word... " >&6; }
   2546 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2547   $as_echo_n "(cached) " >&6
   2548 else
   2549   if test -n "$ac_ct_CC"; then
   2550   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2551 else
   2552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2553 for as_dir in $PATH
   2554 do
   2555   IFS=$as_save_IFS
   2556   test -z "$as_dir" && as_dir=.
   2557     for ac_exec_ext in '' $ac_executable_extensions; do
   2558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2559     ac_cv_prog_ac_ct_CC="$ac_prog"
   2560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2561     break 2
   2562   fi
   2563 done
   2564   done
   2565 IFS=$as_save_IFS
   2566 
   2567 fi
   2568 fi
   2569 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2570 if test -n "$ac_ct_CC"; then
   2571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2572 $as_echo "$ac_ct_CC" >&6; }
   2573 else
   2574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2575 $as_echo "no" >&6; }
   2576 fi
   2577 
   2578 
   2579   test -n "$ac_ct_CC" && break
   2580 done
   2581 
   2582   if test "x$ac_ct_CC" = x; then
   2583     CC=""
   2584   else
   2585     case $cross_compiling:$ac_tool_warned in
   2586 yes:)
   2587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2588 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2589 ac_tool_warned=yes ;;
   2590 esac
   2591     CC=$ac_ct_CC
   2592   fi
   2593 fi
   2594 
   2595 fi
   2596 
   2597 
   2598 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2599 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2600 as_fn_error $? "no acceptable C compiler found in \$PATH
   2601 See \`config.log' for more details" "$LINENO" 5; }
   2602 
   2603 # Provide some information about the compiler.
   2604 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2605 set X $ac_compile
   2606 ac_compiler=$2
   2607 for ac_option in --version -v -V -qversion; do
   2608   { { ac_try="$ac_compiler $ac_option >&5"
   2609 case "(($ac_try" in
   2610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2611   *) ac_try_echo=$ac_try;;
   2612 esac
   2613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2614 $as_echo "$ac_try_echo"; } >&5
   2615   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2616   ac_status=$?
   2617   if test -s conftest.err; then
   2618     sed '10a\
   2619 ... rest of stderr output deleted ...
   2620          10q' conftest.err >conftest.er1
   2621     cat conftest.er1 >&5
   2622   fi
   2623   rm -f conftest.er1 conftest.err
   2624   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2625   test $ac_status = 0; }
   2626 done
   2627 
   2628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2629 /* end confdefs.h.  */
   2630 
   2631 int
   2632 main ()
   2633 {
   2634 
   2635   ;
   2636   return 0;
   2637 }
   2638 _ACEOF
   2639 ac_clean_files_save=$ac_clean_files
   2640 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2641 # Try to create an executable without -o first, disregard a.out.
   2642 # It will help us diagnose broken compilers, and finding out an intuition
   2643 # of exeext.
   2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2645 $as_echo_n "checking whether the C compiler works... " >&6; }
   2646 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2647 
   2648 # The possible output files:
   2649 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2650 
   2651 ac_rmfiles=
   2652 for ac_file in $ac_files
   2653 do
   2654   case $ac_file in
   2655     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2656     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2657   esac
   2658 done
   2659 rm -f $ac_rmfiles
   2660 
   2661 if { { ac_try="$ac_link_default"
   2662 case "(($ac_try" in
   2663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2664   *) ac_try_echo=$ac_try;;
   2665 esac
   2666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2667 $as_echo "$ac_try_echo"; } >&5
   2668   (eval "$ac_link_default") 2>&5
   2669   ac_status=$?
   2670   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2671   test $ac_status = 0; }; then :
   2672   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2673 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2674 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2675 # so that the user can short-circuit this test for compilers unknown to
   2676 # Autoconf.
   2677 for ac_file in $ac_files ''
   2678 do
   2679   test -f "$ac_file" || continue
   2680   case $ac_file in
   2681     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2682 	;;
   2683     [ab].out )
   2684 	# We found the default executable, but exeext='' is most
   2685 	# certainly right.
   2686 	break;;
   2687     *.* )
   2688 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2689 	then :; else
   2690 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2691 	fi
   2692 	# We set ac_cv_exeext here because the later test for it is not
   2693 	# safe: cross compilers may not add the suffix if given an `-o'
   2694 	# argument, so we may need to know it at that point already.
   2695 	# Even if this section looks crufty: it has the advantage of
   2696 	# actually working.
   2697 	break;;
   2698     * )
   2699 	break;;
   2700   esac
   2701 done
   2702 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2703 
   2704 else
   2705   ac_file=''
   2706 fi
   2707 if test -z "$ac_file"; then :
   2708   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2709 $as_echo "no" >&6; }
   2710 $as_echo "$as_me: failed program was:" >&5
   2711 sed 's/^/| /' conftest.$ac_ext >&5
   2712 
   2713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2715 as_fn_error 77 "C compiler cannot create executables
   2716 See \`config.log' for more details" "$LINENO" 5; }
   2717 else
   2718   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2719 $as_echo "yes" >&6; }
   2720 fi
   2721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2722 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2724 $as_echo "$ac_file" >&6; }
   2725 ac_exeext=$ac_cv_exeext
   2726 
   2727 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2728 ac_clean_files=$ac_clean_files_save
   2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2730 $as_echo_n "checking for suffix of executables... " >&6; }
   2731 if { { ac_try="$ac_link"
   2732 case "(($ac_try" in
   2733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2734   *) ac_try_echo=$ac_try;;
   2735 esac
   2736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2737 $as_echo "$ac_try_echo"; } >&5
   2738   (eval "$ac_link") 2>&5
   2739   ac_status=$?
   2740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2741   test $ac_status = 0; }; then :
   2742   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2743 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2744 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2745 # `rm'.
   2746 for ac_file in conftest.exe conftest conftest.*; do
   2747   test -f "$ac_file" || continue
   2748   case $ac_file in
   2749     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2750     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2751 	  break;;
   2752     * ) break;;
   2753   esac
   2754 done
   2755 else
   2756   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2757 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2758 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2759 See \`config.log' for more details" "$LINENO" 5; }
   2760 fi
   2761 rm -f conftest conftest$ac_cv_exeext
   2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2763 $as_echo "$ac_cv_exeext" >&6; }
   2764 
   2765 rm -f conftest.$ac_ext
   2766 EXEEXT=$ac_cv_exeext
   2767 ac_exeext=$EXEEXT
   2768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2769 /* end confdefs.h.  */
   2770 #include <stdio.h>
   2771 int
   2772 main ()
   2773 {
   2774 FILE *f = fopen ("conftest.out", "w");
   2775  return ferror (f) || fclose (f) != 0;
   2776 
   2777   ;
   2778   return 0;
   2779 }
   2780 _ACEOF
   2781 ac_clean_files="$ac_clean_files conftest.out"
   2782 # Check that the compiler produces executables we can run.  If not, either
   2783 # the compiler is broken, or we cross compile.
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2785 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2786 if test "$cross_compiling" != yes; then
   2787   { { ac_try="$ac_link"
   2788 case "(($ac_try" in
   2789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2790   *) ac_try_echo=$ac_try;;
   2791 esac
   2792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2793 $as_echo "$ac_try_echo"; } >&5
   2794   (eval "$ac_link") 2>&5
   2795   ac_status=$?
   2796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2797   test $ac_status = 0; }
   2798   if { ac_try='./conftest$ac_cv_exeext'
   2799   { { case "(($ac_try" in
   2800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2801   *) ac_try_echo=$ac_try;;
   2802 esac
   2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2804 $as_echo "$ac_try_echo"; } >&5
   2805   (eval "$ac_try") 2>&5
   2806   ac_status=$?
   2807   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2808   test $ac_status = 0; }; }; then
   2809     cross_compiling=no
   2810   else
   2811     if test "$cross_compiling" = maybe; then
   2812 	cross_compiling=yes
   2813     else
   2814 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2815 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2816 as_fn_error $? "cannot run C compiled programs.
   2817 If you meant to cross compile, use \`--host'.
   2818 See \`config.log' for more details" "$LINENO" 5; }
   2819     fi
   2820   fi
   2821 fi
   2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2823 $as_echo "$cross_compiling" >&6; }
   2824 
   2825 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2826 ac_clean_files=$ac_clean_files_save
   2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2828 $as_echo_n "checking for suffix of object files... " >&6; }
   2829 if ${ac_cv_objext+:} false; then :
   2830   $as_echo_n "(cached) " >&6
   2831 else
   2832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2833 /* end confdefs.h.  */
   2834 
   2835 int
   2836 main ()
   2837 {
   2838 
   2839   ;
   2840   return 0;
   2841 }
   2842 _ACEOF
   2843 rm -f conftest.o conftest.obj
   2844 if { { ac_try="$ac_compile"
   2845 case "(($ac_try" in
   2846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2847   *) ac_try_echo=$ac_try;;
   2848 esac
   2849 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2850 $as_echo "$ac_try_echo"; } >&5
   2851   (eval "$ac_compile") 2>&5
   2852   ac_status=$?
   2853   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2854   test $ac_status = 0; }; then :
   2855   for ac_file in conftest.o conftest.obj conftest.*; do
   2856   test -f "$ac_file" || continue;
   2857   case $ac_file in
   2858     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2859     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2860        break;;
   2861   esac
   2862 done
   2863 else
   2864   $as_echo "$as_me: failed program was:" >&5
   2865 sed 's/^/| /' conftest.$ac_ext >&5
   2866 
   2867 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2869 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2870 See \`config.log' for more details" "$LINENO" 5; }
   2871 fi
   2872 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2873 fi
   2874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2875 $as_echo "$ac_cv_objext" >&6; }
   2876 OBJEXT=$ac_cv_objext
   2877 ac_objext=$OBJEXT
   2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2879 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2880 if ${ac_cv_c_compiler_gnu+:} false; then :
   2881   $as_echo_n "(cached) " >&6
   2882 else
   2883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2884 /* end confdefs.h.  */
   2885 
   2886 int
   2887 main ()
   2888 {
   2889 #ifndef __GNUC__
   2890        choke me
   2891 #endif
   2892 
   2893   ;
   2894   return 0;
   2895 }
   2896 _ACEOF
   2897 if ac_fn_c_try_compile "$LINENO"; then :
   2898   ac_compiler_gnu=yes
   2899 else
   2900   ac_compiler_gnu=no
   2901 fi
   2902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2903 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2904 
   2905 fi
   2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2907 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2908 if test $ac_compiler_gnu = yes; then
   2909   GCC=yes
   2910 else
   2911   GCC=
   2912 fi
   2913 ac_test_CFLAGS=${CFLAGS+set}
   2914 ac_save_CFLAGS=$CFLAGS
   2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2916 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2917 if ${ac_cv_prog_cc_g+:} false; then :
   2918   $as_echo_n "(cached) " >&6
   2919 else
   2920   ac_save_c_werror_flag=$ac_c_werror_flag
   2921    ac_c_werror_flag=yes
   2922    ac_cv_prog_cc_g=no
   2923    CFLAGS="-g"
   2924    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2925 /* end confdefs.h.  */
   2926 
   2927 int
   2928 main ()
   2929 {
   2930 
   2931   ;
   2932   return 0;
   2933 }
   2934 _ACEOF
   2935 if ac_fn_c_try_compile "$LINENO"; then :
   2936   ac_cv_prog_cc_g=yes
   2937 else
   2938   CFLAGS=""
   2939       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2940 /* end confdefs.h.  */
   2941 
   2942 int
   2943 main ()
   2944 {
   2945 
   2946   ;
   2947   return 0;
   2948 }
   2949 _ACEOF
   2950 if ac_fn_c_try_compile "$LINENO"; then :
   2951 
   2952 else
   2953   ac_c_werror_flag=$ac_save_c_werror_flag
   2954 	 CFLAGS="-g"
   2955 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2956 /* end confdefs.h.  */
   2957 
   2958 int
   2959 main ()
   2960 {
   2961 
   2962   ;
   2963   return 0;
   2964 }
   2965 _ACEOF
   2966 if ac_fn_c_try_compile "$LINENO"; then :
   2967   ac_cv_prog_cc_g=yes
   2968 fi
   2969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2970 fi
   2971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2972 fi
   2973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2974    ac_c_werror_flag=$ac_save_c_werror_flag
   2975 fi
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   2977 $as_echo "$ac_cv_prog_cc_g" >&6; }
   2978 if test "$ac_test_CFLAGS" = set; then
   2979   CFLAGS=$ac_save_CFLAGS
   2980 elif test $ac_cv_prog_cc_g = yes; then
   2981   if test "$GCC" = yes; then
   2982     CFLAGS="-g -O2"
   2983   else
   2984     CFLAGS="-g"
   2985   fi
   2986 else
   2987   if test "$GCC" = yes; then
   2988     CFLAGS="-O2"
   2989   else
   2990     CFLAGS=
   2991   fi
   2992 fi
   2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   2994 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   2995 if ${ac_cv_prog_cc_c89+:} false; then :
   2996   $as_echo_n "(cached) " >&6
   2997 else
   2998   ac_cv_prog_cc_c89=no
   2999 ac_save_CC=$CC
   3000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3001 /* end confdefs.h.  */
   3002 #include <stdarg.h>
   3003 #include <stdio.h>
   3004 struct stat;
   3005 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3006 struct buf { int x; };
   3007 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3008 static char *e (p, i)
   3009      char **p;
   3010      int i;
   3011 {
   3012   return p[i];
   3013 }
   3014 static char *f (char * (*g) (char **, int), char **p, ...)
   3015 {
   3016   char *s;
   3017   va_list v;
   3018   va_start (v,p);
   3019   s = g (p, va_arg (v,int));
   3020   va_end (v);
   3021   return s;
   3022 }
   3023 
   3024 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3025    function prototypes and stuff, but not '\xHH' hex character constants.
   3026    These don't provoke an error unfortunately, instead are silently treated
   3027    as 'x'.  The following induces an error, until -std is added to get
   3028    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3029    array size at least.  It's necessary to write '\x00'==0 to get something
   3030    that's true only with -std.  */
   3031 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3032 
   3033 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3034    inside strings and character constants.  */
   3035 #define FOO(x) 'x'
   3036 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3037 
   3038 int test (int i, double x);
   3039 struct s1 {int (*f) (int a);};
   3040 struct s2 {int (*f) (double a);};
   3041 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3042 int argc;
   3043 char **argv;
   3044 int
   3045 main ()
   3046 {
   3047 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3048   ;
   3049   return 0;
   3050 }
   3051 _ACEOF
   3052 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3053 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3054 do
   3055   CC="$ac_save_CC $ac_arg"
   3056   if ac_fn_c_try_compile "$LINENO"; then :
   3057   ac_cv_prog_cc_c89=$ac_arg
   3058 fi
   3059 rm -f core conftest.err conftest.$ac_objext
   3060   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3061 done
   3062 rm -f conftest.$ac_ext
   3063 CC=$ac_save_CC
   3064 
   3065 fi
   3066 # AC_CACHE_VAL
   3067 case "x$ac_cv_prog_cc_c89" in
   3068   x)
   3069     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3070 $as_echo "none needed" >&6; } ;;
   3071   xno)
   3072     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3073 $as_echo "unsupported" >&6; } ;;
   3074   *)
   3075     CC="$CC $ac_cv_prog_cc_c89"
   3076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3077 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3078 esac
   3079 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3080 
   3081 fi
   3082 
   3083 ac_ext=c
   3084 ac_cpp='$CPP $CPPFLAGS'
   3085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3088 
   3089 ac_ext=c
   3090 ac_cpp='$CPP $CPPFLAGS'
   3091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3095 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3096 if ${am_cv_prog_cc_c_o+:} false; then :
   3097   $as_echo_n "(cached) " >&6
   3098 else
   3099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3100 /* end confdefs.h.  */
   3101 
   3102 int
   3103 main ()
   3104 {
   3105 
   3106   ;
   3107   return 0;
   3108 }
   3109 _ACEOF
   3110   # Make sure it works both with $CC and with simple cc.
   3111   # Following AC_PROG_CC_C_O, we do the test twice because some
   3112   # compilers refuse to overwrite an existing .o file with -o,
   3113   # though they will create one.
   3114   am_cv_prog_cc_c_o=yes
   3115   for am_i in 1 2; do
   3116     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3117    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3118    ac_status=$?
   3119    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3120    (exit $ac_status); } \
   3121          && test -f conftest2.$ac_objext; then
   3122       : OK
   3123     else
   3124       am_cv_prog_cc_c_o=no
   3125       break
   3126     fi
   3127   done
   3128   rm -f core conftest*
   3129   unset am_i
   3130 fi
   3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3132 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3133 if test "$am_cv_prog_cc_c_o" != yes; then
   3134    # Losing compiler, so override with the script.
   3135    # FIXME: It is wrong to rewrite CC.
   3136    # But if we don't then we get into trouble of one sort or another.
   3137    # A longer-term fix would be to have automake use am__CC in this case,
   3138    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3139    CC="$am_aux_dir/compile $CC"
   3140 fi
   3141 ac_ext=c
   3142 ac_cpp='$CPP $CPPFLAGS'
   3143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3146 
   3147 
   3148 
   3149 ac_ext=c
   3150 ac_cpp='$CPP $CPPFLAGS'
   3151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3155 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3156 # On Suns, sometimes $CPP names a directory.
   3157 if test -n "$CPP" && test -d "$CPP"; then
   3158   CPP=
   3159 fi
   3160 if test -z "$CPP"; then
   3161   if ${ac_cv_prog_CPP+:} false; then :
   3162   $as_echo_n "(cached) " >&6
   3163 else
   3164       # Double quotes because CPP needs to be expanded
   3165     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3166     do
   3167       ac_preproc_ok=false
   3168 for ac_c_preproc_warn_flag in '' yes
   3169 do
   3170   # Use a header file that comes with gcc, so configuring glibc
   3171   # with a fresh cross-compiler works.
   3172   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3173   # <limits.h> exists even on freestanding compilers.
   3174   # On the NeXT, cc -E runs the code through the compiler's parser,
   3175   # not just through cpp. "Syntax error" is here to catch this case.
   3176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3177 /* end confdefs.h.  */
   3178 #ifdef __STDC__
   3179 # include <limits.h>
   3180 #else
   3181 # include <assert.h>
   3182 #endif
   3183 		     Syntax error
   3184 _ACEOF
   3185 if ac_fn_c_try_cpp "$LINENO"; then :
   3186 
   3187 else
   3188   # Broken: fails on valid input.
   3189 continue
   3190 fi
   3191 rm -f conftest.err conftest.i conftest.$ac_ext
   3192 
   3193   # OK, works on sane cases.  Now check whether nonexistent headers
   3194   # can be detected and how.
   3195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3196 /* end confdefs.h.  */
   3197 #include <ac_nonexistent.h>
   3198 _ACEOF
   3199 if ac_fn_c_try_cpp "$LINENO"; then :
   3200   # Broken: success on invalid input.
   3201 continue
   3202 else
   3203   # Passes both tests.
   3204 ac_preproc_ok=:
   3205 break
   3206 fi
   3207 rm -f conftest.err conftest.i conftest.$ac_ext
   3208 
   3209 done
   3210 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3211 rm -f conftest.i conftest.err conftest.$ac_ext
   3212 if $ac_preproc_ok; then :
   3213   break
   3214 fi
   3215 
   3216     done
   3217     ac_cv_prog_CPP=$CPP
   3218 
   3219 fi
   3220   CPP=$ac_cv_prog_CPP
   3221 else
   3222   ac_cv_prog_CPP=$CPP
   3223 fi
   3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3225 $as_echo "$CPP" >&6; }
   3226 ac_preproc_ok=false
   3227 for ac_c_preproc_warn_flag in '' yes
   3228 do
   3229   # Use a header file that comes with gcc, so configuring glibc
   3230   # with a fresh cross-compiler works.
   3231   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3232   # <limits.h> exists even on freestanding compilers.
   3233   # On the NeXT, cc -E runs the code through the compiler's parser,
   3234   # not just through cpp. "Syntax error" is here to catch this case.
   3235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3236 /* end confdefs.h.  */
   3237 #ifdef __STDC__
   3238 # include <limits.h>
   3239 #else
   3240 # include <assert.h>
   3241 #endif
   3242 		     Syntax error
   3243 _ACEOF
   3244 if ac_fn_c_try_cpp "$LINENO"; then :
   3245 
   3246 else
   3247   # Broken: fails on valid input.
   3248 continue
   3249 fi
   3250 rm -f conftest.err conftest.i conftest.$ac_ext
   3251 
   3252   # OK, works on sane cases.  Now check whether nonexistent headers
   3253   # can be detected and how.
   3254   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3255 /* end confdefs.h.  */
   3256 #include <ac_nonexistent.h>
   3257 _ACEOF
   3258 if ac_fn_c_try_cpp "$LINENO"; then :
   3259   # Broken: success on invalid input.
   3260 continue
   3261 else
   3262   # Passes both tests.
   3263 ac_preproc_ok=:
   3264 break
   3265 fi
   3266 rm -f conftest.err conftest.i conftest.$ac_ext
   3267 
   3268 done
   3269 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3270 rm -f conftest.i conftest.err conftest.$ac_ext
   3271 if $ac_preproc_ok; then :
   3272 
   3273 else
   3274   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3276 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3277 See \`config.log' for more details" "$LINENO" 5; }
   3278 fi
   3279 
   3280 ac_ext=c
   3281 ac_cpp='$CPP $CPPFLAGS'
   3282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3285 
   3286 
   3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3288 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3289 if ${ac_cv_path_GREP+:} false; then :
   3290   $as_echo_n "(cached) " >&6
   3291 else
   3292   if test -z "$GREP"; then
   3293   ac_path_GREP_found=false
   3294   # Loop through the user's path and test for each of PROGNAME-LIST
   3295   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3296 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3297 do
   3298   IFS=$as_save_IFS
   3299   test -z "$as_dir" && as_dir=.
   3300     for ac_prog in grep ggrep; do
   3301     for ac_exec_ext in '' $ac_executable_extensions; do
   3302       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3303       as_fn_executable_p "$ac_path_GREP" || continue
   3304 # Check for GNU ac_path_GREP and select it if it is found.
   3305   # Check for GNU $ac_path_GREP
   3306 case `"$ac_path_GREP" --version 2>&1` in
   3307 *GNU*)
   3308   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3309 *)
   3310   ac_count=0
   3311   $as_echo_n 0123456789 >"conftest.in"
   3312   while :
   3313   do
   3314     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3315     mv "conftest.tmp" "conftest.in"
   3316     cp "conftest.in" "conftest.nl"
   3317     $as_echo 'GREP' >> "conftest.nl"
   3318     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3319     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3320     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3321     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3322       # Best one so far, save it but keep looking for a better one
   3323       ac_cv_path_GREP="$ac_path_GREP"
   3324       ac_path_GREP_max=$ac_count
   3325     fi
   3326     # 10*(2^10) chars as input seems more than enough
   3327     test $ac_count -gt 10 && break
   3328   done
   3329   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3330 esac
   3331 
   3332       $ac_path_GREP_found && break 3
   3333     done
   3334   done
   3335   done
   3336 IFS=$as_save_IFS
   3337   if test -z "$ac_cv_path_GREP"; then
   3338     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3339   fi
   3340 else
   3341   ac_cv_path_GREP=$GREP
   3342 fi
   3343 
   3344 fi
   3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3346 $as_echo "$ac_cv_path_GREP" >&6; }
   3347  GREP="$ac_cv_path_GREP"
   3348 
   3349 
   3350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3351 $as_echo_n "checking for egrep... " >&6; }
   3352 if ${ac_cv_path_EGREP+:} false; then :
   3353   $as_echo_n "(cached) " >&6
   3354 else
   3355   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3356    then ac_cv_path_EGREP="$GREP -E"
   3357    else
   3358      if test -z "$EGREP"; then
   3359   ac_path_EGREP_found=false
   3360   # Loop through the user's path and test for each of PROGNAME-LIST
   3361   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3362 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3363 do
   3364   IFS=$as_save_IFS
   3365   test -z "$as_dir" && as_dir=.
   3366     for ac_prog in egrep; do
   3367     for ac_exec_ext in '' $ac_executable_extensions; do
   3368       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3369       as_fn_executable_p "$ac_path_EGREP" || continue
   3370 # Check for GNU ac_path_EGREP and select it if it is found.
   3371   # Check for GNU $ac_path_EGREP
   3372 case `"$ac_path_EGREP" --version 2>&1` in
   3373 *GNU*)
   3374   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3375 *)
   3376   ac_count=0
   3377   $as_echo_n 0123456789 >"conftest.in"
   3378   while :
   3379   do
   3380     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3381     mv "conftest.tmp" "conftest.in"
   3382     cp "conftest.in" "conftest.nl"
   3383     $as_echo 'EGREP' >> "conftest.nl"
   3384     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3385     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3386     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3387     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3388       # Best one so far, save it but keep looking for a better one
   3389       ac_cv_path_EGREP="$ac_path_EGREP"
   3390       ac_path_EGREP_max=$ac_count
   3391     fi
   3392     # 10*(2^10) chars as input seems more than enough
   3393     test $ac_count -gt 10 && break
   3394   done
   3395   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3396 esac
   3397 
   3398       $ac_path_EGREP_found && break 3
   3399     done
   3400   done
   3401   done
   3402 IFS=$as_save_IFS
   3403   if test -z "$ac_cv_path_EGREP"; then
   3404     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3405   fi
   3406 else
   3407   ac_cv_path_EGREP=$EGREP
   3408 fi
   3409 
   3410    fi
   3411 fi
   3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3413 $as_echo "$ac_cv_path_EGREP" >&6; }
   3414  EGREP="$ac_cv_path_EGREP"
   3415 
   3416 
   3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3418 $as_echo_n "checking for ANSI C header files... " >&6; }
   3419 if ${ac_cv_header_stdc+:} false; then :
   3420   $as_echo_n "(cached) " >&6
   3421 else
   3422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3423 /* end confdefs.h.  */
   3424 #include <stdlib.h>
   3425 #include <stdarg.h>
   3426 #include <string.h>
   3427 #include <float.h>
   3428 
   3429 int
   3430 main ()
   3431 {
   3432 
   3433   ;
   3434   return 0;
   3435 }
   3436 _ACEOF
   3437 if ac_fn_c_try_compile "$LINENO"; then :
   3438   ac_cv_header_stdc=yes
   3439 else
   3440   ac_cv_header_stdc=no
   3441 fi
   3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3443 
   3444 if test $ac_cv_header_stdc = yes; then
   3445   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3447 /* end confdefs.h.  */
   3448 #include <string.h>
   3449 
   3450 _ACEOF
   3451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3452   $EGREP "memchr" >/dev/null 2>&1; then :
   3453 
   3454 else
   3455   ac_cv_header_stdc=no
   3456 fi
   3457 rm -f conftest*
   3458 
   3459 fi
   3460 
   3461 if test $ac_cv_header_stdc = yes; then
   3462   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3464 /* end confdefs.h.  */
   3465 #include <stdlib.h>
   3466 
   3467 _ACEOF
   3468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3469   $EGREP "free" >/dev/null 2>&1; then :
   3470 
   3471 else
   3472   ac_cv_header_stdc=no
   3473 fi
   3474 rm -f conftest*
   3475 
   3476 fi
   3477 
   3478 if test $ac_cv_header_stdc = yes; then
   3479   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3480   if test "$cross_compiling" = yes; then :
   3481   :
   3482 else
   3483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3484 /* end confdefs.h.  */
   3485 #include <ctype.h>
   3486 #include <stdlib.h>
   3487 #if ((' ' & 0x0FF) == 0x020)
   3488 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3489 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3490 #else
   3491 # define ISLOWER(c) \
   3492 		   (('a' <= (c) && (c) <= 'i') \
   3493 		     || ('j' <= (c) && (c) <= 'r') \
   3494 		     || ('s' <= (c) && (c) <= 'z'))
   3495 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3496 #endif
   3497 
   3498 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3499 int
   3500 main ()
   3501 {
   3502   int i;
   3503   for (i = 0; i < 256; i++)
   3504     if (XOR (islower (i), ISLOWER (i))
   3505 	|| toupper (i) != TOUPPER (i))
   3506       return 2;
   3507   return 0;
   3508 }
   3509 _ACEOF
   3510 if ac_fn_c_try_run "$LINENO"; then :
   3511 
   3512 else
   3513   ac_cv_header_stdc=no
   3514 fi
   3515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3516   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3517 fi
   3518 
   3519 fi
   3520 fi
   3521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3522 $as_echo "$ac_cv_header_stdc" >&6; }
   3523 if test $ac_cv_header_stdc = yes; then
   3524 
   3525 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3526 
   3527 fi
   3528 
   3529 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3530 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3531 		  inttypes.h stdint.h unistd.h
   3532 do :
   3533   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3534 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3535 "
   3536 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3537   cat >>confdefs.h <<_ACEOF
   3538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3539 _ACEOF
   3540 
   3541 fi
   3542 
   3543 done
   3544 
   3545 
   3546 
   3547   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3548 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3549   MINIX=yes
   3550 else
   3551   MINIX=
   3552 fi
   3553 
   3554 
   3555   if test "$MINIX" = yes; then
   3556 
   3557 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3558 
   3559 
   3560 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3561 
   3562 
   3563 $as_echo "#define _MINIX 1" >>confdefs.h
   3564 
   3565   fi
   3566 
   3567 
   3568   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3569 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3570 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3571   $as_echo_n "(cached) " >&6
   3572 else
   3573   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3574 /* end confdefs.h.  */
   3575 
   3576 #         define __EXTENSIONS__ 1
   3577           $ac_includes_default
   3578 int
   3579 main ()
   3580 {
   3581 
   3582   ;
   3583   return 0;
   3584 }
   3585 _ACEOF
   3586 if ac_fn_c_try_compile "$LINENO"; then :
   3587   ac_cv_safe_to_define___extensions__=yes
   3588 else
   3589   ac_cv_safe_to_define___extensions__=no
   3590 fi
   3591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3592 fi
   3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3594 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3595   test $ac_cv_safe_to_define___extensions__ = yes &&
   3596     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3597 
   3598   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3599 
   3600   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3601 
   3602   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3603 
   3604   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3605 
   3606 
   3607 
   3608 # Initialize Automake
   3609 am__api_version='1.15'
   3610 
   3611 # Find a good install program.  We prefer a C program (faster),
   3612 # so one script is as good as another.  But avoid the broken or
   3613 # incompatible versions:
   3614 # SysV /etc/install, /usr/sbin/install
   3615 # SunOS /usr/etc/install
   3616 # IRIX /sbin/install
   3617 # AIX /bin/install
   3618 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3619 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3620 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3621 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3622 # OS/2's system install, which has a completely different semantic
   3623 # ./install, which can be erroneously created by make from ./install.sh.
   3624 # Reject install programs that cannot install multiple files.
   3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3626 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3627 if test -z "$INSTALL"; then
   3628 if ${ac_cv_path_install+:} false; then :
   3629   $as_echo_n "(cached) " >&6
   3630 else
   3631   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3632 for as_dir in $PATH
   3633 do
   3634   IFS=$as_save_IFS
   3635   test -z "$as_dir" && as_dir=.
   3636     # Account for people who put trailing slashes in PATH elements.
   3637 case $as_dir/ in #((
   3638   ./ | .// | /[cC]/* | \
   3639   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3640   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3641   /usr/ucb/* ) ;;
   3642   *)
   3643     # OSF1 and SCO ODT 3.0 have their own names for install.
   3644     # Don't use installbsd from OSF since it installs stuff as root
   3645     # by default.
   3646     for ac_prog in ginstall scoinst install; do
   3647       for ac_exec_ext in '' $ac_executable_extensions; do
   3648 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3649 	  if test $ac_prog = install &&
   3650 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3651 	    # AIX install.  It has an incompatible calling convention.
   3652 	    :
   3653 	  elif test $ac_prog = install &&
   3654 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3655 	    # program-specific install script used by HP pwplus--don't use.
   3656 	    :
   3657 	  else
   3658 	    rm -rf conftest.one conftest.two conftest.dir
   3659 	    echo one > conftest.one
   3660 	    echo two > conftest.two
   3661 	    mkdir conftest.dir
   3662 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3663 	      test -s conftest.one && test -s conftest.two &&
   3664 	      test -s conftest.dir/conftest.one &&
   3665 	      test -s conftest.dir/conftest.two
   3666 	    then
   3667 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3668 	      break 3
   3669 	    fi
   3670 	  fi
   3671 	fi
   3672       done
   3673     done
   3674     ;;
   3675 esac
   3676 
   3677   done
   3678 IFS=$as_save_IFS
   3679 
   3680 rm -rf conftest.one conftest.two conftest.dir
   3681 
   3682 fi
   3683   if test "${ac_cv_path_install+set}" = set; then
   3684     INSTALL=$ac_cv_path_install
   3685   else
   3686     # As a last resort, use the slow shell script.  Don't cache a
   3687     # value for INSTALL within a source directory, because that will
   3688     # break other packages using the cache if that directory is
   3689     # removed, or if the value is a relative name.
   3690     INSTALL=$ac_install_sh
   3691   fi
   3692 fi
   3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3694 $as_echo "$INSTALL" >&6; }
   3695 
   3696 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3697 # It thinks the first close brace ends the variable substitution.
   3698 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3699 
   3700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3701 
   3702 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3703 
   3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3705 $as_echo_n "checking whether build environment is sane... " >&6; }
   3706 # Reject unsafe characters in $srcdir or the absolute working directory
   3707 # name.  Accept space and tab only in the latter.
   3708 am_lf='
   3709 '
   3710 case `pwd` in
   3711   *[\\\"\#\$\&\'\`$am_lf]*)
   3712     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3713 esac
   3714 case $srcdir in
   3715   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3716     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3717 esac
   3718 
   3719 # Do 'set' in a subshell so we don't clobber the current shell's
   3720 # arguments.  Must try -L first in case configure is actually a
   3721 # symlink; some systems play weird games with the mod time of symlinks
   3722 # (eg FreeBSD returns the mod time of the symlink's containing
   3723 # directory).
   3724 if (
   3725    am_has_slept=no
   3726    for am_try in 1 2; do
   3727      echo "timestamp, slept: $am_has_slept" > conftest.file
   3728      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3729      if test "$*" = "X"; then
   3730 	# -L didn't work.
   3731 	set X `ls -t "$srcdir/configure" conftest.file`
   3732      fi
   3733      if test "$*" != "X $srcdir/configure conftest.file" \
   3734 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3735 
   3736 	# If neither matched, then we have a broken ls.  This can happen
   3737 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3738 	# broken ls alias from the environment.  This has actually
   3739 	# happened.  Such a system could not be considered "sane".
   3740 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3741   alias in your environment" "$LINENO" 5
   3742      fi
   3743      if test "$2" = conftest.file || test $am_try -eq 2; then
   3744        break
   3745      fi
   3746      # Just in case.
   3747      sleep 1
   3748      am_has_slept=yes
   3749    done
   3750    test "$2" = conftest.file
   3751    )
   3752 then
   3753    # Ok.
   3754    :
   3755 else
   3756    as_fn_error $? "newly created file is older than distributed files!
   3757 Check your system clock" "$LINENO" 5
   3758 fi
   3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3760 $as_echo "yes" >&6; }
   3761 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3762 # generated files are strictly newer.
   3763 am_sleep_pid=
   3764 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3765   ( sleep 1 ) &
   3766   am_sleep_pid=$!
   3767 fi
   3768 
   3769 rm -f conftest.file
   3770 
   3771 test "$program_prefix" != NONE &&
   3772   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3773 # Use a double $ so make ignores it.
   3774 test "$program_suffix" != NONE &&
   3775   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3776 # Double any \ or $.
   3777 # By default was `s,x,x', remove it if useless.
   3778 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3779 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3780 
   3781 if test x"${MISSING+set}" != xset; then
   3782   case $am_aux_dir in
   3783   *\ * | *\	*)
   3784     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3785   *)
   3786     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3787   esac
   3788 fi
   3789 # Use eval to expand $SHELL
   3790 if eval "$MISSING --is-lightweight"; then
   3791   am_missing_run="$MISSING "
   3792 else
   3793   am_missing_run=
   3794   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3795 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3796 fi
   3797 
   3798 if test x"${install_sh+set}" != xset; then
   3799   case $am_aux_dir in
   3800   *\ * | *\	*)
   3801     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3802   *)
   3803     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3804   esac
   3805 fi
   3806 
   3807 # Installed binaries are usually stripped using 'strip' when the user
   3808 # run "make install-strip".  However 'strip' might not be the right
   3809 # tool to use in cross-compilation environments, therefore Automake
   3810 # will honor the 'STRIP' environment variable to overrule this program.
   3811 if test "$cross_compiling" != no; then
   3812   if test -n "$ac_tool_prefix"; then
   3813   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3814 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3816 $as_echo_n "checking for $ac_word... " >&6; }
   3817 if ${ac_cv_prog_STRIP+:} false; then :
   3818   $as_echo_n "(cached) " >&6
   3819 else
   3820   if test -n "$STRIP"; then
   3821   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3822 else
   3823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3824 for as_dir in $PATH
   3825 do
   3826   IFS=$as_save_IFS
   3827   test -z "$as_dir" && as_dir=.
   3828     for ac_exec_ext in '' $ac_executable_extensions; do
   3829   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3830     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3832     break 2
   3833   fi
   3834 done
   3835   done
   3836 IFS=$as_save_IFS
   3837 
   3838 fi
   3839 fi
   3840 STRIP=$ac_cv_prog_STRIP
   3841 if test -n "$STRIP"; then
   3842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3843 $as_echo "$STRIP" >&6; }
   3844 else
   3845   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3846 $as_echo "no" >&6; }
   3847 fi
   3848 
   3849 
   3850 fi
   3851 if test -z "$ac_cv_prog_STRIP"; then
   3852   ac_ct_STRIP=$STRIP
   3853   # Extract the first word of "strip", so it can be a program name with args.
   3854 set dummy strip; ac_word=$2
   3855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3856 $as_echo_n "checking for $ac_word... " >&6; }
   3857 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3858   $as_echo_n "(cached) " >&6
   3859 else
   3860   if test -n "$ac_ct_STRIP"; then
   3861   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3862 else
   3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3864 for as_dir in $PATH
   3865 do
   3866   IFS=$as_save_IFS
   3867   test -z "$as_dir" && as_dir=.
   3868     for ac_exec_ext in '' $ac_executable_extensions; do
   3869   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3870     ac_cv_prog_ac_ct_STRIP="strip"
   3871     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3872     break 2
   3873   fi
   3874 done
   3875   done
   3876 IFS=$as_save_IFS
   3877 
   3878 fi
   3879 fi
   3880 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3881 if test -n "$ac_ct_STRIP"; then
   3882   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3883 $as_echo "$ac_ct_STRIP" >&6; }
   3884 else
   3885   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3886 $as_echo "no" >&6; }
   3887 fi
   3888 
   3889   if test "x$ac_ct_STRIP" = x; then
   3890     STRIP=":"
   3891   else
   3892     case $cross_compiling:$ac_tool_warned in
   3893 yes:)
   3894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3895 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3896 ac_tool_warned=yes ;;
   3897 esac
   3898     STRIP=$ac_ct_STRIP
   3899   fi
   3900 else
   3901   STRIP="$ac_cv_prog_STRIP"
   3902 fi
   3903 
   3904 fi
   3905 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3906 
   3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3908 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3909 if test -z "$MKDIR_P"; then
   3910   if ${ac_cv_path_mkdir+:} false; then :
   3911   $as_echo_n "(cached) " >&6
   3912 else
   3913   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3914 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3915 do
   3916   IFS=$as_save_IFS
   3917   test -z "$as_dir" && as_dir=.
   3918     for ac_prog in mkdir gmkdir; do
   3919 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3920 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3921 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3922 	     'mkdir (GNU coreutils) '* | \
   3923 	     'mkdir (coreutils) '* | \
   3924 	     'mkdir (fileutils) '4.1*)
   3925 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3926 	       break 3;;
   3927 	   esac
   3928 	 done
   3929        done
   3930   done
   3931 IFS=$as_save_IFS
   3932 
   3933 fi
   3934 
   3935   test -d ./--version && rmdir ./--version
   3936   if test "${ac_cv_path_mkdir+set}" = set; then
   3937     MKDIR_P="$ac_cv_path_mkdir -p"
   3938   else
   3939     # As a last resort, use the slow shell script.  Don't cache a
   3940     # value for MKDIR_P within a source directory, because that will
   3941     # break other packages using the cache if that directory is
   3942     # removed, or if the value is a relative name.
   3943     MKDIR_P="$ac_install_sh -d"
   3944   fi
   3945 fi
   3946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   3947 $as_echo "$MKDIR_P" >&6; }
   3948 
   3949 for ac_prog in gawk mawk nawk awk
   3950 do
   3951   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3952 set dummy $ac_prog; ac_word=$2
   3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3954 $as_echo_n "checking for $ac_word... " >&6; }
   3955 if ${ac_cv_prog_AWK+:} false; then :
   3956   $as_echo_n "(cached) " >&6
   3957 else
   3958   if test -n "$AWK"; then
   3959   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   3960 else
   3961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3962 for as_dir in $PATH
   3963 do
   3964   IFS=$as_save_IFS
   3965   test -z "$as_dir" && as_dir=.
   3966     for ac_exec_ext in '' $ac_executable_extensions; do
   3967   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3968     ac_cv_prog_AWK="$ac_prog"
   3969     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3970     break 2
   3971   fi
   3972 done
   3973   done
   3974 IFS=$as_save_IFS
   3975 
   3976 fi
   3977 fi
   3978 AWK=$ac_cv_prog_AWK
   3979 if test -n "$AWK"; then
   3980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   3981 $as_echo "$AWK" >&6; }
   3982 else
   3983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3984 $as_echo "no" >&6; }
   3985 fi
   3986 
   3987 
   3988   test -n "$AWK" && break
   3989 done
   3990 
   3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3992 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   3993 set x ${MAKE-make}
   3994 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   3995 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   3996   $as_echo_n "(cached) " >&6
   3997 else
   3998   cat >conftest.make <<\_ACEOF
   3999 SHELL = /bin/sh
   4000 all:
   4001 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4002 _ACEOF
   4003 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4004 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4005   *@@@%%%=?*=@@@%%%*)
   4006     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4007   *)
   4008     eval ac_cv_prog_make_${ac_make}_set=no;;
   4009 esac
   4010 rm -f conftest.make
   4011 fi
   4012 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4014 $as_echo "yes" >&6; }
   4015   SET_MAKE=
   4016 else
   4017   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4018 $as_echo "no" >&6; }
   4019   SET_MAKE="MAKE=${MAKE-make}"
   4020 fi
   4021 
   4022 rm -rf .tst 2>/dev/null
   4023 mkdir .tst 2>/dev/null
   4024 if test -d .tst; then
   4025   am__leading_dot=.
   4026 else
   4027   am__leading_dot=_
   4028 fi
   4029 rmdir .tst 2>/dev/null
   4030 
   4031 DEPDIR="${am__leading_dot}deps"
   4032 
   4033 ac_config_commands="$ac_config_commands depfiles"
   4034 
   4035 
   4036 am_make=${MAKE-make}
   4037 cat > confinc << 'END'
   4038 am__doit:
   4039 	@echo this is the am__doit target
   4040 .PHONY: am__doit
   4041 END
   4042 # If we don't find an include directive, just comment out the code.
   4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4044 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4045 am__include="#"
   4046 am__quote=
   4047 _am_result=none
   4048 # First try GNU make style include.
   4049 echo "include confinc" > confmf
   4050 # Ignore all kinds of additional output from 'make'.
   4051 case `$am_make -s -f confmf 2> /dev/null` in #(
   4052 *the\ am__doit\ target*)
   4053   am__include=include
   4054   am__quote=
   4055   _am_result=GNU
   4056   ;;
   4057 esac
   4058 # Now try BSD make style include.
   4059 if test "$am__include" = "#"; then
   4060    echo '.include "confinc"' > confmf
   4061    case `$am_make -s -f confmf 2> /dev/null` in #(
   4062    *the\ am__doit\ target*)
   4063      am__include=.include
   4064      am__quote="\""
   4065      _am_result=BSD
   4066      ;;
   4067    esac
   4068 fi
   4069 
   4070 
   4071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4072 $as_echo "$_am_result" >&6; }
   4073 rm -f confinc confmf
   4074 
   4075 # Check whether --enable-dependency-tracking was given.
   4076 if test "${enable_dependency_tracking+set}" = set; then :
   4077   enableval=$enable_dependency_tracking;
   4078 fi
   4079 
   4080 if test "x$enable_dependency_tracking" != xno; then
   4081   am_depcomp="$ac_aux_dir/depcomp"
   4082   AMDEPBACKSLASH='\'
   4083   am__nodep='_no'
   4084 fi
   4085  if test "x$enable_dependency_tracking" != xno; then
   4086   AMDEP_TRUE=
   4087   AMDEP_FALSE='#'
   4088 else
   4089   AMDEP_TRUE='#'
   4090   AMDEP_FALSE=
   4091 fi
   4092 
   4093 
   4094 # Check whether --enable-silent-rules was given.
   4095 if test "${enable_silent_rules+set}" = set; then :
   4096   enableval=$enable_silent_rules;
   4097 fi
   4098 
   4099 case $enable_silent_rules in # (((
   4100   yes) AM_DEFAULT_VERBOSITY=0;;
   4101    no) AM_DEFAULT_VERBOSITY=1;;
   4102     *) AM_DEFAULT_VERBOSITY=1;;
   4103 esac
   4104 am_make=${MAKE-make}
   4105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4106 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4107 if ${am_cv_make_support_nested_variables+:} false; then :
   4108   $as_echo_n "(cached) " >&6
   4109 else
   4110   if $as_echo 'TRUE=$(BAR$(V))
   4111 BAR0=false
   4112 BAR1=true
   4113 V=1
   4114 am__doit:
   4115 	@$(TRUE)
   4116 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4117   am_cv_make_support_nested_variables=yes
   4118 else
   4119   am_cv_make_support_nested_variables=no
   4120 fi
   4121 fi
   4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4123 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4124 if test $am_cv_make_support_nested_variables = yes; then
   4125     AM_V='$(V)'
   4126   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4127 else
   4128   AM_V=$AM_DEFAULT_VERBOSITY
   4129   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4130 fi
   4131 AM_BACKSLASH='\'
   4132 
   4133 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4134   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4135   # is not polluted with repeated "-I."
   4136   am__isrc=' -I$(srcdir)'
   4137   # test to see if srcdir already configured
   4138   if test -f $srcdir/config.status; then
   4139     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4140   fi
   4141 fi
   4142 
   4143 # test whether we have cygpath
   4144 if test -z "$CYGPATH_W"; then
   4145   if (cygpath --version) >/dev/null 2>/dev/null; then
   4146     CYGPATH_W='cygpath -w'
   4147   else
   4148     CYGPATH_W=echo
   4149   fi
   4150 fi
   4151 
   4152 
   4153 # Define the identity of the package.
   4154  PACKAGE='xmodmap'
   4155  VERSION='1.0.10'
   4156 
   4157 
   4158 cat >>confdefs.h <<_ACEOF
   4159 #define PACKAGE "$PACKAGE"
   4160 _ACEOF
   4161 
   4162 
   4163 cat >>confdefs.h <<_ACEOF
   4164 #define VERSION "$VERSION"
   4165 _ACEOF
   4166 
   4167 # Some tools Automake needs.
   4168 
   4169 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4170 
   4171 
   4172 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4173 
   4174 
   4175 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4176 
   4177 
   4178 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4179 
   4180 
   4181 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4182 
   4183 # For better backward compatibility.  To be removed once Automake 1.9.x
   4184 # dies out for good.  For more background, see:
   4185 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4186 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4187 mkdir_p='$(MKDIR_P)'
   4188 
   4189 # We need awk for the "check" target (and possibly the TAP driver).  The
   4190 # system "awk" is bad on some platforms.
   4191 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4192 # in the wild :-(  We should find a proper way to deprecate it ...
   4193 AMTAR='$${TAR-tar}'
   4194 
   4195 
   4196 # We'll loop over all known methods to create a tar archive until one works.
   4197 _am_tools='gnutar  pax cpio none'
   4198 
   4199 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4200 
   4201 
   4202 
   4203 
   4204 
   4205 depcc="$CC"   am_compiler_list=
   4206 
   4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4208 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4209 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4210   $as_echo_n "(cached) " >&6
   4211 else
   4212   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4213   # We make a subdir and do the tests there.  Otherwise we can end up
   4214   # making bogus files that we don't know about and never remove.  For
   4215   # instance it was reported that on HP-UX the gcc test will end up
   4216   # making a dummy file named 'D' -- because '-MD' means "put the output
   4217   # in D".
   4218   rm -rf conftest.dir
   4219   mkdir conftest.dir
   4220   # Copy depcomp to subdir because otherwise we won't find it if we're
   4221   # using a relative directory.
   4222   cp "$am_depcomp" conftest.dir
   4223   cd conftest.dir
   4224   # We will build objects and dependencies in a subdirectory because
   4225   # it helps to detect inapplicable dependency modes.  For instance
   4226   # both Tru64's cc and ICC support -MD to output dependencies as a
   4227   # side effect of compilation, but ICC will put the dependencies in
   4228   # the current directory while Tru64 will put them in the object
   4229   # directory.
   4230   mkdir sub
   4231 
   4232   am_cv_CC_dependencies_compiler_type=none
   4233   if test "$am_compiler_list" = ""; then
   4234      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4235   fi
   4236   am__universal=false
   4237   case " $depcc " in #(
   4238      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4239      esac
   4240 
   4241   for depmode in $am_compiler_list; do
   4242     # Setup a source with many dependencies, because some compilers
   4243     # like to wrap large dependency lists on column 80 (with \), and
   4244     # we should not choose a depcomp mode which is confused by this.
   4245     #
   4246     # We need to recreate these files for each test, as the compiler may
   4247     # overwrite some of them when testing with obscure command lines.
   4248     # This happens at least with the AIX C compiler.
   4249     : > sub/conftest.c
   4250     for i in 1 2 3 4 5 6; do
   4251       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4252       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4253       # Solaris 10 /bin/sh.
   4254       echo '/* dummy */' > sub/conftst$i.h
   4255     done
   4256     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4257 
   4258     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4259     # mode.  It turns out that the SunPro C++ compiler does not properly
   4260     # handle '-M -o', and we need to detect this.  Also, some Intel
   4261     # versions had trouble with output in subdirs.
   4262     am__obj=sub/conftest.${OBJEXT-o}
   4263     am__minus_obj="-o $am__obj"
   4264     case $depmode in
   4265     gcc)
   4266       # This depmode causes a compiler race in universal mode.
   4267       test "$am__universal" = false || continue
   4268       ;;
   4269     nosideeffect)
   4270       # After this tag, mechanisms are not by side-effect, so they'll
   4271       # only be used when explicitly requested.
   4272       if test "x$enable_dependency_tracking" = xyes; then
   4273 	continue
   4274       else
   4275 	break
   4276       fi
   4277       ;;
   4278     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4279       # This compiler won't grok '-c -o', but also, the minuso test has
   4280       # not run yet.  These depmodes are late enough in the game, and
   4281       # so weak that their functioning should not be impacted.
   4282       am__obj=conftest.${OBJEXT-o}
   4283       am__minus_obj=
   4284       ;;
   4285     none) break ;;
   4286     esac
   4287     if depmode=$depmode \
   4288        source=sub/conftest.c object=$am__obj \
   4289        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4290        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4291          >/dev/null 2>conftest.err &&
   4292        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4293        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4294        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4295        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4296       # icc doesn't choke on unknown options, it will just issue warnings
   4297       # or remarks (even with -Werror).  So we grep stderr for any message
   4298       # that says an option was ignored or not supported.
   4299       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4300       #   icc: Command line warning: ignoring option '-M'; no argument required
   4301       # The diagnosis changed in icc 8.0:
   4302       #   icc: Command line remark: option '-MP' not supported
   4303       if (grep 'ignoring option' conftest.err ||
   4304           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4305         am_cv_CC_dependencies_compiler_type=$depmode
   4306         break
   4307       fi
   4308     fi
   4309   done
   4310 
   4311   cd ..
   4312   rm -rf conftest.dir
   4313 else
   4314   am_cv_CC_dependencies_compiler_type=none
   4315 fi
   4316 
   4317 fi
   4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4319 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4320 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4321 
   4322  if
   4323   test "x$enable_dependency_tracking" != xno \
   4324   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4325   am__fastdepCC_TRUE=
   4326   am__fastdepCC_FALSE='#'
   4327 else
   4328   am__fastdepCC_TRUE='#'
   4329   am__fastdepCC_FALSE=
   4330 fi
   4331 
   4332 
   4333 
   4334 # POSIX will say in a future version that running "rm -f" with no argument
   4335 # is OK; and we want to be able to make that assumption in our Makefile
   4336 # recipes.  So use an aggressive probe to check that the usage we want is
   4337 # actually supported "in the wild" to an acceptable degree.
   4338 # See automake bug#10828.
   4339 # To make any issue more visible, cause the running configure to be aborted
   4340 # by default if the 'rm' program in use doesn't match our expectations; the
   4341 # user can still override this though.
   4342 if rm -f && rm -fr && rm -rf; then : OK; else
   4343   cat >&2 <<'END'
   4344 Oops!
   4345 
   4346 Your 'rm' program seems unable to run without file operands specified
   4347 on the command line, even when the '-f' option is present.  This is contrary
   4348 to the behaviour of most rm programs out there, and not conforming with
   4349 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4350 
   4351 Please tell bug-automake@gnu.org about your system, including the value
   4352 of your $PATH and any error possibly output before this message.  This
   4353 can help us improve future automake versions.
   4354 
   4355 END
   4356   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4357     echo 'Configuration will proceed anyway, since you have set the' >&2
   4358     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4359     echo >&2
   4360   else
   4361     cat >&2 <<'END'
   4362 Aborting the configuration process, to ensure you take notice of the issue.
   4363 
   4364 You can download and install GNU coreutils to get an 'rm' implementation
   4365 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4366 
   4367 If you want to complete the configuration process using your problematic
   4368 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4369 to "yes", and re-run configure.
   4370 
   4371 END
   4372     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4373   fi
   4374 fi
   4375 
   4376 
   4377 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   4378 
   4379 
   4380 
   4381 
   4382 
   4383 
   4384 
   4385 
   4386 
   4387 
   4388 
   4389    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4390 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4391 if ${ac_cv_prog_cc_c99+:} false; then :
   4392   $as_echo_n "(cached) " >&6
   4393 else
   4394   ac_cv_prog_cc_c99=no
   4395 ac_save_CC=$CC
   4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4397 /* end confdefs.h.  */
   4398 #include <stdarg.h>
   4399 #include <stdbool.h>
   4400 #include <stdlib.h>
   4401 #include <wchar.h>
   4402 #include <stdio.h>
   4403 
   4404 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4405 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4406 #define showlist(...) puts (#__VA_ARGS__)
   4407 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4408 static void
   4409 test_varargs_macros (void)
   4410 {
   4411   int x = 1234;
   4412   int y = 5678;
   4413   debug ("Flag");
   4414   debug ("X = %d\n", x);
   4415   showlist (The first, second, and third items.);
   4416   report (x>y, "x is %d but y is %d", x, y);
   4417 }
   4418 
   4419 // Check long long types.
   4420 #define BIG64 18446744073709551615ull
   4421 #define BIG32 4294967295ul
   4422 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4423 #if !BIG_OK
   4424   your preprocessor is broken;
   4425 #endif
   4426 #if BIG_OK
   4427 #else
   4428   your preprocessor is broken;
   4429 #endif
   4430 static long long int bignum = -9223372036854775807LL;
   4431 static unsigned long long int ubignum = BIG64;
   4432 
   4433 struct incomplete_array
   4434 {
   4435   int datasize;
   4436   double data[];
   4437 };
   4438 
   4439 struct named_init {
   4440   int number;
   4441   const wchar_t *name;
   4442   double average;
   4443 };
   4444 
   4445 typedef const char *ccp;
   4446 
   4447 static inline int
   4448 test_restrict (ccp restrict text)
   4449 {
   4450   // See if C++-style comments work.
   4451   // Iterate through items via the restricted pointer.
   4452   // Also check for declarations in for loops.
   4453   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4454     continue;
   4455   return 0;
   4456 }
   4457 
   4458 // Check varargs and va_copy.
   4459 static void
   4460 test_varargs (const char *format, ...)
   4461 {
   4462   va_list args;
   4463   va_start (args, format);
   4464   va_list args_copy;
   4465   va_copy (args_copy, args);
   4466 
   4467   const char *str;
   4468   int number;
   4469   float fnumber;
   4470 
   4471   while (*format)
   4472     {
   4473       switch (*format++)
   4474 	{
   4475 	case 's': // string
   4476 	  str = va_arg (args_copy, const char *);
   4477 	  break;
   4478 	case 'd': // int
   4479 	  number = va_arg (args_copy, int);
   4480 	  break;
   4481 	case 'f': // float
   4482 	  fnumber = va_arg (args_copy, double);
   4483 	  break;
   4484 	default:
   4485 	  break;
   4486 	}
   4487     }
   4488   va_end (args_copy);
   4489   va_end (args);
   4490 }
   4491 
   4492 int
   4493 main ()
   4494 {
   4495 
   4496   // Check bool.
   4497   _Bool success = false;
   4498 
   4499   // Check restrict.
   4500   if (test_restrict ("String literal") == 0)
   4501     success = true;
   4502   char *restrict newvar = "Another string";
   4503 
   4504   // Check varargs.
   4505   test_varargs ("s, d' f .", "string", 65, 34.234);
   4506   test_varargs_macros ();
   4507 
   4508   // Check flexible array members.
   4509   struct incomplete_array *ia =
   4510     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4511   ia->datasize = 10;
   4512   for (int i = 0; i < ia->datasize; ++i)
   4513     ia->data[i] = i * 1.234;
   4514 
   4515   // Check named initializers.
   4516   struct named_init ni = {
   4517     .number = 34,
   4518     .name = L"Test wide string",
   4519     .average = 543.34343,
   4520   };
   4521 
   4522   ni.number = 58;
   4523 
   4524   int dynamic_array[ni.number];
   4525   dynamic_array[ni.number - 1] = 543;
   4526 
   4527   // work around unused variable warnings
   4528   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4529 	  || dynamic_array[ni.number - 1] != 543);
   4530 
   4531   ;
   4532   return 0;
   4533 }
   4534 _ACEOF
   4535 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4536 do
   4537   CC="$ac_save_CC $ac_arg"
   4538   if ac_fn_c_try_compile "$LINENO"; then :
   4539   ac_cv_prog_cc_c99=$ac_arg
   4540 fi
   4541 rm -f core conftest.err conftest.$ac_objext
   4542   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4543 done
   4544 rm -f conftest.$ac_ext
   4545 CC=$ac_save_CC
   4546 
   4547 fi
   4548 # AC_CACHE_VAL
   4549 case "x$ac_cv_prog_cc_c99" in
   4550   x)
   4551     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4552 $as_echo "none needed" >&6; } ;;
   4553   xno)
   4554     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4555 $as_echo "unsupported" >&6; } ;;
   4556   *)
   4557     CC="$CC $ac_cv_prog_cc_c99"
   4558     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4559 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4560 esac
   4561 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4562 
   4563 fi
   4564 
   4565 
   4566 
   4567 
   4568 
   4569 
   4570 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4571 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4572   CLANGCC="yes"
   4573 else
   4574   CLANGCC="no"
   4575 fi
   4576 
   4577 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4578 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4579   INTELCC="yes"
   4580 else
   4581   INTELCC="no"
   4582 fi
   4583 
   4584 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4585 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4586   SUNCC="yes"
   4587 else
   4588   SUNCC="no"
   4589 fi
   4590 
   4591 
   4592 
   4593 
   4594 
   4595 
   4596 
   4597 
   4598 
   4599 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4600 	if test -n "$ac_tool_prefix"; then
   4601   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4602 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4604 $as_echo_n "checking for $ac_word... " >&6; }
   4605 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4606   $as_echo_n "(cached) " >&6
   4607 else
   4608   case $PKG_CONFIG in
   4609   [\\/]* | ?:[\\/]*)
   4610   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4611   ;;
   4612   *)
   4613   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4614 for as_dir in $PATH
   4615 do
   4616   IFS=$as_save_IFS
   4617   test -z "$as_dir" && as_dir=.
   4618     for ac_exec_ext in '' $ac_executable_extensions; do
   4619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4620     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4622     break 2
   4623   fi
   4624 done
   4625   done
   4626 IFS=$as_save_IFS
   4627 
   4628   ;;
   4629 esac
   4630 fi
   4631 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4632 if test -n "$PKG_CONFIG"; then
   4633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4634 $as_echo "$PKG_CONFIG" >&6; }
   4635 else
   4636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4637 $as_echo "no" >&6; }
   4638 fi
   4639 
   4640 
   4641 fi
   4642 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4643   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4644   # Extract the first word of "pkg-config", so it can be a program name with args.
   4645 set dummy pkg-config; ac_word=$2
   4646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4647 $as_echo_n "checking for $ac_word... " >&6; }
   4648 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4649   $as_echo_n "(cached) " >&6
   4650 else
   4651   case $ac_pt_PKG_CONFIG in
   4652   [\\/]* | ?:[\\/]*)
   4653   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4654   ;;
   4655   *)
   4656   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4657 for as_dir in $PATH
   4658 do
   4659   IFS=$as_save_IFS
   4660   test -z "$as_dir" && as_dir=.
   4661     for ac_exec_ext in '' $ac_executable_extensions; do
   4662   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4663     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4664     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4665     break 2
   4666   fi
   4667 done
   4668   done
   4669 IFS=$as_save_IFS
   4670 
   4671   ;;
   4672 esac
   4673 fi
   4674 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4675 if test -n "$ac_pt_PKG_CONFIG"; then
   4676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4677 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4678 else
   4679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4680 $as_echo "no" >&6; }
   4681 fi
   4682 
   4683   if test "x$ac_pt_PKG_CONFIG" = x; then
   4684     PKG_CONFIG=""
   4685   else
   4686     case $cross_compiling:$ac_tool_warned in
   4687 yes:)
   4688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4690 ac_tool_warned=yes ;;
   4691 esac
   4692     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4693   fi
   4694 else
   4695   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4696 fi
   4697 
   4698 fi
   4699 if test -n "$PKG_CONFIG"; then
   4700 	_pkg_min_version=0.9.0
   4701 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4702 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4703 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4704 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4705 $as_echo "yes" >&6; }
   4706 	else
   4707 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4708 $as_echo "no" >&6; }
   4709 		PKG_CONFIG=""
   4710 	fi
   4711 fi
   4712 # Make sure we can run config.sub.
   4713 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4714   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4715 
   4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4717 $as_echo_n "checking build system type... " >&6; }
   4718 if ${ac_cv_build+:} false; then :
   4719   $as_echo_n "(cached) " >&6
   4720 else
   4721   ac_build_alias=$build_alias
   4722 test "x$ac_build_alias" = x &&
   4723   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4724 test "x$ac_build_alias" = x &&
   4725   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4726 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4727   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4728 
   4729 fi
   4730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4731 $as_echo "$ac_cv_build" >&6; }
   4732 case $ac_cv_build in
   4733 *-*-*) ;;
   4734 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4735 esac
   4736 build=$ac_cv_build
   4737 ac_save_IFS=$IFS; IFS='-'
   4738 set x $ac_cv_build
   4739 shift
   4740 build_cpu=$1
   4741 build_vendor=$2
   4742 shift; shift
   4743 # Remember, the first character of IFS is used to create $*,
   4744 # except with old shells:
   4745 build_os=$*
   4746 IFS=$ac_save_IFS
   4747 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4748 
   4749 
   4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4751 $as_echo_n "checking host system type... " >&6; }
   4752 if ${ac_cv_host+:} false; then :
   4753   $as_echo_n "(cached) " >&6
   4754 else
   4755   if test "x$host_alias" = x; then
   4756   ac_cv_host=$ac_cv_build
   4757 else
   4758   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4759     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4760 fi
   4761 
   4762 fi
   4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4764 $as_echo "$ac_cv_host" >&6; }
   4765 case $ac_cv_host in
   4766 *-*-*) ;;
   4767 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4768 esac
   4769 host=$ac_cv_host
   4770 ac_save_IFS=$IFS; IFS='-'
   4771 set x $ac_cv_host
   4772 shift
   4773 host_cpu=$1
   4774 host_vendor=$2
   4775 shift; shift
   4776 # Remember, the first character of IFS is used to create $*,
   4777 # except with old shells:
   4778 host_os=$*
   4779 IFS=$ac_save_IFS
   4780 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4781 
   4782 
   4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4784 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4785 if ${ac_cv_path_SED+:} false; then :
   4786   $as_echo_n "(cached) " >&6
   4787 else
   4788             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4789      for ac_i in 1 2 3 4 5 6 7; do
   4790        ac_script="$ac_script$as_nl$ac_script"
   4791      done
   4792      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4793      { ac_script=; unset ac_script;}
   4794      if test -z "$SED"; then
   4795   ac_path_SED_found=false
   4796   # Loop through the user's path and test for each of PROGNAME-LIST
   4797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4798 for as_dir in $PATH
   4799 do
   4800   IFS=$as_save_IFS
   4801   test -z "$as_dir" && as_dir=.
   4802     for ac_prog in sed gsed; do
   4803     for ac_exec_ext in '' $ac_executable_extensions; do
   4804       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4805       as_fn_executable_p "$ac_path_SED" || continue
   4806 # Check for GNU ac_path_SED and select it if it is found.
   4807   # Check for GNU $ac_path_SED
   4808 case `"$ac_path_SED" --version 2>&1` in
   4809 *GNU*)
   4810   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4811 *)
   4812   ac_count=0
   4813   $as_echo_n 0123456789 >"conftest.in"
   4814   while :
   4815   do
   4816     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4817     mv "conftest.tmp" "conftest.in"
   4818     cp "conftest.in" "conftest.nl"
   4819     $as_echo '' >> "conftest.nl"
   4820     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4821     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4822     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4823     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4824       # Best one so far, save it but keep looking for a better one
   4825       ac_cv_path_SED="$ac_path_SED"
   4826       ac_path_SED_max=$ac_count
   4827     fi
   4828     # 10*(2^10) chars as input seems more than enough
   4829     test $ac_count -gt 10 && break
   4830   done
   4831   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4832 esac
   4833 
   4834       $ac_path_SED_found && break 3
   4835     done
   4836   done
   4837   done
   4838 IFS=$as_save_IFS
   4839   if test -z "$ac_cv_path_SED"; then
   4840     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4841   fi
   4842 else
   4843   ac_cv_path_SED=$SED
   4844 fi
   4845 
   4846 fi
   4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4848 $as_echo "$ac_cv_path_SED" >&6; }
   4849  SED="$ac_cv_path_SED"
   4850   rm -f conftest.sed
   4851 
   4852 
   4853 
   4854 
   4855 
   4856 
   4857 # Check whether --enable-selective-werror was given.
   4858 if test "${enable_selective_werror+set}" = set; then :
   4859   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4860 else
   4861   SELECTIVE_WERROR=yes
   4862 fi
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4869 if test "x$SUNCC" = "xyes"; then
   4870     BASE_CFLAGS="-v"
   4871 else
   4872     BASE_CFLAGS=""
   4873 fi
   4874 
   4875 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4876 
   4877 
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 xorg_testset_save_CFLAGS="$CFLAGS"
   4890 
   4891 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4892 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4893 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4894 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4895 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4896   $as_echo_n "(cached) " >&6
   4897 else
   4898   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4899 /* end confdefs.h.  */
   4900 int i;
   4901 _ACEOF
   4902 if ac_fn_c_try_compile "$LINENO"; then :
   4903   xorg_cv_cc_flag_unknown_warning_option=yes
   4904 else
   4905   xorg_cv_cc_flag_unknown_warning_option=no
   4906 fi
   4907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4908 fi
   4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4910 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4911 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4912 	CFLAGS="$xorg_testset_save_CFLAGS"
   4913 fi
   4914 
   4915 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4916 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4917 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4918 	fi
   4919 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4921 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4922 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4923   $as_echo_n "(cached) " >&6
   4924 else
   4925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4926 /* end confdefs.h.  */
   4927 int i;
   4928 _ACEOF
   4929 if ac_fn_c_try_compile "$LINENO"; then :
   4930   xorg_cv_cc_flag_unused_command_line_argument=yes
   4931 else
   4932   xorg_cv_cc_flag_unused_command_line_argument=no
   4933 fi
   4934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4935 fi
   4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4937 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4938 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4939 	CFLAGS="$xorg_testset_save_CFLAGS"
   4940 fi
   4941 
   4942 found="no"
   4943 
   4944 	if test $found = "no" ; then
   4945 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4946 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4947 		fi
   4948 
   4949 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4950 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4951 		fi
   4952 
   4953 		CFLAGS="$CFLAGS -Wall"
   4954 
   4955 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4956 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4957 		cacheid=xorg_cv_cc_flag__Wall
   4958 		if eval \${$cacheid+:} false; then :
   4959   $as_echo_n "(cached) " >&6
   4960 else
   4961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4962 /* end confdefs.h.  */
   4963 int i;
   4964 int
   4965 main ()
   4966 {
   4967 
   4968   ;
   4969   return 0;
   4970 }
   4971 _ACEOF
   4972 if ac_fn_c_try_link "$LINENO"; then :
   4973   eval $cacheid=yes
   4974 else
   4975   eval $cacheid=no
   4976 fi
   4977 rm -f core conftest.err conftest.$ac_objext \
   4978     conftest$ac_exeext conftest.$ac_ext
   4979 fi
   4980 
   4981 
   4982 		CFLAGS="$xorg_testset_save_CFLAGS"
   4983 
   4984 		eval supported=\$$cacheid
   4985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4986 $as_echo "$supported" >&6; }
   4987 		if test "$supported" = "yes" ; then
   4988 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4989 			found="yes"
   4990 		fi
   4991 	fi
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 xorg_testset_save_CFLAGS="$CFLAGS"
   5008 
   5009 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5010 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5012 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5013 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5014   $as_echo_n "(cached) " >&6
   5015 else
   5016   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5017 /* end confdefs.h.  */
   5018 int i;
   5019 _ACEOF
   5020 if ac_fn_c_try_compile "$LINENO"; then :
   5021   xorg_cv_cc_flag_unknown_warning_option=yes
   5022 else
   5023   xorg_cv_cc_flag_unknown_warning_option=no
   5024 fi
   5025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5026 fi
   5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5028 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5029 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5030 	CFLAGS="$xorg_testset_save_CFLAGS"
   5031 fi
   5032 
   5033 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5034 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5035 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5036 	fi
   5037 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5039 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5040 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5041   $as_echo_n "(cached) " >&6
   5042 else
   5043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5044 /* end confdefs.h.  */
   5045 int i;
   5046 _ACEOF
   5047 if ac_fn_c_try_compile "$LINENO"; then :
   5048   xorg_cv_cc_flag_unused_command_line_argument=yes
   5049 else
   5050   xorg_cv_cc_flag_unused_command_line_argument=no
   5051 fi
   5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5053 fi
   5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5055 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5056 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5057 	CFLAGS="$xorg_testset_save_CFLAGS"
   5058 fi
   5059 
   5060 found="no"
   5061 
   5062 	if test $found = "no" ; then
   5063 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5064 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5065 		fi
   5066 
   5067 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5068 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5069 		fi
   5070 
   5071 		CFLAGS="$CFLAGS -Wpointer-arith"
   5072 
   5073 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5074 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5075 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5076 		if eval \${$cacheid+:} false; then :
   5077   $as_echo_n "(cached) " >&6
   5078 else
   5079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5080 /* end confdefs.h.  */
   5081 int i;
   5082 int
   5083 main ()
   5084 {
   5085 
   5086   ;
   5087   return 0;
   5088 }
   5089 _ACEOF
   5090 if ac_fn_c_try_link "$LINENO"; then :
   5091   eval $cacheid=yes
   5092 else
   5093   eval $cacheid=no
   5094 fi
   5095 rm -f core conftest.err conftest.$ac_objext \
   5096     conftest$ac_exeext conftest.$ac_ext
   5097 fi
   5098 
   5099 
   5100 		CFLAGS="$xorg_testset_save_CFLAGS"
   5101 
   5102 		eval supported=\$$cacheid
   5103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5104 $as_echo "$supported" >&6; }
   5105 		if test "$supported" = "yes" ; then
   5106 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5107 			found="yes"
   5108 		fi
   5109 	fi
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 
   5117 
   5118 
   5119 
   5120 
   5121 
   5122 
   5123 
   5124 
   5125 xorg_testset_save_CFLAGS="$CFLAGS"
   5126 
   5127 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5128 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5129 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5130 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5131 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5132   $as_echo_n "(cached) " >&6
   5133 else
   5134   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5135 /* end confdefs.h.  */
   5136 int i;
   5137 _ACEOF
   5138 if ac_fn_c_try_compile "$LINENO"; then :
   5139   xorg_cv_cc_flag_unknown_warning_option=yes
   5140 else
   5141   xorg_cv_cc_flag_unknown_warning_option=no
   5142 fi
   5143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5144 fi
   5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5146 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5147 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5148 	CFLAGS="$xorg_testset_save_CFLAGS"
   5149 fi
   5150 
   5151 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5152 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5153 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5154 	fi
   5155 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5157 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5158 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5159   $as_echo_n "(cached) " >&6
   5160 else
   5161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5162 /* end confdefs.h.  */
   5163 int i;
   5164 _ACEOF
   5165 if ac_fn_c_try_compile "$LINENO"; then :
   5166   xorg_cv_cc_flag_unused_command_line_argument=yes
   5167 else
   5168   xorg_cv_cc_flag_unused_command_line_argument=no
   5169 fi
   5170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5171 fi
   5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5173 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5174 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5175 	CFLAGS="$xorg_testset_save_CFLAGS"
   5176 fi
   5177 
   5178 found="no"
   5179 
   5180 	if test $found = "no" ; then
   5181 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5182 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5183 		fi
   5184 
   5185 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5186 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5187 		fi
   5188 
   5189 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5190 
   5191 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5192 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5193 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5194 		if eval \${$cacheid+:} false; then :
   5195   $as_echo_n "(cached) " >&6
   5196 else
   5197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5198 /* end confdefs.h.  */
   5199 int i;
   5200 int
   5201 main ()
   5202 {
   5203 
   5204   ;
   5205   return 0;
   5206 }
   5207 _ACEOF
   5208 if ac_fn_c_try_link "$LINENO"; then :
   5209   eval $cacheid=yes
   5210 else
   5211   eval $cacheid=no
   5212 fi
   5213 rm -f core conftest.err conftest.$ac_objext \
   5214     conftest$ac_exeext conftest.$ac_ext
   5215 fi
   5216 
   5217 
   5218 		CFLAGS="$xorg_testset_save_CFLAGS"
   5219 
   5220 		eval supported=\$$cacheid
   5221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5222 $as_echo "$supported" >&6; }
   5223 		if test "$supported" = "yes" ; then
   5224 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5225 			found="yes"
   5226 		fi
   5227 	fi
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 xorg_testset_save_CFLAGS="$CFLAGS"
   5244 
   5245 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5246 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5247 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5248 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5249 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5250   $as_echo_n "(cached) " >&6
   5251 else
   5252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5253 /* end confdefs.h.  */
   5254 int i;
   5255 _ACEOF
   5256 if ac_fn_c_try_compile "$LINENO"; then :
   5257   xorg_cv_cc_flag_unknown_warning_option=yes
   5258 else
   5259   xorg_cv_cc_flag_unknown_warning_option=no
   5260 fi
   5261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5262 fi
   5263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5264 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5265 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5266 	CFLAGS="$xorg_testset_save_CFLAGS"
   5267 fi
   5268 
   5269 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5270 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5271 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5272 	fi
   5273 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5275 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5276 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5277   $as_echo_n "(cached) " >&6
   5278 else
   5279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5280 /* end confdefs.h.  */
   5281 int i;
   5282 _ACEOF
   5283 if ac_fn_c_try_compile "$LINENO"; then :
   5284   xorg_cv_cc_flag_unused_command_line_argument=yes
   5285 else
   5286   xorg_cv_cc_flag_unused_command_line_argument=no
   5287 fi
   5288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5289 fi
   5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5291 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5292 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5293 	CFLAGS="$xorg_testset_save_CFLAGS"
   5294 fi
   5295 
   5296 found="no"
   5297 
   5298 	if test $found = "no" ; then
   5299 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5300 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5301 		fi
   5302 
   5303 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5304 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5305 		fi
   5306 
   5307 		CFLAGS="$CFLAGS -Wformat=2"
   5308 
   5309 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5310 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5311 		cacheid=xorg_cv_cc_flag__Wformat_2
   5312 		if eval \${$cacheid+:} false; then :
   5313   $as_echo_n "(cached) " >&6
   5314 else
   5315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5316 /* end confdefs.h.  */
   5317 int i;
   5318 int
   5319 main ()
   5320 {
   5321 
   5322   ;
   5323   return 0;
   5324 }
   5325 _ACEOF
   5326 if ac_fn_c_try_link "$LINENO"; then :
   5327   eval $cacheid=yes
   5328 else
   5329   eval $cacheid=no
   5330 fi
   5331 rm -f core conftest.err conftest.$ac_objext \
   5332     conftest$ac_exeext conftest.$ac_ext
   5333 fi
   5334 
   5335 
   5336 		CFLAGS="$xorg_testset_save_CFLAGS"
   5337 
   5338 		eval supported=\$$cacheid
   5339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5340 $as_echo "$supported" >&6; }
   5341 		if test "$supported" = "yes" ; then
   5342 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5343 			found="yes"
   5344 		fi
   5345 	fi
   5346 
   5347 	if test $found = "no" ; then
   5348 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5349 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5350 		fi
   5351 
   5352 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5353 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5354 		fi
   5355 
   5356 		CFLAGS="$CFLAGS -Wformat"
   5357 
   5358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5359 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5360 		cacheid=xorg_cv_cc_flag__Wformat
   5361 		if eval \${$cacheid+:} false; then :
   5362   $as_echo_n "(cached) " >&6
   5363 else
   5364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5365 /* end confdefs.h.  */
   5366 int i;
   5367 int
   5368 main ()
   5369 {
   5370 
   5371   ;
   5372   return 0;
   5373 }
   5374 _ACEOF
   5375 if ac_fn_c_try_link "$LINENO"; then :
   5376   eval $cacheid=yes
   5377 else
   5378   eval $cacheid=no
   5379 fi
   5380 rm -f core conftest.err conftest.$ac_objext \
   5381     conftest$ac_exeext conftest.$ac_ext
   5382 fi
   5383 
   5384 
   5385 		CFLAGS="$xorg_testset_save_CFLAGS"
   5386 
   5387 		eval supported=\$$cacheid
   5388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5389 $as_echo "$supported" >&6; }
   5390 		if test "$supported" = "yes" ; then
   5391 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5392 			found="yes"
   5393 		fi
   5394 	fi
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 xorg_testset_save_CFLAGS="$CFLAGS"
   5413 
   5414 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5415 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5417 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5418 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5419   $as_echo_n "(cached) " >&6
   5420 else
   5421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5422 /* end confdefs.h.  */
   5423 int i;
   5424 _ACEOF
   5425 if ac_fn_c_try_compile "$LINENO"; then :
   5426   xorg_cv_cc_flag_unknown_warning_option=yes
   5427 else
   5428   xorg_cv_cc_flag_unknown_warning_option=no
   5429 fi
   5430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5431 fi
   5432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5433 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5434 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5435 	CFLAGS="$xorg_testset_save_CFLAGS"
   5436 fi
   5437 
   5438 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5439 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5440 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5441 	fi
   5442 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5444 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5445 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5446   $as_echo_n "(cached) " >&6
   5447 else
   5448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5449 /* end confdefs.h.  */
   5450 int i;
   5451 _ACEOF
   5452 if ac_fn_c_try_compile "$LINENO"; then :
   5453   xorg_cv_cc_flag_unused_command_line_argument=yes
   5454 else
   5455   xorg_cv_cc_flag_unused_command_line_argument=no
   5456 fi
   5457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5458 fi
   5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5460 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5461 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5462 	CFLAGS="$xorg_testset_save_CFLAGS"
   5463 fi
   5464 
   5465 found="no"
   5466 
   5467 	if test $found = "no" ; then
   5468 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5469 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5470 		fi
   5471 
   5472 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5473 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5474 		fi
   5475 
   5476 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5477 
   5478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5479 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5480 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5481 		if eval \${$cacheid+:} false; then :
   5482   $as_echo_n "(cached) " >&6
   5483 else
   5484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5485 /* end confdefs.h.  */
   5486 int i;
   5487 int
   5488 main ()
   5489 {
   5490 
   5491   ;
   5492   return 0;
   5493 }
   5494 _ACEOF
   5495 if ac_fn_c_try_link "$LINENO"; then :
   5496   eval $cacheid=yes
   5497 else
   5498   eval $cacheid=no
   5499 fi
   5500 rm -f core conftest.err conftest.$ac_objext \
   5501     conftest$ac_exeext conftest.$ac_ext
   5502 fi
   5503 
   5504 
   5505 		CFLAGS="$xorg_testset_save_CFLAGS"
   5506 
   5507 		eval supported=\$$cacheid
   5508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5509 $as_echo "$supported" >&6; }
   5510 		if test "$supported" = "yes" ; then
   5511 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5512 			found="yes"
   5513 		fi
   5514 	fi
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 
   5528 
   5529 
   5530 xorg_testset_save_CFLAGS="$CFLAGS"
   5531 
   5532 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5533 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5535 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5536 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5537   $as_echo_n "(cached) " >&6
   5538 else
   5539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5540 /* end confdefs.h.  */
   5541 int i;
   5542 _ACEOF
   5543 if ac_fn_c_try_compile "$LINENO"; then :
   5544   xorg_cv_cc_flag_unknown_warning_option=yes
   5545 else
   5546   xorg_cv_cc_flag_unknown_warning_option=no
   5547 fi
   5548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5549 fi
   5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5551 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5552 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5553 	CFLAGS="$xorg_testset_save_CFLAGS"
   5554 fi
   5555 
   5556 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5557 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5558 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5559 	fi
   5560 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5562 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5563 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5564   $as_echo_n "(cached) " >&6
   5565 else
   5566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5567 /* end confdefs.h.  */
   5568 int i;
   5569 _ACEOF
   5570 if ac_fn_c_try_compile "$LINENO"; then :
   5571   xorg_cv_cc_flag_unused_command_line_argument=yes
   5572 else
   5573   xorg_cv_cc_flag_unused_command_line_argument=no
   5574 fi
   5575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5576 fi
   5577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5578 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5579 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5580 	CFLAGS="$xorg_testset_save_CFLAGS"
   5581 fi
   5582 
   5583 found="no"
   5584 
   5585 	if test $found = "no" ; then
   5586 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5587 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5588 		fi
   5589 
   5590 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5591 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5592 		fi
   5593 
   5594 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5595 
   5596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5597 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5598 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5599 		if eval \${$cacheid+:} false; then :
   5600   $as_echo_n "(cached) " >&6
   5601 else
   5602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5603 /* end confdefs.h.  */
   5604 int i;
   5605 int
   5606 main ()
   5607 {
   5608 
   5609   ;
   5610   return 0;
   5611 }
   5612 _ACEOF
   5613 if ac_fn_c_try_link "$LINENO"; then :
   5614   eval $cacheid=yes
   5615 else
   5616   eval $cacheid=no
   5617 fi
   5618 rm -f core conftest.err conftest.$ac_objext \
   5619     conftest$ac_exeext conftest.$ac_ext
   5620 fi
   5621 
   5622 
   5623 		CFLAGS="$xorg_testset_save_CFLAGS"
   5624 
   5625 		eval supported=\$$cacheid
   5626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5627 $as_echo "$supported" >&6; }
   5628 		if test "$supported" = "yes" ; then
   5629 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5630 			found="yes"
   5631 		fi
   5632 	fi
   5633 
   5634 
   5635 
   5636 
   5637 
   5638 
   5639 
   5640 
   5641 
   5642 
   5643 
   5644 
   5645 
   5646 
   5647 
   5648 xorg_testset_save_CFLAGS="$CFLAGS"
   5649 
   5650 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5653 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5654 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5655   $as_echo_n "(cached) " >&6
   5656 else
   5657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5658 /* end confdefs.h.  */
   5659 int i;
   5660 _ACEOF
   5661 if ac_fn_c_try_compile "$LINENO"; then :
   5662   xorg_cv_cc_flag_unknown_warning_option=yes
   5663 else
   5664   xorg_cv_cc_flag_unknown_warning_option=no
   5665 fi
   5666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5667 fi
   5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5669 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5670 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5671 	CFLAGS="$xorg_testset_save_CFLAGS"
   5672 fi
   5673 
   5674 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5675 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5677 	fi
   5678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5680 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5681 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5682   $as_echo_n "(cached) " >&6
   5683 else
   5684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5685 /* end confdefs.h.  */
   5686 int i;
   5687 _ACEOF
   5688 if ac_fn_c_try_compile "$LINENO"; then :
   5689   xorg_cv_cc_flag_unused_command_line_argument=yes
   5690 else
   5691   xorg_cv_cc_flag_unused_command_line_argument=no
   5692 fi
   5693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5694 fi
   5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5696 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5697 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5698 	CFLAGS="$xorg_testset_save_CFLAGS"
   5699 fi
   5700 
   5701 found="no"
   5702 
   5703 	if test $found = "no" ; then
   5704 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5706 		fi
   5707 
   5708 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5710 		fi
   5711 
   5712 		CFLAGS="$CFLAGS -Wnested-externs"
   5713 
   5714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5715 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5716 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5717 		if eval \${$cacheid+:} false; then :
   5718   $as_echo_n "(cached) " >&6
   5719 else
   5720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5721 /* end confdefs.h.  */
   5722 int i;
   5723 int
   5724 main ()
   5725 {
   5726 
   5727   ;
   5728   return 0;
   5729 }
   5730 _ACEOF
   5731 if ac_fn_c_try_link "$LINENO"; then :
   5732   eval $cacheid=yes
   5733 else
   5734   eval $cacheid=no
   5735 fi
   5736 rm -f core conftest.err conftest.$ac_objext \
   5737     conftest$ac_exeext conftest.$ac_ext
   5738 fi
   5739 
   5740 
   5741 		CFLAGS="$xorg_testset_save_CFLAGS"
   5742 
   5743 		eval supported=\$$cacheid
   5744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5745 $as_echo "$supported" >&6; }
   5746 		if test "$supported" = "yes" ; then
   5747 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5748 			found="yes"
   5749 		fi
   5750 	fi
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 xorg_testset_save_CFLAGS="$CFLAGS"
   5767 
   5768 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5769 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5771 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5772 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5773   $as_echo_n "(cached) " >&6
   5774 else
   5775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5776 /* end confdefs.h.  */
   5777 int i;
   5778 _ACEOF
   5779 if ac_fn_c_try_compile "$LINENO"; then :
   5780   xorg_cv_cc_flag_unknown_warning_option=yes
   5781 else
   5782   xorg_cv_cc_flag_unknown_warning_option=no
   5783 fi
   5784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5785 fi
   5786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5787 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5788 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5789 	CFLAGS="$xorg_testset_save_CFLAGS"
   5790 fi
   5791 
   5792 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5793 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5794 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5795 	fi
   5796 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5798 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5799 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5800   $as_echo_n "(cached) " >&6
   5801 else
   5802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5803 /* end confdefs.h.  */
   5804 int i;
   5805 _ACEOF
   5806 if ac_fn_c_try_compile "$LINENO"; then :
   5807   xorg_cv_cc_flag_unused_command_line_argument=yes
   5808 else
   5809   xorg_cv_cc_flag_unused_command_line_argument=no
   5810 fi
   5811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5812 fi
   5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5814 $as_echo "$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 -Wbad-function-cast"
   5831 
   5832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5833 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5834 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5835 		if eval \${$cacheid+:} false; then :
   5836   $as_echo_n "(cached) " >&6
   5837 else
   5838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5839 /* end confdefs.h.  */
   5840 int i;
   5841 int
   5842 main ()
   5843 {
   5844 
   5845   ;
   5846   return 0;
   5847 }
   5848 _ACEOF
   5849 if ac_fn_c_try_link "$LINENO"; then :
   5850   eval $cacheid=yes
   5851 else
   5852   eval $cacheid=no
   5853 fi
   5854 rm -f core conftest.err conftest.$ac_objext \
   5855     conftest$ac_exeext conftest.$ac_ext
   5856 fi
   5857 
   5858 
   5859 		CFLAGS="$xorg_testset_save_CFLAGS"
   5860 
   5861 		eval supported=\$$cacheid
   5862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5863 $as_echo "$supported" >&6; }
   5864 		if test "$supported" = "yes" ; then
   5865 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5866 			found="yes"
   5867 		fi
   5868 	fi
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 xorg_testset_save_CFLAGS="$CFLAGS"
   5885 
   5886 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5887 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5889 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5890 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5891   $as_echo_n "(cached) " >&6
   5892 else
   5893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5894 /* end confdefs.h.  */
   5895 int i;
   5896 _ACEOF
   5897 if ac_fn_c_try_compile "$LINENO"; then :
   5898   xorg_cv_cc_flag_unknown_warning_option=yes
   5899 else
   5900   xorg_cv_cc_flag_unknown_warning_option=no
   5901 fi
   5902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5903 fi
   5904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5905 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5906 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5907 	CFLAGS="$xorg_testset_save_CFLAGS"
   5908 fi
   5909 
   5910 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5911 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5912 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5913 	fi
   5914 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5916 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5917 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5918   $as_echo_n "(cached) " >&6
   5919 else
   5920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5921 /* end confdefs.h.  */
   5922 int i;
   5923 _ACEOF
   5924 if ac_fn_c_try_compile "$LINENO"; then :
   5925   xorg_cv_cc_flag_unused_command_line_argument=yes
   5926 else
   5927   xorg_cv_cc_flag_unused_command_line_argument=no
   5928 fi
   5929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5930 fi
   5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5932 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5933 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5934 	CFLAGS="$xorg_testset_save_CFLAGS"
   5935 fi
   5936 
   5937 found="no"
   5938 
   5939 	if test $found = "no" ; then
   5940 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5941 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5942 		fi
   5943 
   5944 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5945 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5946 		fi
   5947 
   5948 		CFLAGS="$CFLAGS -Wold-style-definition"
   5949 
   5950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5951 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5952 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5953 		if eval \${$cacheid+:} false; then :
   5954   $as_echo_n "(cached) " >&6
   5955 else
   5956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5957 /* end confdefs.h.  */
   5958 int i;
   5959 int
   5960 main ()
   5961 {
   5962 
   5963   ;
   5964   return 0;
   5965 }
   5966 _ACEOF
   5967 if ac_fn_c_try_link "$LINENO"; then :
   5968   eval $cacheid=yes
   5969 else
   5970   eval $cacheid=no
   5971 fi
   5972 rm -f core conftest.err conftest.$ac_objext \
   5973     conftest$ac_exeext conftest.$ac_ext
   5974 fi
   5975 
   5976 
   5977 		CFLAGS="$xorg_testset_save_CFLAGS"
   5978 
   5979 		eval supported=\$$cacheid
   5980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5981 $as_echo "$supported" >&6; }
   5982 		if test "$supported" = "yes" ; then
   5983 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5984 			found="yes"
   5985 		fi
   5986 	fi
   5987 
   5988 	if test $found = "no" ; then
   5989 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5990 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5991 		fi
   5992 
   5993 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5994 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5995 		fi
   5996 
   5997 		CFLAGS="$CFLAGS -fd"
   5998 
   5999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6000 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6001 		cacheid=xorg_cv_cc_flag__fd
   6002 		if eval \${$cacheid+:} false; then :
   6003   $as_echo_n "(cached) " >&6
   6004 else
   6005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6006 /* end confdefs.h.  */
   6007 int i;
   6008 int
   6009 main ()
   6010 {
   6011 
   6012   ;
   6013   return 0;
   6014 }
   6015 _ACEOF
   6016 if ac_fn_c_try_link "$LINENO"; then :
   6017   eval $cacheid=yes
   6018 else
   6019   eval $cacheid=no
   6020 fi
   6021 rm -f core conftest.err conftest.$ac_objext \
   6022     conftest$ac_exeext conftest.$ac_ext
   6023 fi
   6024 
   6025 
   6026 		CFLAGS="$xorg_testset_save_CFLAGS"
   6027 
   6028 		eval supported=\$$cacheid
   6029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6030 $as_echo "$supported" >&6; }
   6031 		if test "$supported" = "yes" ; then
   6032 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6033 			found="yes"
   6034 		fi
   6035 	fi
   6036 
   6037 
   6038 
   6039 
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 xorg_testset_save_CFLAGS="$CFLAGS"
   6052 
   6053 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6054 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6055 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6056 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6057 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6058   $as_echo_n "(cached) " >&6
   6059 else
   6060   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6061 /* end confdefs.h.  */
   6062 int i;
   6063 _ACEOF
   6064 if ac_fn_c_try_compile "$LINENO"; then :
   6065   xorg_cv_cc_flag_unknown_warning_option=yes
   6066 else
   6067   xorg_cv_cc_flag_unknown_warning_option=no
   6068 fi
   6069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6070 fi
   6071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6072 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6073 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6074 	CFLAGS="$xorg_testset_save_CFLAGS"
   6075 fi
   6076 
   6077 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6078 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6079 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6080 	fi
   6081 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6082 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6083 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6084 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6085   $as_echo_n "(cached) " >&6
   6086 else
   6087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6088 /* end confdefs.h.  */
   6089 int i;
   6090 _ACEOF
   6091 if ac_fn_c_try_compile "$LINENO"; then :
   6092   xorg_cv_cc_flag_unused_command_line_argument=yes
   6093 else
   6094   xorg_cv_cc_flag_unused_command_line_argument=no
   6095 fi
   6096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6097 fi
   6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6099 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6100 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6101 	CFLAGS="$xorg_testset_save_CFLAGS"
   6102 fi
   6103 
   6104 found="no"
   6105 
   6106 	if test $found = "no" ; then
   6107 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6108 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6109 		fi
   6110 
   6111 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6112 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6113 		fi
   6114 
   6115 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6116 
   6117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6118 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6119 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6120 		if eval \${$cacheid+:} false; then :
   6121   $as_echo_n "(cached) " >&6
   6122 else
   6123   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6124 /* end confdefs.h.  */
   6125 int i;
   6126 int
   6127 main ()
   6128 {
   6129 
   6130   ;
   6131   return 0;
   6132 }
   6133 _ACEOF
   6134 if ac_fn_c_try_link "$LINENO"; then :
   6135   eval $cacheid=yes
   6136 else
   6137   eval $cacheid=no
   6138 fi
   6139 rm -f core conftest.err conftest.$ac_objext \
   6140     conftest$ac_exeext conftest.$ac_ext
   6141 fi
   6142 
   6143 
   6144 		CFLAGS="$xorg_testset_save_CFLAGS"
   6145 
   6146 		eval supported=\$$cacheid
   6147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6148 $as_echo "$supported" >&6; }
   6149 		if test "$supported" = "yes" ; then
   6150 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6151 			found="yes"
   6152 		fi
   6153 	fi
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 # This chunk adds additional warnings that could catch undesired effects.
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 
   6166 
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 xorg_testset_save_CFLAGS="$CFLAGS"
   6174 
   6175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6178 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6179 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6180   $as_echo_n "(cached) " >&6
   6181 else
   6182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6183 /* end confdefs.h.  */
   6184 int i;
   6185 _ACEOF
   6186 if ac_fn_c_try_compile "$LINENO"; then :
   6187   xorg_cv_cc_flag_unknown_warning_option=yes
   6188 else
   6189   xorg_cv_cc_flag_unknown_warning_option=no
   6190 fi
   6191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6192 fi
   6193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6194 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6195 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6196 	CFLAGS="$xorg_testset_save_CFLAGS"
   6197 fi
   6198 
   6199 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6200 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6201 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6202 	fi
   6203 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6205 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6206 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6207   $as_echo_n "(cached) " >&6
   6208 else
   6209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6210 /* end confdefs.h.  */
   6211 int i;
   6212 _ACEOF
   6213 if ac_fn_c_try_compile "$LINENO"; then :
   6214   xorg_cv_cc_flag_unused_command_line_argument=yes
   6215 else
   6216   xorg_cv_cc_flag_unused_command_line_argument=no
   6217 fi
   6218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6219 fi
   6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6221 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6222 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6223 	CFLAGS="$xorg_testset_save_CFLAGS"
   6224 fi
   6225 
   6226 found="no"
   6227 
   6228 	if test $found = "no" ; then
   6229 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6231 		fi
   6232 
   6233 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6235 		fi
   6236 
   6237 		CFLAGS="$CFLAGS -Wunused"
   6238 
   6239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6240 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6241 		cacheid=xorg_cv_cc_flag__Wunused
   6242 		if eval \${$cacheid+:} false; then :
   6243   $as_echo_n "(cached) " >&6
   6244 else
   6245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6246 /* end confdefs.h.  */
   6247 int i;
   6248 int
   6249 main ()
   6250 {
   6251 
   6252   ;
   6253   return 0;
   6254 }
   6255 _ACEOF
   6256 if ac_fn_c_try_link "$LINENO"; then :
   6257   eval $cacheid=yes
   6258 else
   6259   eval $cacheid=no
   6260 fi
   6261 rm -f core conftest.err conftest.$ac_objext \
   6262     conftest$ac_exeext conftest.$ac_ext
   6263 fi
   6264 
   6265 
   6266 		CFLAGS="$xorg_testset_save_CFLAGS"
   6267 
   6268 		eval supported=\$$cacheid
   6269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6270 $as_echo "$supported" >&6; }
   6271 		if test "$supported" = "yes" ; then
   6272 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6273 			found="yes"
   6274 		fi
   6275 	fi
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 
   6282 
   6283 
   6284 
   6285 
   6286 
   6287 
   6288 
   6289 
   6290 
   6291 xorg_testset_save_CFLAGS="$CFLAGS"
   6292 
   6293 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6294 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6296 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6297 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6298   $as_echo_n "(cached) " >&6
   6299 else
   6300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6301 /* end confdefs.h.  */
   6302 int i;
   6303 _ACEOF
   6304 if ac_fn_c_try_compile "$LINENO"; then :
   6305   xorg_cv_cc_flag_unknown_warning_option=yes
   6306 else
   6307   xorg_cv_cc_flag_unknown_warning_option=no
   6308 fi
   6309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6310 fi
   6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6312 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6314 	CFLAGS="$xorg_testset_save_CFLAGS"
   6315 fi
   6316 
   6317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6320 	fi
   6321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6322 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6323 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6324 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6325   $as_echo_n "(cached) " >&6
   6326 else
   6327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6328 /* end confdefs.h.  */
   6329 int i;
   6330 _ACEOF
   6331 if ac_fn_c_try_compile "$LINENO"; then :
   6332   xorg_cv_cc_flag_unused_command_line_argument=yes
   6333 else
   6334   xorg_cv_cc_flag_unused_command_line_argument=no
   6335 fi
   6336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6337 fi
   6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6339 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6341 	CFLAGS="$xorg_testset_save_CFLAGS"
   6342 fi
   6343 
   6344 found="no"
   6345 
   6346 	if test $found = "no" ; then
   6347 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6349 		fi
   6350 
   6351 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6353 		fi
   6354 
   6355 		CFLAGS="$CFLAGS -Wuninitialized"
   6356 
   6357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6358 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6359 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6360 		if eval \${$cacheid+:} false; then :
   6361   $as_echo_n "(cached) " >&6
   6362 else
   6363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6364 /* end confdefs.h.  */
   6365 int i;
   6366 int
   6367 main ()
   6368 {
   6369 
   6370   ;
   6371   return 0;
   6372 }
   6373 _ACEOF
   6374 if ac_fn_c_try_link "$LINENO"; then :
   6375   eval $cacheid=yes
   6376 else
   6377   eval $cacheid=no
   6378 fi
   6379 rm -f core conftest.err conftest.$ac_objext \
   6380     conftest$ac_exeext conftest.$ac_ext
   6381 fi
   6382 
   6383 
   6384 		CFLAGS="$xorg_testset_save_CFLAGS"
   6385 
   6386 		eval supported=\$$cacheid
   6387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6388 $as_echo "$supported" >&6; }
   6389 		if test "$supported" = "yes" ; then
   6390 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6391 			found="yes"
   6392 		fi
   6393 	fi
   6394 
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 xorg_testset_save_CFLAGS="$CFLAGS"
   6410 
   6411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6414 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6415 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6416   $as_echo_n "(cached) " >&6
   6417 else
   6418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6419 /* end confdefs.h.  */
   6420 int i;
   6421 _ACEOF
   6422 if ac_fn_c_try_compile "$LINENO"; then :
   6423   xorg_cv_cc_flag_unknown_warning_option=yes
   6424 else
   6425   xorg_cv_cc_flag_unknown_warning_option=no
   6426 fi
   6427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6428 fi
   6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6430 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6432 	CFLAGS="$xorg_testset_save_CFLAGS"
   6433 fi
   6434 
   6435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6438 	fi
   6439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6441 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6442 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6443   $as_echo_n "(cached) " >&6
   6444 else
   6445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6446 /* end confdefs.h.  */
   6447 int i;
   6448 _ACEOF
   6449 if ac_fn_c_try_compile "$LINENO"; then :
   6450   xorg_cv_cc_flag_unused_command_line_argument=yes
   6451 else
   6452   xorg_cv_cc_flag_unused_command_line_argument=no
   6453 fi
   6454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6455 fi
   6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6457 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6459 	CFLAGS="$xorg_testset_save_CFLAGS"
   6460 fi
   6461 
   6462 found="no"
   6463 
   6464 	if test $found = "no" ; then
   6465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6467 		fi
   6468 
   6469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6471 		fi
   6472 
   6473 		CFLAGS="$CFLAGS -Wshadow"
   6474 
   6475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6476 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6477 		cacheid=xorg_cv_cc_flag__Wshadow
   6478 		if eval \${$cacheid+:} false; then :
   6479   $as_echo_n "(cached) " >&6
   6480 else
   6481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6482 /* end confdefs.h.  */
   6483 int i;
   6484 int
   6485 main ()
   6486 {
   6487 
   6488   ;
   6489   return 0;
   6490 }
   6491 _ACEOF
   6492 if ac_fn_c_try_link "$LINENO"; then :
   6493   eval $cacheid=yes
   6494 else
   6495   eval $cacheid=no
   6496 fi
   6497 rm -f core conftest.err conftest.$ac_objext \
   6498     conftest$ac_exeext conftest.$ac_ext
   6499 fi
   6500 
   6501 
   6502 		CFLAGS="$xorg_testset_save_CFLAGS"
   6503 
   6504 		eval supported=\$$cacheid
   6505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6506 $as_echo "$supported" >&6; }
   6507 		if test "$supported" = "yes" ; then
   6508 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6509 			found="yes"
   6510 		fi
   6511 	fi
   6512 
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520 
   6521 
   6522 
   6523 
   6524 
   6525 
   6526 
   6527 xorg_testset_save_CFLAGS="$CFLAGS"
   6528 
   6529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6532 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6533 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6534   $as_echo_n "(cached) " >&6
   6535 else
   6536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6537 /* end confdefs.h.  */
   6538 int i;
   6539 _ACEOF
   6540 if ac_fn_c_try_compile "$LINENO"; then :
   6541   xorg_cv_cc_flag_unknown_warning_option=yes
   6542 else
   6543   xorg_cv_cc_flag_unknown_warning_option=no
   6544 fi
   6545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6546 fi
   6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6548 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6550 	CFLAGS="$xorg_testset_save_CFLAGS"
   6551 fi
   6552 
   6553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6556 	fi
   6557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6559 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6560 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6561   $as_echo_n "(cached) " >&6
   6562 else
   6563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6564 /* end confdefs.h.  */
   6565 int i;
   6566 _ACEOF
   6567 if ac_fn_c_try_compile "$LINENO"; then :
   6568   xorg_cv_cc_flag_unused_command_line_argument=yes
   6569 else
   6570   xorg_cv_cc_flag_unused_command_line_argument=no
   6571 fi
   6572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6573 fi
   6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6575 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6577 	CFLAGS="$xorg_testset_save_CFLAGS"
   6578 fi
   6579 
   6580 found="no"
   6581 
   6582 	if test $found = "no" ; then
   6583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6585 		fi
   6586 
   6587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6589 		fi
   6590 
   6591 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6592 
   6593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6594 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6595 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6596 		if eval \${$cacheid+:} false; then :
   6597   $as_echo_n "(cached) " >&6
   6598 else
   6599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6600 /* end confdefs.h.  */
   6601 int i;
   6602 int
   6603 main ()
   6604 {
   6605 
   6606   ;
   6607   return 0;
   6608 }
   6609 _ACEOF
   6610 if ac_fn_c_try_link "$LINENO"; then :
   6611   eval $cacheid=yes
   6612 else
   6613   eval $cacheid=no
   6614 fi
   6615 rm -f core conftest.err conftest.$ac_objext \
   6616     conftest$ac_exeext conftest.$ac_ext
   6617 fi
   6618 
   6619 
   6620 		CFLAGS="$xorg_testset_save_CFLAGS"
   6621 
   6622 		eval supported=\$$cacheid
   6623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6624 $as_echo "$supported" >&6; }
   6625 		if test "$supported" = "yes" ; then
   6626 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6627 			found="yes"
   6628 		fi
   6629 	fi
   6630 
   6631 
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 xorg_testset_save_CFLAGS="$CFLAGS"
   6646 
   6647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6650 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6651 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6652   $as_echo_n "(cached) " >&6
   6653 else
   6654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6655 /* end confdefs.h.  */
   6656 int i;
   6657 _ACEOF
   6658 if ac_fn_c_try_compile "$LINENO"; then :
   6659   xorg_cv_cc_flag_unknown_warning_option=yes
   6660 else
   6661   xorg_cv_cc_flag_unknown_warning_option=no
   6662 fi
   6663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6664 fi
   6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6666 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6668 	CFLAGS="$xorg_testset_save_CFLAGS"
   6669 fi
   6670 
   6671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6674 	fi
   6675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6677 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6678 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6679   $as_echo_n "(cached) " >&6
   6680 else
   6681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6682 /* end confdefs.h.  */
   6683 int i;
   6684 _ACEOF
   6685 if ac_fn_c_try_compile "$LINENO"; then :
   6686   xorg_cv_cc_flag_unused_command_line_argument=yes
   6687 else
   6688   xorg_cv_cc_flag_unused_command_line_argument=no
   6689 fi
   6690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6691 fi
   6692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6693 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6694 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6695 	CFLAGS="$xorg_testset_save_CFLAGS"
   6696 fi
   6697 
   6698 found="no"
   6699 
   6700 	if test $found = "no" ; then
   6701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6703 		fi
   6704 
   6705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6707 		fi
   6708 
   6709 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6710 
   6711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6712 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6713 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6714 		if eval \${$cacheid+:} false; then :
   6715   $as_echo_n "(cached) " >&6
   6716 else
   6717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6718 /* end confdefs.h.  */
   6719 int i;
   6720 int
   6721 main ()
   6722 {
   6723 
   6724   ;
   6725   return 0;
   6726 }
   6727 _ACEOF
   6728 if ac_fn_c_try_link "$LINENO"; then :
   6729   eval $cacheid=yes
   6730 else
   6731   eval $cacheid=no
   6732 fi
   6733 rm -f core conftest.err conftest.$ac_objext \
   6734     conftest$ac_exeext conftest.$ac_ext
   6735 fi
   6736 
   6737 
   6738 		CFLAGS="$xorg_testset_save_CFLAGS"
   6739 
   6740 		eval supported=\$$cacheid
   6741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6742 $as_echo "$supported" >&6; }
   6743 		if test "$supported" = "yes" ; then
   6744 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6745 			found="yes"
   6746 		fi
   6747 	fi
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 
   6763 xorg_testset_save_CFLAGS="$CFLAGS"
   6764 
   6765 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6766 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6768 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6769 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6770   $as_echo_n "(cached) " >&6
   6771 else
   6772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6773 /* end confdefs.h.  */
   6774 int i;
   6775 _ACEOF
   6776 if ac_fn_c_try_compile "$LINENO"; then :
   6777   xorg_cv_cc_flag_unknown_warning_option=yes
   6778 else
   6779   xorg_cv_cc_flag_unknown_warning_option=no
   6780 fi
   6781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6782 fi
   6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6784 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6785 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6786 	CFLAGS="$xorg_testset_save_CFLAGS"
   6787 fi
   6788 
   6789 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6790 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6791 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6792 	fi
   6793 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6795 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6796 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6797   $as_echo_n "(cached) " >&6
   6798 else
   6799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6800 /* end confdefs.h.  */
   6801 int i;
   6802 _ACEOF
   6803 if ac_fn_c_try_compile "$LINENO"; then :
   6804   xorg_cv_cc_flag_unused_command_line_argument=yes
   6805 else
   6806   xorg_cv_cc_flag_unused_command_line_argument=no
   6807 fi
   6808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6809 fi
   6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6811 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6813 	CFLAGS="$xorg_testset_save_CFLAGS"
   6814 fi
   6815 
   6816 found="no"
   6817 
   6818 	if test $found = "no" ; then
   6819 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6821 		fi
   6822 
   6823 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6825 		fi
   6826 
   6827 		CFLAGS="$CFLAGS -Wredundant-decls"
   6828 
   6829 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6830 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6831 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6832 		if eval \${$cacheid+:} false; then :
   6833   $as_echo_n "(cached) " >&6
   6834 else
   6835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6836 /* end confdefs.h.  */
   6837 int i;
   6838 int
   6839 main ()
   6840 {
   6841 
   6842   ;
   6843   return 0;
   6844 }
   6845 _ACEOF
   6846 if ac_fn_c_try_link "$LINENO"; then :
   6847   eval $cacheid=yes
   6848 else
   6849   eval $cacheid=no
   6850 fi
   6851 rm -f core conftest.err conftest.$ac_objext \
   6852     conftest$ac_exeext conftest.$ac_ext
   6853 fi
   6854 
   6855 
   6856 		CFLAGS="$xorg_testset_save_CFLAGS"
   6857 
   6858 		eval supported=\$$cacheid
   6859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6860 $as_echo "$supported" >&6; }
   6861 		if test "$supported" = "yes" ; then
   6862 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6863 			found="yes"
   6864 		fi
   6865 	fi
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 xorg_testset_save_CFLAGS="$CFLAGS"
   6882 
   6883 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6886 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6887 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6888   $as_echo_n "(cached) " >&6
   6889 else
   6890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6891 /* end confdefs.h.  */
   6892 int i;
   6893 _ACEOF
   6894 if ac_fn_c_try_compile "$LINENO"; then :
   6895   xorg_cv_cc_flag_unknown_warning_option=yes
   6896 else
   6897   xorg_cv_cc_flag_unknown_warning_option=no
   6898 fi
   6899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6900 fi
   6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6902 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6904 	CFLAGS="$xorg_testset_save_CFLAGS"
   6905 fi
   6906 
   6907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6910 	fi
   6911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6913 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6914 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6915   $as_echo_n "(cached) " >&6
   6916 else
   6917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6918 /* end confdefs.h.  */
   6919 int i;
   6920 _ACEOF
   6921 if ac_fn_c_try_compile "$LINENO"; then :
   6922   xorg_cv_cc_flag_unused_command_line_argument=yes
   6923 else
   6924   xorg_cv_cc_flag_unused_command_line_argument=no
   6925 fi
   6926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6927 fi
   6928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6929 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6931 	CFLAGS="$xorg_testset_save_CFLAGS"
   6932 fi
   6933 
   6934 found="no"
   6935 
   6936 	if test $found = "no" ; then
   6937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6939 		fi
   6940 
   6941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6943 		fi
   6944 
   6945 		CFLAGS="$CFLAGS -Wlogical-op"
   6946 
   6947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6948 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6949 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6950 		if eval \${$cacheid+:} false; then :
   6951   $as_echo_n "(cached) " >&6
   6952 else
   6953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6954 /* end confdefs.h.  */
   6955 int i;
   6956 int
   6957 main ()
   6958 {
   6959 
   6960   ;
   6961   return 0;
   6962 }
   6963 _ACEOF
   6964 if ac_fn_c_try_link "$LINENO"; then :
   6965   eval $cacheid=yes
   6966 else
   6967   eval $cacheid=no
   6968 fi
   6969 rm -f core conftest.err conftest.$ac_objext \
   6970     conftest$ac_exeext conftest.$ac_ext
   6971 fi
   6972 
   6973 
   6974 		CFLAGS="$xorg_testset_save_CFLAGS"
   6975 
   6976 		eval supported=\$$cacheid
   6977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6978 $as_echo "$supported" >&6; }
   6979 		if test "$supported" = "yes" ; then
   6980 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   6981 			found="yes"
   6982 		fi
   6983 	fi
   6984 
   6985 
   6986 
   6987 # These are currently disabled because they are noisy.  They will be enabled
   6988 # in the future once the codebase is sufficiently modernized to silence
   6989 # them.  For now, I don't want them to drown out the other warnings.
   6990 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6991 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6992 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6993 
   6994 # Turn some warnings into errors, so we don't accidently get successful builds
   6995 # when there are problems that should be fixed.
   6996 
   6997 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 xorg_testset_save_CFLAGS="$CFLAGS"
   7012 
   7013 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7014 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7015 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7016 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7017 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7018   $as_echo_n "(cached) " >&6
   7019 else
   7020   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7021 /* end confdefs.h.  */
   7022 int i;
   7023 _ACEOF
   7024 if ac_fn_c_try_compile "$LINENO"; then :
   7025   xorg_cv_cc_flag_unknown_warning_option=yes
   7026 else
   7027   xorg_cv_cc_flag_unknown_warning_option=no
   7028 fi
   7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7030 fi
   7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7032 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7033 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7034 	CFLAGS="$xorg_testset_save_CFLAGS"
   7035 fi
   7036 
   7037 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7038 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7039 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7040 	fi
   7041 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7043 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7044 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7045   $as_echo_n "(cached) " >&6
   7046 else
   7047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7048 /* end confdefs.h.  */
   7049 int i;
   7050 _ACEOF
   7051 if ac_fn_c_try_compile "$LINENO"; then :
   7052   xorg_cv_cc_flag_unused_command_line_argument=yes
   7053 else
   7054   xorg_cv_cc_flag_unused_command_line_argument=no
   7055 fi
   7056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7057 fi
   7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7059 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7060 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7061 	CFLAGS="$xorg_testset_save_CFLAGS"
   7062 fi
   7063 
   7064 found="no"
   7065 
   7066 	if test $found = "no" ; then
   7067 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7068 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7069 		fi
   7070 
   7071 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7072 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7073 		fi
   7074 
   7075 		CFLAGS="$CFLAGS -Werror=implicit"
   7076 
   7077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7078 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7079 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7080 		if eval \${$cacheid+:} false; then :
   7081   $as_echo_n "(cached) " >&6
   7082 else
   7083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7084 /* end confdefs.h.  */
   7085 int i;
   7086 int
   7087 main ()
   7088 {
   7089 
   7090   ;
   7091   return 0;
   7092 }
   7093 _ACEOF
   7094 if ac_fn_c_try_link "$LINENO"; then :
   7095   eval $cacheid=yes
   7096 else
   7097   eval $cacheid=no
   7098 fi
   7099 rm -f core conftest.err conftest.$ac_objext \
   7100     conftest$ac_exeext conftest.$ac_ext
   7101 fi
   7102 
   7103 
   7104 		CFLAGS="$xorg_testset_save_CFLAGS"
   7105 
   7106 		eval supported=\$$cacheid
   7107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7108 $as_echo "$supported" >&6; }
   7109 		if test "$supported" = "yes" ; then
   7110 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7111 			found="yes"
   7112 		fi
   7113 	fi
   7114 
   7115 	if test $found = "no" ; then
   7116 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7117 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7118 		fi
   7119 
   7120 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7121 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7122 		fi
   7123 
   7124 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7125 
   7126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7127 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7128 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7129 		if eval \${$cacheid+:} false; then :
   7130   $as_echo_n "(cached) " >&6
   7131 else
   7132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7133 /* end confdefs.h.  */
   7134 int i;
   7135 int
   7136 main ()
   7137 {
   7138 
   7139   ;
   7140   return 0;
   7141 }
   7142 _ACEOF
   7143 if ac_fn_c_try_link "$LINENO"; then :
   7144   eval $cacheid=yes
   7145 else
   7146   eval $cacheid=no
   7147 fi
   7148 rm -f core conftest.err conftest.$ac_objext \
   7149     conftest$ac_exeext conftest.$ac_ext
   7150 fi
   7151 
   7152 
   7153 		CFLAGS="$xorg_testset_save_CFLAGS"
   7154 
   7155 		eval supported=\$$cacheid
   7156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7157 $as_echo "$supported" >&6; }
   7158 		if test "$supported" = "yes" ; then
   7159 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7160 			found="yes"
   7161 		fi
   7162 	fi
   7163 
   7164 
   7165 
   7166 
   7167 
   7168 
   7169 
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 
   7178 xorg_testset_save_CFLAGS="$CFLAGS"
   7179 
   7180 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7181 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7183 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7184 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7185   $as_echo_n "(cached) " >&6
   7186 else
   7187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7188 /* end confdefs.h.  */
   7189 int i;
   7190 _ACEOF
   7191 if ac_fn_c_try_compile "$LINENO"; then :
   7192   xorg_cv_cc_flag_unknown_warning_option=yes
   7193 else
   7194   xorg_cv_cc_flag_unknown_warning_option=no
   7195 fi
   7196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7197 fi
   7198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7199 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7200 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7201 	CFLAGS="$xorg_testset_save_CFLAGS"
   7202 fi
   7203 
   7204 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7205 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7206 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7207 	fi
   7208 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7209 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7210 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7211 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7212   $as_echo_n "(cached) " >&6
   7213 else
   7214   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7215 /* end confdefs.h.  */
   7216 int i;
   7217 _ACEOF
   7218 if ac_fn_c_try_compile "$LINENO"; then :
   7219   xorg_cv_cc_flag_unused_command_line_argument=yes
   7220 else
   7221   xorg_cv_cc_flag_unused_command_line_argument=no
   7222 fi
   7223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7224 fi
   7225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7226 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7227 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7228 	CFLAGS="$xorg_testset_save_CFLAGS"
   7229 fi
   7230 
   7231 found="no"
   7232 
   7233 	if test $found = "no" ; then
   7234 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7235 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7236 		fi
   7237 
   7238 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7239 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7240 		fi
   7241 
   7242 		CFLAGS="$CFLAGS -Werror=nonnull"
   7243 
   7244 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7245 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7246 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7247 		if eval \${$cacheid+:} false; then :
   7248   $as_echo_n "(cached) " >&6
   7249 else
   7250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7251 /* end confdefs.h.  */
   7252 int i;
   7253 int
   7254 main ()
   7255 {
   7256 
   7257   ;
   7258   return 0;
   7259 }
   7260 _ACEOF
   7261 if ac_fn_c_try_link "$LINENO"; then :
   7262   eval $cacheid=yes
   7263 else
   7264   eval $cacheid=no
   7265 fi
   7266 rm -f core conftest.err conftest.$ac_objext \
   7267     conftest$ac_exeext conftest.$ac_ext
   7268 fi
   7269 
   7270 
   7271 		CFLAGS="$xorg_testset_save_CFLAGS"
   7272 
   7273 		eval supported=\$$cacheid
   7274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7275 $as_echo "$supported" >&6; }
   7276 		if test "$supported" = "yes" ; then
   7277 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7278 			found="yes"
   7279 		fi
   7280 	fi
   7281 
   7282 
   7283 
   7284 
   7285 
   7286 
   7287 
   7288 
   7289 
   7290 
   7291 
   7292 
   7293 
   7294 
   7295 
   7296 xorg_testset_save_CFLAGS="$CFLAGS"
   7297 
   7298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7301 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7302 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7303   $as_echo_n "(cached) " >&6
   7304 else
   7305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7306 /* end confdefs.h.  */
   7307 int i;
   7308 _ACEOF
   7309 if ac_fn_c_try_compile "$LINENO"; then :
   7310   xorg_cv_cc_flag_unknown_warning_option=yes
   7311 else
   7312   xorg_cv_cc_flag_unknown_warning_option=no
   7313 fi
   7314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7315 fi
   7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7317 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7319 	CFLAGS="$xorg_testset_save_CFLAGS"
   7320 fi
   7321 
   7322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7325 	fi
   7326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7328 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7329 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7330   $as_echo_n "(cached) " >&6
   7331 else
   7332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7333 /* end confdefs.h.  */
   7334 int i;
   7335 _ACEOF
   7336 if ac_fn_c_try_compile "$LINENO"; then :
   7337   xorg_cv_cc_flag_unused_command_line_argument=yes
   7338 else
   7339   xorg_cv_cc_flag_unused_command_line_argument=no
   7340 fi
   7341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7342 fi
   7343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7344 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7346 	CFLAGS="$xorg_testset_save_CFLAGS"
   7347 fi
   7348 
   7349 found="no"
   7350 
   7351 	if test $found = "no" ; then
   7352 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7354 		fi
   7355 
   7356 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7358 		fi
   7359 
   7360 		CFLAGS="$CFLAGS -Werror=init-self"
   7361 
   7362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7363 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7364 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7365 		if eval \${$cacheid+:} false; then :
   7366   $as_echo_n "(cached) " >&6
   7367 else
   7368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7369 /* end confdefs.h.  */
   7370 int i;
   7371 int
   7372 main ()
   7373 {
   7374 
   7375   ;
   7376   return 0;
   7377 }
   7378 _ACEOF
   7379 if ac_fn_c_try_link "$LINENO"; then :
   7380   eval $cacheid=yes
   7381 else
   7382   eval $cacheid=no
   7383 fi
   7384 rm -f core conftest.err conftest.$ac_objext \
   7385     conftest$ac_exeext conftest.$ac_ext
   7386 fi
   7387 
   7388 
   7389 		CFLAGS="$xorg_testset_save_CFLAGS"
   7390 
   7391 		eval supported=\$$cacheid
   7392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7393 $as_echo "$supported" >&6; }
   7394 		if test "$supported" = "yes" ; then
   7395 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7396 			found="yes"
   7397 		fi
   7398 	fi
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412 
   7413 
   7414 xorg_testset_save_CFLAGS="$CFLAGS"
   7415 
   7416 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7417 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7419 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7420 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7421   $as_echo_n "(cached) " >&6
   7422 else
   7423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7424 /* end confdefs.h.  */
   7425 int i;
   7426 _ACEOF
   7427 if ac_fn_c_try_compile "$LINENO"; then :
   7428   xorg_cv_cc_flag_unknown_warning_option=yes
   7429 else
   7430   xorg_cv_cc_flag_unknown_warning_option=no
   7431 fi
   7432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7433 fi
   7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7435 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7436 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7437 	CFLAGS="$xorg_testset_save_CFLAGS"
   7438 fi
   7439 
   7440 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7441 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7442 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7443 	fi
   7444 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7445 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7446 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7447 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7448   $as_echo_n "(cached) " >&6
   7449 else
   7450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7451 /* end confdefs.h.  */
   7452 int i;
   7453 _ACEOF
   7454 if ac_fn_c_try_compile "$LINENO"; then :
   7455   xorg_cv_cc_flag_unused_command_line_argument=yes
   7456 else
   7457   xorg_cv_cc_flag_unused_command_line_argument=no
   7458 fi
   7459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7460 fi
   7461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7462 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7463 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7464 	CFLAGS="$xorg_testset_save_CFLAGS"
   7465 fi
   7466 
   7467 found="no"
   7468 
   7469 	if test $found = "no" ; then
   7470 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7471 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7472 		fi
   7473 
   7474 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7475 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7476 		fi
   7477 
   7478 		CFLAGS="$CFLAGS -Werror=main"
   7479 
   7480 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7481 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7482 		cacheid=xorg_cv_cc_flag__Werror_main
   7483 		if eval \${$cacheid+:} false; then :
   7484   $as_echo_n "(cached) " >&6
   7485 else
   7486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7487 /* end confdefs.h.  */
   7488 int i;
   7489 int
   7490 main ()
   7491 {
   7492 
   7493   ;
   7494   return 0;
   7495 }
   7496 _ACEOF
   7497 if ac_fn_c_try_link "$LINENO"; then :
   7498   eval $cacheid=yes
   7499 else
   7500   eval $cacheid=no
   7501 fi
   7502 rm -f core conftest.err conftest.$ac_objext \
   7503     conftest$ac_exeext conftest.$ac_ext
   7504 fi
   7505 
   7506 
   7507 		CFLAGS="$xorg_testset_save_CFLAGS"
   7508 
   7509 		eval supported=\$$cacheid
   7510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7511 $as_echo "$supported" >&6; }
   7512 		if test "$supported" = "yes" ; then
   7513 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7514 			found="yes"
   7515 		fi
   7516 	fi
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 xorg_testset_save_CFLAGS="$CFLAGS"
   7533 
   7534 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7535 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7537 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7538 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7539   $as_echo_n "(cached) " >&6
   7540 else
   7541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7542 /* end confdefs.h.  */
   7543 int i;
   7544 _ACEOF
   7545 if ac_fn_c_try_compile "$LINENO"; then :
   7546   xorg_cv_cc_flag_unknown_warning_option=yes
   7547 else
   7548   xorg_cv_cc_flag_unknown_warning_option=no
   7549 fi
   7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7551 fi
   7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7553 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7554 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7555 	CFLAGS="$xorg_testset_save_CFLAGS"
   7556 fi
   7557 
   7558 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7559 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7560 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7561 	fi
   7562 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7564 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7565 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7566   $as_echo_n "(cached) " >&6
   7567 else
   7568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7569 /* end confdefs.h.  */
   7570 int i;
   7571 _ACEOF
   7572 if ac_fn_c_try_compile "$LINENO"; then :
   7573   xorg_cv_cc_flag_unused_command_line_argument=yes
   7574 else
   7575   xorg_cv_cc_flag_unused_command_line_argument=no
   7576 fi
   7577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7578 fi
   7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7580 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7581 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7582 	CFLAGS="$xorg_testset_save_CFLAGS"
   7583 fi
   7584 
   7585 found="no"
   7586 
   7587 	if test $found = "no" ; then
   7588 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7590 		fi
   7591 
   7592 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7594 		fi
   7595 
   7596 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7597 
   7598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7599 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7600 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7601 		if eval \${$cacheid+:} false; then :
   7602   $as_echo_n "(cached) " >&6
   7603 else
   7604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7605 /* end confdefs.h.  */
   7606 int i;
   7607 int
   7608 main ()
   7609 {
   7610 
   7611   ;
   7612   return 0;
   7613 }
   7614 _ACEOF
   7615 if ac_fn_c_try_link "$LINENO"; then :
   7616   eval $cacheid=yes
   7617 else
   7618   eval $cacheid=no
   7619 fi
   7620 rm -f core conftest.err conftest.$ac_objext \
   7621     conftest$ac_exeext conftest.$ac_ext
   7622 fi
   7623 
   7624 
   7625 		CFLAGS="$xorg_testset_save_CFLAGS"
   7626 
   7627 		eval supported=\$$cacheid
   7628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7629 $as_echo "$supported" >&6; }
   7630 		if test "$supported" = "yes" ; then
   7631 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7632 			found="yes"
   7633 		fi
   7634 	fi
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 xorg_testset_save_CFLAGS="$CFLAGS"
   7651 
   7652 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7653 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7655 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7656 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7657   $as_echo_n "(cached) " >&6
   7658 else
   7659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7660 /* end confdefs.h.  */
   7661 int i;
   7662 _ACEOF
   7663 if ac_fn_c_try_compile "$LINENO"; then :
   7664   xorg_cv_cc_flag_unknown_warning_option=yes
   7665 else
   7666   xorg_cv_cc_flag_unknown_warning_option=no
   7667 fi
   7668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7669 fi
   7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7671 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7672 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7673 	CFLAGS="$xorg_testset_save_CFLAGS"
   7674 fi
   7675 
   7676 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7677 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7678 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7679 	fi
   7680 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7682 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7683 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7684   $as_echo_n "(cached) " >&6
   7685 else
   7686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7687 /* end confdefs.h.  */
   7688 int i;
   7689 _ACEOF
   7690 if ac_fn_c_try_compile "$LINENO"; then :
   7691   xorg_cv_cc_flag_unused_command_line_argument=yes
   7692 else
   7693   xorg_cv_cc_flag_unused_command_line_argument=no
   7694 fi
   7695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7696 fi
   7697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7698 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7699 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7700 	CFLAGS="$xorg_testset_save_CFLAGS"
   7701 fi
   7702 
   7703 found="no"
   7704 
   7705 	if test $found = "no" ; then
   7706 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7707 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7708 		fi
   7709 
   7710 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7711 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7712 		fi
   7713 
   7714 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7715 
   7716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7717 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7718 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7719 		if eval \${$cacheid+:} false; then :
   7720   $as_echo_n "(cached) " >&6
   7721 else
   7722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7723 /* end confdefs.h.  */
   7724 int i;
   7725 int
   7726 main ()
   7727 {
   7728 
   7729   ;
   7730   return 0;
   7731 }
   7732 _ACEOF
   7733 if ac_fn_c_try_link "$LINENO"; then :
   7734   eval $cacheid=yes
   7735 else
   7736   eval $cacheid=no
   7737 fi
   7738 rm -f core conftest.err conftest.$ac_objext \
   7739     conftest$ac_exeext conftest.$ac_ext
   7740 fi
   7741 
   7742 
   7743 		CFLAGS="$xorg_testset_save_CFLAGS"
   7744 
   7745 		eval supported=\$$cacheid
   7746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7747 $as_echo "$supported" >&6; }
   7748 		if test "$supported" = "yes" ; then
   7749 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7750 			found="yes"
   7751 		fi
   7752 	fi
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 
   7768 xorg_testset_save_CFLAGS="$CFLAGS"
   7769 
   7770 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7771 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7773 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7774 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7775   $as_echo_n "(cached) " >&6
   7776 else
   7777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7778 /* end confdefs.h.  */
   7779 int i;
   7780 _ACEOF
   7781 if ac_fn_c_try_compile "$LINENO"; then :
   7782   xorg_cv_cc_flag_unknown_warning_option=yes
   7783 else
   7784   xorg_cv_cc_flag_unknown_warning_option=no
   7785 fi
   7786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7787 fi
   7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7789 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7790 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7791 	CFLAGS="$xorg_testset_save_CFLAGS"
   7792 fi
   7793 
   7794 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7795 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7796 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7797 	fi
   7798 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7800 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7801 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7802   $as_echo_n "(cached) " >&6
   7803 else
   7804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7805 /* end confdefs.h.  */
   7806 int i;
   7807 _ACEOF
   7808 if ac_fn_c_try_compile "$LINENO"; then :
   7809   xorg_cv_cc_flag_unused_command_line_argument=yes
   7810 else
   7811   xorg_cv_cc_flag_unused_command_line_argument=no
   7812 fi
   7813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7814 fi
   7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7816 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7817 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7818 	CFLAGS="$xorg_testset_save_CFLAGS"
   7819 fi
   7820 
   7821 found="no"
   7822 
   7823 	if test $found = "no" ; then
   7824 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7825 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7826 		fi
   7827 
   7828 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7829 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7830 		fi
   7831 
   7832 		CFLAGS="$CFLAGS -Werror=return-type"
   7833 
   7834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7835 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7836 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7837 		if eval \${$cacheid+:} false; then :
   7838   $as_echo_n "(cached) " >&6
   7839 else
   7840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7841 /* end confdefs.h.  */
   7842 int i;
   7843 int
   7844 main ()
   7845 {
   7846 
   7847   ;
   7848   return 0;
   7849 }
   7850 _ACEOF
   7851 if ac_fn_c_try_link "$LINENO"; then :
   7852   eval $cacheid=yes
   7853 else
   7854   eval $cacheid=no
   7855 fi
   7856 rm -f core conftest.err conftest.$ac_objext \
   7857     conftest$ac_exeext conftest.$ac_ext
   7858 fi
   7859 
   7860 
   7861 		CFLAGS="$xorg_testset_save_CFLAGS"
   7862 
   7863 		eval supported=\$$cacheid
   7864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7865 $as_echo "$supported" >&6; }
   7866 		if test "$supported" = "yes" ; then
   7867 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7868 			found="yes"
   7869 		fi
   7870 	fi
   7871 
   7872 	if test $found = "no" ; then
   7873 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7874 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7875 		fi
   7876 
   7877 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7878 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7879 		fi
   7880 
   7881 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7882 
   7883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7884 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7885 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7886 		if eval \${$cacheid+:} false; then :
   7887   $as_echo_n "(cached) " >&6
   7888 else
   7889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7890 /* end confdefs.h.  */
   7891 int i;
   7892 int
   7893 main ()
   7894 {
   7895 
   7896   ;
   7897   return 0;
   7898 }
   7899 _ACEOF
   7900 if ac_fn_c_try_link "$LINENO"; then :
   7901   eval $cacheid=yes
   7902 else
   7903   eval $cacheid=no
   7904 fi
   7905 rm -f core conftest.err conftest.$ac_objext \
   7906     conftest$ac_exeext conftest.$ac_ext
   7907 fi
   7908 
   7909 
   7910 		CFLAGS="$xorg_testset_save_CFLAGS"
   7911 
   7912 		eval supported=\$$cacheid
   7913 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7914 $as_echo "$supported" >&6; }
   7915 		if test "$supported" = "yes" ; then
   7916 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7917 			found="yes"
   7918 		fi
   7919 	fi
   7920 
   7921 
   7922 
   7923 
   7924 
   7925 
   7926 
   7927 
   7928 
   7929 
   7930 
   7931 
   7932 
   7933 
   7934 
   7935 xorg_testset_save_CFLAGS="$CFLAGS"
   7936 
   7937 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7938 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7940 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7941 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7942   $as_echo_n "(cached) " >&6
   7943 else
   7944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7945 /* end confdefs.h.  */
   7946 int i;
   7947 _ACEOF
   7948 if ac_fn_c_try_compile "$LINENO"; then :
   7949   xorg_cv_cc_flag_unknown_warning_option=yes
   7950 else
   7951   xorg_cv_cc_flag_unknown_warning_option=no
   7952 fi
   7953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7954 fi
   7955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7956 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7957 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7958 	CFLAGS="$xorg_testset_save_CFLAGS"
   7959 fi
   7960 
   7961 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7962 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7963 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7964 	fi
   7965 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7966 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7967 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7968 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7969   $as_echo_n "(cached) " >&6
   7970 else
   7971   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7972 /* end confdefs.h.  */
   7973 int i;
   7974 _ACEOF
   7975 if ac_fn_c_try_compile "$LINENO"; then :
   7976   xorg_cv_cc_flag_unused_command_line_argument=yes
   7977 else
   7978   xorg_cv_cc_flag_unused_command_line_argument=no
   7979 fi
   7980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7981 fi
   7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7983 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7984 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7985 	CFLAGS="$xorg_testset_save_CFLAGS"
   7986 fi
   7987 
   7988 found="no"
   7989 
   7990 	if test $found = "no" ; then
   7991 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7992 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7993 		fi
   7994 
   7995 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7996 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7997 		fi
   7998 
   7999 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8000 
   8001 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8002 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8003 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8004 		if eval \${$cacheid+:} false; then :
   8005   $as_echo_n "(cached) " >&6
   8006 else
   8007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8008 /* end confdefs.h.  */
   8009 int i;
   8010 int
   8011 main ()
   8012 {
   8013 
   8014   ;
   8015   return 0;
   8016 }
   8017 _ACEOF
   8018 if ac_fn_c_try_link "$LINENO"; then :
   8019   eval $cacheid=yes
   8020 else
   8021   eval $cacheid=no
   8022 fi
   8023 rm -f core conftest.err conftest.$ac_objext \
   8024     conftest$ac_exeext conftest.$ac_ext
   8025 fi
   8026 
   8027 
   8028 		CFLAGS="$xorg_testset_save_CFLAGS"
   8029 
   8030 		eval supported=\$$cacheid
   8031 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8032 $as_echo "$supported" >&6; }
   8033 		if test "$supported" = "yes" ; then
   8034 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8035 			found="yes"
   8036 		fi
   8037 	fi
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 
   8053 xorg_testset_save_CFLAGS="$CFLAGS"
   8054 
   8055 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8058 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8059 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8060   $as_echo_n "(cached) " >&6
   8061 else
   8062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8063 /* end confdefs.h.  */
   8064 int i;
   8065 _ACEOF
   8066 if ac_fn_c_try_compile "$LINENO"; then :
   8067   xorg_cv_cc_flag_unknown_warning_option=yes
   8068 else
   8069   xorg_cv_cc_flag_unknown_warning_option=no
   8070 fi
   8071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8072 fi
   8073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8074 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8075 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8076 	CFLAGS="$xorg_testset_save_CFLAGS"
   8077 fi
   8078 
   8079 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8080 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8081 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8082 	fi
   8083 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8084 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8085 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8086 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8087   $as_echo_n "(cached) " >&6
   8088 else
   8089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8090 /* end confdefs.h.  */
   8091 int i;
   8092 _ACEOF
   8093 if ac_fn_c_try_compile "$LINENO"; then :
   8094   xorg_cv_cc_flag_unused_command_line_argument=yes
   8095 else
   8096   xorg_cv_cc_flag_unused_command_line_argument=no
   8097 fi
   8098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8099 fi
   8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8101 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8102 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8103 	CFLAGS="$xorg_testset_save_CFLAGS"
   8104 fi
   8105 
   8106 found="no"
   8107 
   8108 	if test $found = "no" ; then
   8109 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8111 		fi
   8112 
   8113 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8115 		fi
   8116 
   8117 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8118 
   8119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8120 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8121 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8122 		if eval \${$cacheid+:} false; then :
   8123   $as_echo_n "(cached) " >&6
   8124 else
   8125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8126 /* end confdefs.h.  */
   8127 int i;
   8128 int
   8129 main ()
   8130 {
   8131 
   8132   ;
   8133   return 0;
   8134 }
   8135 _ACEOF
   8136 if ac_fn_c_try_link "$LINENO"; then :
   8137   eval $cacheid=yes
   8138 else
   8139   eval $cacheid=no
   8140 fi
   8141 rm -f core conftest.err conftest.$ac_objext \
   8142     conftest$ac_exeext conftest.$ac_ext
   8143 fi
   8144 
   8145 
   8146 		CFLAGS="$xorg_testset_save_CFLAGS"
   8147 
   8148 		eval supported=\$$cacheid
   8149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8150 $as_echo "$supported" >&6; }
   8151 		if test "$supported" = "yes" ; then
   8152 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8153 			found="yes"
   8154 		fi
   8155 	fi
   8156 
   8157 
   8158 
   8159 
   8160 
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 xorg_testset_save_CFLAGS="$CFLAGS"
   8172 
   8173 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8174 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8175 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8176 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8177 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8178   $as_echo_n "(cached) " >&6
   8179 else
   8180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8181 /* end confdefs.h.  */
   8182 int i;
   8183 _ACEOF
   8184 if ac_fn_c_try_compile "$LINENO"; then :
   8185   xorg_cv_cc_flag_unknown_warning_option=yes
   8186 else
   8187   xorg_cv_cc_flag_unknown_warning_option=no
   8188 fi
   8189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8190 fi
   8191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8192 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8193 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8194 	CFLAGS="$xorg_testset_save_CFLAGS"
   8195 fi
   8196 
   8197 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8198 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8199 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8200 	fi
   8201 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8202 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8203 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8204 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8205   $as_echo_n "(cached) " >&6
   8206 else
   8207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8208 /* end confdefs.h.  */
   8209 int i;
   8210 _ACEOF
   8211 if ac_fn_c_try_compile "$LINENO"; then :
   8212   xorg_cv_cc_flag_unused_command_line_argument=yes
   8213 else
   8214   xorg_cv_cc_flag_unused_command_line_argument=no
   8215 fi
   8216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8217 fi
   8218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8219 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8220 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8221 	CFLAGS="$xorg_testset_save_CFLAGS"
   8222 fi
   8223 
   8224 found="no"
   8225 
   8226 	if test $found = "no" ; then
   8227 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8228 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8229 		fi
   8230 
   8231 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8232 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8233 		fi
   8234 
   8235 		CFLAGS="$CFLAGS -Werror=write-strings"
   8236 
   8237 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8238 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8239 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8240 		if eval \${$cacheid+:} false; then :
   8241   $as_echo_n "(cached) " >&6
   8242 else
   8243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8244 /* end confdefs.h.  */
   8245 int i;
   8246 int
   8247 main ()
   8248 {
   8249 
   8250   ;
   8251   return 0;
   8252 }
   8253 _ACEOF
   8254 if ac_fn_c_try_link "$LINENO"; then :
   8255   eval $cacheid=yes
   8256 else
   8257   eval $cacheid=no
   8258 fi
   8259 rm -f core conftest.err conftest.$ac_objext \
   8260     conftest$ac_exeext conftest.$ac_ext
   8261 fi
   8262 
   8263 
   8264 		CFLAGS="$xorg_testset_save_CFLAGS"
   8265 
   8266 		eval supported=\$$cacheid
   8267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8268 $as_echo "$supported" >&6; }
   8269 		if test "$supported" = "yes" ; then
   8270 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8271 			found="yes"
   8272 		fi
   8273 	fi
   8274 
   8275 
   8276 
   8277 
   8278 
   8279 
   8280 
   8281 
   8282 
   8283 
   8284 
   8285 
   8286 
   8287 
   8288 
   8289 xorg_testset_save_CFLAGS="$CFLAGS"
   8290 
   8291 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8292 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8294 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8295 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8296   $as_echo_n "(cached) " >&6
   8297 else
   8298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8299 /* end confdefs.h.  */
   8300 int i;
   8301 _ACEOF
   8302 if ac_fn_c_try_compile "$LINENO"; then :
   8303   xorg_cv_cc_flag_unknown_warning_option=yes
   8304 else
   8305   xorg_cv_cc_flag_unknown_warning_option=no
   8306 fi
   8307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8308 fi
   8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8310 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8312 	CFLAGS="$xorg_testset_save_CFLAGS"
   8313 fi
   8314 
   8315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8318 	fi
   8319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8320 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8321 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8322 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8323   $as_echo_n "(cached) " >&6
   8324 else
   8325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8326 /* end confdefs.h.  */
   8327 int i;
   8328 _ACEOF
   8329 if ac_fn_c_try_compile "$LINENO"; then :
   8330   xorg_cv_cc_flag_unused_command_line_argument=yes
   8331 else
   8332   xorg_cv_cc_flag_unused_command_line_argument=no
   8333 fi
   8334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8335 fi
   8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8337 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8338 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8339 	CFLAGS="$xorg_testset_save_CFLAGS"
   8340 fi
   8341 
   8342 found="no"
   8343 
   8344 	if test $found = "no" ; then
   8345 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8346 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8347 		fi
   8348 
   8349 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8350 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8351 		fi
   8352 
   8353 		CFLAGS="$CFLAGS -Werror=address"
   8354 
   8355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8356 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8357 		cacheid=xorg_cv_cc_flag__Werror_address
   8358 		if eval \${$cacheid+:} false; then :
   8359   $as_echo_n "(cached) " >&6
   8360 else
   8361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8362 /* end confdefs.h.  */
   8363 int i;
   8364 int
   8365 main ()
   8366 {
   8367 
   8368   ;
   8369   return 0;
   8370 }
   8371 _ACEOF
   8372 if ac_fn_c_try_link "$LINENO"; then :
   8373   eval $cacheid=yes
   8374 else
   8375   eval $cacheid=no
   8376 fi
   8377 rm -f core conftest.err conftest.$ac_objext \
   8378     conftest$ac_exeext conftest.$ac_ext
   8379 fi
   8380 
   8381 
   8382 		CFLAGS="$xorg_testset_save_CFLAGS"
   8383 
   8384 		eval supported=\$$cacheid
   8385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8386 $as_echo "$supported" >&6; }
   8387 		if test "$supported" = "yes" ; then
   8388 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8389 			found="yes"
   8390 		fi
   8391 	fi
   8392 
   8393 
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406 
   8407 xorg_testset_save_CFLAGS="$CFLAGS"
   8408 
   8409 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8410 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8412 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8413 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8414   $as_echo_n "(cached) " >&6
   8415 else
   8416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8417 /* end confdefs.h.  */
   8418 int i;
   8419 _ACEOF
   8420 if ac_fn_c_try_compile "$LINENO"; then :
   8421   xorg_cv_cc_flag_unknown_warning_option=yes
   8422 else
   8423   xorg_cv_cc_flag_unknown_warning_option=no
   8424 fi
   8425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8426 fi
   8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8428 $as_echo "$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 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8439 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8440 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8441   $as_echo_n "(cached) " >&6
   8442 else
   8443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8444 /* end confdefs.h.  */
   8445 int i;
   8446 _ACEOF
   8447 if ac_fn_c_try_compile "$LINENO"; then :
   8448   xorg_cv_cc_flag_unused_command_line_argument=yes
   8449 else
   8450   xorg_cv_cc_flag_unused_command_line_argument=no
   8451 fi
   8452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8453 fi
   8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8455 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8456 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8457 	CFLAGS="$xorg_testset_save_CFLAGS"
   8458 fi
   8459 
   8460 found="no"
   8461 
   8462 	if test $found = "no" ; then
   8463 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8464 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8465 		fi
   8466 
   8467 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8468 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8469 		fi
   8470 
   8471 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8472 
   8473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8474 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8475 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8476 		if eval \${$cacheid+:} false; then :
   8477   $as_echo_n "(cached) " >&6
   8478 else
   8479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8480 /* end confdefs.h.  */
   8481 int i;
   8482 int
   8483 main ()
   8484 {
   8485 
   8486   ;
   8487   return 0;
   8488 }
   8489 _ACEOF
   8490 if ac_fn_c_try_link "$LINENO"; then :
   8491   eval $cacheid=yes
   8492 else
   8493   eval $cacheid=no
   8494 fi
   8495 rm -f core conftest.err conftest.$ac_objext \
   8496     conftest$ac_exeext conftest.$ac_ext
   8497 fi
   8498 
   8499 
   8500 		CFLAGS="$xorg_testset_save_CFLAGS"
   8501 
   8502 		eval supported=\$$cacheid
   8503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8504 $as_echo "$supported" >&6; }
   8505 		if test "$supported" = "yes" ; then
   8506 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8507 			found="yes"
   8508 		fi
   8509 	fi
   8510 
   8511 	if test $found = "no" ; then
   8512 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8513 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8514 		fi
   8515 
   8516 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8517 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8518 		fi
   8519 
   8520 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8521 
   8522 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8523 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8524 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8525 		if eval \${$cacheid+:} false; then :
   8526   $as_echo_n "(cached) " >&6
   8527 else
   8528   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8529 /* end confdefs.h.  */
   8530 int i;
   8531 int
   8532 main ()
   8533 {
   8534 
   8535   ;
   8536   return 0;
   8537 }
   8538 _ACEOF
   8539 if ac_fn_c_try_link "$LINENO"; then :
   8540   eval $cacheid=yes
   8541 else
   8542   eval $cacheid=no
   8543 fi
   8544 rm -f core conftest.err conftest.$ac_objext \
   8545     conftest$ac_exeext conftest.$ac_ext
   8546 fi
   8547 
   8548 
   8549 		CFLAGS="$xorg_testset_save_CFLAGS"
   8550 
   8551 		eval supported=\$$cacheid
   8552 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8553 $as_echo "$supported" >&6; }
   8554 		if test "$supported" = "yes" ; then
   8555 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8556 			found="yes"
   8557 		fi
   8558 	fi
   8559 
   8560 
   8561 
   8562 
   8563 
   8564 
   8565 
   8566 
   8567 
   8568 
   8569 
   8570 
   8571 
   8572 
   8573 
   8574 xorg_testset_save_CFLAGS="$CFLAGS"
   8575 
   8576 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8577 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8579 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8580 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8581   $as_echo_n "(cached) " >&6
   8582 else
   8583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8584 /* end confdefs.h.  */
   8585 int i;
   8586 _ACEOF
   8587 if ac_fn_c_try_compile "$LINENO"; then :
   8588   xorg_cv_cc_flag_unknown_warning_option=yes
   8589 else
   8590   xorg_cv_cc_flag_unknown_warning_option=no
   8591 fi
   8592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8593 fi
   8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8595 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8596 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8597 	CFLAGS="$xorg_testset_save_CFLAGS"
   8598 fi
   8599 
   8600 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8601 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8602 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8603 	fi
   8604 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8606 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8607 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8608   $as_echo_n "(cached) " >&6
   8609 else
   8610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8611 /* end confdefs.h.  */
   8612 int i;
   8613 _ACEOF
   8614 if ac_fn_c_try_compile "$LINENO"; then :
   8615   xorg_cv_cc_flag_unused_command_line_argument=yes
   8616 else
   8617   xorg_cv_cc_flag_unused_command_line_argument=no
   8618 fi
   8619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8620 fi
   8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8622 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8623 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8624 	CFLAGS="$xorg_testset_save_CFLAGS"
   8625 fi
   8626 
   8627 found="no"
   8628 
   8629 	if test $found = "no" ; then
   8630 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8631 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8632 		fi
   8633 
   8634 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8635 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8636 		fi
   8637 
   8638 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8639 
   8640 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8641 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8642 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8643 		if eval \${$cacheid+:} false; then :
   8644   $as_echo_n "(cached) " >&6
   8645 else
   8646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8647 /* end confdefs.h.  */
   8648 int i;
   8649 int
   8650 main ()
   8651 {
   8652 
   8653   ;
   8654   return 0;
   8655 }
   8656 _ACEOF
   8657 if ac_fn_c_try_link "$LINENO"; then :
   8658   eval $cacheid=yes
   8659 else
   8660   eval $cacheid=no
   8661 fi
   8662 rm -f core conftest.err conftest.$ac_objext \
   8663     conftest$ac_exeext conftest.$ac_ext
   8664 fi
   8665 
   8666 
   8667 		CFLAGS="$xorg_testset_save_CFLAGS"
   8668 
   8669 		eval supported=\$$cacheid
   8670 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8671 $as_echo "$supported" >&6; }
   8672 		if test "$supported" = "yes" ; then
   8673 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8674 			found="yes"
   8675 		fi
   8676 	fi
   8677 
   8678  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8679 else
   8680 { $as_echo "$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
   8681 $as_echo "$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;}
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688 
   8689 
   8690 
   8691 
   8692 
   8693 
   8694 
   8695 xorg_testset_save_CFLAGS="$CFLAGS"
   8696 
   8697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8699 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8700 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8701 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8702   $as_echo_n "(cached) " >&6
   8703 else
   8704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8705 /* end confdefs.h.  */
   8706 int i;
   8707 _ACEOF
   8708 if ac_fn_c_try_compile "$LINENO"; then :
   8709   xorg_cv_cc_flag_unknown_warning_option=yes
   8710 else
   8711   xorg_cv_cc_flag_unknown_warning_option=no
   8712 fi
   8713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8714 fi
   8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8716 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8717 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8718 	CFLAGS="$xorg_testset_save_CFLAGS"
   8719 fi
   8720 
   8721 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8722 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8723 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8724 	fi
   8725 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8727 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8728 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8729   $as_echo_n "(cached) " >&6
   8730 else
   8731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8732 /* end confdefs.h.  */
   8733 int i;
   8734 _ACEOF
   8735 if ac_fn_c_try_compile "$LINENO"; then :
   8736   xorg_cv_cc_flag_unused_command_line_argument=yes
   8737 else
   8738   xorg_cv_cc_flag_unused_command_line_argument=no
   8739 fi
   8740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8741 fi
   8742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8743 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8744 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8745 	CFLAGS="$xorg_testset_save_CFLAGS"
   8746 fi
   8747 
   8748 found="no"
   8749 
   8750 	if test $found = "no" ; then
   8751 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8752 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8753 		fi
   8754 
   8755 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8756 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8757 		fi
   8758 
   8759 		CFLAGS="$CFLAGS -Wimplicit"
   8760 
   8761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8762 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8763 		cacheid=xorg_cv_cc_flag__Wimplicit
   8764 		if eval \${$cacheid+:} false; then :
   8765   $as_echo_n "(cached) " >&6
   8766 else
   8767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8768 /* end confdefs.h.  */
   8769 int i;
   8770 int
   8771 main ()
   8772 {
   8773 
   8774   ;
   8775   return 0;
   8776 }
   8777 _ACEOF
   8778 if ac_fn_c_try_link "$LINENO"; then :
   8779   eval $cacheid=yes
   8780 else
   8781   eval $cacheid=no
   8782 fi
   8783 rm -f core conftest.err conftest.$ac_objext \
   8784     conftest$ac_exeext conftest.$ac_ext
   8785 fi
   8786 
   8787 
   8788 		CFLAGS="$xorg_testset_save_CFLAGS"
   8789 
   8790 		eval supported=\$$cacheid
   8791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8792 $as_echo "$supported" >&6; }
   8793 		if test "$supported" = "yes" ; then
   8794 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8795 			found="yes"
   8796 		fi
   8797 	fi
   8798 
   8799 
   8800 
   8801 
   8802 
   8803 
   8804 
   8805 
   8806 
   8807 
   8808 
   8809 
   8810 
   8811 
   8812 
   8813 xorg_testset_save_CFLAGS="$CFLAGS"
   8814 
   8815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8818 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8819 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8820   $as_echo_n "(cached) " >&6
   8821 else
   8822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8823 /* end confdefs.h.  */
   8824 int i;
   8825 _ACEOF
   8826 if ac_fn_c_try_compile "$LINENO"; then :
   8827   xorg_cv_cc_flag_unknown_warning_option=yes
   8828 else
   8829   xorg_cv_cc_flag_unknown_warning_option=no
   8830 fi
   8831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8832 fi
   8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8834 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8836 	CFLAGS="$xorg_testset_save_CFLAGS"
   8837 fi
   8838 
   8839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8842 	fi
   8843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8844 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8845 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8846 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8847   $as_echo_n "(cached) " >&6
   8848 else
   8849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8850 /* end confdefs.h.  */
   8851 int i;
   8852 _ACEOF
   8853 if ac_fn_c_try_compile "$LINENO"; then :
   8854   xorg_cv_cc_flag_unused_command_line_argument=yes
   8855 else
   8856   xorg_cv_cc_flag_unused_command_line_argument=no
   8857 fi
   8858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8859 fi
   8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8861 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8863 	CFLAGS="$xorg_testset_save_CFLAGS"
   8864 fi
   8865 
   8866 found="no"
   8867 
   8868 	if test $found = "no" ; then
   8869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8871 		fi
   8872 
   8873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8875 		fi
   8876 
   8877 		CFLAGS="$CFLAGS -Wnonnull"
   8878 
   8879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8880 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8881 		cacheid=xorg_cv_cc_flag__Wnonnull
   8882 		if eval \${$cacheid+:} false; then :
   8883   $as_echo_n "(cached) " >&6
   8884 else
   8885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8886 /* end confdefs.h.  */
   8887 int i;
   8888 int
   8889 main ()
   8890 {
   8891 
   8892   ;
   8893   return 0;
   8894 }
   8895 _ACEOF
   8896 if ac_fn_c_try_link "$LINENO"; then :
   8897   eval $cacheid=yes
   8898 else
   8899   eval $cacheid=no
   8900 fi
   8901 rm -f core conftest.err conftest.$ac_objext \
   8902     conftest$ac_exeext conftest.$ac_ext
   8903 fi
   8904 
   8905 
   8906 		CFLAGS="$xorg_testset_save_CFLAGS"
   8907 
   8908 		eval supported=\$$cacheid
   8909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8910 $as_echo "$supported" >&6; }
   8911 		if test "$supported" = "yes" ; then
   8912 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8913 			found="yes"
   8914 		fi
   8915 	fi
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 
   8923 
   8924 
   8925 
   8926 
   8927 
   8928 
   8929 
   8930 
   8931 xorg_testset_save_CFLAGS="$CFLAGS"
   8932 
   8933 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8934 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8936 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8937 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8938   $as_echo_n "(cached) " >&6
   8939 else
   8940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8941 /* end confdefs.h.  */
   8942 int i;
   8943 _ACEOF
   8944 if ac_fn_c_try_compile "$LINENO"; then :
   8945   xorg_cv_cc_flag_unknown_warning_option=yes
   8946 else
   8947   xorg_cv_cc_flag_unknown_warning_option=no
   8948 fi
   8949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8950 fi
   8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8952 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8953 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8954 	CFLAGS="$xorg_testset_save_CFLAGS"
   8955 fi
   8956 
   8957 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8958 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8960 	fi
   8961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8963 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8964 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8965   $as_echo_n "(cached) " >&6
   8966 else
   8967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8968 /* end confdefs.h.  */
   8969 int i;
   8970 _ACEOF
   8971 if ac_fn_c_try_compile "$LINENO"; then :
   8972   xorg_cv_cc_flag_unused_command_line_argument=yes
   8973 else
   8974   xorg_cv_cc_flag_unused_command_line_argument=no
   8975 fi
   8976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8977 fi
   8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8979 $as_echo "$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 -Winit-self"
   8996 
   8997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8998 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8999 		cacheid=xorg_cv_cc_flag__Winit_self
   9000 		if eval \${$cacheid+:} false; then :
   9001   $as_echo_n "(cached) " >&6
   9002 else
   9003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9004 /* end confdefs.h.  */
   9005 int i;
   9006 int
   9007 main ()
   9008 {
   9009 
   9010   ;
   9011   return 0;
   9012 }
   9013 _ACEOF
   9014 if ac_fn_c_try_link "$LINENO"; then :
   9015   eval $cacheid=yes
   9016 else
   9017   eval $cacheid=no
   9018 fi
   9019 rm -f core conftest.err conftest.$ac_objext \
   9020     conftest$ac_exeext conftest.$ac_ext
   9021 fi
   9022 
   9023 
   9024 		CFLAGS="$xorg_testset_save_CFLAGS"
   9025 
   9026 		eval supported=\$$cacheid
   9027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9028 $as_echo "$supported" >&6; }
   9029 		if test "$supported" = "yes" ; then
   9030 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9031 			found="yes"
   9032 		fi
   9033 	fi
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 xorg_testset_save_CFLAGS="$CFLAGS"
   9050 
   9051 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9052 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9053 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9054 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9055 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9056   $as_echo_n "(cached) " >&6
   9057 else
   9058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9059 /* end confdefs.h.  */
   9060 int i;
   9061 _ACEOF
   9062 if ac_fn_c_try_compile "$LINENO"; then :
   9063   xorg_cv_cc_flag_unknown_warning_option=yes
   9064 else
   9065   xorg_cv_cc_flag_unknown_warning_option=no
   9066 fi
   9067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9068 fi
   9069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9070 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9071 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9072 	CFLAGS="$xorg_testset_save_CFLAGS"
   9073 fi
   9074 
   9075 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9076 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9077 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9078 	fi
   9079 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9080 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9081 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9082 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9083   $as_echo_n "(cached) " >&6
   9084 else
   9085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9086 /* end confdefs.h.  */
   9087 int i;
   9088 _ACEOF
   9089 if ac_fn_c_try_compile "$LINENO"; then :
   9090   xorg_cv_cc_flag_unused_command_line_argument=yes
   9091 else
   9092   xorg_cv_cc_flag_unused_command_line_argument=no
   9093 fi
   9094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9095 fi
   9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9097 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9098 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9099 	CFLAGS="$xorg_testset_save_CFLAGS"
   9100 fi
   9101 
   9102 found="no"
   9103 
   9104 	if test $found = "no" ; then
   9105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9107 		fi
   9108 
   9109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9111 		fi
   9112 
   9113 		CFLAGS="$CFLAGS -Wmain"
   9114 
   9115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9116 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9117 		cacheid=xorg_cv_cc_flag__Wmain
   9118 		if eval \${$cacheid+:} false; then :
   9119   $as_echo_n "(cached) " >&6
   9120 else
   9121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9122 /* end confdefs.h.  */
   9123 int i;
   9124 int
   9125 main ()
   9126 {
   9127 
   9128   ;
   9129   return 0;
   9130 }
   9131 _ACEOF
   9132 if ac_fn_c_try_link "$LINENO"; then :
   9133   eval $cacheid=yes
   9134 else
   9135   eval $cacheid=no
   9136 fi
   9137 rm -f core conftest.err conftest.$ac_objext \
   9138     conftest$ac_exeext conftest.$ac_ext
   9139 fi
   9140 
   9141 
   9142 		CFLAGS="$xorg_testset_save_CFLAGS"
   9143 
   9144 		eval supported=\$$cacheid
   9145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9146 $as_echo "$supported" >&6; }
   9147 		if test "$supported" = "yes" ; then
   9148 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9149 			found="yes"
   9150 		fi
   9151 	fi
   9152 
   9153 
   9154 
   9155 
   9156 
   9157 
   9158 
   9159 
   9160 
   9161 
   9162 
   9163 
   9164 
   9165 
   9166 
   9167 xorg_testset_save_CFLAGS="$CFLAGS"
   9168 
   9169 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9170 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9171 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9172 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9173 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9174   $as_echo_n "(cached) " >&6
   9175 else
   9176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9177 /* end confdefs.h.  */
   9178 int i;
   9179 _ACEOF
   9180 if ac_fn_c_try_compile "$LINENO"; then :
   9181   xorg_cv_cc_flag_unknown_warning_option=yes
   9182 else
   9183   xorg_cv_cc_flag_unknown_warning_option=no
   9184 fi
   9185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9186 fi
   9187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9188 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9189 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9190 	CFLAGS="$xorg_testset_save_CFLAGS"
   9191 fi
   9192 
   9193 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9194 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9195 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9196 	fi
   9197 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9198 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9199 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9200 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9201   $as_echo_n "(cached) " >&6
   9202 else
   9203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9204 /* end confdefs.h.  */
   9205 int i;
   9206 _ACEOF
   9207 if ac_fn_c_try_compile "$LINENO"; then :
   9208   xorg_cv_cc_flag_unused_command_line_argument=yes
   9209 else
   9210   xorg_cv_cc_flag_unused_command_line_argument=no
   9211 fi
   9212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9213 fi
   9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9215 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9216 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9217 	CFLAGS="$xorg_testset_save_CFLAGS"
   9218 fi
   9219 
   9220 found="no"
   9221 
   9222 	if test $found = "no" ; then
   9223 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9224 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9225 		fi
   9226 
   9227 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9228 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9229 		fi
   9230 
   9231 		CFLAGS="$CFLAGS -Wmissing-braces"
   9232 
   9233 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9234 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9235 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9236 		if eval \${$cacheid+:} false; then :
   9237   $as_echo_n "(cached) " >&6
   9238 else
   9239   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9240 /* end confdefs.h.  */
   9241 int i;
   9242 int
   9243 main ()
   9244 {
   9245 
   9246   ;
   9247   return 0;
   9248 }
   9249 _ACEOF
   9250 if ac_fn_c_try_link "$LINENO"; then :
   9251   eval $cacheid=yes
   9252 else
   9253   eval $cacheid=no
   9254 fi
   9255 rm -f core conftest.err conftest.$ac_objext \
   9256     conftest$ac_exeext conftest.$ac_ext
   9257 fi
   9258 
   9259 
   9260 		CFLAGS="$xorg_testset_save_CFLAGS"
   9261 
   9262 		eval supported=\$$cacheid
   9263 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9264 $as_echo "$supported" >&6; }
   9265 		if test "$supported" = "yes" ; then
   9266 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9267 			found="yes"
   9268 		fi
   9269 	fi
   9270 
   9271 
   9272 
   9273 
   9274 
   9275 
   9276 
   9277 
   9278 
   9279 
   9280 
   9281 
   9282 
   9283 
   9284 
   9285 xorg_testset_save_CFLAGS="$CFLAGS"
   9286 
   9287 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9288 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9289 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9290 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9291 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9292   $as_echo_n "(cached) " >&6
   9293 else
   9294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9295 /* end confdefs.h.  */
   9296 int i;
   9297 _ACEOF
   9298 if ac_fn_c_try_compile "$LINENO"; then :
   9299   xorg_cv_cc_flag_unknown_warning_option=yes
   9300 else
   9301   xorg_cv_cc_flag_unknown_warning_option=no
   9302 fi
   9303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9304 fi
   9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9306 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9307 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9308 	CFLAGS="$xorg_testset_save_CFLAGS"
   9309 fi
   9310 
   9311 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9312 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9313 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9314 	fi
   9315 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9316 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9317 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9318 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9319   $as_echo_n "(cached) " >&6
   9320 else
   9321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9322 /* end confdefs.h.  */
   9323 int i;
   9324 _ACEOF
   9325 if ac_fn_c_try_compile "$LINENO"; then :
   9326   xorg_cv_cc_flag_unused_command_line_argument=yes
   9327 else
   9328   xorg_cv_cc_flag_unused_command_line_argument=no
   9329 fi
   9330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9331 fi
   9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9333 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9334 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9335 	CFLAGS="$xorg_testset_save_CFLAGS"
   9336 fi
   9337 
   9338 found="no"
   9339 
   9340 	if test $found = "no" ; then
   9341 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9342 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9343 		fi
   9344 
   9345 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9346 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9347 		fi
   9348 
   9349 		CFLAGS="$CFLAGS -Wsequence-point"
   9350 
   9351 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9352 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9353 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9354 		if eval \${$cacheid+:} false; then :
   9355   $as_echo_n "(cached) " >&6
   9356 else
   9357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9358 /* end confdefs.h.  */
   9359 int i;
   9360 int
   9361 main ()
   9362 {
   9363 
   9364   ;
   9365   return 0;
   9366 }
   9367 _ACEOF
   9368 if ac_fn_c_try_link "$LINENO"; then :
   9369   eval $cacheid=yes
   9370 else
   9371   eval $cacheid=no
   9372 fi
   9373 rm -f core conftest.err conftest.$ac_objext \
   9374     conftest$ac_exeext conftest.$ac_ext
   9375 fi
   9376 
   9377 
   9378 		CFLAGS="$xorg_testset_save_CFLAGS"
   9379 
   9380 		eval supported=\$$cacheid
   9381 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9382 $as_echo "$supported" >&6; }
   9383 		if test "$supported" = "yes" ; then
   9384 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9385 			found="yes"
   9386 		fi
   9387 	fi
   9388 
   9389 
   9390 
   9391 
   9392 
   9393 
   9394 
   9395 
   9396 
   9397 
   9398 
   9399 
   9400 
   9401 
   9402 
   9403 xorg_testset_save_CFLAGS="$CFLAGS"
   9404 
   9405 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9406 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9407 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9408 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9409 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9410   $as_echo_n "(cached) " >&6
   9411 else
   9412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9413 /* end confdefs.h.  */
   9414 int i;
   9415 _ACEOF
   9416 if ac_fn_c_try_compile "$LINENO"; then :
   9417   xorg_cv_cc_flag_unknown_warning_option=yes
   9418 else
   9419   xorg_cv_cc_flag_unknown_warning_option=no
   9420 fi
   9421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9422 fi
   9423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9424 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9425 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9426 	CFLAGS="$xorg_testset_save_CFLAGS"
   9427 fi
   9428 
   9429 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9430 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9431 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9432 	fi
   9433 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9434 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9435 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9436 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9437   $as_echo_n "(cached) " >&6
   9438 else
   9439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9440 /* end confdefs.h.  */
   9441 int i;
   9442 _ACEOF
   9443 if ac_fn_c_try_compile "$LINENO"; then :
   9444   xorg_cv_cc_flag_unused_command_line_argument=yes
   9445 else
   9446   xorg_cv_cc_flag_unused_command_line_argument=no
   9447 fi
   9448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9449 fi
   9450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9451 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9452 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9453 	CFLAGS="$xorg_testset_save_CFLAGS"
   9454 fi
   9455 
   9456 found="no"
   9457 
   9458 	if test $found = "no" ; then
   9459 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9460 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9461 		fi
   9462 
   9463 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9464 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9465 		fi
   9466 
   9467 		CFLAGS="$CFLAGS -Wreturn-type"
   9468 
   9469 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9470 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9471 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9472 		if eval \${$cacheid+:} false; then :
   9473   $as_echo_n "(cached) " >&6
   9474 else
   9475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9476 /* end confdefs.h.  */
   9477 int i;
   9478 int
   9479 main ()
   9480 {
   9481 
   9482   ;
   9483   return 0;
   9484 }
   9485 _ACEOF
   9486 if ac_fn_c_try_link "$LINENO"; then :
   9487   eval $cacheid=yes
   9488 else
   9489   eval $cacheid=no
   9490 fi
   9491 rm -f core conftest.err conftest.$ac_objext \
   9492     conftest$ac_exeext conftest.$ac_ext
   9493 fi
   9494 
   9495 
   9496 		CFLAGS="$xorg_testset_save_CFLAGS"
   9497 
   9498 		eval supported=\$$cacheid
   9499 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9500 $as_echo "$supported" >&6; }
   9501 		if test "$supported" = "yes" ; then
   9502 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9503 			found="yes"
   9504 		fi
   9505 	fi
   9506 
   9507 
   9508 
   9509 
   9510 
   9511 
   9512 
   9513 
   9514 
   9515 
   9516 
   9517 
   9518 
   9519 
   9520 
   9521 xorg_testset_save_CFLAGS="$CFLAGS"
   9522 
   9523 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9524 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9525 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9526 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9527 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9528   $as_echo_n "(cached) " >&6
   9529 else
   9530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9531 /* end confdefs.h.  */
   9532 int i;
   9533 _ACEOF
   9534 if ac_fn_c_try_compile "$LINENO"; then :
   9535   xorg_cv_cc_flag_unknown_warning_option=yes
   9536 else
   9537   xorg_cv_cc_flag_unknown_warning_option=no
   9538 fi
   9539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9540 fi
   9541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9542 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9543 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9544 	CFLAGS="$xorg_testset_save_CFLAGS"
   9545 fi
   9546 
   9547 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9548 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9549 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9550 	fi
   9551 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9552 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9553 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9554 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9555   $as_echo_n "(cached) " >&6
   9556 else
   9557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9558 /* end confdefs.h.  */
   9559 int i;
   9560 _ACEOF
   9561 if ac_fn_c_try_compile "$LINENO"; then :
   9562   xorg_cv_cc_flag_unused_command_line_argument=yes
   9563 else
   9564   xorg_cv_cc_flag_unused_command_line_argument=no
   9565 fi
   9566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9567 fi
   9568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9569 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9570 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9571 	CFLAGS="$xorg_testset_save_CFLAGS"
   9572 fi
   9573 
   9574 found="no"
   9575 
   9576 	if test $found = "no" ; then
   9577 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9578 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9579 		fi
   9580 
   9581 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9582 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9583 		fi
   9584 
   9585 		CFLAGS="$CFLAGS -Wtrigraphs"
   9586 
   9587 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9588 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9589 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9590 		if eval \${$cacheid+:} false; then :
   9591   $as_echo_n "(cached) " >&6
   9592 else
   9593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9594 /* end confdefs.h.  */
   9595 int i;
   9596 int
   9597 main ()
   9598 {
   9599 
   9600   ;
   9601   return 0;
   9602 }
   9603 _ACEOF
   9604 if ac_fn_c_try_link "$LINENO"; then :
   9605   eval $cacheid=yes
   9606 else
   9607   eval $cacheid=no
   9608 fi
   9609 rm -f core conftest.err conftest.$ac_objext \
   9610     conftest$ac_exeext conftest.$ac_ext
   9611 fi
   9612 
   9613 
   9614 		CFLAGS="$xorg_testset_save_CFLAGS"
   9615 
   9616 		eval supported=\$$cacheid
   9617 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9618 $as_echo "$supported" >&6; }
   9619 		if test "$supported" = "yes" ; then
   9620 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9621 			found="yes"
   9622 		fi
   9623 	fi
   9624 
   9625 
   9626 
   9627 
   9628 
   9629 
   9630 
   9631 
   9632 
   9633 
   9634 
   9635 
   9636 
   9637 
   9638 
   9639 xorg_testset_save_CFLAGS="$CFLAGS"
   9640 
   9641 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9642 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9643 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9644 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9645 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9646   $as_echo_n "(cached) " >&6
   9647 else
   9648   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9649 /* end confdefs.h.  */
   9650 int i;
   9651 _ACEOF
   9652 if ac_fn_c_try_compile "$LINENO"; then :
   9653   xorg_cv_cc_flag_unknown_warning_option=yes
   9654 else
   9655   xorg_cv_cc_flag_unknown_warning_option=no
   9656 fi
   9657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9658 fi
   9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9660 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9661 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9662 	CFLAGS="$xorg_testset_save_CFLAGS"
   9663 fi
   9664 
   9665 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9666 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9667 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9668 	fi
   9669 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9670 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9671 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9672 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9673   $as_echo_n "(cached) " >&6
   9674 else
   9675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9676 /* end confdefs.h.  */
   9677 int i;
   9678 _ACEOF
   9679 if ac_fn_c_try_compile "$LINENO"; then :
   9680   xorg_cv_cc_flag_unused_command_line_argument=yes
   9681 else
   9682   xorg_cv_cc_flag_unused_command_line_argument=no
   9683 fi
   9684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9685 fi
   9686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9687 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9688 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9689 	CFLAGS="$xorg_testset_save_CFLAGS"
   9690 fi
   9691 
   9692 found="no"
   9693 
   9694 	if test $found = "no" ; then
   9695 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9696 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9697 		fi
   9698 
   9699 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9700 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9701 		fi
   9702 
   9703 		CFLAGS="$CFLAGS -Warray-bounds"
   9704 
   9705 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9706 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9707 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9708 		if eval \${$cacheid+:} false; then :
   9709   $as_echo_n "(cached) " >&6
   9710 else
   9711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9712 /* end confdefs.h.  */
   9713 int i;
   9714 int
   9715 main ()
   9716 {
   9717 
   9718   ;
   9719   return 0;
   9720 }
   9721 _ACEOF
   9722 if ac_fn_c_try_link "$LINENO"; then :
   9723   eval $cacheid=yes
   9724 else
   9725   eval $cacheid=no
   9726 fi
   9727 rm -f core conftest.err conftest.$ac_objext \
   9728     conftest$ac_exeext conftest.$ac_ext
   9729 fi
   9730 
   9731 
   9732 		CFLAGS="$xorg_testset_save_CFLAGS"
   9733 
   9734 		eval supported=\$$cacheid
   9735 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9736 $as_echo "$supported" >&6; }
   9737 		if test "$supported" = "yes" ; then
   9738 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9739 			found="yes"
   9740 		fi
   9741 	fi
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 xorg_testset_save_CFLAGS="$CFLAGS"
   9758 
   9759 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9760 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9761 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9762 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9763 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9764   $as_echo_n "(cached) " >&6
   9765 else
   9766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9767 /* end confdefs.h.  */
   9768 int i;
   9769 _ACEOF
   9770 if ac_fn_c_try_compile "$LINENO"; then :
   9771   xorg_cv_cc_flag_unknown_warning_option=yes
   9772 else
   9773   xorg_cv_cc_flag_unknown_warning_option=no
   9774 fi
   9775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9776 fi
   9777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9778 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9779 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9780 	CFLAGS="$xorg_testset_save_CFLAGS"
   9781 fi
   9782 
   9783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9784 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9785 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9786 	fi
   9787 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9788 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9789 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9790 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9791   $as_echo_n "(cached) " >&6
   9792 else
   9793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9794 /* end confdefs.h.  */
   9795 int i;
   9796 _ACEOF
   9797 if ac_fn_c_try_compile "$LINENO"; then :
   9798   xorg_cv_cc_flag_unused_command_line_argument=yes
   9799 else
   9800   xorg_cv_cc_flag_unused_command_line_argument=no
   9801 fi
   9802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9803 fi
   9804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9805 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9806 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9807 	CFLAGS="$xorg_testset_save_CFLAGS"
   9808 fi
   9809 
   9810 found="no"
   9811 
   9812 	if test $found = "no" ; then
   9813 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9814 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9815 		fi
   9816 
   9817 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9818 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9819 		fi
   9820 
   9821 		CFLAGS="$CFLAGS -Wwrite-strings"
   9822 
   9823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9824 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9825 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9826 		if eval \${$cacheid+:} false; then :
   9827   $as_echo_n "(cached) " >&6
   9828 else
   9829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9830 /* end confdefs.h.  */
   9831 int i;
   9832 int
   9833 main ()
   9834 {
   9835 
   9836   ;
   9837   return 0;
   9838 }
   9839 _ACEOF
   9840 if ac_fn_c_try_link "$LINENO"; then :
   9841   eval $cacheid=yes
   9842 else
   9843   eval $cacheid=no
   9844 fi
   9845 rm -f core conftest.err conftest.$ac_objext \
   9846     conftest$ac_exeext conftest.$ac_ext
   9847 fi
   9848 
   9849 
   9850 		CFLAGS="$xorg_testset_save_CFLAGS"
   9851 
   9852 		eval supported=\$$cacheid
   9853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9854 $as_echo "$supported" >&6; }
   9855 		if test "$supported" = "yes" ; then
   9856 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9857 			found="yes"
   9858 		fi
   9859 	fi
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 xorg_testset_save_CFLAGS="$CFLAGS"
   9876 
   9877 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9878 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9879 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9880 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9881 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9882   $as_echo_n "(cached) " >&6
   9883 else
   9884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9885 /* end confdefs.h.  */
   9886 int i;
   9887 _ACEOF
   9888 if ac_fn_c_try_compile "$LINENO"; then :
   9889   xorg_cv_cc_flag_unknown_warning_option=yes
   9890 else
   9891   xorg_cv_cc_flag_unknown_warning_option=no
   9892 fi
   9893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9894 fi
   9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9896 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9897 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9898 	CFLAGS="$xorg_testset_save_CFLAGS"
   9899 fi
   9900 
   9901 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9902 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9903 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9904 	fi
   9905 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9906 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9907 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9908 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9909   $as_echo_n "(cached) " >&6
   9910 else
   9911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9912 /* end confdefs.h.  */
   9913 int i;
   9914 _ACEOF
   9915 if ac_fn_c_try_compile "$LINENO"; then :
   9916   xorg_cv_cc_flag_unused_command_line_argument=yes
   9917 else
   9918   xorg_cv_cc_flag_unused_command_line_argument=no
   9919 fi
   9920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9921 fi
   9922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9923 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9924 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9925 	CFLAGS="$xorg_testset_save_CFLAGS"
   9926 fi
   9927 
   9928 found="no"
   9929 
   9930 	if test $found = "no" ; then
   9931 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9932 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9933 		fi
   9934 
   9935 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9936 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9937 		fi
   9938 
   9939 		CFLAGS="$CFLAGS -Waddress"
   9940 
   9941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9942 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9943 		cacheid=xorg_cv_cc_flag__Waddress
   9944 		if eval \${$cacheid+:} false; then :
   9945   $as_echo_n "(cached) " >&6
   9946 else
   9947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9948 /* end confdefs.h.  */
   9949 int i;
   9950 int
   9951 main ()
   9952 {
   9953 
   9954   ;
   9955   return 0;
   9956 }
   9957 _ACEOF
   9958 if ac_fn_c_try_link "$LINENO"; then :
   9959   eval $cacheid=yes
   9960 else
   9961   eval $cacheid=no
   9962 fi
   9963 rm -f core conftest.err conftest.$ac_objext \
   9964     conftest$ac_exeext conftest.$ac_ext
   9965 fi
   9966 
   9967 
   9968 		CFLAGS="$xorg_testset_save_CFLAGS"
   9969 
   9970 		eval supported=\$$cacheid
   9971 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9972 $as_echo "$supported" >&6; }
   9973 		if test "$supported" = "yes" ; then
   9974 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9975 			found="yes"
   9976 		fi
   9977 	fi
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 xorg_testset_save_CFLAGS="$CFLAGS"
   9994 
   9995 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9996 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9997 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9998 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9999 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10000   $as_echo_n "(cached) " >&6
   10001 else
   10002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10003 /* end confdefs.h.  */
   10004 int i;
   10005 _ACEOF
   10006 if ac_fn_c_try_compile "$LINENO"; then :
   10007   xorg_cv_cc_flag_unknown_warning_option=yes
   10008 else
   10009   xorg_cv_cc_flag_unknown_warning_option=no
   10010 fi
   10011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10012 fi
   10013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10014 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10015 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10016 	CFLAGS="$xorg_testset_save_CFLAGS"
   10017 fi
   10018 
   10019 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10020 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10021 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10022 	fi
   10023 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10024 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10025 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10026 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10027   $as_echo_n "(cached) " >&6
   10028 else
   10029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10030 /* end confdefs.h.  */
   10031 int i;
   10032 _ACEOF
   10033 if ac_fn_c_try_compile "$LINENO"; then :
   10034   xorg_cv_cc_flag_unused_command_line_argument=yes
   10035 else
   10036   xorg_cv_cc_flag_unused_command_line_argument=no
   10037 fi
   10038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10039 fi
   10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10041 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10042 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10043 	CFLAGS="$xorg_testset_save_CFLAGS"
   10044 fi
   10045 
   10046 found="no"
   10047 
   10048 	if test $found = "no" ; then
   10049 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10050 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10051 		fi
   10052 
   10053 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10054 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10055 		fi
   10056 
   10057 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10058 
   10059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10060 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10061 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10062 		if eval \${$cacheid+:} false; then :
   10063   $as_echo_n "(cached) " >&6
   10064 else
   10065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10066 /* end confdefs.h.  */
   10067 int i;
   10068 int
   10069 main ()
   10070 {
   10071 
   10072   ;
   10073   return 0;
   10074 }
   10075 _ACEOF
   10076 if ac_fn_c_try_link "$LINENO"; then :
   10077   eval $cacheid=yes
   10078 else
   10079   eval $cacheid=no
   10080 fi
   10081 rm -f core conftest.err conftest.$ac_objext \
   10082     conftest$ac_exeext conftest.$ac_ext
   10083 fi
   10084 
   10085 
   10086 		CFLAGS="$xorg_testset_save_CFLAGS"
   10087 
   10088 		eval supported=\$$cacheid
   10089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10090 $as_echo "$supported" >&6; }
   10091 		if test "$supported" = "yes" ; then
   10092 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10093 			found="yes"
   10094 		fi
   10095 	fi
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 
   10103 
   10104 
   10105 
   10106 
   10107 
   10108 
   10109 
   10110 
   10111 xorg_testset_save_CFLAGS="$CFLAGS"
   10112 
   10113 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10114 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10116 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10117 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10118   $as_echo_n "(cached) " >&6
   10119 else
   10120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10121 /* end confdefs.h.  */
   10122 int i;
   10123 _ACEOF
   10124 if ac_fn_c_try_compile "$LINENO"; then :
   10125   xorg_cv_cc_flag_unknown_warning_option=yes
   10126 else
   10127   xorg_cv_cc_flag_unknown_warning_option=no
   10128 fi
   10129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10130 fi
   10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10132 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10133 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10134 	CFLAGS="$xorg_testset_save_CFLAGS"
   10135 fi
   10136 
   10137 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10138 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10139 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10140 	fi
   10141 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10142 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10143 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10144 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10145   $as_echo_n "(cached) " >&6
   10146 else
   10147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10148 /* end confdefs.h.  */
   10149 int i;
   10150 _ACEOF
   10151 if ac_fn_c_try_compile "$LINENO"; then :
   10152   xorg_cv_cc_flag_unused_command_line_argument=yes
   10153 else
   10154   xorg_cv_cc_flag_unused_command_line_argument=no
   10155 fi
   10156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10157 fi
   10158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10159 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10160 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10161 	CFLAGS="$xorg_testset_save_CFLAGS"
   10162 fi
   10163 
   10164 found="no"
   10165 
   10166 	if test $found = "no" ; then
   10167 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10168 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10169 		fi
   10170 
   10171 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10172 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10173 		fi
   10174 
   10175 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10176 
   10177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10178 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10179 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10180 		if eval \${$cacheid+:} false; then :
   10181   $as_echo_n "(cached) " >&6
   10182 else
   10183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10184 /* end confdefs.h.  */
   10185 int i;
   10186 int
   10187 main ()
   10188 {
   10189 
   10190   ;
   10191   return 0;
   10192 }
   10193 _ACEOF
   10194 if ac_fn_c_try_link "$LINENO"; then :
   10195   eval $cacheid=yes
   10196 else
   10197   eval $cacheid=no
   10198 fi
   10199 rm -f core conftest.err conftest.$ac_objext \
   10200     conftest$ac_exeext conftest.$ac_ext
   10201 fi
   10202 
   10203 
   10204 		CFLAGS="$xorg_testset_save_CFLAGS"
   10205 
   10206 		eval supported=\$$cacheid
   10207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10208 $as_echo "$supported" >&6; }
   10209 		if test "$supported" = "yes" ; then
   10210 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10211 			found="yes"
   10212 		fi
   10213 	fi
   10214 
   10215 
   10216 fi
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 		CWARNFLAGS="$BASE_CFLAGS"
   10225 		if  test "x$GCC" = xyes ; then
   10226 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10227 		fi
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 # Check whether --enable-strict-compilation was given.
   10237 if test "${enable_strict_compilation+set}" = set; then :
   10238   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10239 else
   10240   STRICT_COMPILE=no
   10241 fi
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 STRICT_CFLAGS=""
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 xorg_testset_save_CFLAGS="$CFLAGS"
   10263 
   10264 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10267 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10268 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10269   $as_echo_n "(cached) " >&6
   10270 else
   10271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10272 /* end confdefs.h.  */
   10273 int i;
   10274 _ACEOF
   10275 if ac_fn_c_try_compile "$LINENO"; then :
   10276   xorg_cv_cc_flag_unknown_warning_option=yes
   10277 else
   10278   xorg_cv_cc_flag_unknown_warning_option=no
   10279 fi
   10280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10281 fi
   10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10283 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10284 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10285 	CFLAGS="$xorg_testset_save_CFLAGS"
   10286 fi
   10287 
   10288 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10289 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10290 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10291 	fi
   10292 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10294 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10295 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10296   $as_echo_n "(cached) " >&6
   10297 else
   10298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10299 /* end confdefs.h.  */
   10300 int i;
   10301 _ACEOF
   10302 if ac_fn_c_try_compile "$LINENO"; then :
   10303   xorg_cv_cc_flag_unused_command_line_argument=yes
   10304 else
   10305   xorg_cv_cc_flag_unused_command_line_argument=no
   10306 fi
   10307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10308 fi
   10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10310 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10311 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10312 	CFLAGS="$xorg_testset_save_CFLAGS"
   10313 fi
   10314 
   10315 found="no"
   10316 
   10317 	if test $found = "no" ; then
   10318 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10320 		fi
   10321 
   10322 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10324 		fi
   10325 
   10326 		CFLAGS="$CFLAGS -pedantic"
   10327 
   10328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10329 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10330 		cacheid=xorg_cv_cc_flag__pedantic
   10331 		if eval \${$cacheid+:} false; then :
   10332   $as_echo_n "(cached) " >&6
   10333 else
   10334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10335 /* end confdefs.h.  */
   10336 int i;
   10337 int
   10338 main ()
   10339 {
   10340 
   10341   ;
   10342   return 0;
   10343 }
   10344 _ACEOF
   10345 if ac_fn_c_try_link "$LINENO"; then :
   10346   eval $cacheid=yes
   10347 else
   10348   eval $cacheid=no
   10349 fi
   10350 rm -f core conftest.err conftest.$ac_objext \
   10351     conftest$ac_exeext conftest.$ac_ext
   10352 fi
   10353 
   10354 
   10355 		CFLAGS="$xorg_testset_save_CFLAGS"
   10356 
   10357 		eval supported=\$$cacheid
   10358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10359 $as_echo "$supported" >&6; }
   10360 		if test "$supported" = "yes" ; then
   10361 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10362 			found="yes"
   10363 		fi
   10364 	fi
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 xorg_testset_save_CFLAGS="$CFLAGS"
   10381 
   10382 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10383 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10385 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10386 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10387   $as_echo_n "(cached) " >&6
   10388 else
   10389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10390 /* end confdefs.h.  */
   10391 int i;
   10392 _ACEOF
   10393 if ac_fn_c_try_compile "$LINENO"; then :
   10394   xorg_cv_cc_flag_unknown_warning_option=yes
   10395 else
   10396   xorg_cv_cc_flag_unknown_warning_option=no
   10397 fi
   10398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10399 fi
   10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10401 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10402 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10403 	CFLAGS="$xorg_testset_save_CFLAGS"
   10404 fi
   10405 
   10406 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10407 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10408 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10409 	fi
   10410 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10412 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10413 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10414   $as_echo_n "(cached) " >&6
   10415 else
   10416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10417 /* end confdefs.h.  */
   10418 int i;
   10419 _ACEOF
   10420 if ac_fn_c_try_compile "$LINENO"; then :
   10421   xorg_cv_cc_flag_unused_command_line_argument=yes
   10422 else
   10423   xorg_cv_cc_flag_unused_command_line_argument=no
   10424 fi
   10425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10426 fi
   10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10428 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10429 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10430 	CFLAGS="$xorg_testset_save_CFLAGS"
   10431 fi
   10432 
   10433 found="no"
   10434 
   10435 	if test $found = "no" ; then
   10436 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10437 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10438 		fi
   10439 
   10440 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10441 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10442 		fi
   10443 
   10444 		CFLAGS="$CFLAGS -Werror"
   10445 
   10446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10447 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10448 		cacheid=xorg_cv_cc_flag__Werror
   10449 		if eval \${$cacheid+:} false; then :
   10450   $as_echo_n "(cached) " >&6
   10451 else
   10452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10453 /* end confdefs.h.  */
   10454 int i;
   10455 int
   10456 main ()
   10457 {
   10458 
   10459   ;
   10460   return 0;
   10461 }
   10462 _ACEOF
   10463 if ac_fn_c_try_link "$LINENO"; then :
   10464   eval $cacheid=yes
   10465 else
   10466   eval $cacheid=no
   10467 fi
   10468 rm -f core conftest.err conftest.$ac_objext \
   10469     conftest$ac_exeext conftest.$ac_ext
   10470 fi
   10471 
   10472 
   10473 		CFLAGS="$xorg_testset_save_CFLAGS"
   10474 
   10475 		eval supported=\$$cacheid
   10476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10477 $as_echo "$supported" >&6; }
   10478 		if test "$supported" = "yes" ; then
   10479 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10480 			found="yes"
   10481 		fi
   10482 	fi
   10483 
   10484 	if test $found = "no" ; then
   10485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10487 		fi
   10488 
   10489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10491 		fi
   10492 
   10493 		CFLAGS="$CFLAGS -errwarn"
   10494 
   10495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10496 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10497 		cacheid=xorg_cv_cc_flag__errwarn
   10498 		if eval \${$cacheid+:} false; then :
   10499   $as_echo_n "(cached) " >&6
   10500 else
   10501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10502 /* end confdefs.h.  */
   10503 int i;
   10504 int
   10505 main ()
   10506 {
   10507 
   10508   ;
   10509   return 0;
   10510 }
   10511 _ACEOF
   10512 if ac_fn_c_try_link "$LINENO"; then :
   10513   eval $cacheid=yes
   10514 else
   10515   eval $cacheid=no
   10516 fi
   10517 rm -f core conftest.err conftest.$ac_objext \
   10518     conftest$ac_exeext conftest.$ac_ext
   10519 fi
   10520 
   10521 
   10522 		CFLAGS="$xorg_testset_save_CFLAGS"
   10523 
   10524 		eval supported=\$$cacheid
   10525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10526 $as_echo "$supported" >&6; }
   10527 		if test "$supported" = "yes" ; then
   10528 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10529 			found="yes"
   10530 		fi
   10531 	fi
   10532 
   10533 
   10534 
   10535 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10536 # activate it with -Werror, so we add it here explicitly.
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 xorg_testset_save_CFLAGS="$CFLAGS"
   10551 
   10552 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10553 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10554 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10555 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10556 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10557   $as_echo_n "(cached) " >&6
   10558 else
   10559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10560 /* end confdefs.h.  */
   10561 int i;
   10562 _ACEOF
   10563 if ac_fn_c_try_compile "$LINENO"; then :
   10564   xorg_cv_cc_flag_unknown_warning_option=yes
   10565 else
   10566   xorg_cv_cc_flag_unknown_warning_option=no
   10567 fi
   10568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10569 fi
   10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10571 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10572 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10573 	CFLAGS="$xorg_testset_save_CFLAGS"
   10574 fi
   10575 
   10576 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10577 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10578 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10579 	fi
   10580 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10582 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10583 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10584   $as_echo_n "(cached) " >&6
   10585 else
   10586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10587 /* end confdefs.h.  */
   10588 int i;
   10589 _ACEOF
   10590 if ac_fn_c_try_compile "$LINENO"; then :
   10591   xorg_cv_cc_flag_unused_command_line_argument=yes
   10592 else
   10593   xorg_cv_cc_flag_unused_command_line_argument=no
   10594 fi
   10595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10596 fi
   10597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10598 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10599 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10600 	CFLAGS="$xorg_testset_save_CFLAGS"
   10601 fi
   10602 
   10603 found="no"
   10604 
   10605 	if test $found = "no" ; then
   10606 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10607 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10608 		fi
   10609 
   10610 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10611 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10612 		fi
   10613 
   10614 		CFLAGS="$CFLAGS -Werror=attributes"
   10615 
   10616 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10617 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10618 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10619 		if eval \${$cacheid+:} false; then :
   10620   $as_echo_n "(cached) " >&6
   10621 else
   10622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10623 /* end confdefs.h.  */
   10624 int i;
   10625 int
   10626 main ()
   10627 {
   10628 
   10629   ;
   10630   return 0;
   10631 }
   10632 _ACEOF
   10633 if ac_fn_c_try_link "$LINENO"; then :
   10634   eval $cacheid=yes
   10635 else
   10636   eval $cacheid=no
   10637 fi
   10638 rm -f core conftest.err conftest.$ac_objext \
   10639     conftest$ac_exeext conftest.$ac_ext
   10640 fi
   10641 
   10642 
   10643 		CFLAGS="$xorg_testset_save_CFLAGS"
   10644 
   10645 		eval supported=\$$cacheid
   10646 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10647 $as_echo "$supported" >&6; }
   10648 		if test "$supported" = "yes" ; then
   10649 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10650 			found="yes"
   10651 		fi
   10652 	fi
   10653 
   10654 
   10655 
   10656 if test "x$STRICT_COMPILE" = "xyes"; then
   10657     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10658     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10659 fi
   10660 
   10661 
   10662 
   10663 
   10664 
   10665 
   10666 cat >>confdefs.h <<_ACEOF
   10667 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10668 _ACEOF
   10669 
   10670 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10671 	if test "x$PVM" = "x"; then
   10672 		PVM="0"
   10673 	fi
   10674 
   10675 cat >>confdefs.h <<_ACEOF
   10676 #define PACKAGE_VERSION_MINOR $PVM
   10677 _ACEOF
   10678 
   10679 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10680 	if test "x$PVP" = "x"; then
   10681 		PVP="0"
   10682 	fi
   10683 
   10684 cat >>confdefs.h <<_ACEOF
   10685 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10686 _ACEOF
   10687 
   10688 
   10689 
   10690 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10691 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10692 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10693 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10694 
   10695 
   10696 
   10697 
   10698 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10699 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10700 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10701 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10702 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 if test x$APP_MAN_SUFFIX = x    ; then
   10710     APP_MAN_SUFFIX=1
   10711 fi
   10712 if test x$APP_MAN_DIR = x    ; then
   10713     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10714 fi
   10715 
   10716 if test x$LIB_MAN_SUFFIX = x    ; then
   10717     LIB_MAN_SUFFIX=3
   10718 fi
   10719 if test x$LIB_MAN_DIR = x    ; then
   10720     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10721 fi
   10722 
   10723 if test x$FILE_MAN_SUFFIX = x    ; then
   10724     case $host_os in
   10725 	# Solaris 2.0 - 11 use SysV man page sections
   10726 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   10727 	*)				FILE_MAN_SUFFIX=5  ;;
   10728     esac
   10729 fi
   10730 if test x$FILE_MAN_DIR = x    ; then
   10731     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10732 fi
   10733 
   10734 if test x$MISC_MAN_SUFFIX = x    ; then
   10735     case $host_os in
   10736 	# Solaris 2.0 - 11 use SysV man page sections
   10737 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   10738 	*)				MISC_MAN_SUFFIX=7  ;;
   10739     esac
   10740 fi
   10741 if test x$MISC_MAN_DIR = x    ; then
   10742     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10743 fi
   10744 
   10745 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10746     case $host_os in
   10747 	# Solaris 2.0 - 11 use SysV man page sections
   10748 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   10749 	*)				DRIVER_MAN_SUFFIX=4  ;;
   10750     esac
   10751 fi
   10752 if test x$DRIVER_MAN_DIR = x    ; then
   10753     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10754 fi
   10755 
   10756 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10757     case $host_os in
   10758 	# Solaris 2.0 - 11 use SysV man page sections
   10759 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   10760 	*)				ADMIN_MAN_SUFFIX=8  ;;
   10761     esac
   10762 fi
   10763 if test x$ADMIN_MAN_DIR = x    ; then
   10764     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10765 fi
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779 
   10780 
   10781 XORG_MAN_PAGE="X Version 11"
   10782 
   10783 MAN_SUBSTS="\
   10784 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10785 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10786 	-e 's|__xservername__|Xorg|g' \
   10787 	-e 's|__xconfigfile__|xorg.conf|g' \
   10788 	-e 's|__projectroot__|\$(prefix)|g' \
   10789 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10790 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10791 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10792 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10793 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10794 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10795 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10796 
   10797 
   10798 
   10799 # Check whether --enable-silent-rules was given.
   10800 if test "${enable_silent_rules+set}" = set; then :
   10801   enableval=$enable_silent_rules;
   10802 fi
   10803 
   10804 case $enable_silent_rules in # (((
   10805   yes) AM_DEFAULT_VERBOSITY=0;;
   10806    no) AM_DEFAULT_VERBOSITY=1;;
   10807     *) AM_DEFAULT_VERBOSITY=0;;
   10808 esac
   10809 am_make=${MAKE-make}
   10810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10811 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10812 if ${am_cv_make_support_nested_variables+:} false; then :
   10813   $as_echo_n "(cached) " >&6
   10814 else
   10815   if $as_echo 'TRUE=$(BAR$(V))
   10816 BAR0=false
   10817 BAR1=true
   10818 V=1
   10819 am__doit:
   10820 	@$(TRUE)
   10821 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10822   am_cv_make_support_nested_variables=yes
   10823 else
   10824   am_cv_make_support_nested_variables=no
   10825 fi
   10826 fi
   10827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10828 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10829 if test $am_cv_make_support_nested_variables = yes; then
   10830     AM_V='$(V)'
   10831   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10832 else
   10833   AM_V=$AM_DEFAULT_VERBOSITY
   10834   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10835 fi
   10836 AM_BACKSLASH='\'
   10837 
   10838 
   10839 
   10840 for ac_func in strncasecmp asprintf
   10841 do :
   10842   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   10843 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   10844 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   10845   cat >>confdefs.h <<_ACEOF
   10846 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   10847 _ACEOF
   10848 
   10849 fi
   10850 done
   10851 
   10852 
   10853 # Checks for pkg-config packages
   10854 
   10855 pkg_failed=no
   10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMODMAP" >&5
   10857 $as_echo_n "checking for XMODMAP... " >&6; }
   10858 
   10859 if test -n "$XMODMAP_CFLAGS"; then
   10860     pkg_cv_XMODMAP_CFLAGS="$XMODMAP_CFLAGS"
   10861  elif test -n "$PKG_CONFIG"; then
   10862     if test -n "$PKG_CONFIG" && \
   10863     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   10864   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   10865   ac_status=$?
   10866   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10867   test $ac_status = 0; }; then
   10868   pkg_cv_XMODMAP_CFLAGS=`$PKG_CONFIG --cflags "x11 xproto >= 7.0.25" 2>/dev/null`
   10869 		      test "x$?" != "x0" && pkg_failed=yes
   10870 else
   10871   pkg_failed=yes
   10872 fi
   10873  else
   10874     pkg_failed=untried
   10875 fi
   10876 if test -n "$XMODMAP_LIBS"; then
   10877     pkg_cv_XMODMAP_LIBS="$XMODMAP_LIBS"
   10878  elif test -n "$PKG_CONFIG"; then
   10879     if test -n "$PKG_CONFIG" && \
   10880     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xproto >= 7.0.25\""; } >&5
   10881   ($PKG_CONFIG --exists --print-errors "x11 xproto >= 7.0.25") 2>&5
   10882   ac_status=$?
   10883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10884   test $ac_status = 0; }; then
   10885   pkg_cv_XMODMAP_LIBS=`$PKG_CONFIG --libs "x11 xproto >= 7.0.25" 2>/dev/null`
   10886 		      test "x$?" != "x0" && pkg_failed=yes
   10887 else
   10888   pkg_failed=yes
   10889 fi
   10890  else
   10891     pkg_failed=untried
   10892 fi
   10893 
   10894 
   10895 
   10896 if test $pkg_failed = yes; then
   10897    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10898 $as_echo "no" >&6; }
   10899 
   10900 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   10901         _pkg_short_errors_supported=yes
   10902 else
   10903         _pkg_short_errors_supported=no
   10904 fi
   10905         if test $_pkg_short_errors_supported = yes; then
   10906 	        XMODMAP_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   10907         else
   10908 	        XMODMAP_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "x11 xproto >= 7.0.25" 2>&1`
   10909         fi
   10910 	# Put the nasty error message in config.log where it belongs
   10911 	echo "$XMODMAP_PKG_ERRORS" >&5
   10912 
   10913 	as_fn_error $? "Package requirements (x11 xproto >= 7.0.25) were not met:
   10914 
   10915 $XMODMAP_PKG_ERRORS
   10916 
   10917 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   10918 installed software in a non-standard prefix.
   10919 
   10920 Alternatively, you may set the environment variables XMODMAP_CFLAGS
   10921 and XMODMAP_LIBS to avoid the need to call pkg-config.
   10922 See the pkg-config man page for more details." "$LINENO" 5
   10923 elif test $pkg_failed = untried; then
   10924      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10925 $as_echo "no" >&6; }
   10926 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10928 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   10929 is in your PATH or set the PKG_CONFIG environment variable to the full
   10930 path to pkg-config.
   10931 
   10932 Alternatively, you may set the environment variables XMODMAP_CFLAGS
   10933 and XMODMAP_LIBS to avoid the need to call pkg-config.
   10934 See the pkg-config man page for more details.
   10935 
   10936 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   10937 See \`config.log' for more details" "$LINENO" 5; }
   10938 else
   10939 	XMODMAP_CFLAGS=$pkg_cv_XMODMAP_CFLAGS
   10940 	XMODMAP_LIBS=$pkg_cv_XMODMAP_LIBS
   10941         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10942 $as_echo "yes" >&6; }
   10943 
   10944 fi
   10945 
   10946 
   10947 
   10948 
   10949 
   10950 
   10951 # Check whether --with-lint was given.
   10952 if test "${with_lint+set}" = set; then :
   10953   withval=$with_lint; use_lint=$withval
   10954 else
   10955   use_lint=no
   10956 fi
   10957 
   10958 
   10959 # Obtain platform specific info like program name and options
   10960 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   10961 case $host_os in
   10962   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   10963 	lint_name=splint
   10964 	lint_options="-badflag"
   10965 	;;
   10966   *freebsd* | *netbsd*)
   10967 	lint_name=lint
   10968 	lint_options="-u -b"
   10969 	;;
   10970   *solaris*)
   10971 	lint_name=lint
   10972 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   10973 	;;
   10974 esac
   10975 
   10976 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   10977 if test "x$use_lint" = x"yes" ; then
   10978    # Extract the first word of "$lint_name", so it can be a program name with args.
   10979 set dummy $lint_name; ac_word=$2
   10980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10981 $as_echo_n "checking for $ac_word... " >&6; }
   10982 if ${ac_cv_path_LINT+:} false; then :
   10983   $as_echo_n "(cached) " >&6
   10984 else
   10985   case $LINT in
   10986   [\\/]* | ?:[\\/]*)
   10987   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   10988   ;;
   10989   *)
   10990   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10991 for as_dir in $PATH
   10992 do
   10993   IFS=$as_save_IFS
   10994   test -z "$as_dir" && as_dir=.
   10995     for ac_exec_ext in '' $ac_executable_extensions; do
   10996   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10997     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   10998     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10999     break 2
   11000   fi
   11001 done
   11002   done
   11003 IFS=$as_save_IFS
   11004 
   11005   ;;
   11006 esac
   11007 fi
   11008 LINT=$ac_cv_path_LINT
   11009 if test -n "$LINT"; then
   11010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   11011 $as_echo "$LINT" >&6; }
   11012 else
   11013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11014 $as_echo "no" >&6; }
   11015 fi
   11016 
   11017 
   11018    if test "x$LINT" = "x"; then
   11019         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   11020    fi
   11021 elif test "x$use_lint" = x"no" ; then
   11022    if test "x$LINT" != "x"; then
   11023       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   11024 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   11025    fi
   11026 else
   11027    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   11028 fi
   11029 
   11030 # User supplied flags override default flags
   11031 if test "x$LINT_FLAGS" != "x"; then
   11032    lint_options=$LINT_FLAGS
   11033 fi
   11034 
   11035 LINT_FLAGS=$lint_options
   11036 
   11037  if test "x$LINT" != x; then
   11038   LINT_TRUE=
   11039   LINT_FALSE='#'
   11040 else
   11041   LINT_TRUE='#'
   11042   LINT_FALSE=
   11043 fi
   11044 
   11045 
   11046 
   11047 
   11048 ac_config_files="$ac_config_files Makefile man/Makefile"
   11049 
   11050 cat >confcache <<\_ACEOF
   11051 # This file is a shell script that caches the results of configure
   11052 # tests run on this system so they can be shared between configure
   11053 # scripts and configure runs, see configure's option --config-cache.
   11054 # It is not useful on other systems.  If it contains results you don't
   11055 # want to keep, you may remove or edit it.
   11056 #
   11057 # config.status only pays attention to the cache file if you give it
   11058 # the --recheck option to rerun configure.
   11059 #
   11060 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11061 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11062 # following values.
   11063 
   11064 _ACEOF
   11065 
   11066 # The following way of writing the cache mishandles newlines in values,
   11067 # but we know of no workaround that is simple, portable, and efficient.
   11068 # So, we kill variables containing newlines.
   11069 # Ultrix sh set writes to stderr and can't be redirected directly,
   11070 # and sets the high bit in the cache file unless we assign to the vars.
   11071 (
   11072   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11073     eval ac_val=\$$ac_var
   11074     case $ac_val in #(
   11075     *${as_nl}*)
   11076       case $ac_var in #(
   11077       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11078 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11079       esac
   11080       case $ac_var in #(
   11081       _ | IFS | as_nl) ;; #(
   11082       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11083       *) { eval $ac_var=; unset $ac_var;} ;;
   11084       esac ;;
   11085     esac
   11086   done
   11087 
   11088   (set) 2>&1 |
   11089     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11090     *${as_nl}ac_space=\ *)
   11091       # `set' does not quote correctly, so add quotes: double-quote
   11092       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11093       sed -n \
   11094 	"s/'/'\\\\''/g;
   11095 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11096       ;; #(
   11097     *)
   11098       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11099       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11100       ;;
   11101     esac |
   11102     sort
   11103 ) |
   11104   sed '
   11105      /^ac_cv_env_/b end
   11106      t clear
   11107      :clear
   11108      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11109      t end
   11110      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11111      :end' >>confcache
   11112 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11113   if test -w "$cache_file"; then
   11114     if test "x$cache_file" != "x/dev/null"; then
   11115       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11116 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11117       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11118 	cat confcache >"$cache_file"
   11119       else
   11120         case $cache_file in #(
   11121         */* | ?:*)
   11122 	  mv -f confcache "$cache_file"$$ &&
   11123 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11124         *)
   11125 	  mv -f confcache "$cache_file" ;;
   11126 	esac
   11127       fi
   11128     fi
   11129   else
   11130     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11131 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11132   fi
   11133 fi
   11134 rm -f confcache
   11135 
   11136 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11137 # Let make expand exec_prefix.
   11138 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11139 
   11140 DEFS=-DHAVE_CONFIG_H
   11141 
   11142 ac_libobjs=
   11143 ac_ltlibobjs=
   11144 U=
   11145 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11146   # 1. Remove the extension, and $U if already installed.
   11147   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11148   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11149   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11150   #    will be set to the directory where LIBOBJS objects are built.
   11151   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11152   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11153 done
   11154 LIBOBJS=$ac_libobjs
   11155 
   11156 LTLIBOBJS=$ac_ltlibobjs
   11157 
   11158 
   11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11160 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11161    if test -n "$am_sleep_pid"; then
   11162      # Hide warnings about reused PIDs.
   11163      wait $am_sleep_pid 2>/dev/null
   11164    fi
   11165    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11166 $as_echo "done" >&6; }
   11167 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11168   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11169 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11170 fi
   11171 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11172   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11173 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11174 fi
   11175  if test -n "$EXEEXT"; then
   11176   am__EXEEXT_TRUE=
   11177   am__EXEEXT_FALSE='#'
   11178 else
   11179   am__EXEEXT_TRUE='#'
   11180   am__EXEEXT_FALSE=
   11181 fi
   11182 
   11183 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   11184   as_fn_error $? "conditional \"LINT\" was never defined.
   11185 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11186 fi
   11187 
   11188 : "${CONFIG_STATUS=./config.status}"
   11189 ac_write_fail=0
   11190 ac_clean_files_save=$ac_clean_files
   11191 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11192 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11193 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11194 as_write_fail=0
   11195 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11196 #! $SHELL
   11197 # Generated by $as_me.
   11198 # Run this file to recreate the current configuration.
   11199 # Compiler output produced by configure, useful for debugging
   11200 # configure, is in config.log if it exists.
   11201 
   11202 debug=false
   11203 ac_cs_recheck=false
   11204 ac_cs_silent=false
   11205 
   11206 SHELL=\${CONFIG_SHELL-$SHELL}
   11207 export SHELL
   11208 _ASEOF
   11209 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11210 ## -------------------- ##
   11211 ## M4sh Initialization. ##
   11212 ## -------------------- ##
   11213 
   11214 # Be more Bourne compatible
   11215 DUALCASE=1; export DUALCASE # for MKS sh
   11216 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11217   emulate sh
   11218   NULLCMD=:
   11219   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11220   # is contrary to our usage.  Disable this feature.
   11221   alias -g '${1+"$@"}'='"$@"'
   11222   setopt NO_GLOB_SUBST
   11223 else
   11224   case `(set -o) 2>/dev/null` in #(
   11225   *posix*) :
   11226     set -o posix ;; #(
   11227   *) :
   11228      ;;
   11229 esac
   11230 fi
   11231 
   11232 
   11233 as_nl='
   11234 '
   11235 export as_nl
   11236 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11237 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11238 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11239 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11240 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11241 # but without wasting forks for bash or zsh.
   11242 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11243     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11244   as_echo='print -r --'
   11245   as_echo_n='print -rn --'
   11246 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11247   as_echo='printf %s\n'
   11248   as_echo_n='printf %s'
   11249 else
   11250   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11251     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11252     as_echo_n='/usr/ucb/echo -n'
   11253   else
   11254     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11255     as_echo_n_body='eval
   11256       arg=$1;
   11257       case $arg in #(
   11258       *"$as_nl"*)
   11259 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11260 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11261       esac;
   11262       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11263     '
   11264     export as_echo_n_body
   11265     as_echo_n='sh -c $as_echo_n_body as_echo'
   11266   fi
   11267   export as_echo_body
   11268   as_echo='sh -c $as_echo_body as_echo'
   11269 fi
   11270 
   11271 # The user is always right.
   11272 if test "${PATH_SEPARATOR+set}" != set; then
   11273   PATH_SEPARATOR=:
   11274   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11275     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11276       PATH_SEPARATOR=';'
   11277   }
   11278 fi
   11279 
   11280 
   11281 # IFS
   11282 # We need space, tab and new line, in precisely that order.  Quoting is
   11283 # there to prevent editors from complaining about space-tab.
   11284 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11285 # splitting by setting IFS to empty value.)
   11286 IFS=" ""	$as_nl"
   11287 
   11288 # Find who we are.  Look in the path if we contain no directory separator.
   11289 as_myself=
   11290 case $0 in #((
   11291   *[\\/]* ) as_myself=$0 ;;
   11292   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11293 for as_dir in $PATH
   11294 do
   11295   IFS=$as_save_IFS
   11296   test -z "$as_dir" && as_dir=.
   11297     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11298   done
   11299 IFS=$as_save_IFS
   11300 
   11301      ;;
   11302 esac
   11303 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11304 # in which case we are not to be found in the path.
   11305 if test "x$as_myself" = x; then
   11306   as_myself=$0
   11307 fi
   11308 if test ! -f "$as_myself"; then
   11309   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11310   exit 1
   11311 fi
   11312 
   11313 # Unset variables that we do not need and which cause bugs (e.g. in
   11314 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11315 # suppresses any "Segmentation fault" message there.  '((' could
   11316 # trigger a bug in pdksh 5.2.14.
   11317 for as_var in BASH_ENV ENV MAIL MAILPATH
   11318 do eval test x\${$as_var+set} = xset \
   11319   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11320 done
   11321 PS1='$ '
   11322 PS2='> '
   11323 PS4='+ '
   11324 
   11325 # NLS nuisances.
   11326 LC_ALL=C
   11327 export LC_ALL
   11328 LANGUAGE=C
   11329 export LANGUAGE
   11330 
   11331 # CDPATH.
   11332 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11333 
   11334 
   11335 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11336 # ----------------------------------------
   11337 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11338 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11339 # script with STATUS, using 1 if that was 0.
   11340 as_fn_error ()
   11341 {
   11342   as_status=$1; test $as_status -eq 0 && as_status=1
   11343   if test "$4"; then
   11344     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11345     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11346   fi
   11347   $as_echo "$as_me: error: $2" >&2
   11348   as_fn_exit $as_status
   11349 } # as_fn_error
   11350 
   11351 
   11352 # as_fn_set_status STATUS
   11353 # -----------------------
   11354 # Set $? to STATUS, without forking.
   11355 as_fn_set_status ()
   11356 {
   11357   return $1
   11358 } # as_fn_set_status
   11359 
   11360 # as_fn_exit STATUS
   11361 # -----------------
   11362 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11363 as_fn_exit ()
   11364 {
   11365   set +e
   11366   as_fn_set_status $1
   11367   exit $1
   11368 } # as_fn_exit
   11369 
   11370 # as_fn_unset VAR
   11371 # ---------------
   11372 # Portably unset VAR.
   11373 as_fn_unset ()
   11374 {
   11375   { eval $1=; unset $1;}
   11376 }
   11377 as_unset=as_fn_unset
   11378 # as_fn_append VAR VALUE
   11379 # ----------------------
   11380 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11381 # advantage of any shell optimizations that allow amortized linear growth over
   11382 # repeated appends, instead of the typical quadratic growth present in naive
   11383 # implementations.
   11384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11385   eval 'as_fn_append ()
   11386   {
   11387     eval $1+=\$2
   11388   }'
   11389 else
   11390   as_fn_append ()
   11391   {
   11392     eval $1=\$$1\$2
   11393   }
   11394 fi # as_fn_append
   11395 
   11396 # as_fn_arith ARG...
   11397 # ------------------
   11398 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11400 # must be portable across $(()) and expr.
   11401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11402   eval 'as_fn_arith ()
   11403   {
   11404     as_val=$(( $* ))
   11405   }'
   11406 else
   11407   as_fn_arith ()
   11408   {
   11409     as_val=`expr "$@" || test $? -eq 1`
   11410   }
   11411 fi # as_fn_arith
   11412 
   11413 
   11414 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11415    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11416   as_expr=expr
   11417 else
   11418   as_expr=false
   11419 fi
   11420 
   11421 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11422   as_basename=basename
   11423 else
   11424   as_basename=false
   11425 fi
   11426 
   11427 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11428   as_dirname=dirname
   11429 else
   11430   as_dirname=false
   11431 fi
   11432 
   11433 as_me=`$as_basename -- "$0" ||
   11434 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11435 	 X"$0" : 'X\(//\)$' \| \
   11436 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11437 $as_echo X/"$0" |
   11438     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11439 	    s//\1/
   11440 	    q
   11441 	  }
   11442 	  /^X\/\(\/\/\)$/{
   11443 	    s//\1/
   11444 	    q
   11445 	  }
   11446 	  /^X\/\(\/\).*/{
   11447 	    s//\1/
   11448 	    q
   11449 	  }
   11450 	  s/.*/./; q'`
   11451 
   11452 # Avoid depending upon Character Ranges.
   11453 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11454 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11455 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11456 as_cr_digits='0123456789'
   11457 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11458 
   11459 ECHO_C= ECHO_N= ECHO_T=
   11460 case `echo -n x` in #(((((
   11461 -n*)
   11462   case `echo 'xy\c'` in
   11463   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11464   xy)  ECHO_C='\c';;
   11465   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11466        ECHO_T='	';;
   11467   esac;;
   11468 *)
   11469   ECHO_N='-n';;
   11470 esac
   11471 
   11472 rm -f conf$$ conf$$.exe conf$$.file
   11473 if test -d conf$$.dir; then
   11474   rm -f conf$$.dir/conf$$.file
   11475 else
   11476   rm -f conf$$.dir
   11477   mkdir conf$$.dir 2>/dev/null
   11478 fi
   11479 if (echo >conf$$.file) 2>/dev/null; then
   11480   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11481     as_ln_s='ln -s'
   11482     # ... but there are two gotchas:
   11483     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11484     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11485     # In both cases, we have to default to `cp -pR'.
   11486     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11487       as_ln_s='cp -pR'
   11488   elif ln conf$$.file conf$$ 2>/dev/null; then
   11489     as_ln_s=ln
   11490   else
   11491     as_ln_s='cp -pR'
   11492   fi
   11493 else
   11494   as_ln_s='cp -pR'
   11495 fi
   11496 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11497 rmdir conf$$.dir 2>/dev/null
   11498 
   11499 
   11500 # as_fn_mkdir_p
   11501 # -------------
   11502 # Create "$as_dir" as a directory, including parents if necessary.
   11503 as_fn_mkdir_p ()
   11504 {
   11505 
   11506   case $as_dir in #(
   11507   -*) as_dir=./$as_dir;;
   11508   esac
   11509   test -d "$as_dir" || eval $as_mkdir_p || {
   11510     as_dirs=
   11511     while :; do
   11512       case $as_dir in #(
   11513       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11514       *) as_qdir=$as_dir;;
   11515       esac
   11516       as_dirs="'$as_qdir' $as_dirs"
   11517       as_dir=`$as_dirname -- "$as_dir" ||
   11518 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11519 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11520 	 X"$as_dir" : 'X\(//\)$' \| \
   11521 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11522 $as_echo X"$as_dir" |
   11523     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11524 	    s//\1/
   11525 	    q
   11526 	  }
   11527 	  /^X\(\/\/\)[^/].*/{
   11528 	    s//\1/
   11529 	    q
   11530 	  }
   11531 	  /^X\(\/\/\)$/{
   11532 	    s//\1/
   11533 	    q
   11534 	  }
   11535 	  /^X\(\/\).*/{
   11536 	    s//\1/
   11537 	    q
   11538 	  }
   11539 	  s/.*/./; q'`
   11540       test -d "$as_dir" && break
   11541     done
   11542     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11543   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11544 
   11545 
   11546 } # as_fn_mkdir_p
   11547 if mkdir -p . 2>/dev/null; then
   11548   as_mkdir_p='mkdir -p "$as_dir"'
   11549 else
   11550   test -d ./-p && rmdir ./-p
   11551   as_mkdir_p=false
   11552 fi
   11553 
   11554 
   11555 # as_fn_executable_p FILE
   11556 # -----------------------
   11557 # Test if FILE is an executable regular file.
   11558 as_fn_executable_p ()
   11559 {
   11560   test -f "$1" && test -x "$1"
   11561 } # as_fn_executable_p
   11562 as_test_x='test -x'
   11563 as_executable_p=as_fn_executable_p
   11564 
   11565 # Sed expression to map a string onto a valid CPP name.
   11566 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11567 
   11568 # Sed expression to map a string onto a valid variable name.
   11569 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11570 
   11571 
   11572 exec 6>&1
   11573 ## ----------------------------------- ##
   11574 ## Main body of $CONFIG_STATUS script. ##
   11575 ## ----------------------------------- ##
   11576 _ASEOF
   11577 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11578 
   11579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11580 # Save the log message, to keep $0 and so on meaningful, and to
   11581 # report actual input values of CONFIG_FILES etc. instead of their
   11582 # values after options handling.
   11583 ac_log="
   11584 This file was extended by xmodmap $as_me 1.0.10, which was
   11585 generated by GNU Autoconf 2.69.  Invocation command line was
   11586 
   11587   CONFIG_FILES    = $CONFIG_FILES
   11588   CONFIG_HEADERS  = $CONFIG_HEADERS
   11589   CONFIG_LINKS    = $CONFIG_LINKS
   11590   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11591   $ $0 $@
   11592 
   11593 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11594 "
   11595 
   11596 _ACEOF
   11597 
   11598 case $ac_config_files in *"
   11599 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11600 esac
   11601 
   11602 case $ac_config_headers in *"
   11603 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11604 esac
   11605 
   11606 
   11607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11608 # Files that config.status was made for.
   11609 config_files="$ac_config_files"
   11610 config_headers="$ac_config_headers"
   11611 config_commands="$ac_config_commands"
   11612 
   11613 _ACEOF
   11614 
   11615 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11616 ac_cs_usage="\
   11617 \`$as_me' instantiates files and other configuration actions
   11618 from templates according to the current configuration.  Unless the files
   11619 and actions are specified as TAGs, all are instantiated by default.
   11620 
   11621 Usage: $0 [OPTION]... [TAG]...
   11622 
   11623   -h, --help       print this help, then exit
   11624   -V, --version    print version number and configuration settings, then exit
   11625       --config     print configuration, then exit
   11626   -q, --quiet, --silent
   11627                    do not print progress messages
   11628   -d, --debug      don't remove temporary files
   11629       --recheck    update $as_me by reconfiguring in the same conditions
   11630       --file=FILE[:TEMPLATE]
   11631                    instantiate the configuration file FILE
   11632       --header=FILE[:TEMPLATE]
   11633                    instantiate the configuration header FILE
   11634 
   11635 Configuration files:
   11636 $config_files
   11637 
   11638 Configuration headers:
   11639 $config_headers
   11640 
   11641 Configuration commands:
   11642 $config_commands
   11643 
   11644 Report bugs to <https://gitlab.freedesktop.org/xorg/app/xmodmap/issues>."
   11645 
   11646 _ACEOF
   11647 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11648 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11649 ac_cs_version="\\
   11650 xmodmap config.status 1.0.10
   11651 configured by $0, generated by GNU Autoconf 2.69,
   11652   with options \\"\$ac_cs_config\\"
   11653 
   11654 Copyright (C) 2012 Free Software Foundation, Inc.
   11655 This config.status script is free software; the Free Software Foundation
   11656 gives unlimited permission to copy, distribute and modify it."
   11657 
   11658 ac_pwd='$ac_pwd'
   11659 srcdir='$srcdir'
   11660 INSTALL='$INSTALL'
   11661 MKDIR_P='$MKDIR_P'
   11662 AWK='$AWK'
   11663 test -n "\$AWK" || AWK=awk
   11664 _ACEOF
   11665 
   11666 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11667 # The default lists apply if the user does not specify any file.
   11668 ac_need_defaults=:
   11669 while test $# != 0
   11670 do
   11671   case $1 in
   11672   --*=?*)
   11673     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11674     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11675     ac_shift=:
   11676     ;;
   11677   --*=)
   11678     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11679     ac_optarg=
   11680     ac_shift=:
   11681     ;;
   11682   *)
   11683     ac_option=$1
   11684     ac_optarg=$2
   11685     ac_shift=shift
   11686     ;;
   11687   esac
   11688 
   11689   case $ac_option in
   11690   # Handling of the options.
   11691   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11692     ac_cs_recheck=: ;;
   11693   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11694     $as_echo "$ac_cs_version"; exit ;;
   11695   --config | --confi | --conf | --con | --co | --c )
   11696     $as_echo "$ac_cs_config"; exit ;;
   11697   --debug | --debu | --deb | --de | --d | -d )
   11698     debug=: ;;
   11699   --file | --fil | --fi | --f )
   11700     $ac_shift
   11701     case $ac_optarg in
   11702     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11703     '') as_fn_error $? "missing file argument" ;;
   11704     esac
   11705     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11706     ac_need_defaults=false;;
   11707   --header | --heade | --head | --hea )
   11708     $ac_shift
   11709     case $ac_optarg in
   11710     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11711     esac
   11712     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11713     ac_need_defaults=false;;
   11714   --he | --h)
   11715     # Conflict between --help and --header
   11716     as_fn_error $? "ambiguous option: \`$1'
   11717 Try \`$0 --help' for more information.";;
   11718   --help | --hel | -h )
   11719     $as_echo "$ac_cs_usage"; exit ;;
   11720   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11721   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11722     ac_cs_silent=: ;;
   11723 
   11724   # This is an error.
   11725   -*) as_fn_error $? "unrecognized option: \`$1'
   11726 Try \`$0 --help' for more information." ;;
   11727 
   11728   *) as_fn_append ac_config_targets " $1"
   11729      ac_need_defaults=false ;;
   11730 
   11731   esac
   11732   shift
   11733 done
   11734 
   11735 ac_configure_extra_args=
   11736 
   11737 if $ac_cs_silent; then
   11738   exec 6>/dev/null
   11739   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11740 fi
   11741 
   11742 _ACEOF
   11743 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11744 if \$ac_cs_recheck; then
   11745   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11746   shift
   11747   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11748   CONFIG_SHELL='$SHELL'
   11749   export CONFIG_SHELL
   11750   exec "\$@"
   11751 fi
   11752 
   11753 _ACEOF
   11754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11755 exec 5>>config.log
   11756 {
   11757   echo
   11758   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11759 ## Running $as_me. ##
   11760 _ASBOX
   11761   $as_echo "$ac_log"
   11762 } >&5
   11763 
   11764 _ACEOF
   11765 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11766 #
   11767 # INIT-COMMANDS
   11768 #
   11769 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11770 
   11771 _ACEOF
   11772 
   11773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11774 
   11775 # Handling of arguments.
   11776 for ac_config_target in $ac_config_targets
   11777 do
   11778   case $ac_config_target in
   11779     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11780     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11781     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11782     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   11783 
   11784   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11785   esac
   11786 done
   11787 
   11788 
   11789 # If the user did not use the arguments to specify the items to instantiate,
   11790 # then the envvar interface is used.  Set only those that are not.
   11791 # We use the long form for the default assignment because of an extremely
   11792 # bizarre bug on SunOS 4.1.3.
   11793 if $ac_need_defaults; then
   11794   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11795   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11796   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11797 fi
   11798 
   11799 # Have a temporary directory for convenience.  Make it in the build tree
   11800 # simply because there is no reason against having it here, and in addition,
   11801 # creating and moving files from /tmp can sometimes cause problems.
   11802 # Hook for its removal unless debugging.
   11803 # Note that there is a small window in which the directory will not be cleaned:
   11804 # after its creation but before its name has been assigned to `$tmp'.
   11805 $debug ||
   11806 {
   11807   tmp= ac_tmp=
   11808   trap 'exit_status=$?
   11809   : "${ac_tmp:=$tmp}"
   11810   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   11811 ' 0
   11812   trap 'as_fn_exit 1' 1 2 13 15
   11813 }
   11814 # Create a (secure) tmp directory for tmp files.
   11815 
   11816 {
   11817   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   11818   test -d "$tmp"
   11819 }  ||
   11820 {
   11821   tmp=./conf$$-$RANDOM
   11822   (umask 077 && mkdir "$tmp")
   11823 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   11824 ac_tmp=$tmp
   11825 
   11826 # Set up the scripts for CONFIG_FILES section.
   11827 # No need to generate them if there are no CONFIG_FILES.
   11828 # This happens for instance with `./config.status config.h'.
   11829 if test -n "$CONFIG_FILES"; then
   11830 
   11831 
   11832 ac_cr=`echo X | tr X '\015'`
   11833 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   11834 # But we know of no other shell where ac_cr would be empty at this
   11835 # point, so we can use a bashism as a fallback.
   11836 if test "x$ac_cr" = x; then
   11837   eval ac_cr=\$\'\\r\'
   11838 fi
   11839 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   11840 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   11841   ac_cs_awk_cr='\\r'
   11842 else
   11843   ac_cs_awk_cr=$ac_cr
   11844 fi
   11845 
   11846 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   11847 _ACEOF
   11848 
   11849 
   11850 {
   11851   echo "cat >conf$$subs.awk <<_ACEOF" &&
   11852   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   11853   echo "_ACEOF"
   11854 } >conf$$subs.sh ||
   11855   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11856 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   11857 ac_delim='%!_!# '
   11858 for ac_last_try in false false false false false :; do
   11859   . ./conf$$subs.sh ||
   11860     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11861 
   11862   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   11863   if test $ac_delim_n = $ac_delim_num; then
   11864     break
   11865   elif $ac_last_try; then
   11866     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   11867   else
   11868     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   11869   fi
   11870 done
   11871 rm -f conf$$subs.sh
   11872 
   11873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11874 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   11875 _ACEOF
   11876 sed -n '
   11877 h
   11878 s/^/S["/; s/!.*/"]=/
   11879 p
   11880 g
   11881 s/^[^!]*!//
   11882 :repl
   11883 t repl
   11884 s/'"$ac_delim"'$//
   11885 t delim
   11886 :nl
   11887 h
   11888 s/\(.\{148\}\)..*/\1/
   11889 t more1
   11890 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   11891 p
   11892 n
   11893 b repl
   11894 :more1
   11895 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11896 p
   11897 g
   11898 s/.\{148\}//
   11899 t nl
   11900 :delim
   11901 h
   11902 s/\(.\{148\}\)..*/\1/
   11903 t more2
   11904 s/["\\]/\\&/g; s/^/"/; s/$/"/
   11905 p
   11906 b
   11907 :more2
   11908 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   11909 p
   11910 g
   11911 s/.\{148\}//
   11912 t delim
   11913 ' <conf$$subs.awk | sed '
   11914 /^[^""]/{
   11915   N
   11916   s/\n//
   11917 }
   11918 ' >>$CONFIG_STATUS || ac_write_fail=1
   11919 rm -f conf$$subs.awk
   11920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11921 _ACAWK
   11922 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   11923   for (key in S) S_is_set[key] = 1
   11924   FS = ""
   11925 
   11926 }
   11927 {
   11928   line = $ 0
   11929   nfields = split(line, field, "@")
   11930   substed = 0
   11931   len = length(field[1])
   11932   for (i = 2; i < nfields; i++) {
   11933     key = field[i]
   11934     keylen = length(key)
   11935     if (S_is_set[key]) {
   11936       value = S[key]
   11937       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   11938       len += length(value) + length(field[++i])
   11939       substed = 1
   11940     } else
   11941       len += 1 + keylen
   11942   }
   11943 
   11944   print line
   11945 }
   11946 
   11947 _ACAWK
   11948 _ACEOF
   11949 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11950 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   11951   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   11952 else
   11953   cat
   11954 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   11955   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   11956 _ACEOF
   11957 
   11958 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   11959 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   11960 # trailing colons and then remove the whole line if VPATH becomes empty
   11961 # (actually we leave an empty line to preserve line numbers).
   11962 if test "x$srcdir" = x.; then
   11963   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   11964 h
   11965 s///
   11966 s/^/:/
   11967 s/[	 ]*$/:/
   11968 s/:\$(srcdir):/:/g
   11969 s/:\${srcdir}:/:/g
   11970 s/:@srcdir@:/:/g
   11971 s/^:*//
   11972 s/:*$//
   11973 x
   11974 s/\(=[	 ]*\).*/\1/
   11975 G
   11976 s/\n//
   11977 s/^[^=]*=[	 ]*$//
   11978 }'
   11979 fi
   11980 
   11981 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11982 fi # test -n "$CONFIG_FILES"
   11983 
   11984 # Set up the scripts for CONFIG_HEADERS section.
   11985 # No need to generate them if there are no CONFIG_HEADERS.
   11986 # This happens for instance with `./config.status Makefile'.
   11987 if test -n "$CONFIG_HEADERS"; then
   11988 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   11989 BEGIN {
   11990 _ACEOF
   11991 
   11992 # Transform confdefs.h into an awk script `defines.awk', embedded as
   11993 # here-document in config.status, that substitutes the proper values into
   11994 # config.h.in to produce config.h.
   11995 
   11996 # Create a delimiter string that does not exist in confdefs.h, to ease
   11997 # handling of long lines.
   11998 ac_delim='%!_!# '
   11999 for ac_last_try in false false :; do
   12000   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12001   if test -z "$ac_tt"; then
   12002     break
   12003   elif $ac_last_try; then
   12004     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12005   else
   12006     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12007   fi
   12008 done
   12009 
   12010 # For the awk script, D is an array of macro values keyed by name,
   12011 # likewise P contains macro parameters if any.  Preserve backslash
   12012 # newline sequences.
   12013 
   12014 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12015 sed -n '
   12016 s/.\{148\}/&'"$ac_delim"'/g
   12017 t rset
   12018 :rset
   12019 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12020 t def
   12021 d
   12022 :def
   12023 s/\\$//
   12024 t bsnl
   12025 s/["\\]/\\&/g
   12026 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12027 D["\1"]=" \3"/p
   12028 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12029 d
   12030 :bsnl
   12031 s/["\\]/\\&/g
   12032 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12033 D["\1"]=" \3\\\\\\n"\\/p
   12034 t cont
   12035 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12036 t cont
   12037 d
   12038 :cont
   12039 n
   12040 s/.\{148\}/&'"$ac_delim"'/g
   12041 t clear
   12042 :clear
   12043 s/\\$//
   12044 t bsnlc
   12045 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12046 d
   12047 :bsnlc
   12048 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12049 b cont
   12050 ' <confdefs.h | sed '
   12051 s/'"$ac_delim"'/"\\\
   12052 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12053 
   12054 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12055   for (key in D) D_is_set[key] = 1
   12056   FS = ""
   12057 }
   12058 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12059   line = \$ 0
   12060   split(line, arg, " ")
   12061   if (arg[1] == "#") {
   12062     defundef = arg[2]
   12063     mac1 = arg[3]
   12064   } else {
   12065     defundef = substr(arg[1], 2)
   12066     mac1 = arg[2]
   12067   }
   12068   split(mac1, mac2, "(") #)
   12069   macro = mac2[1]
   12070   prefix = substr(line, 1, index(line, defundef) - 1)
   12071   if (D_is_set[macro]) {
   12072     # Preserve the white space surrounding the "#".
   12073     print prefix "define", macro P[macro] D[macro]
   12074     next
   12075   } else {
   12076     # Replace #undef with comments.  This is necessary, for example,
   12077     # in the case of _POSIX_SOURCE, which is predefined and required
   12078     # on some systems where configure will not decide to define it.
   12079     if (defundef == "undef") {
   12080       print "/*", prefix defundef, macro, "*/"
   12081       next
   12082     }
   12083   }
   12084 }
   12085 { print }
   12086 _ACAWK
   12087 _ACEOF
   12088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12089   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12090 fi # test -n "$CONFIG_HEADERS"
   12091 
   12092 
   12093 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12094 shift
   12095 for ac_tag
   12096 do
   12097   case $ac_tag in
   12098   :[FHLC]) ac_mode=$ac_tag; continue;;
   12099   esac
   12100   case $ac_mode$ac_tag in
   12101   :[FHL]*:*);;
   12102   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12103   :[FH]-) ac_tag=-:-;;
   12104   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12105   esac
   12106   ac_save_IFS=$IFS
   12107   IFS=:
   12108   set x $ac_tag
   12109   IFS=$ac_save_IFS
   12110   shift
   12111   ac_file=$1
   12112   shift
   12113 
   12114   case $ac_mode in
   12115   :L) ac_source=$1;;
   12116   :[FH])
   12117     ac_file_inputs=
   12118     for ac_f
   12119     do
   12120       case $ac_f in
   12121       -) ac_f="$ac_tmp/stdin";;
   12122       *) # Look for the file first in the build tree, then in the source tree
   12123 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12124 	 # because $ac_f cannot contain `:'.
   12125 	 test -f "$ac_f" ||
   12126 	   case $ac_f in
   12127 	   [\\/$]*) false;;
   12128 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12129 	   esac ||
   12130 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12131       esac
   12132       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12133       as_fn_append ac_file_inputs " '$ac_f'"
   12134     done
   12135 
   12136     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12137     # use $as_me), people would be surprised to read:
   12138     #    /* config.h.  Generated by config.status.  */
   12139     configure_input='Generated from '`
   12140 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12141 	`' by configure.'
   12142     if test x"$ac_file" != x-; then
   12143       configure_input="$ac_file.  $configure_input"
   12144       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12145 $as_echo "$as_me: creating $ac_file" >&6;}
   12146     fi
   12147     # Neutralize special characters interpreted by sed in replacement strings.
   12148     case $configure_input in #(
   12149     *\&* | *\|* | *\\* )
   12150        ac_sed_conf_input=`$as_echo "$configure_input" |
   12151        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12152     *) ac_sed_conf_input=$configure_input;;
   12153     esac
   12154 
   12155     case $ac_tag in
   12156     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12157       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12158     esac
   12159     ;;
   12160   esac
   12161 
   12162   ac_dir=`$as_dirname -- "$ac_file" ||
   12163 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12164 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12165 	 X"$ac_file" : 'X\(//\)$' \| \
   12166 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12167 $as_echo X"$ac_file" |
   12168     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12169 	    s//\1/
   12170 	    q
   12171 	  }
   12172 	  /^X\(\/\/\)[^/].*/{
   12173 	    s//\1/
   12174 	    q
   12175 	  }
   12176 	  /^X\(\/\/\)$/{
   12177 	    s//\1/
   12178 	    q
   12179 	  }
   12180 	  /^X\(\/\).*/{
   12181 	    s//\1/
   12182 	    q
   12183 	  }
   12184 	  s/.*/./; q'`
   12185   as_dir="$ac_dir"; as_fn_mkdir_p
   12186   ac_builddir=.
   12187 
   12188 case "$ac_dir" in
   12189 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12190 *)
   12191   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12192   # A ".." for each directory in $ac_dir_suffix.
   12193   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12194   case $ac_top_builddir_sub in
   12195   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12196   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12197   esac ;;
   12198 esac
   12199 ac_abs_top_builddir=$ac_pwd
   12200 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12201 # for backward compatibility:
   12202 ac_top_builddir=$ac_top_build_prefix
   12203 
   12204 case $srcdir in
   12205   .)  # We are building in place.
   12206     ac_srcdir=.
   12207     ac_top_srcdir=$ac_top_builddir_sub
   12208     ac_abs_top_srcdir=$ac_pwd ;;
   12209   [\\/]* | ?:[\\/]* )  # Absolute name.
   12210     ac_srcdir=$srcdir$ac_dir_suffix;
   12211     ac_top_srcdir=$srcdir
   12212     ac_abs_top_srcdir=$srcdir ;;
   12213   *) # Relative name.
   12214     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12215     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12216     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12217 esac
   12218 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12219 
   12220 
   12221   case $ac_mode in
   12222   :F)
   12223   #
   12224   # CONFIG_FILE
   12225   #
   12226 
   12227   case $INSTALL in
   12228   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12229   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12230   esac
   12231   ac_MKDIR_P=$MKDIR_P
   12232   case $MKDIR_P in
   12233   [\\/$]* | ?:[\\/]* ) ;;
   12234   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12235   esac
   12236 _ACEOF
   12237 
   12238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12239 # If the template does not know about datarootdir, expand it.
   12240 # FIXME: This hack should be removed a few years after 2.60.
   12241 ac_datarootdir_hack=; ac_datarootdir_seen=
   12242 ac_sed_dataroot='
   12243 /datarootdir/ {
   12244   p
   12245   q
   12246 }
   12247 /@datadir@/p
   12248 /@docdir@/p
   12249 /@infodir@/p
   12250 /@localedir@/p
   12251 /@mandir@/p'
   12252 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12253 *datarootdir*) ac_datarootdir_seen=yes;;
   12254 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12255   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12256 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12257 _ACEOF
   12258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12259   ac_datarootdir_hack='
   12260   s&@datadir@&$datadir&g
   12261   s&@docdir@&$docdir&g
   12262   s&@infodir@&$infodir&g
   12263   s&@localedir@&$localedir&g
   12264   s&@mandir@&$mandir&g
   12265   s&\\\${datarootdir}&$datarootdir&g' ;;
   12266 esac
   12267 _ACEOF
   12268 
   12269 # Neutralize VPATH when `$srcdir' = `.'.
   12270 # Shell code in configure.ac might set extrasub.
   12271 # FIXME: do we really want to maintain this feature?
   12272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12273 ac_sed_extra="$ac_vpsub
   12274 $extrasub
   12275 _ACEOF
   12276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12277 :t
   12278 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12279 s|@configure_input@|$ac_sed_conf_input|;t t
   12280 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12281 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12282 s&@srcdir@&$ac_srcdir&;t t
   12283 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12284 s&@top_srcdir@&$ac_top_srcdir&;t t
   12285 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12286 s&@builddir@&$ac_builddir&;t t
   12287 s&@abs_builddir@&$ac_abs_builddir&;t t
   12288 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12289 s&@INSTALL@&$ac_INSTALL&;t t
   12290 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12291 $ac_datarootdir_hack
   12292 "
   12293 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12294   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12295 
   12296 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12297   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12298   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12299       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12300   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12301 which seems to be undefined.  Please make sure it is defined" >&5
   12302 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12303 which seems to be undefined.  Please make sure it is defined" >&2;}
   12304 
   12305   rm -f "$ac_tmp/stdin"
   12306   case $ac_file in
   12307   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12308   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12309   esac \
   12310   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12311  ;;
   12312   :H)
   12313   #
   12314   # CONFIG_HEADER
   12315   #
   12316   if test x"$ac_file" != x-; then
   12317     {
   12318       $as_echo "/* $configure_input  */" \
   12319       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12320     } >"$ac_tmp/config.h" \
   12321       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12322     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12323       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12324 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12325     else
   12326       rm -f "$ac_file"
   12327       mv "$ac_tmp/config.h" "$ac_file" \
   12328 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12329     fi
   12330   else
   12331     $as_echo "/* $configure_input  */" \
   12332       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12333       || as_fn_error $? "could not create -" "$LINENO" 5
   12334   fi
   12335 # Compute "$ac_file"'s index in $config_headers.
   12336 _am_arg="$ac_file"
   12337 _am_stamp_count=1
   12338 for _am_header in $config_headers :; do
   12339   case $_am_header in
   12340     $_am_arg | $_am_arg:* )
   12341       break ;;
   12342     * )
   12343       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12344   esac
   12345 done
   12346 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12347 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12348 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12349 	 X"$_am_arg" : 'X\(//\)$' \| \
   12350 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12351 $as_echo X"$_am_arg" |
   12352     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12353 	    s//\1/
   12354 	    q
   12355 	  }
   12356 	  /^X\(\/\/\)[^/].*/{
   12357 	    s//\1/
   12358 	    q
   12359 	  }
   12360 	  /^X\(\/\/\)$/{
   12361 	    s//\1/
   12362 	    q
   12363 	  }
   12364 	  /^X\(\/\).*/{
   12365 	    s//\1/
   12366 	    q
   12367 	  }
   12368 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12369  ;;
   12370 
   12371   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12372 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12373  ;;
   12374   esac
   12375 
   12376 
   12377   case $ac_file$ac_mode in
   12378     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12379   # Older Autoconf quotes --file arguments for eval, but not when files
   12380   # are listed without --file.  Let's play safe and only enable the eval
   12381   # if we detect the quoting.
   12382   case $CONFIG_FILES in
   12383   *\'*) eval set x "$CONFIG_FILES" ;;
   12384   *)   set x $CONFIG_FILES ;;
   12385   esac
   12386   shift
   12387   for mf
   12388   do
   12389     # Strip MF so we end up with the name of the file.
   12390     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12391     # Check whether this is an Automake generated Makefile or not.
   12392     # We used to match only the files named 'Makefile.in', but
   12393     # some people rename them; so instead we look at the file content.
   12394     # Grep'ing the first line is not enough: some people post-process
   12395     # each Makefile.in and add a new line on top of each file to say so.
   12396     # Grep'ing the whole file is not good either: AIX grep has a line
   12397     # limit of 2048, but all sed's we know have understand at least 4000.
   12398     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12399       dirpart=`$as_dirname -- "$mf" ||
   12400 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12401 	 X"$mf" : 'X\(//\)[^/]' \| \
   12402 	 X"$mf" : 'X\(//\)$' \| \
   12403 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12404 $as_echo X"$mf" |
   12405     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12406 	    s//\1/
   12407 	    q
   12408 	  }
   12409 	  /^X\(\/\/\)[^/].*/{
   12410 	    s//\1/
   12411 	    q
   12412 	  }
   12413 	  /^X\(\/\/\)$/{
   12414 	    s//\1/
   12415 	    q
   12416 	  }
   12417 	  /^X\(\/\).*/{
   12418 	    s//\1/
   12419 	    q
   12420 	  }
   12421 	  s/.*/./; q'`
   12422     else
   12423       continue
   12424     fi
   12425     # Extract the definition of DEPDIR, am__include, and am__quote
   12426     # from the Makefile without running 'make'.
   12427     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12428     test -z "$DEPDIR" && continue
   12429     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12430     test -z "$am__include" && continue
   12431     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12432     # Find all dependency output files, they are included files with
   12433     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12434     # simplest approach to changing $(DEPDIR) to its actual value in the
   12435     # expansion.
   12436     for file in `sed -n "
   12437       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12438 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12439       # Make sure the directory exists.
   12440       test -f "$dirpart/$file" && continue
   12441       fdir=`$as_dirname -- "$file" ||
   12442 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12443 	 X"$file" : 'X\(//\)[^/]' \| \
   12444 	 X"$file" : 'X\(//\)$' \| \
   12445 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12446 $as_echo X"$file" |
   12447     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12448 	    s//\1/
   12449 	    q
   12450 	  }
   12451 	  /^X\(\/\/\)[^/].*/{
   12452 	    s//\1/
   12453 	    q
   12454 	  }
   12455 	  /^X\(\/\/\)$/{
   12456 	    s//\1/
   12457 	    q
   12458 	  }
   12459 	  /^X\(\/\).*/{
   12460 	    s//\1/
   12461 	    q
   12462 	  }
   12463 	  s/.*/./; q'`
   12464       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12465       # echo "creating $dirpart/$file"
   12466       echo '# dummy' > "$dirpart/$file"
   12467     done
   12468   done
   12469 }
   12470  ;;
   12471 
   12472   esac
   12473 done # for ac_tag
   12474 
   12475 
   12476 as_fn_exit 0
   12477 _ACEOF
   12478 ac_clean_files=$ac_clean_files_save
   12479 
   12480 test $ac_write_fail = 0 ||
   12481   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12482 
   12483 
   12484 # configure is writing to config.log, and then calls config.status.
   12485 # config.status does its own redirection, appending to config.log.
   12486 # Unfortunately, on DOS this fails, as config.log is still kept open
   12487 # by configure, so config.status won't be able to write to it; its
   12488 # output is simply discarded.  So we exec the FD to /dev/null,
   12489 # effectively closing config.log, so it can be properly (re)opened and
   12490 # appended to by config.status.  When coming back to configure, we
   12491 # need to make the FD available again.
   12492 if test "$no_create" != yes; then
   12493   ac_cs_success=:
   12494   ac_config_status_args=
   12495   test "$silent" = yes &&
   12496     ac_config_status_args="$ac_config_status_args --quiet"
   12497   exec 5>/dev/null
   12498   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12499   exec 5>>config.log
   12500   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12501   # would make configure fail if this is the last instruction.
   12502   $ac_cs_success || as_fn_exit 1
   12503 fi
   12504 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12505   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12506 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12507 fi
   12508 
   12509