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 imake 1.0.7.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      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://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    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='imake'
    583 PACKAGE_TARNAME='imake'
    584 PACKAGE_VERSION='1.0.7'
    585 PACKAGE_STRING='imake 1.0.7'
    586 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    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 XPROTO_LIBS
    631 XPROTO_CFLAGS
    632 BUILD_MKHTMLINDEX_FALSE
    633 BUILD_MKHTMLINDEX_TRUE
    634 BUILD_CLEANLINKS_FALSE
    635 BUILD_CLEANLINKS_TRUE
    636 BUILD_MKDIRHIER_FALSE
    637 BUILD_MKDIRHIER_TRUE
    638 BUILD_MERGELIB_FALSE
    639 BUILD_MERGELIB_TRUE
    640 BUILD_CCMAKEDEP_FALSE
    641 BUILD_CCMAKEDEP_TRUE
    642 BUILD_XMKMF_FALSE
    643 BUILD_XMKMF_TRUE
    644 BUILD_MAKEG_FALSE
    645 BUILD_MAKEG_TRUE
    646 BUILD_REVPATH_FALSE
    647 BUILD_REVPATH_TRUE
    648 RANLIB
    649 ARCMD
    650 PREPROCESSCMD_MKDEPEND
    651 XCONFDIR
    652 HAS_PERL_FALSE
    653 HAS_PERL_TRUE
    654 HAS_PERL
    655 CPP_PROGRAM
    656 RAWCPPFLAGS
    657 RAWCPP
    658 MAN_SUBSTS
    659 XORG_MAN_PAGE
    660 ADMIN_MAN_DIR
    661 DRIVER_MAN_DIR
    662 MISC_MAN_DIR
    663 FILE_MAN_DIR
    664 LIB_MAN_DIR
    665 APP_MAN_DIR
    666 ADMIN_MAN_SUFFIX
    667 DRIVER_MAN_SUFFIX
    668 MISC_MAN_SUFFIX
    669 FILE_MAN_SUFFIX
    670 LIB_MAN_SUFFIX
    671 APP_MAN_SUFFIX
    672 SED
    673 host_os
    674 host_vendor
    675 host_cpu
    676 host
    677 build_os
    678 build_vendor
    679 build_cpu
    680 build
    681 INSTALL_CMD
    682 PKG_CONFIG_LIBDIR
    683 PKG_CONFIG_PATH
    684 PKG_CONFIG
    685 CHANGELOG_CMD
    686 STRICT_CFLAGS
    687 CWARNFLAGS
    688 BASE_CFLAGS
    689 EGREP
    690 GREP
    691 CPP
    692 am__fastdepCC_FALSE
    693 am__fastdepCC_TRUE
    694 CCDEPMODE
    695 am__nodep
    696 AMDEPBACKSLASH
    697 AMDEP_FALSE
    698 AMDEP_TRUE
    699 am__quote
    700 am__include
    701 DEPDIR
    702 OBJEXT
    703 EXEEXT
    704 ac_ct_CC
    705 CPPFLAGS
    706 LDFLAGS
    707 CFLAGS
    708 CC
    709 MAINT
    710 MAINTAINER_MODE_FALSE
    711 MAINTAINER_MODE_TRUE
    712 AM_BACKSLASH
    713 AM_DEFAULT_VERBOSITY
    714 AM_DEFAULT_V
    715 AM_V
    716 am__untar
    717 am__tar
    718 AMTAR
    719 am__leading_dot
    720 SET_MAKE
    721 AWK
    722 mkdir_p
    723 MKDIR_P
    724 INSTALL_STRIP_PROGRAM
    725 STRIP
    726 install_sh
    727 MAKEINFO
    728 AUTOHEADER
    729 AUTOMAKE
    730 AUTOCONF
    731 ACLOCAL
    732 VERSION
    733 PACKAGE
    734 CYGPATH_W
    735 am__isrc
    736 INSTALL_DATA
    737 INSTALL_SCRIPT
    738 INSTALL_PROGRAM
    739 target_alias
    740 host_alias
    741 build_alias
    742 LIBS
    743 ECHO_T
    744 ECHO_N
    745 ECHO_C
    746 DEFS
    747 mandir
    748 localedir
    749 libdir
    750 psdir
    751 pdfdir
    752 dvidir
    753 htmldir
    754 infodir
    755 docdir
    756 oldincludedir
    757 includedir
    758 localstatedir
    759 sharedstatedir
    760 sysconfdir
    761 datadir
    762 datarootdir
    763 libexecdir
    764 sbindir
    765 bindir
    766 program_transform_name
    767 prefix
    768 exec_prefix
    769 PACKAGE_URL
    770 PACKAGE_BUGREPORT
    771 PACKAGE_STRING
    772 PACKAGE_VERSION
    773 PACKAGE_TARNAME
    774 PACKAGE_NAME
    775 PATH_SEPARATOR
    776 SHELL'
    777 ac_subst_files=''
    778 ac_user_opts='
    779 enable_option_checking
    780 enable_silent_rules
    781 enable_maintainer_mode
    782 enable_dependency_tracking
    783 enable_selective_werror
    784 enable_strict_compilation
    785 with_config_dir
    786 with_script_preproc_cmd
    787 with_create_lib_cmd
    788 with_clean_lib_cmd
    789 enable_revpath
    790 enable_makeg
    791 enable_xmkmf
    792 enable_ccmakedep
    793 enable_mergelib
    794 enable_mkdirhier
    795 enable_cleanlinks
    796 enable_mkhtmlindex
    797 '
    798       ac_precious_vars='build_alias
    799 host_alias
    800 target_alias
    801 CC
    802 CFLAGS
    803 LDFLAGS
    804 LIBS
    805 CPPFLAGS
    806 CPP
    807 PKG_CONFIG
    808 PKG_CONFIG_PATH
    809 PKG_CONFIG_LIBDIR
    810 XPROTO_CFLAGS
    811 XPROTO_LIBS'
    812 
    813 
    814 # Initialize some variables set by options.
    815 ac_init_help=
    816 ac_init_version=false
    817 ac_unrecognized_opts=
    818 ac_unrecognized_sep=
    819 # The variables have the same names as the options, with
    820 # dashes changed to underlines.
    821 cache_file=/dev/null
    822 exec_prefix=NONE
    823 no_create=
    824 no_recursion=
    825 prefix=NONE
    826 program_prefix=NONE
    827 program_suffix=NONE
    828 program_transform_name=s,x,x,
    829 silent=
    830 site=
    831 srcdir=
    832 verbose=
    833 x_includes=NONE
    834 x_libraries=NONE
    835 
    836 # Installation directory options.
    837 # These are left unexpanded so users can "make install exec_prefix=/foo"
    838 # and all the variables that are supposed to be based on exec_prefix
    839 # by default will actually change.
    840 # Use braces instead of parens because sh, perl, etc. also accept them.
    841 # (The list follows the same order as the GNU Coding Standards.)
    842 bindir='${exec_prefix}/bin'
    843 sbindir='${exec_prefix}/sbin'
    844 libexecdir='${exec_prefix}/libexec'
    845 datarootdir='${prefix}/share'
    846 datadir='${datarootdir}'
    847 sysconfdir='${prefix}/etc'
    848 sharedstatedir='${prefix}/com'
    849 localstatedir='${prefix}/var'
    850 includedir='${prefix}/include'
    851 oldincludedir='/usr/include'
    852 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    853 infodir='${datarootdir}/info'
    854 htmldir='${docdir}'
    855 dvidir='${docdir}'
    856 pdfdir='${docdir}'
    857 psdir='${docdir}'
    858 libdir='${exec_prefix}/lib'
    859 localedir='${datarootdir}/locale'
    860 mandir='${datarootdir}/man'
    861 
    862 ac_prev=
    863 ac_dashdash=
    864 for ac_option
    865 do
    866   # If the previous option needs an argument, assign it.
    867   if test -n "$ac_prev"; then
    868     eval $ac_prev=\$ac_option
    869     ac_prev=
    870     continue
    871   fi
    872 
    873   case $ac_option in
    874   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    875   *=)   ac_optarg= ;;
    876   *)    ac_optarg=yes ;;
    877   esac
    878 
    879   # Accept the important Cygnus configure options, so we can diagnose typos.
    880 
    881   case $ac_dashdash$ac_option in
    882   --)
    883     ac_dashdash=yes ;;
    884 
    885   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    886     ac_prev=bindir ;;
    887   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    888     bindir=$ac_optarg ;;
    889 
    890   -build | --build | --buil | --bui | --bu)
    891     ac_prev=build_alias ;;
    892   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    893     build_alias=$ac_optarg ;;
    894 
    895   -cache-file | --cache-file | --cache-fil | --cache-fi \
    896   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    897     ac_prev=cache_file ;;
    898   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    899   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    900     cache_file=$ac_optarg ;;
    901 
    902   --config-cache | -C)
    903     cache_file=config.cache ;;
    904 
    905   -datadir | --datadir | --datadi | --datad)
    906     ac_prev=datadir ;;
    907   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    908     datadir=$ac_optarg ;;
    909 
    910   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    911   | --dataroo | --dataro | --datar)
    912     ac_prev=datarootdir ;;
    913   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    914   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    915     datarootdir=$ac_optarg ;;
    916 
    917   -disable-* | --disable-*)
    918     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    919     # Reject names that are not valid shell variable names.
    920     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    921       as_fn_error $? "invalid feature name: $ac_useropt"
    922     ac_useropt_orig=$ac_useropt
    923     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    924     case $ac_user_opts in
    925       *"
    926 "enable_$ac_useropt"
    927 "*) ;;
    928       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    929 	 ac_unrecognized_sep=', ';;
    930     esac
    931     eval enable_$ac_useropt=no ;;
    932 
    933   -docdir | --docdir | --docdi | --doc | --do)
    934     ac_prev=docdir ;;
    935   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    936     docdir=$ac_optarg ;;
    937 
    938   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    939     ac_prev=dvidir ;;
    940   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    941     dvidir=$ac_optarg ;;
    942 
    943   -enable-* | --enable-*)
    944     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    945     # Reject names that are not valid shell variable names.
    946     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    947       as_fn_error $? "invalid feature name: $ac_useropt"
    948     ac_useropt_orig=$ac_useropt
    949     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    950     case $ac_user_opts in
    951       *"
    952 "enable_$ac_useropt"
    953 "*) ;;
    954       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    955 	 ac_unrecognized_sep=', ';;
    956     esac
    957     eval enable_$ac_useropt=\$ac_optarg ;;
    958 
    959   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    960   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    961   | --exec | --exe | --ex)
    962     ac_prev=exec_prefix ;;
    963   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    964   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    965   | --exec=* | --exe=* | --ex=*)
    966     exec_prefix=$ac_optarg ;;
    967 
    968   -gas | --gas | --ga | --g)
    969     # Obsolete; use --with-gas.
    970     with_gas=yes ;;
    971 
    972   -help | --help | --hel | --he | -h)
    973     ac_init_help=long ;;
    974   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    975     ac_init_help=recursive ;;
    976   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    977     ac_init_help=short ;;
    978 
    979   -host | --host | --hos | --ho)
    980     ac_prev=host_alias ;;
    981   -host=* | --host=* | --hos=* | --ho=*)
    982     host_alias=$ac_optarg ;;
    983 
    984   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    985     ac_prev=htmldir ;;
    986   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    987   | --ht=*)
    988     htmldir=$ac_optarg ;;
    989 
    990   -includedir | --includedir | --includedi | --included | --include \
    991   | --includ | --inclu | --incl | --inc)
    992     ac_prev=includedir ;;
    993   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    994   | --includ=* | --inclu=* | --incl=* | --inc=*)
    995     includedir=$ac_optarg ;;
    996 
    997   -infodir | --infodir | --infodi | --infod | --info | --inf)
    998     ac_prev=infodir ;;
    999   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1000     infodir=$ac_optarg ;;
   1001 
   1002   -libdir | --libdir | --libdi | --libd)
   1003     ac_prev=libdir ;;
   1004   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1005     libdir=$ac_optarg ;;
   1006 
   1007   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1008   | --libexe | --libex | --libe)
   1009     ac_prev=libexecdir ;;
   1010   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1011   | --libexe=* | --libex=* | --libe=*)
   1012     libexecdir=$ac_optarg ;;
   1013 
   1014   -localedir | --localedir | --localedi | --localed | --locale)
   1015     ac_prev=localedir ;;
   1016   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1017     localedir=$ac_optarg ;;
   1018 
   1019   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1020   | --localstate | --localstat | --localsta | --localst | --locals)
   1021     ac_prev=localstatedir ;;
   1022   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1023   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1024     localstatedir=$ac_optarg ;;
   1025 
   1026   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1027     ac_prev=mandir ;;
   1028   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1029     mandir=$ac_optarg ;;
   1030 
   1031   -nfp | --nfp | --nf)
   1032     # Obsolete; use --without-fp.
   1033     with_fp=no ;;
   1034 
   1035   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1036   | --no-cr | --no-c | -n)
   1037     no_create=yes ;;
   1038 
   1039   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1040   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1041     no_recursion=yes ;;
   1042 
   1043   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1044   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1045   | --oldin | --oldi | --old | --ol | --o)
   1046     ac_prev=oldincludedir ;;
   1047   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1048   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1049   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1050     oldincludedir=$ac_optarg ;;
   1051 
   1052   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1053     ac_prev=prefix ;;
   1054   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1055     prefix=$ac_optarg ;;
   1056 
   1057   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1058   | --program-pre | --program-pr | --program-p)
   1059     ac_prev=program_prefix ;;
   1060   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1061   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1062     program_prefix=$ac_optarg ;;
   1063 
   1064   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1065   | --program-suf | --program-su | --program-s)
   1066     ac_prev=program_suffix ;;
   1067   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1068   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1069     program_suffix=$ac_optarg ;;
   1070 
   1071   -program-transform-name | --program-transform-name \
   1072   | --program-transform-nam | --program-transform-na \
   1073   | --program-transform-n | --program-transform- \
   1074   | --program-transform | --program-transfor \
   1075   | --program-transfo | --program-transf \
   1076   | --program-trans | --program-tran \
   1077   | --progr-tra | --program-tr | --program-t)
   1078     ac_prev=program_transform_name ;;
   1079   -program-transform-name=* | --program-transform-name=* \
   1080   | --program-transform-nam=* | --program-transform-na=* \
   1081   | --program-transform-n=* | --program-transform-=* \
   1082   | --program-transform=* | --program-transfor=* \
   1083   | --program-transfo=* | --program-transf=* \
   1084   | --program-trans=* | --program-tran=* \
   1085   | --progr-tra=* | --program-tr=* | --program-t=*)
   1086     program_transform_name=$ac_optarg ;;
   1087 
   1088   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1089     ac_prev=pdfdir ;;
   1090   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1091     pdfdir=$ac_optarg ;;
   1092 
   1093   -psdir | --psdir | --psdi | --psd | --ps)
   1094     ac_prev=psdir ;;
   1095   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1096     psdir=$ac_optarg ;;
   1097 
   1098   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1099   | -silent | --silent | --silen | --sile | --sil)
   1100     silent=yes ;;
   1101 
   1102   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1103     ac_prev=sbindir ;;
   1104   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1105   | --sbi=* | --sb=*)
   1106     sbindir=$ac_optarg ;;
   1107 
   1108   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1109   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1110   | --sharedst | --shareds | --shared | --share | --shar \
   1111   | --sha | --sh)
   1112     ac_prev=sharedstatedir ;;
   1113   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1114   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1115   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1116   | --sha=* | --sh=*)
   1117     sharedstatedir=$ac_optarg ;;
   1118 
   1119   -site | --site | --sit)
   1120     ac_prev=site ;;
   1121   -site=* | --site=* | --sit=*)
   1122     site=$ac_optarg ;;
   1123 
   1124   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1125     ac_prev=srcdir ;;
   1126   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1127     srcdir=$ac_optarg ;;
   1128 
   1129   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1130   | --syscon | --sysco | --sysc | --sys | --sy)
   1131     ac_prev=sysconfdir ;;
   1132   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1133   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1134     sysconfdir=$ac_optarg ;;
   1135 
   1136   -target | --target | --targe | --targ | --tar | --ta | --t)
   1137     ac_prev=target_alias ;;
   1138   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1139     target_alias=$ac_optarg ;;
   1140 
   1141   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1142     verbose=yes ;;
   1143 
   1144   -version | --version | --versio | --versi | --vers | -V)
   1145     ac_init_version=: ;;
   1146 
   1147   -with-* | --with-*)
   1148     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1149     # Reject names that are not valid shell variable names.
   1150     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1151       as_fn_error $? "invalid package name: $ac_useropt"
   1152     ac_useropt_orig=$ac_useropt
   1153     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1154     case $ac_user_opts in
   1155       *"
   1156 "with_$ac_useropt"
   1157 "*) ;;
   1158       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1159 	 ac_unrecognized_sep=', ';;
   1160     esac
   1161     eval with_$ac_useropt=\$ac_optarg ;;
   1162 
   1163   -without-* | --without-*)
   1164     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1165     # Reject names that are not valid shell variable names.
   1166     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1167       as_fn_error $? "invalid package name: $ac_useropt"
   1168     ac_useropt_orig=$ac_useropt
   1169     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1170     case $ac_user_opts in
   1171       *"
   1172 "with_$ac_useropt"
   1173 "*) ;;
   1174       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1175 	 ac_unrecognized_sep=', ';;
   1176     esac
   1177     eval with_$ac_useropt=no ;;
   1178 
   1179   --x)
   1180     # Obsolete; use --with-x.
   1181     with_x=yes ;;
   1182 
   1183   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1184   | --x-incl | --x-inc | --x-in | --x-i)
   1185     ac_prev=x_includes ;;
   1186   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1187   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1188     x_includes=$ac_optarg ;;
   1189 
   1190   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1191   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1192     ac_prev=x_libraries ;;
   1193   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1194   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1195     x_libraries=$ac_optarg ;;
   1196 
   1197   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1198 Try \`$0 --help' for more information"
   1199     ;;
   1200 
   1201   *=*)
   1202     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1203     # Reject names that are not valid shell variable names.
   1204     case $ac_envvar in #(
   1205       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1206       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1207     esac
   1208     eval $ac_envvar=\$ac_optarg
   1209     export $ac_envvar ;;
   1210 
   1211   *)
   1212     # FIXME: should be removed in autoconf 3.0.
   1213     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1214     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1215       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1216     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1217     ;;
   1218 
   1219   esac
   1220 done
   1221 
   1222 if test -n "$ac_prev"; then
   1223   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1224   as_fn_error $? "missing argument to $ac_option"
   1225 fi
   1226 
   1227 if test -n "$ac_unrecognized_opts"; then
   1228   case $enable_option_checking in
   1229     no) ;;
   1230     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1231     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1232   esac
   1233 fi
   1234 
   1235 # Check all directory arguments for consistency.
   1236 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1237 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1238 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1239 		libdir localedir mandir
   1240 do
   1241   eval ac_val=\$$ac_var
   1242   # Remove trailing slashes.
   1243   case $ac_val in
   1244     */ )
   1245       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1246       eval $ac_var=\$ac_val;;
   1247   esac
   1248   # Be sure to have absolute directory names.
   1249   case $ac_val in
   1250     [\\/$]* | ?:[\\/]* )  continue;;
   1251     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1252   esac
   1253   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1254 done
   1255 
   1256 # There might be people who depend on the old broken behavior: `$host'
   1257 # used to hold the argument of --host etc.
   1258 # FIXME: To remove some day.
   1259 build=$build_alias
   1260 host=$host_alias
   1261 target=$target_alias
   1262 
   1263 # FIXME: To remove some day.
   1264 if test "x$host_alias" != x; then
   1265   if test "x$build_alias" = x; then
   1266     cross_compiling=maybe
   1267   elif test "x$build_alias" != "x$host_alias"; then
   1268     cross_compiling=yes
   1269   fi
   1270 fi
   1271 
   1272 ac_tool_prefix=
   1273 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1274 
   1275 test "$silent" = yes && exec 6>/dev/null
   1276 
   1277 
   1278 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1279 ac_ls_di=`ls -di .` &&
   1280 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1281   as_fn_error $? "working directory cannot be determined"
   1282 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1283   as_fn_error $? "pwd does not report name of working directory"
   1284 
   1285 
   1286 # Find the source files, if location was not specified.
   1287 if test -z "$srcdir"; then
   1288   ac_srcdir_defaulted=yes
   1289   # Try the directory containing this script, then the parent directory.
   1290   ac_confdir=`$as_dirname -- "$as_myself" ||
   1291 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1292 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1293 	 X"$as_myself" : 'X\(//\)$' \| \
   1294 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1295 $as_echo X"$as_myself" |
   1296     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1297 	    s//\1/
   1298 	    q
   1299 	  }
   1300 	  /^X\(\/\/\)[^/].*/{
   1301 	    s//\1/
   1302 	    q
   1303 	  }
   1304 	  /^X\(\/\/\)$/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\).*/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  s/.*/./; q'`
   1313   srcdir=$ac_confdir
   1314   if test ! -r "$srcdir/$ac_unique_file"; then
   1315     srcdir=..
   1316   fi
   1317 else
   1318   ac_srcdir_defaulted=no
   1319 fi
   1320 if test ! -r "$srcdir/$ac_unique_file"; then
   1321   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1322   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1323 fi
   1324 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1325 ac_abs_confdir=`(
   1326 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1327 	pwd)`
   1328 # When building in place, set srcdir=.
   1329 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1330   srcdir=.
   1331 fi
   1332 # Remove unnecessary trailing slashes from srcdir.
   1333 # Double slashes in file names in object file debugging info
   1334 # mess up M-x gdb in Emacs.
   1335 case $srcdir in
   1336 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1337 esac
   1338 for ac_var in $ac_precious_vars; do
   1339   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1340   eval ac_env_${ac_var}_value=\$${ac_var}
   1341   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1342   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1343 done
   1344 
   1345 #
   1346 # Report the --help message.
   1347 #
   1348 if test "$ac_init_help" = "long"; then
   1349   # Omit some internal or obsolete options to make the list less imposing.
   1350   # This message is too long to be a string in the A/UX 3.1 sh.
   1351   cat <<_ACEOF
   1352 \`configure' configures imake 1.0.7 to adapt to many kinds of systems.
   1353 
   1354 Usage: $0 [OPTION]... [VAR=VALUE]...
   1355 
   1356 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1357 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1358 
   1359 Defaults for the options are specified in brackets.
   1360 
   1361 Configuration:
   1362   -h, --help              display this help and exit
   1363       --help=short        display options specific to this package
   1364       --help=recursive    display the short help of all the included packages
   1365   -V, --version           display version information and exit
   1366   -q, --quiet, --silent   do not print \`checking ...' messages
   1367       --cache-file=FILE   cache test results in FILE [disabled]
   1368   -C, --config-cache      alias for \`--cache-file=config.cache'
   1369   -n, --no-create         do not create output files
   1370       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1371 
   1372 Installation directories:
   1373   --prefix=PREFIX         install architecture-independent files in PREFIX
   1374                           [$ac_default_prefix]
   1375   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1376                           [PREFIX]
   1377 
   1378 By default, \`make install' will install all the files in
   1379 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1380 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1381 for instance \`--prefix=\$HOME'.
   1382 
   1383 For better control, use the options below.
   1384 
   1385 Fine tuning of the installation directories:
   1386   --bindir=DIR            user executables [EPREFIX/bin]
   1387   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1388   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1389   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1390   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1391   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1392   --libdir=DIR            object code libraries [EPREFIX/lib]
   1393   --includedir=DIR        C header files [PREFIX/include]
   1394   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1395   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1396   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1397   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1398   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1399   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1400   --docdir=DIR            documentation root [DATAROOTDIR/doc/imake]
   1401   --htmldir=DIR           html documentation [DOCDIR]
   1402   --dvidir=DIR            dvi documentation [DOCDIR]
   1403   --pdfdir=DIR            pdf documentation [DOCDIR]
   1404   --psdir=DIR             ps documentation [DOCDIR]
   1405 _ACEOF
   1406 
   1407   cat <<\_ACEOF
   1408 
   1409 Program names:
   1410   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1411   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1412   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1413 
   1414 System types:
   1415   --build=BUILD     configure for building on BUILD [guessed]
   1416   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1417 _ACEOF
   1418 fi
   1419 
   1420 if test -n "$ac_init_help"; then
   1421   case $ac_init_help in
   1422      short | recursive ) echo "Configuration of imake 1.0.7:";;
   1423    esac
   1424   cat <<\_ACEOF
   1425 
   1426 Optional Features:
   1427   --disable-option-checking  ignore unrecognized --enable/--with options
   1428   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1429   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1430   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1431   --disable-silent-rules  verbose build output (undo: "make V=0")
   1432   --enable-maintainer-mode
   1433                           enable make rules and dependencies not useful (and
   1434                           sometimes confusing) to the casual installer
   1435   --enable-dependency-tracking
   1436                           do not reject slow dependency extractors
   1437   --disable-dependency-tracking
   1438                           speeds up one-time build
   1439   --disable-selective-werror
   1440                           Turn off selective compiler errors. (default:
   1441                           enabled)
   1442   --enable-strict-compilation
   1443                           Enable all warnings from compiler and make them
   1444                           errors (default: disabled)
   1445   --disable-revpath       Build revpath (default: enabled)
   1446   --disable-makeg         Build makeg (default: enabled)
   1447   --disable-xmkmf         Build xmkmf (default: enabled)
   1448   --disable-ccmakedep     Build ccmakedep (default: enabled)
   1449   --disable-mergelib      Build mergelib (default: enabled)
   1450   --disable-mkdirhier     Build mkdirhier (default: enabled)
   1451   --disable-cleanlinks    Build cleanlinks (default: enabled)
   1452   --disable-mkhtmlindex   Build mkhtmlindex (default: enabled)
   1453 
   1454 Optional Packages:
   1455   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1456   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1457   --with-config-dir=<path>
   1458                           Path to config dir (default: ${libdir}/X11/config)
   1459   --with-script-preproc-cmd=CMD
   1460                           Preprocessor command to run on scripts (default:
   1461                           "gcc -E")
   1462   --with-create-lib-cmd=CMD
   1463                           Command to create libraries (default: "ar clq")
   1464   --with-clean-lib-cmd=CMD
   1465                           Command to clean up libraries (default: "ranlib")
   1466 
   1467 Some influential environment variables:
   1468   CC          C compiler command
   1469   CFLAGS      C compiler flags
   1470   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1471               nonstandard directory <lib dir>
   1472   LIBS        libraries to pass to the linker, e.g. -l<library>
   1473   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1474               you have headers in a nonstandard directory <include dir>
   1475   CPP         C preprocessor
   1476   PKG_CONFIG  path to pkg-config utility
   1477   PKG_CONFIG_PATH
   1478               directories to add to pkg-config's search path
   1479   PKG_CONFIG_LIBDIR
   1480               path overriding pkg-config's built-in search path
   1481   XPROTO_CFLAGS
   1482               C compiler flags for XPROTO, overriding pkg-config
   1483   XPROTO_LIBS linker flags for XPROTO, overriding pkg-config
   1484 
   1485 Use these variables to override the choices made by `configure' or to help
   1486 it to find libraries and programs with nonstandard names/locations.
   1487 
   1488 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1489 _ACEOF
   1490 ac_status=$?
   1491 fi
   1492 
   1493 if test "$ac_init_help" = "recursive"; then
   1494   # If there are subdirs, report their specific --help.
   1495   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1496     test -d "$ac_dir" ||
   1497       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1498       continue
   1499     ac_builddir=.
   1500 
   1501 case "$ac_dir" in
   1502 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1503 *)
   1504   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1505   # A ".." for each directory in $ac_dir_suffix.
   1506   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1507   case $ac_top_builddir_sub in
   1508   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1509   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1510   esac ;;
   1511 esac
   1512 ac_abs_top_builddir=$ac_pwd
   1513 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1514 # for backward compatibility:
   1515 ac_top_builddir=$ac_top_build_prefix
   1516 
   1517 case $srcdir in
   1518   .)  # We are building in place.
   1519     ac_srcdir=.
   1520     ac_top_srcdir=$ac_top_builddir_sub
   1521     ac_abs_top_srcdir=$ac_pwd ;;
   1522   [\\/]* | ?:[\\/]* )  # Absolute name.
   1523     ac_srcdir=$srcdir$ac_dir_suffix;
   1524     ac_top_srcdir=$srcdir
   1525     ac_abs_top_srcdir=$srcdir ;;
   1526   *) # Relative name.
   1527     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1528     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1529     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1530 esac
   1531 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1532 
   1533     cd "$ac_dir" || { ac_status=$?; continue; }
   1534     # Check for guested configure.
   1535     if test -f "$ac_srcdir/configure.gnu"; then
   1536       echo &&
   1537       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1538     elif test -f "$ac_srcdir/configure"; then
   1539       echo &&
   1540       $SHELL "$ac_srcdir/configure" --help=recursive
   1541     else
   1542       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1543     fi || ac_status=$?
   1544     cd "$ac_pwd" || { ac_status=$?; break; }
   1545   done
   1546 fi
   1547 
   1548 test -n "$ac_init_help" && exit $ac_status
   1549 if $ac_init_version; then
   1550   cat <<\_ACEOF
   1551 imake configure 1.0.7
   1552 generated by GNU Autoconf 2.69
   1553 
   1554 Copyright (C) 2012 Free Software Foundation, Inc.
   1555 This configure script is free software; the Free Software Foundation
   1556 gives unlimited permission to copy, distribute and modify it.
   1557 _ACEOF
   1558   exit
   1559 fi
   1560 
   1561 ## ------------------------ ##
   1562 ## Autoconf initialization. ##
   1563 ## ------------------------ ##
   1564 
   1565 # ac_fn_c_try_compile LINENO
   1566 # --------------------------
   1567 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1568 ac_fn_c_try_compile ()
   1569 {
   1570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1571   rm -f conftest.$ac_objext
   1572   if { { ac_try="$ac_compile"
   1573 case "(($ac_try" in
   1574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1575   *) ac_try_echo=$ac_try;;
   1576 esac
   1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1578 $as_echo "$ac_try_echo"; } >&5
   1579   (eval "$ac_compile") 2>conftest.err
   1580   ac_status=$?
   1581   if test -s conftest.err; then
   1582     grep -v '^ *+' conftest.err >conftest.er1
   1583     cat conftest.er1 >&5
   1584     mv -f conftest.er1 conftest.err
   1585   fi
   1586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1587   test $ac_status = 0; } && {
   1588 	 test -z "$ac_c_werror_flag" ||
   1589 	 test ! -s conftest.err
   1590        } && test -s conftest.$ac_objext; then :
   1591   ac_retval=0
   1592 else
   1593   $as_echo "$as_me: failed program was:" >&5
   1594 sed 's/^/| /' conftest.$ac_ext >&5
   1595 
   1596 	ac_retval=1
   1597 fi
   1598   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1599   as_fn_set_status $ac_retval
   1600 
   1601 } # ac_fn_c_try_compile
   1602 
   1603 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1604 # ---------------------------------------------
   1605 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1606 # accordingly.
   1607 ac_fn_c_check_decl ()
   1608 {
   1609   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1610   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1611   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1613 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1614 if eval \${$3+:} false; then :
   1615   $as_echo_n "(cached) " >&6
   1616 else
   1617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1618 /* end confdefs.h.  */
   1619 $4
   1620 int
   1621 main ()
   1622 {
   1623 #ifndef $as_decl_name
   1624 #ifdef __cplusplus
   1625   (void) $as_decl_use;
   1626 #else
   1627   (void) $as_decl_name;
   1628 #endif
   1629 #endif
   1630 
   1631   ;
   1632   return 0;
   1633 }
   1634 _ACEOF
   1635 if ac_fn_c_try_compile "$LINENO"; then :
   1636   eval "$3=yes"
   1637 else
   1638   eval "$3=no"
   1639 fi
   1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1641 fi
   1642 eval ac_res=\$$3
   1643 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1644 $as_echo "$ac_res" >&6; }
   1645   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1646 
   1647 } # ac_fn_c_check_decl
   1648 
   1649 # ac_fn_c_try_cpp LINENO
   1650 # ----------------------
   1651 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1652 ac_fn_c_try_cpp ()
   1653 {
   1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1655   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1656 case "(($ac_try" in
   1657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1658   *) ac_try_echo=$ac_try;;
   1659 esac
   1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1661 $as_echo "$ac_try_echo"; } >&5
   1662   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1663   ac_status=$?
   1664   if test -s conftest.err; then
   1665     grep -v '^ *+' conftest.err >conftest.er1
   1666     cat conftest.er1 >&5
   1667     mv -f conftest.er1 conftest.err
   1668   fi
   1669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1670   test $ac_status = 0; } > conftest.i && {
   1671 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1672 	 test ! -s conftest.err
   1673        }; then :
   1674   ac_retval=0
   1675 else
   1676   $as_echo "$as_me: failed program was:" >&5
   1677 sed 's/^/| /' conftest.$ac_ext >&5
   1678 
   1679     ac_retval=1
   1680 fi
   1681   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1682   as_fn_set_status $ac_retval
   1683 
   1684 } # ac_fn_c_try_cpp
   1685 
   1686 # ac_fn_c_try_run LINENO
   1687 # ----------------------
   1688 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1689 # that executables *can* be run.
   1690 ac_fn_c_try_run ()
   1691 {
   1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1693   if { { ac_try="$ac_link"
   1694 case "(($ac_try" in
   1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1696   *) ac_try_echo=$ac_try;;
   1697 esac
   1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1699 $as_echo "$ac_try_echo"; } >&5
   1700   (eval "$ac_link") 2>&5
   1701   ac_status=$?
   1702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1703   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1704   { { case "(($ac_try" in
   1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1706   *) ac_try_echo=$ac_try;;
   1707 esac
   1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1709 $as_echo "$ac_try_echo"; } >&5
   1710   (eval "$ac_try") 2>&5
   1711   ac_status=$?
   1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1713   test $ac_status = 0; }; }; then :
   1714   ac_retval=0
   1715 else
   1716   $as_echo "$as_me: program exited with status $ac_status" >&5
   1717        $as_echo "$as_me: failed program was:" >&5
   1718 sed 's/^/| /' conftest.$ac_ext >&5
   1719 
   1720        ac_retval=$ac_status
   1721 fi
   1722   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1723   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1724   as_fn_set_status $ac_retval
   1725 
   1726 } # ac_fn_c_try_run
   1727 
   1728 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1729 # -------------------------------------------------------
   1730 # Tests whether HEADER exists and can be compiled using the include files in
   1731 # INCLUDES, setting the cache variable VAR accordingly.
   1732 ac_fn_c_check_header_compile ()
   1733 {
   1734   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1736 $as_echo_n "checking for $2... " >&6; }
   1737 if eval \${$3+:} false; then :
   1738   $as_echo_n "(cached) " >&6
   1739 else
   1740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1741 /* end confdefs.h.  */
   1742 $4
   1743 #include <$2>
   1744 _ACEOF
   1745 if ac_fn_c_try_compile "$LINENO"; then :
   1746   eval "$3=yes"
   1747 else
   1748   eval "$3=no"
   1749 fi
   1750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1751 fi
   1752 eval ac_res=\$$3
   1753 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1754 $as_echo "$ac_res" >&6; }
   1755   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1756 
   1757 } # ac_fn_c_check_header_compile
   1758 
   1759 # ac_fn_c_try_link LINENO
   1760 # -----------------------
   1761 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1762 ac_fn_c_try_link ()
   1763 {
   1764   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1765   rm -f conftest.$ac_objext conftest$ac_exeext
   1766   if { { ac_try="$ac_link"
   1767 case "(($ac_try" in
   1768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1769   *) ac_try_echo=$ac_try;;
   1770 esac
   1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1772 $as_echo "$ac_try_echo"; } >&5
   1773   (eval "$ac_link") 2>conftest.err
   1774   ac_status=$?
   1775   if test -s conftest.err; then
   1776     grep -v '^ *+' conftest.err >conftest.er1
   1777     cat conftest.er1 >&5
   1778     mv -f conftest.er1 conftest.err
   1779   fi
   1780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1781   test $ac_status = 0; } && {
   1782 	 test -z "$ac_c_werror_flag" ||
   1783 	 test ! -s conftest.err
   1784        } && test -s conftest$ac_exeext && {
   1785 	 test "$cross_compiling" = yes ||
   1786 	 test -x conftest$ac_exeext
   1787        }; then :
   1788   ac_retval=0
   1789 else
   1790   $as_echo "$as_me: failed program was:" >&5
   1791 sed 's/^/| /' conftest.$ac_ext >&5
   1792 
   1793 	ac_retval=1
   1794 fi
   1795   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1796   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1797   # interfere with the next link command; also delete a directory that is
   1798   # left behind by Apple's compiler.  We do this before executing the actions.
   1799   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1800   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1801   as_fn_set_status $ac_retval
   1802 
   1803 } # ac_fn_c_try_link
   1804 
   1805 # ac_fn_c_check_func LINENO FUNC VAR
   1806 # ----------------------------------
   1807 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1808 ac_fn_c_check_func ()
   1809 {
   1810   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1812 $as_echo_n "checking for $2... " >&6; }
   1813 if eval \${$3+:} false; then :
   1814   $as_echo_n "(cached) " >&6
   1815 else
   1816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1817 /* end confdefs.h.  */
   1818 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1820 #define $2 innocuous_$2
   1821 
   1822 /* System header to define __stub macros and hopefully few prototypes,
   1823     which can conflict with char $2 (); below.
   1824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1825     <limits.h> exists even on freestanding compilers.  */
   1826 
   1827 #ifdef __STDC__
   1828 # include <limits.h>
   1829 #else
   1830 # include <assert.h>
   1831 #endif
   1832 
   1833 #undef $2
   1834 
   1835 /* Override any GCC internal prototype to avoid an error.
   1836    Use char because int might match the return type of a GCC
   1837    builtin and then its argument prototype would still apply.  */
   1838 #ifdef __cplusplus
   1839 extern "C"
   1840 #endif
   1841 char $2 ();
   1842 /* The GNU C library defines this for functions which it implements
   1843     to always fail with ENOSYS.  Some functions are actually named
   1844     something starting with __ and the normal name is an alias.  */
   1845 #if defined __stub_$2 || defined __stub___$2
   1846 choke me
   1847 #endif
   1848 
   1849 int
   1850 main ()
   1851 {
   1852 return $2 ();
   1853   ;
   1854   return 0;
   1855 }
   1856 _ACEOF
   1857 if ac_fn_c_try_link "$LINENO"; then :
   1858   eval "$3=yes"
   1859 else
   1860   eval "$3=no"
   1861 fi
   1862 rm -f core conftest.err conftest.$ac_objext \
   1863     conftest$ac_exeext conftest.$ac_ext
   1864 fi
   1865 eval ac_res=\$$3
   1866 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1867 $as_echo "$ac_res" >&6; }
   1868   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1869 
   1870 } # ac_fn_c_check_func
   1871 cat >config.log <<_ACEOF
   1872 This file contains any messages produced by compilers while
   1873 running configure, to aid debugging if configure makes a mistake.
   1874 
   1875 It was created by imake $as_me 1.0.7, which was
   1876 generated by GNU Autoconf 2.69.  Invocation command line was
   1877 
   1878   $ $0 $@
   1879 
   1880 _ACEOF
   1881 exec 5>>config.log
   1882 {
   1883 cat <<_ASUNAME
   1884 ## --------- ##
   1885 ## Platform. ##
   1886 ## --------- ##
   1887 
   1888 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1889 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1890 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1891 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1892 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1893 
   1894 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1895 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1896 
   1897 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1898 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1899 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1900 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1901 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1902 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1903 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1904 
   1905 _ASUNAME
   1906 
   1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1908 for as_dir in $PATH
   1909 do
   1910   IFS=$as_save_IFS
   1911   test -z "$as_dir" && as_dir=.
   1912     $as_echo "PATH: $as_dir"
   1913   done
   1914 IFS=$as_save_IFS
   1915 
   1916 } >&5
   1917 
   1918 cat >&5 <<_ACEOF
   1919 
   1920 
   1921 ## ----------- ##
   1922 ## Core tests. ##
   1923 ## ----------- ##
   1924 
   1925 _ACEOF
   1926 
   1927 
   1928 # Keep a trace of the command line.
   1929 # Strip out --no-create and --no-recursion so they do not pile up.
   1930 # Strip out --silent because we don't want to record it for future runs.
   1931 # Also quote any args containing shell meta-characters.
   1932 # Make two passes to allow for proper duplicate-argument suppression.
   1933 ac_configure_args=
   1934 ac_configure_args0=
   1935 ac_configure_args1=
   1936 ac_must_keep_next=false
   1937 for ac_pass in 1 2
   1938 do
   1939   for ac_arg
   1940   do
   1941     case $ac_arg in
   1942     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1943     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1944     | -silent | --silent | --silen | --sile | --sil)
   1945       continue ;;
   1946     *\'*)
   1947       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1948     esac
   1949     case $ac_pass in
   1950     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1951     2)
   1952       as_fn_append ac_configure_args1 " '$ac_arg'"
   1953       if test $ac_must_keep_next = true; then
   1954 	ac_must_keep_next=false # Got value, back to normal.
   1955       else
   1956 	case $ac_arg in
   1957 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1958 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1959 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1960 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1961 	    case "$ac_configure_args0 " in
   1962 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1963 	    esac
   1964 	    ;;
   1965 	  -* ) ac_must_keep_next=true ;;
   1966 	esac
   1967       fi
   1968       as_fn_append ac_configure_args " '$ac_arg'"
   1969       ;;
   1970     esac
   1971   done
   1972 done
   1973 { ac_configure_args0=; unset ac_configure_args0;}
   1974 { ac_configure_args1=; unset ac_configure_args1;}
   1975 
   1976 # When interrupted or exit'd, cleanup temporary files, and complete
   1977 # config.log.  We remove comments because anyway the quotes in there
   1978 # would cause problems or look ugly.
   1979 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1981 trap 'exit_status=$?
   1982   # Save into config.log some information that might help in debugging.
   1983   {
   1984     echo
   1985 
   1986     $as_echo "## ---------------- ##
   1987 ## Cache variables. ##
   1988 ## ---------------- ##"
   1989     echo
   1990     # The following way of writing the cache mishandles newlines in values,
   1991 (
   1992   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1993     eval ac_val=\$$ac_var
   1994     case $ac_val in #(
   1995     *${as_nl}*)
   1996       case $ac_var in #(
   1997       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1999       esac
   2000       case $ac_var in #(
   2001       _ | IFS | as_nl) ;; #(
   2002       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2003       *) { eval $ac_var=; unset $ac_var;} ;;
   2004       esac ;;
   2005     esac
   2006   done
   2007   (set) 2>&1 |
   2008     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2009     *${as_nl}ac_space=\ *)
   2010       sed -n \
   2011 	"s/'\''/'\''\\\\'\'''\''/g;
   2012 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2013       ;; #(
   2014     *)
   2015       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2016       ;;
   2017     esac |
   2018     sort
   2019 )
   2020     echo
   2021 
   2022     $as_echo "## ----------------- ##
   2023 ## Output variables. ##
   2024 ## ----------------- ##"
   2025     echo
   2026     for ac_var in $ac_subst_vars
   2027     do
   2028       eval ac_val=\$$ac_var
   2029       case $ac_val in
   2030       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2031       esac
   2032       $as_echo "$ac_var='\''$ac_val'\''"
   2033     done | sort
   2034     echo
   2035 
   2036     if test -n "$ac_subst_files"; then
   2037       $as_echo "## ------------------- ##
   2038 ## File substitutions. ##
   2039 ## ------------------- ##"
   2040       echo
   2041       for ac_var in $ac_subst_files
   2042       do
   2043 	eval ac_val=\$$ac_var
   2044 	case $ac_val in
   2045 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2046 	esac
   2047 	$as_echo "$ac_var='\''$ac_val'\''"
   2048       done | sort
   2049       echo
   2050     fi
   2051 
   2052     if test -s confdefs.h; then
   2053       $as_echo "## ----------- ##
   2054 ## confdefs.h. ##
   2055 ## ----------- ##"
   2056       echo
   2057       cat confdefs.h
   2058       echo
   2059     fi
   2060     test "$ac_signal" != 0 &&
   2061       $as_echo "$as_me: caught signal $ac_signal"
   2062     $as_echo "$as_me: exit $exit_status"
   2063   } >&5
   2064   rm -f core *.core core.conftest.* &&
   2065     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2066     exit $exit_status
   2067 ' 0
   2068 for ac_signal in 1 2 13 15; do
   2069   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2070 done
   2071 ac_signal=0
   2072 
   2073 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2074 rm -f -r conftest* confdefs.h
   2075 
   2076 $as_echo "/* confdefs.h */" > confdefs.h
   2077 
   2078 # Predefined preprocessor variables.
   2079 
   2080 cat >>confdefs.h <<_ACEOF
   2081 #define PACKAGE_NAME "$PACKAGE_NAME"
   2082 _ACEOF
   2083 
   2084 cat >>confdefs.h <<_ACEOF
   2085 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2086 _ACEOF
   2087 
   2088 cat >>confdefs.h <<_ACEOF
   2089 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2090 _ACEOF
   2091 
   2092 cat >>confdefs.h <<_ACEOF
   2093 #define PACKAGE_STRING "$PACKAGE_STRING"
   2094 _ACEOF
   2095 
   2096 cat >>confdefs.h <<_ACEOF
   2097 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2098 _ACEOF
   2099 
   2100 cat >>confdefs.h <<_ACEOF
   2101 #define PACKAGE_URL "$PACKAGE_URL"
   2102 _ACEOF
   2103 
   2104 
   2105 # Let the site file select an alternate cache file if it wants to.
   2106 # Prefer an explicitly selected file to automatically selected ones.
   2107 ac_site_file1=NONE
   2108 ac_site_file2=NONE
   2109 if test -n "$CONFIG_SITE"; then
   2110   # We do not want a PATH search for config.site.
   2111   case $CONFIG_SITE in #((
   2112     -*)  ac_site_file1=./$CONFIG_SITE;;
   2113     */*) ac_site_file1=$CONFIG_SITE;;
   2114     *)   ac_site_file1=./$CONFIG_SITE;;
   2115   esac
   2116 elif test "x$prefix" != xNONE; then
   2117   ac_site_file1=$prefix/share/config.site
   2118   ac_site_file2=$prefix/etc/config.site
   2119 else
   2120   ac_site_file1=$ac_default_prefix/share/config.site
   2121   ac_site_file2=$ac_default_prefix/etc/config.site
   2122 fi
   2123 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2124 do
   2125   test "x$ac_site_file" = xNONE && continue
   2126   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2127     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2128 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2129     sed 's/^/| /' "$ac_site_file" >&5
   2130     . "$ac_site_file" \
   2131       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2133 as_fn_error $? "failed to load site script $ac_site_file
   2134 See \`config.log' for more details" "$LINENO" 5; }
   2135   fi
   2136 done
   2137 
   2138 if test -r "$cache_file"; then
   2139   # Some versions of bash will fail to source /dev/null (special files
   2140   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2141   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2142     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2143 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2144     case $cache_file in
   2145       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2146       *)                      . "./$cache_file";;
   2147     esac
   2148   fi
   2149 else
   2150   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2151 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2152   >$cache_file
   2153 fi
   2154 
   2155 # Check that the precious variables saved in the cache have kept the same
   2156 # value.
   2157 ac_cache_corrupted=false
   2158 for ac_var in $ac_precious_vars; do
   2159   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2160   eval ac_new_set=\$ac_env_${ac_var}_set
   2161   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2162   eval ac_new_val=\$ac_env_${ac_var}_value
   2163   case $ac_old_set,$ac_new_set in
   2164     set,)
   2165       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2166 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2167       ac_cache_corrupted=: ;;
   2168     ,set)
   2169       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2170 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2171       ac_cache_corrupted=: ;;
   2172     ,);;
   2173     *)
   2174       if test "x$ac_old_val" != "x$ac_new_val"; then
   2175 	# differences in whitespace do not lead to failure.
   2176 	ac_old_val_w=`echo x $ac_old_val`
   2177 	ac_new_val_w=`echo x $ac_new_val`
   2178 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2179 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2180 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2181 	  ac_cache_corrupted=:
   2182 	else
   2183 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2184 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2185 	  eval $ac_var=\$ac_old_val
   2186 	fi
   2187 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2188 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2189 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2190 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2191       fi;;
   2192   esac
   2193   # Pass precious variables to config.status.
   2194   if test "$ac_new_set" = set; then
   2195     case $ac_new_val in
   2196     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2197     *) ac_arg=$ac_var=$ac_new_val ;;
   2198     esac
   2199     case " $ac_configure_args " in
   2200       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2201       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2202     esac
   2203   fi
   2204 done
   2205 if $ac_cache_corrupted; then
   2206   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2208   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2209 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2210   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2211 fi
   2212 ## -------------------- ##
   2213 ## Main body of script. ##
   2214 ## -------------------- ##
   2215 
   2216 ac_ext=c
   2217 ac_cpp='$CPP $CPPFLAGS'
   2218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2221 
   2222 
   2223 
   2224 ac_config_headers="$ac_config_headers config.h"
   2225 
   2226 
   2227 # Initialize Automake
   2228 am__api_version='1.14'
   2229 
   2230 ac_aux_dir=
   2231 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2232   if test -f "$ac_dir/install-sh"; then
   2233     ac_aux_dir=$ac_dir
   2234     ac_install_sh="$ac_aux_dir/install-sh -c"
   2235     break
   2236   elif test -f "$ac_dir/install.sh"; then
   2237     ac_aux_dir=$ac_dir
   2238     ac_install_sh="$ac_aux_dir/install.sh -c"
   2239     break
   2240   elif test -f "$ac_dir/shtool"; then
   2241     ac_aux_dir=$ac_dir
   2242     ac_install_sh="$ac_aux_dir/shtool install -c"
   2243     break
   2244   fi
   2245 done
   2246 if test -z "$ac_aux_dir"; then
   2247   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2248 fi
   2249 
   2250 # These three variables are undocumented and unsupported,
   2251 # and are intended to be withdrawn in a future Autoconf release.
   2252 # They can cause serious problems if a builder's source tree is in a directory
   2253 # whose full name contains unusual characters.
   2254 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2255 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2256 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2257 
   2258 
   2259 # Find a good install program.  We prefer a C program (faster),
   2260 # so one script is as good as another.  But avoid the broken or
   2261 # incompatible versions:
   2262 # SysV /etc/install, /usr/sbin/install
   2263 # SunOS /usr/etc/install
   2264 # IRIX /sbin/install
   2265 # AIX /bin/install
   2266 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2267 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2268 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2269 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2270 # OS/2's system install, which has a completely different semantic
   2271 # ./install, which can be erroneously created by make from ./install.sh.
   2272 # Reject install programs that cannot install multiple files.
   2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2274 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2275 if test -z "$INSTALL"; then
   2276 if ${ac_cv_path_install+:} false; then :
   2277   $as_echo_n "(cached) " >&6
   2278 else
   2279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2280 for as_dir in $PATH
   2281 do
   2282   IFS=$as_save_IFS
   2283   test -z "$as_dir" && as_dir=.
   2284     # Account for people who put trailing slashes in PATH elements.
   2285 case $as_dir/ in #((
   2286   ./ | .// | /[cC]/* | \
   2287   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2288   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2289   /usr/ucb/* ) ;;
   2290   *)
   2291     # OSF1 and SCO ODT 3.0 have their own names for install.
   2292     # Don't use installbsd from OSF since it installs stuff as root
   2293     # by default.
   2294     for ac_prog in ginstall scoinst install; do
   2295       for ac_exec_ext in '' $ac_executable_extensions; do
   2296 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2297 	  if test $ac_prog = install &&
   2298 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2299 	    # AIX install.  It has an incompatible calling convention.
   2300 	    :
   2301 	  elif test $ac_prog = install &&
   2302 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2303 	    # program-specific install script used by HP pwplus--don't use.
   2304 	    :
   2305 	  else
   2306 	    rm -rf conftest.one conftest.two conftest.dir
   2307 	    echo one > conftest.one
   2308 	    echo two > conftest.two
   2309 	    mkdir conftest.dir
   2310 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2311 	      test -s conftest.one && test -s conftest.two &&
   2312 	      test -s conftest.dir/conftest.one &&
   2313 	      test -s conftest.dir/conftest.two
   2314 	    then
   2315 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2316 	      break 3
   2317 	    fi
   2318 	  fi
   2319 	fi
   2320       done
   2321     done
   2322     ;;
   2323 esac
   2324 
   2325   done
   2326 IFS=$as_save_IFS
   2327 
   2328 rm -rf conftest.one conftest.two conftest.dir
   2329 
   2330 fi
   2331   if test "${ac_cv_path_install+set}" = set; then
   2332     INSTALL=$ac_cv_path_install
   2333   else
   2334     # As a last resort, use the slow shell script.  Don't cache a
   2335     # value for INSTALL within a source directory, because that will
   2336     # break other packages using the cache if that directory is
   2337     # removed, or if the value is a relative name.
   2338     INSTALL=$ac_install_sh
   2339   fi
   2340 fi
   2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2342 $as_echo "$INSTALL" >&6; }
   2343 
   2344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2345 # It thinks the first close brace ends the variable substitution.
   2346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2347 
   2348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2349 
   2350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2351 
   2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2353 $as_echo_n "checking whether build environment is sane... " >&6; }
   2354 # Reject unsafe characters in $srcdir or the absolute working directory
   2355 # name.  Accept space and tab only in the latter.
   2356 am_lf='
   2357 '
   2358 case `pwd` in
   2359   *[\\\"\#\$\&\'\`$am_lf]*)
   2360     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2361 esac
   2362 case $srcdir in
   2363   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2364     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2365 esac
   2366 
   2367 # Do 'set' in a subshell so we don't clobber the current shell's
   2368 # arguments.  Must try -L first in case configure is actually a
   2369 # symlink; some systems play weird games with the mod time of symlinks
   2370 # (eg FreeBSD returns the mod time of the symlink's containing
   2371 # directory).
   2372 if (
   2373    am_has_slept=no
   2374    for am_try in 1 2; do
   2375      echo "timestamp, slept: $am_has_slept" > conftest.file
   2376      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2377      if test "$*" = "X"; then
   2378 	# -L didn't work.
   2379 	set X `ls -t "$srcdir/configure" conftest.file`
   2380      fi
   2381      if test "$*" != "X $srcdir/configure conftest.file" \
   2382 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2383 
   2384 	# If neither matched, then we have a broken ls.  This can happen
   2385 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2386 	# broken ls alias from the environment.  This has actually
   2387 	# happened.  Such a system could not be considered "sane".
   2388 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2389   alias in your environment" "$LINENO" 5
   2390      fi
   2391      if test "$2" = conftest.file || test $am_try -eq 2; then
   2392        break
   2393      fi
   2394      # Just in case.
   2395      sleep 1
   2396      am_has_slept=yes
   2397    done
   2398    test "$2" = conftest.file
   2399    )
   2400 then
   2401    # Ok.
   2402    :
   2403 else
   2404    as_fn_error $? "newly created file is older than distributed files!
   2405 Check your system clock" "$LINENO" 5
   2406 fi
   2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2408 $as_echo "yes" >&6; }
   2409 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2410 # generated files are strictly newer.
   2411 am_sleep_pid=
   2412 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2413   ( sleep 1 ) &
   2414   am_sleep_pid=$!
   2415 fi
   2416 
   2417 rm -f conftest.file
   2418 
   2419 test "$program_prefix" != NONE &&
   2420   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2421 # Use a double $ so make ignores it.
   2422 test "$program_suffix" != NONE &&
   2423   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2424 # Double any \ or $.
   2425 # By default was `s,x,x', remove it if useless.
   2426 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2427 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2428 
   2429 # expand $ac_aux_dir to an absolute path
   2430 am_aux_dir=`cd $ac_aux_dir && pwd`
   2431 
   2432 if test x"${MISSING+set}" != xset; then
   2433   case $am_aux_dir in
   2434   *\ * | *\	*)
   2435     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2436   *)
   2437     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2438   esac
   2439 fi
   2440 # Use eval to expand $SHELL
   2441 if eval "$MISSING --is-lightweight"; then
   2442   am_missing_run="$MISSING "
   2443 else
   2444   am_missing_run=
   2445   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2446 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2447 fi
   2448 
   2449 if test x"${install_sh}" != xset; then
   2450   case $am_aux_dir in
   2451   *\ * | *\	*)
   2452     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2453   *)
   2454     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2455   esac
   2456 fi
   2457 
   2458 # Installed binaries are usually stripped using 'strip' when the user
   2459 # run "make install-strip".  However 'strip' might not be the right
   2460 # tool to use in cross-compilation environments, therefore Automake
   2461 # will honor the 'STRIP' environment variable to overrule this program.
   2462 if test "$cross_compiling" != no; then
   2463   if test -n "$ac_tool_prefix"; then
   2464   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2465 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2467 $as_echo_n "checking for $ac_word... " >&6; }
   2468 if ${ac_cv_prog_STRIP+:} false; then :
   2469   $as_echo_n "(cached) " >&6
   2470 else
   2471   if test -n "$STRIP"; then
   2472   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2473 else
   2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2475 for as_dir in $PATH
   2476 do
   2477   IFS=$as_save_IFS
   2478   test -z "$as_dir" && as_dir=.
   2479     for ac_exec_ext in '' $ac_executable_extensions; do
   2480   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2481     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2483     break 2
   2484   fi
   2485 done
   2486   done
   2487 IFS=$as_save_IFS
   2488 
   2489 fi
   2490 fi
   2491 STRIP=$ac_cv_prog_STRIP
   2492 if test -n "$STRIP"; then
   2493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2494 $as_echo "$STRIP" >&6; }
   2495 else
   2496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2497 $as_echo "no" >&6; }
   2498 fi
   2499 
   2500 
   2501 fi
   2502 if test -z "$ac_cv_prog_STRIP"; then
   2503   ac_ct_STRIP=$STRIP
   2504   # Extract the first word of "strip", so it can be a program name with args.
   2505 set dummy strip; ac_word=$2
   2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2507 $as_echo_n "checking for $ac_word... " >&6; }
   2508 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2509   $as_echo_n "(cached) " >&6
   2510 else
   2511   if test -n "$ac_ct_STRIP"; then
   2512   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2513 else
   2514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2515 for as_dir in $PATH
   2516 do
   2517   IFS=$as_save_IFS
   2518   test -z "$as_dir" && as_dir=.
   2519     for ac_exec_ext in '' $ac_executable_extensions; do
   2520   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2521     ac_cv_prog_ac_ct_STRIP="strip"
   2522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2523     break 2
   2524   fi
   2525 done
   2526   done
   2527 IFS=$as_save_IFS
   2528 
   2529 fi
   2530 fi
   2531 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2532 if test -n "$ac_ct_STRIP"; then
   2533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2534 $as_echo "$ac_ct_STRIP" >&6; }
   2535 else
   2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2537 $as_echo "no" >&6; }
   2538 fi
   2539 
   2540   if test "x$ac_ct_STRIP" = x; then
   2541     STRIP=":"
   2542   else
   2543     case $cross_compiling:$ac_tool_warned in
   2544 yes:)
   2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2547 ac_tool_warned=yes ;;
   2548 esac
   2549     STRIP=$ac_ct_STRIP
   2550   fi
   2551 else
   2552   STRIP="$ac_cv_prog_STRIP"
   2553 fi
   2554 
   2555 fi
   2556 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2557 
   2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2559 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2560 if test -z "$MKDIR_P"; then
   2561   if ${ac_cv_path_mkdir+:} false; then :
   2562   $as_echo_n "(cached) " >&6
   2563 else
   2564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2565 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2566 do
   2567   IFS=$as_save_IFS
   2568   test -z "$as_dir" && as_dir=.
   2569     for ac_prog in mkdir gmkdir; do
   2570 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2571 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2572 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2573 	     'mkdir (GNU coreutils) '* | \
   2574 	     'mkdir (coreutils) '* | \
   2575 	     'mkdir (fileutils) '4.1*)
   2576 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2577 	       break 3;;
   2578 	   esac
   2579 	 done
   2580        done
   2581   done
   2582 IFS=$as_save_IFS
   2583 
   2584 fi
   2585 
   2586   test -d ./--version && rmdir ./--version
   2587   if test "${ac_cv_path_mkdir+set}" = set; then
   2588     MKDIR_P="$ac_cv_path_mkdir -p"
   2589   else
   2590     # As a last resort, use the slow shell script.  Don't cache a
   2591     # value for MKDIR_P within a source directory, because that will
   2592     # break other packages using the cache if that directory is
   2593     # removed, or if the value is a relative name.
   2594     MKDIR_P="$ac_install_sh -d"
   2595   fi
   2596 fi
   2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2598 $as_echo "$MKDIR_P" >&6; }
   2599 
   2600 for ac_prog in gawk mawk nawk awk
   2601 do
   2602   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2603 set dummy $ac_prog; ac_word=$2
   2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2605 $as_echo_n "checking for $ac_word... " >&6; }
   2606 if ${ac_cv_prog_AWK+:} false; then :
   2607   $as_echo_n "(cached) " >&6
   2608 else
   2609   if test -n "$AWK"; then
   2610   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2611 else
   2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2613 for as_dir in $PATH
   2614 do
   2615   IFS=$as_save_IFS
   2616   test -z "$as_dir" && as_dir=.
   2617     for ac_exec_ext in '' $ac_executable_extensions; do
   2618   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2619     ac_cv_prog_AWK="$ac_prog"
   2620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2621     break 2
   2622   fi
   2623 done
   2624   done
   2625 IFS=$as_save_IFS
   2626 
   2627 fi
   2628 fi
   2629 AWK=$ac_cv_prog_AWK
   2630 if test -n "$AWK"; then
   2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2632 $as_echo "$AWK" >&6; }
   2633 else
   2634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2635 $as_echo "no" >&6; }
   2636 fi
   2637 
   2638 
   2639   test -n "$AWK" && break
   2640 done
   2641 
   2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2643 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2644 set x ${MAKE-make}
   2645 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2646 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2647   $as_echo_n "(cached) " >&6
   2648 else
   2649   cat >conftest.make <<\_ACEOF
   2650 SHELL = /bin/sh
   2651 all:
   2652 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2653 _ACEOF
   2654 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2655 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2656   *@@@%%%=?*=@@@%%%*)
   2657     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2658   *)
   2659     eval ac_cv_prog_make_${ac_make}_set=no;;
   2660 esac
   2661 rm -f conftest.make
   2662 fi
   2663 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2665 $as_echo "yes" >&6; }
   2666   SET_MAKE=
   2667 else
   2668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2669 $as_echo "no" >&6; }
   2670   SET_MAKE="MAKE=${MAKE-make}"
   2671 fi
   2672 
   2673 rm -rf .tst 2>/dev/null
   2674 mkdir .tst 2>/dev/null
   2675 if test -d .tst; then
   2676   am__leading_dot=.
   2677 else
   2678   am__leading_dot=_
   2679 fi
   2680 rmdir .tst 2>/dev/null
   2681 
   2682 # Check whether --enable-silent-rules was given.
   2683 if test "${enable_silent_rules+set}" = set; then :
   2684   enableval=$enable_silent_rules;
   2685 fi
   2686 
   2687 case $enable_silent_rules in # (((
   2688   yes) AM_DEFAULT_VERBOSITY=0;;
   2689    no) AM_DEFAULT_VERBOSITY=1;;
   2690     *) AM_DEFAULT_VERBOSITY=1;;
   2691 esac
   2692 am_make=${MAKE-make}
   2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2694 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2695 if ${am_cv_make_support_nested_variables+:} false; then :
   2696   $as_echo_n "(cached) " >&6
   2697 else
   2698   if $as_echo 'TRUE=$(BAR$(V))
   2699 BAR0=false
   2700 BAR1=true
   2701 V=1
   2702 am__doit:
   2703 	@$(TRUE)
   2704 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2705   am_cv_make_support_nested_variables=yes
   2706 else
   2707   am_cv_make_support_nested_variables=no
   2708 fi
   2709 fi
   2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2711 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2712 if test $am_cv_make_support_nested_variables = yes; then
   2713     AM_V='$(V)'
   2714   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2715 else
   2716   AM_V=$AM_DEFAULT_VERBOSITY
   2717   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2718 fi
   2719 AM_BACKSLASH='\'
   2720 
   2721 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2722   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2723   # is not polluted with repeated "-I."
   2724   am__isrc=' -I$(srcdir)'
   2725   # test to see if srcdir already configured
   2726   if test -f $srcdir/config.status; then
   2727     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2728   fi
   2729 fi
   2730 
   2731 # test whether we have cygpath
   2732 if test -z "$CYGPATH_W"; then
   2733   if (cygpath --version) >/dev/null 2>/dev/null; then
   2734     CYGPATH_W='cygpath -w'
   2735   else
   2736     CYGPATH_W=echo
   2737   fi
   2738 fi
   2739 
   2740 
   2741 # Define the identity of the package.
   2742  PACKAGE='imake'
   2743  VERSION='1.0.7'
   2744 
   2745 
   2746 cat >>confdefs.h <<_ACEOF
   2747 #define PACKAGE "$PACKAGE"
   2748 _ACEOF
   2749 
   2750 
   2751 cat >>confdefs.h <<_ACEOF
   2752 #define VERSION "$VERSION"
   2753 _ACEOF
   2754 
   2755 # Some tools Automake needs.
   2756 
   2757 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2758 
   2759 
   2760 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2761 
   2762 
   2763 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2764 
   2765 
   2766 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2767 
   2768 
   2769 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2770 
   2771 # For better backward compatibility.  To be removed once Automake 1.9.x
   2772 # dies out for good.  For more background, see:
   2773 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2774 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2775 mkdir_p='$(MKDIR_P)'
   2776 
   2777 # We need awk for the "check" target.  The system "awk" is bad on
   2778 # some platforms.
   2779 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2780 # in the wild :-(  We should find a proper way to deprecate it ...
   2781 AMTAR='$${TAR-tar}'
   2782 
   2783 
   2784 # We'll loop over all known methods to create a tar archive until one works.
   2785 _am_tools='gnutar  pax cpio none'
   2786 
   2787 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2788 
   2789 
   2790 
   2791 
   2792 
   2793 
   2794 # POSIX will say in a future version that running "rm -f" with no argument
   2795 # is OK; and we want to be able to make that assumption in our Makefile
   2796 # recipes.  So use an aggressive probe to check that the usage we want is
   2797 # actually supported "in the wild" to an acceptable degree.
   2798 # See automake bug#10828.
   2799 # To make any issue more visible, cause the running configure to be aborted
   2800 # by default if the 'rm' program in use doesn't match our expectations; the
   2801 # user can still override this though.
   2802 if rm -f && rm -fr && rm -rf; then : OK; else
   2803   cat >&2 <<'END'
   2804 Oops!
   2805 
   2806 Your 'rm' program seems unable to run without file operands specified
   2807 on the command line, even when the '-f' option is present.  This is contrary
   2808 to the behaviour of most rm programs out there, and not conforming with
   2809 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2810 
   2811 Please tell bug-automake@gnu.org about your system, including the value
   2812 of your $PATH and any error possibly output before this message.  This
   2813 can help us improve future automake versions.
   2814 
   2815 END
   2816   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2817     echo 'Configuration will proceed anyway, since you have set the' >&2
   2818     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2819     echo >&2
   2820   else
   2821     cat >&2 <<'END'
   2822 Aborting the configuration process, to ensure you take notice of the issue.
   2823 
   2824 You can download and install GNU coreutils to get an 'rm' implementation
   2825 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2826 
   2827 If you want to complete the configuration process using your problematic
   2828 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2829 to "yes", and re-run configure.
   2830 
   2831 END
   2832     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2833   fi
   2834 fi
   2835 
   2836 
   2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2838 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2839     # Check whether --enable-maintainer-mode was given.
   2840 if test "${enable_maintainer_mode+set}" = set; then :
   2841   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2842 else
   2843   USE_MAINTAINER_MODE=no
   2844 fi
   2845 
   2846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2847 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2848    if test $USE_MAINTAINER_MODE = yes; then
   2849   MAINTAINER_MODE_TRUE=
   2850   MAINTAINER_MODE_FALSE='#'
   2851 else
   2852   MAINTAINER_MODE_TRUE='#'
   2853   MAINTAINER_MODE_FALSE=
   2854 fi
   2855 
   2856   MAINT=$MAINTAINER_MODE_TRUE
   2857 
   2858 
   2859 
   2860 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2861 
   2862 
   2863 
   2864 
   2865 
   2866 
   2867 
   2868 
   2869 
   2870 
   2871 
   2872 DEPDIR="${am__leading_dot}deps"
   2873 
   2874 ac_config_commands="$ac_config_commands depfiles"
   2875 
   2876 
   2877 am_make=${MAKE-make}
   2878 cat > confinc << 'END'
   2879 am__doit:
   2880 	@echo this is the am__doit target
   2881 .PHONY: am__doit
   2882 END
   2883 # If we don't find an include directive, just comment out the code.
   2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2885 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2886 am__include="#"
   2887 am__quote=
   2888 _am_result=none
   2889 # First try GNU make style include.
   2890 echo "include confinc" > confmf
   2891 # Ignore all kinds of additional output from 'make'.
   2892 case `$am_make -s -f confmf 2> /dev/null` in #(
   2893 *the\ am__doit\ target*)
   2894   am__include=include
   2895   am__quote=
   2896   _am_result=GNU
   2897   ;;
   2898 esac
   2899 # Now try BSD make style include.
   2900 if test "$am__include" = "#"; then
   2901    echo '.include "confinc"' > confmf
   2902    case `$am_make -s -f confmf 2> /dev/null` in #(
   2903    *the\ am__doit\ target*)
   2904      am__include=.include
   2905      am__quote="\""
   2906      _am_result=BSD
   2907      ;;
   2908    esac
   2909 fi
   2910 
   2911 
   2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2913 $as_echo "$_am_result" >&6; }
   2914 rm -f confinc confmf
   2915 
   2916 # Check whether --enable-dependency-tracking was given.
   2917 if test "${enable_dependency_tracking+set}" = set; then :
   2918   enableval=$enable_dependency_tracking;
   2919 fi
   2920 
   2921 if test "x$enable_dependency_tracking" != xno; then
   2922   am_depcomp="$ac_aux_dir/depcomp"
   2923   AMDEPBACKSLASH='\'
   2924   am__nodep='_no'
   2925 fi
   2926  if test "x$enable_dependency_tracking" != xno; then
   2927   AMDEP_TRUE=
   2928   AMDEP_FALSE='#'
   2929 else
   2930   AMDEP_TRUE='#'
   2931   AMDEP_FALSE=
   2932 fi
   2933 
   2934 
   2935 ac_ext=c
   2936 ac_cpp='$CPP $CPPFLAGS'
   2937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2940 if test -n "$ac_tool_prefix"; then
   2941   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2942 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2944 $as_echo_n "checking for $ac_word... " >&6; }
   2945 if ${ac_cv_prog_CC+:} false; then :
   2946   $as_echo_n "(cached) " >&6
   2947 else
   2948   if test -n "$CC"; then
   2949   ac_cv_prog_CC="$CC" # Let the user override the test.
   2950 else
   2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2952 for as_dir in $PATH
   2953 do
   2954   IFS=$as_save_IFS
   2955   test -z "$as_dir" && as_dir=.
   2956     for ac_exec_ext in '' $ac_executable_extensions; do
   2957   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2958     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2959     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2960     break 2
   2961   fi
   2962 done
   2963   done
   2964 IFS=$as_save_IFS
   2965 
   2966 fi
   2967 fi
   2968 CC=$ac_cv_prog_CC
   2969 if test -n "$CC"; then
   2970   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2971 $as_echo "$CC" >&6; }
   2972 else
   2973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2974 $as_echo "no" >&6; }
   2975 fi
   2976 
   2977 
   2978 fi
   2979 if test -z "$ac_cv_prog_CC"; then
   2980   ac_ct_CC=$CC
   2981   # Extract the first word of "gcc", so it can be a program name with args.
   2982 set dummy gcc; ac_word=$2
   2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2984 $as_echo_n "checking for $ac_word... " >&6; }
   2985 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2986   $as_echo_n "(cached) " >&6
   2987 else
   2988   if test -n "$ac_ct_CC"; then
   2989   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2990 else
   2991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2992 for as_dir in $PATH
   2993 do
   2994   IFS=$as_save_IFS
   2995   test -z "$as_dir" && as_dir=.
   2996     for ac_exec_ext in '' $ac_executable_extensions; do
   2997   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2998     ac_cv_prog_ac_ct_CC="gcc"
   2999     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3000     break 2
   3001   fi
   3002 done
   3003   done
   3004 IFS=$as_save_IFS
   3005 
   3006 fi
   3007 fi
   3008 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3009 if test -n "$ac_ct_CC"; then
   3010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3011 $as_echo "$ac_ct_CC" >&6; }
   3012 else
   3013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3014 $as_echo "no" >&6; }
   3015 fi
   3016 
   3017   if test "x$ac_ct_CC" = x; then
   3018     CC=""
   3019   else
   3020     case $cross_compiling:$ac_tool_warned in
   3021 yes:)
   3022 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3023 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3024 ac_tool_warned=yes ;;
   3025 esac
   3026     CC=$ac_ct_CC
   3027   fi
   3028 else
   3029   CC="$ac_cv_prog_CC"
   3030 fi
   3031 
   3032 if test -z "$CC"; then
   3033           if test -n "$ac_tool_prefix"; then
   3034     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3035 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3037 $as_echo_n "checking for $ac_word... " >&6; }
   3038 if ${ac_cv_prog_CC+:} false; then :
   3039   $as_echo_n "(cached) " >&6
   3040 else
   3041   if test -n "$CC"; then
   3042   ac_cv_prog_CC="$CC" # Let the user override the test.
   3043 else
   3044 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3045 for as_dir in $PATH
   3046 do
   3047   IFS=$as_save_IFS
   3048   test -z "$as_dir" && as_dir=.
   3049     for ac_exec_ext in '' $ac_executable_extensions; do
   3050   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3051     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3052     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3053     break 2
   3054   fi
   3055 done
   3056   done
   3057 IFS=$as_save_IFS
   3058 
   3059 fi
   3060 fi
   3061 CC=$ac_cv_prog_CC
   3062 if test -n "$CC"; then
   3063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3064 $as_echo "$CC" >&6; }
   3065 else
   3066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3067 $as_echo "no" >&6; }
   3068 fi
   3069 
   3070 
   3071   fi
   3072 fi
   3073 if test -z "$CC"; then
   3074   # Extract the first word of "cc", so it can be a program name with args.
   3075 set dummy cc; ac_word=$2
   3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3077 $as_echo_n "checking for $ac_word... " >&6; }
   3078 if ${ac_cv_prog_CC+:} false; then :
   3079   $as_echo_n "(cached) " >&6
   3080 else
   3081   if test -n "$CC"; then
   3082   ac_cv_prog_CC="$CC" # Let the user override the test.
   3083 else
   3084   ac_prog_rejected=no
   3085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3086 for as_dir in $PATH
   3087 do
   3088   IFS=$as_save_IFS
   3089   test -z "$as_dir" && as_dir=.
   3090     for ac_exec_ext in '' $ac_executable_extensions; do
   3091   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3092     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3093        ac_prog_rejected=yes
   3094        continue
   3095      fi
   3096     ac_cv_prog_CC="cc"
   3097     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3098     break 2
   3099   fi
   3100 done
   3101   done
   3102 IFS=$as_save_IFS
   3103 
   3104 if test $ac_prog_rejected = yes; then
   3105   # We found a bogon in the path, so make sure we never use it.
   3106   set dummy $ac_cv_prog_CC
   3107   shift
   3108   if test $# != 0; then
   3109     # We chose a different compiler from the bogus one.
   3110     # However, it has the same basename, so the bogon will be chosen
   3111     # first if we set CC to just the basename; use the full file name.
   3112     shift
   3113     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3114   fi
   3115 fi
   3116 fi
   3117 fi
   3118 CC=$ac_cv_prog_CC
   3119 if test -n "$CC"; then
   3120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3121 $as_echo "$CC" >&6; }
   3122 else
   3123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3124 $as_echo "no" >&6; }
   3125 fi
   3126 
   3127 
   3128 fi
   3129 if test -z "$CC"; then
   3130   if test -n "$ac_tool_prefix"; then
   3131   for ac_prog in cl.exe
   3132   do
   3133     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3136 $as_echo_n "checking for $ac_word... " >&6; }
   3137 if ${ac_cv_prog_CC+:} false; then :
   3138   $as_echo_n "(cached) " >&6
   3139 else
   3140   if test -n "$CC"; then
   3141   ac_cv_prog_CC="$CC" # Let the user override the test.
   3142 else
   3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3144 for as_dir in $PATH
   3145 do
   3146   IFS=$as_save_IFS
   3147   test -z "$as_dir" && as_dir=.
   3148     for ac_exec_ext in '' $ac_executable_extensions; do
   3149   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3150     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3151     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3152     break 2
   3153   fi
   3154 done
   3155   done
   3156 IFS=$as_save_IFS
   3157 
   3158 fi
   3159 fi
   3160 CC=$ac_cv_prog_CC
   3161 if test -n "$CC"; then
   3162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3163 $as_echo "$CC" >&6; }
   3164 else
   3165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3166 $as_echo "no" >&6; }
   3167 fi
   3168 
   3169 
   3170     test -n "$CC" && break
   3171   done
   3172 fi
   3173 if test -z "$CC"; then
   3174   ac_ct_CC=$CC
   3175   for ac_prog in cl.exe
   3176 do
   3177   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3178 set dummy $ac_prog; ac_word=$2
   3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3180 $as_echo_n "checking for $ac_word... " >&6; }
   3181 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3182   $as_echo_n "(cached) " >&6
   3183 else
   3184   if test -n "$ac_ct_CC"; then
   3185   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3186 else
   3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3188 for as_dir in $PATH
   3189 do
   3190   IFS=$as_save_IFS
   3191   test -z "$as_dir" && as_dir=.
   3192     for ac_exec_ext in '' $ac_executable_extensions; do
   3193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3194     ac_cv_prog_ac_ct_CC="$ac_prog"
   3195     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3196     break 2
   3197   fi
   3198 done
   3199   done
   3200 IFS=$as_save_IFS
   3201 
   3202 fi
   3203 fi
   3204 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3205 if test -n "$ac_ct_CC"; then
   3206   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3207 $as_echo "$ac_ct_CC" >&6; }
   3208 else
   3209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3210 $as_echo "no" >&6; }
   3211 fi
   3212 
   3213 
   3214   test -n "$ac_ct_CC" && break
   3215 done
   3216 
   3217   if test "x$ac_ct_CC" = x; then
   3218     CC=""
   3219   else
   3220     case $cross_compiling:$ac_tool_warned in
   3221 yes:)
   3222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3223 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3224 ac_tool_warned=yes ;;
   3225 esac
   3226     CC=$ac_ct_CC
   3227   fi
   3228 fi
   3229 
   3230 fi
   3231 
   3232 
   3233 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3235 as_fn_error $? "no acceptable C compiler found in \$PATH
   3236 See \`config.log' for more details" "$LINENO" 5; }
   3237 
   3238 # Provide some information about the compiler.
   3239 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3240 set X $ac_compile
   3241 ac_compiler=$2
   3242 for ac_option in --version -v -V -qversion; do
   3243   { { ac_try="$ac_compiler $ac_option >&5"
   3244 case "(($ac_try" in
   3245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3246   *) ac_try_echo=$ac_try;;
   3247 esac
   3248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3249 $as_echo "$ac_try_echo"; } >&5
   3250   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3251   ac_status=$?
   3252   if test -s conftest.err; then
   3253     sed '10a\
   3254 ... rest of stderr output deleted ...
   3255          10q' conftest.err >conftest.er1
   3256     cat conftest.er1 >&5
   3257   fi
   3258   rm -f conftest.er1 conftest.err
   3259   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3260   test $ac_status = 0; }
   3261 done
   3262 
   3263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3264 /* end confdefs.h.  */
   3265 
   3266 int
   3267 main ()
   3268 {
   3269 
   3270   ;
   3271   return 0;
   3272 }
   3273 _ACEOF
   3274 ac_clean_files_save=$ac_clean_files
   3275 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3276 # Try to create an executable without -o first, disregard a.out.
   3277 # It will help us diagnose broken compilers, and finding out an intuition
   3278 # of exeext.
   3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3280 $as_echo_n "checking whether the C compiler works... " >&6; }
   3281 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3282 
   3283 # The possible output files:
   3284 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3285 
   3286 ac_rmfiles=
   3287 for ac_file in $ac_files
   3288 do
   3289   case $ac_file in
   3290     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3291     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3292   esac
   3293 done
   3294 rm -f $ac_rmfiles
   3295 
   3296 if { { ac_try="$ac_link_default"
   3297 case "(($ac_try" in
   3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3299   *) ac_try_echo=$ac_try;;
   3300 esac
   3301 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3302 $as_echo "$ac_try_echo"; } >&5
   3303   (eval "$ac_link_default") 2>&5
   3304   ac_status=$?
   3305   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3306   test $ac_status = 0; }; then :
   3307   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3308 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3309 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3310 # so that the user can short-circuit this test for compilers unknown to
   3311 # Autoconf.
   3312 for ac_file in $ac_files ''
   3313 do
   3314   test -f "$ac_file" || continue
   3315   case $ac_file in
   3316     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3317 	;;
   3318     [ab].out )
   3319 	# We found the default executable, but exeext='' is most
   3320 	# certainly right.
   3321 	break;;
   3322     *.* )
   3323 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3324 	then :; else
   3325 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3326 	fi
   3327 	# We set ac_cv_exeext here because the later test for it is not
   3328 	# safe: cross compilers may not add the suffix if given an `-o'
   3329 	# argument, so we may need to know it at that point already.
   3330 	# Even if this section looks crufty: it has the advantage of
   3331 	# actually working.
   3332 	break;;
   3333     * )
   3334 	break;;
   3335   esac
   3336 done
   3337 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3338 
   3339 else
   3340   ac_file=''
   3341 fi
   3342 if test -z "$ac_file"; then :
   3343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3344 $as_echo "no" >&6; }
   3345 $as_echo "$as_me: failed program was:" >&5
   3346 sed 's/^/| /' conftest.$ac_ext >&5
   3347 
   3348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3350 as_fn_error 77 "C compiler cannot create executables
   3351 See \`config.log' for more details" "$LINENO" 5; }
   3352 else
   3353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3354 $as_echo "yes" >&6; }
   3355 fi
   3356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3357 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3359 $as_echo "$ac_file" >&6; }
   3360 ac_exeext=$ac_cv_exeext
   3361 
   3362 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3363 ac_clean_files=$ac_clean_files_save
   3364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3365 $as_echo_n "checking for suffix of executables... " >&6; }
   3366 if { { ac_try="$ac_link"
   3367 case "(($ac_try" in
   3368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3369   *) ac_try_echo=$ac_try;;
   3370 esac
   3371 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3372 $as_echo "$ac_try_echo"; } >&5
   3373   (eval "$ac_link") 2>&5
   3374   ac_status=$?
   3375   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3376   test $ac_status = 0; }; then :
   3377   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3378 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3379 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3380 # `rm'.
   3381 for ac_file in conftest.exe conftest conftest.*; do
   3382   test -f "$ac_file" || continue
   3383   case $ac_file in
   3384     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3385     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3386 	  break;;
   3387     * ) break;;
   3388   esac
   3389 done
   3390 else
   3391   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3393 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3394 See \`config.log' for more details" "$LINENO" 5; }
   3395 fi
   3396 rm -f conftest conftest$ac_cv_exeext
   3397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3398 $as_echo "$ac_cv_exeext" >&6; }
   3399 
   3400 rm -f conftest.$ac_ext
   3401 EXEEXT=$ac_cv_exeext
   3402 ac_exeext=$EXEEXT
   3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3404 /* end confdefs.h.  */
   3405 #include <stdio.h>
   3406 int
   3407 main ()
   3408 {
   3409 FILE *f = fopen ("conftest.out", "w");
   3410  return ferror (f) || fclose (f) != 0;
   3411 
   3412   ;
   3413   return 0;
   3414 }
   3415 _ACEOF
   3416 ac_clean_files="$ac_clean_files conftest.out"
   3417 # Check that the compiler produces executables we can run.  If not, either
   3418 # the compiler is broken, or we cross compile.
   3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3420 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3421 if test "$cross_compiling" != yes; then
   3422   { { ac_try="$ac_link"
   3423 case "(($ac_try" in
   3424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3425   *) ac_try_echo=$ac_try;;
   3426 esac
   3427 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3428 $as_echo "$ac_try_echo"; } >&5
   3429   (eval "$ac_link") 2>&5
   3430   ac_status=$?
   3431   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3432   test $ac_status = 0; }
   3433   if { ac_try='./conftest$ac_cv_exeext'
   3434   { { case "(($ac_try" in
   3435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3436   *) ac_try_echo=$ac_try;;
   3437 esac
   3438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3439 $as_echo "$ac_try_echo"; } >&5
   3440   (eval "$ac_try") 2>&5
   3441   ac_status=$?
   3442   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3443   test $ac_status = 0; }; }; then
   3444     cross_compiling=no
   3445   else
   3446     if test "$cross_compiling" = maybe; then
   3447 	cross_compiling=yes
   3448     else
   3449 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3451 as_fn_error $? "cannot run C compiled programs.
   3452 If you meant to cross compile, use \`--host'.
   3453 See \`config.log' for more details" "$LINENO" 5; }
   3454     fi
   3455   fi
   3456 fi
   3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3458 $as_echo "$cross_compiling" >&6; }
   3459 
   3460 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3461 ac_clean_files=$ac_clean_files_save
   3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3463 $as_echo_n "checking for suffix of object files... " >&6; }
   3464 if ${ac_cv_objext+:} false; then :
   3465   $as_echo_n "(cached) " >&6
   3466 else
   3467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3468 /* end confdefs.h.  */
   3469 
   3470 int
   3471 main ()
   3472 {
   3473 
   3474   ;
   3475   return 0;
   3476 }
   3477 _ACEOF
   3478 rm -f conftest.o conftest.obj
   3479 if { { ac_try="$ac_compile"
   3480 case "(($ac_try" in
   3481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3482   *) ac_try_echo=$ac_try;;
   3483 esac
   3484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3485 $as_echo "$ac_try_echo"; } >&5
   3486   (eval "$ac_compile") 2>&5
   3487   ac_status=$?
   3488   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3489   test $ac_status = 0; }; then :
   3490   for ac_file in conftest.o conftest.obj conftest.*; do
   3491   test -f "$ac_file" || continue;
   3492   case $ac_file in
   3493     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3494     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3495        break;;
   3496   esac
   3497 done
   3498 else
   3499   $as_echo "$as_me: failed program was:" >&5
   3500 sed 's/^/| /' conftest.$ac_ext >&5
   3501 
   3502 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3503 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3504 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3505 See \`config.log' for more details" "$LINENO" 5; }
   3506 fi
   3507 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3508 fi
   3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3510 $as_echo "$ac_cv_objext" >&6; }
   3511 OBJEXT=$ac_cv_objext
   3512 ac_objext=$OBJEXT
   3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3514 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3515 if ${ac_cv_c_compiler_gnu+:} false; then :
   3516   $as_echo_n "(cached) " >&6
   3517 else
   3518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3519 /* end confdefs.h.  */
   3520 
   3521 int
   3522 main ()
   3523 {
   3524 #ifndef __GNUC__
   3525        choke me
   3526 #endif
   3527 
   3528   ;
   3529   return 0;
   3530 }
   3531 _ACEOF
   3532 if ac_fn_c_try_compile "$LINENO"; then :
   3533   ac_compiler_gnu=yes
   3534 else
   3535   ac_compiler_gnu=no
   3536 fi
   3537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3538 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3539 
   3540 fi
   3541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3542 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3543 if test $ac_compiler_gnu = yes; then
   3544   GCC=yes
   3545 else
   3546   GCC=
   3547 fi
   3548 ac_test_CFLAGS=${CFLAGS+set}
   3549 ac_save_CFLAGS=$CFLAGS
   3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3551 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3552 if ${ac_cv_prog_cc_g+:} false; then :
   3553   $as_echo_n "(cached) " >&6
   3554 else
   3555   ac_save_c_werror_flag=$ac_c_werror_flag
   3556    ac_c_werror_flag=yes
   3557    ac_cv_prog_cc_g=no
   3558    CFLAGS="-g"
   3559    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3560 /* end confdefs.h.  */
   3561 
   3562 int
   3563 main ()
   3564 {
   3565 
   3566   ;
   3567   return 0;
   3568 }
   3569 _ACEOF
   3570 if ac_fn_c_try_compile "$LINENO"; then :
   3571   ac_cv_prog_cc_g=yes
   3572 else
   3573   CFLAGS=""
   3574       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3575 /* end confdefs.h.  */
   3576 
   3577 int
   3578 main ()
   3579 {
   3580 
   3581   ;
   3582   return 0;
   3583 }
   3584 _ACEOF
   3585 if ac_fn_c_try_compile "$LINENO"; then :
   3586 
   3587 else
   3588   ac_c_werror_flag=$ac_save_c_werror_flag
   3589 	 CFLAGS="-g"
   3590 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3591 /* end confdefs.h.  */
   3592 
   3593 int
   3594 main ()
   3595 {
   3596 
   3597   ;
   3598   return 0;
   3599 }
   3600 _ACEOF
   3601 if ac_fn_c_try_compile "$LINENO"; then :
   3602   ac_cv_prog_cc_g=yes
   3603 fi
   3604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3605 fi
   3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3607 fi
   3608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3609    ac_c_werror_flag=$ac_save_c_werror_flag
   3610 fi
   3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3612 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3613 if test "$ac_test_CFLAGS" = set; then
   3614   CFLAGS=$ac_save_CFLAGS
   3615 elif test $ac_cv_prog_cc_g = yes; then
   3616   if test "$GCC" = yes; then
   3617     CFLAGS="-g -O2"
   3618   else
   3619     CFLAGS="-g"
   3620   fi
   3621 else
   3622   if test "$GCC" = yes; then
   3623     CFLAGS="-O2"
   3624   else
   3625     CFLAGS=
   3626   fi
   3627 fi
   3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3629 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3630 if ${ac_cv_prog_cc_c89+:} false; then :
   3631   $as_echo_n "(cached) " >&6
   3632 else
   3633   ac_cv_prog_cc_c89=no
   3634 ac_save_CC=$CC
   3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3636 /* end confdefs.h.  */
   3637 #include <stdarg.h>
   3638 #include <stdio.h>
   3639 struct stat;
   3640 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3641 struct buf { int x; };
   3642 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3643 static char *e (p, i)
   3644      char **p;
   3645      int i;
   3646 {
   3647   return p[i];
   3648 }
   3649 static char *f (char * (*g) (char **, int), char **p, ...)
   3650 {
   3651   char *s;
   3652   va_list v;
   3653   va_start (v,p);
   3654   s = g (p, va_arg (v,int));
   3655   va_end (v);
   3656   return s;
   3657 }
   3658 
   3659 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3660    function prototypes and stuff, but not '\xHH' hex character constants.
   3661    These don't provoke an error unfortunately, instead are silently treated
   3662    as 'x'.  The following induces an error, until -std is added to get
   3663    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3664    array size at least.  It's necessary to write '\x00'==0 to get something
   3665    that's true only with -std.  */
   3666 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3667 
   3668 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3669    inside strings and character constants.  */
   3670 #define FOO(x) 'x'
   3671 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3672 
   3673 int test (int i, double x);
   3674 struct s1 {int (*f) (int a);};
   3675 struct s2 {int (*f) (double a);};
   3676 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3677 int argc;
   3678 char **argv;
   3679 int
   3680 main ()
   3681 {
   3682 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3683   ;
   3684   return 0;
   3685 }
   3686 _ACEOF
   3687 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3688 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3689 do
   3690   CC="$ac_save_CC $ac_arg"
   3691   if ac_fn_c_try_compile "$LINENO"; then :
   3692   ac_cv_prog_cc_c89=$ac_arg
   3693 fi
   3694 rm -f core conftest.err conftest.$ac_objext
   3695   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3696 done
   3697 rm -f conftest.$ac_ext
   3698 CC=$ac_save_CC
   3699 
   3700 fi
   3701 # AC_CACHE_VAL
   3702 case "x$ac_cv_prog_cc_c89" in
   3703   x)
   3704     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3705 $as_echo "none needed" >&6; } ;;
   3706   xno)
   3707     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3708 $as_echo "unsupported" >&6; } ;;
   3709   *)
   3710     CC="$CC $ac_cv_prog_cc_c89"
   3711     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3712 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3713 esac
   3714 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3715 
   3716 fi
   3717 
   3718 ac_ext=c
   3719 ac_cpp='$CPP $CPPFLAGS'
   3720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3723 
   3724 ac_ext=c
   3725 ac_cpp='$CPP $CPPFLAGS'
   3726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3730 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3731 if ${am_cv_prog_cc_c_o+:} false; then :
   3732   $as_echo_n "(cached) " >&6
   3733 else
   3734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3735 /* end confdefs.h.  */
   3736 
   3737 int
   3738 main ()
   3739 {
   3740 
   3741   ;
   3742   return 0;
   3743 }
   3744 _ACEOF
   3745   # Make sure it works both with $CC and with simple cc.
   3746   # Following AC_PROG_CC_C_O, we do the test twice because some
   3747   # compilers refuse to overwrite an existing .o file with -o,
   3748   # though they will create one.
   3749   am_cv_prog_cc_c_o=yes
   3750   for am_i in 1 2; do
   3751     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3752    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3753    ac_status=$?
   3754    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3755    (exit $ac_status); } \
   3756          && test -f conftest2.$ac_objext; then
   3757       : OK
   3758     else
   3759       am_cv_prog_cc_c_o=no
   3760       break
   3761     fi
   3762   done
   3763   rm -f core conftest*
   3764   unset am_i
   3765 fi
   3766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3767 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3768 if test "$am_cv_prog_cc_c_o" != yes; then
   3769    # Losing compiler, so override with the script.
   3770    # FIXME: It is wrong to rewrite CC.
   3771    # But if we don't then we get into trouble of one sort or another.
   3772    # A longer-term fix would be to have automake use am__CC in this case,
   3773    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3774    CC="$am_aux_dir/compile $CC"
   3775 fi
   3776 ac_ext=c
   3777 ac_cpp='$CPP $CPPFLAGS'
   3778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3781 
   3782 
   3783 depcc="$CC"   am_compiler_list=
   3784 
   3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3786 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3787 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3788   $as_echo_n "(cached) " >&6
   3789 else
   3790   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3791   # We make a subdir and do the tests there.  Otherwise we can end up
   3792   # making bogus files that we don't know about and never remove.  For
   3793   # instance it was reported that on HP-UX the gcc test will end up
   3794   # making a dummy file named 'D' -- because '-MD' means "put the output
   3795   # in D".
   3796   rm -rf conftest.dir
   3797   mkdir conftest.dir
   3798   # Copy depcomp to subdir because otherwise we won't find it if we're
   3799   # using a relative directory.
   3800   cp "$am_depcomp" conftest.dir
   3801   cd conftest.dir
   3802   # We will build objects and dependencies in a subdirectory because
   3803   # it helps to detect inapplicable dependency modes.  For instance
   3804   # both Tru64's cc and ICC support -MD to output dependencies as a
   3805   # side effect of compilation, but ICC will put the dependencies in
   3806   # the current directory while Tru64 will put them in the object
   3807   # directory.
   3808   mkdir sub
   3809 
   3810   am_cv_CC_dependencies_compiler_type=none
   3811   if test "$am_compiler_list" = ""; then
   3812      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3813   fi
   3814   am__universal=false
   3815   case " $depcc " in #(
   3816      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3817      esac
   3818 
   3819   for depmode in $am_compiler_list; do
   3820     # Setup a source with many dependencies, because some compilers
   3821     # like to wrap large dependency lists on column 80 (with \), and
   3822     # we should not choose a depcomp mode which is confused by this.
   3823     #
   3824     # We need to recreate these files for each test, as the compiler may
   3825     # overwrite some of them when testing with obscure command lines.
   3826     # This happens at least with the AIX C compiler.
   3827     : > sub/conftest.c
   3828     for i in 1 2 3 4 5 6; do
   3829       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3830       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3831       # Solaris 10 /bin/sh.
   3832       echo '/* dummy */' > sub/conftst$i.h
   3833     done
   3834     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3835 
   3836     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3837     # mode.  It turns out that the SunPro C++ compiler does not properly
   3838     # handle '-M -o', and we need to detect this.  Also, some Intel
   3839     # versions had trouble with output in subdirs.
   3840     am__obj=sub/conftest.${OBJEXT-o}
   3841     am__minus_obj="-o $am__obj"
   3842     case $depmode in
   3843     gcc)
   3844       # This depmode causes a compiler race in universal mode.
   3845       test "$am__universal" = false || continue
   3846       ;;
   3847     nosideeffect)
   3848       # After this tag, mechanisms are not by side-effect, so they'll
   3849       # only be used when explicitly requested.
   3850       if test "x$enable_dependency_tracking" = xyes; then
   3851 	continue
   3852       else
   3853 	break
   3854       fi
   3855       ;;
   3856     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3857       # This compiler won't grok '-c -o', but also, the minuso test has
   3858       # not run yet.  These depmodes are late enough in the game, and
   3859       # so weak that their functioning should not be impacted.
   3860       am__obj=conftest.${OBJEXT-o}
   3861       am__minus_obj=
   3862       ;;
   3863     none) break ;;
   3864     esac
   3865     if depmode=$depmode \
   3866        source=sub/conftest.c object=$am__obj \
   3867        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3868        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3869          >/dev/null 2>conftest.err &&
   3870        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3871        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3872        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3873        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3874       # icc doesn't choke on unknown options, it will just issue warnings
   3875       # or remarks (even with -Werror).  So we grep stderr for any message
   3876       # that says an option was ignored or not supported.
   3877       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3878       #   icc: Command line warning: ignoring option '-M'; no argument required
   3879       # The diagnosis changed in icc 8.0:
   3880       #   icc: Command line remark: option '-MP' not supported
   3881       if (grep 'ignoring option' conftest.err ||
   3882           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3883         am_cv_CC_dependencies_compiler_type=$depmode
   3884         break
   3885       fi
   3886     fi
   3887   done
   3888 
   3889   cd ..
   3890   rm -rf conftest.dir
   3891 else
   3892   am_cv_CC_dependencies_compiler_type=none
   3893 fi
   3894 
   3895 fi
   3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3897 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3898 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3899 
   3900  if
   3901   test "x$enable_dependency_tracking" != xno \
   3902   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3903   am__fastdepCC_TRUE=
   3904   am__fastdepCC_FALSE='#'
   3905 else
   3906   am__fastdepCC_TRUE='#'
   3907   am__fastdepCC_FALSE=
   3908 fi
   3909 
   3910 
   3911    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3912 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3913 if ${ac_cv_prog_cc_c99+:} false; then :
   3914   $as_echo_n "(cached) " >&6
   3915 else
   3916   ac_cv_prog_cc_c99=no
   3917 ac_save_CC=$CC
   3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3919 /* end confdefs.h.  */
   3920 #include <stdarg.h>
   3921 #include <stdbool.h>
   3922 #include <stdlib.h>
   3923 #include <wchar.h>
   3924 #include <stdio.h>
   3925 
   3926 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3927 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3928 #define showlist(...) puts (#__VA_ARGS__)
   3929 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3930 static void
   3931 test_varargs_macros (void)
   3932 {
   3933   int x = 1234;
   3934   int y = 5678;
   3935   debug ("Flag");
   3936   debug ("X = %d\n", x);
   3937   showlist (The first, second, and third items.);
   3938   report (x>y, "x is %d but y is %d", x, y);
   3939 }
   3940 
   3941 // Check long long types.
   3942 #define BIG64 18446744073709551615ull
   3943 #define BIG32 4294967295ul
   3944 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3945 #if !BIG_OK
   3946   your preprocessor is broken;
   3947 #endif
   3948 #if BIG_OK
   3949 #else
   3950   your preprocessor is broken;
   3951 #endif
   3952 static long long int bignum = -9223372036854775807LL;
   3953 static unsigned long long int ubignum = BIG64;
   3954 
   3955 struct incomplete_array
   3956 {
   3957   int datasize;
   3958   double data[];
   3959 };
   3960 
   3961 struct named_init {
   3962   int number;
   3963   const wchar_t *name;
   3964   double average;
   3965 };
   3966 
   3967 typedef const char *ccp;
   3968 
   3969 static inline int
   3970 test_restrict (ccp restrict text)
   3971 {
   3972   // See if C++-style comments work.
   3973   // Iterate through items via the restricted pointer.
   3974   // Also check for declarations in for loops.
   3975   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3976     continue;
   3977   return 0;
   3978 }
   3979 
   3980 // Check varargs and va_copy.
   3981 static void
   3982 test_varargs (const char *format, ...)
   3983 {
   3984   va_list args;
   3985   va_start (args, format);
   3986   va_list args_copy;
   3987   va_copy (args_copy, args);
   3988 
   3989   const char *str;
   3990   int number;
   3991   float fnumber;
   3992 
   3993   while (*format)
   3994     {
   3995       switch (*format++)
   3996 	{
   3997 	case 's': // string
   3998 	  str = va_arg (args_copy, const char *);
   3999 	  break;
   4000 	case 'd': // int
   4001 	  number = va_arg (args_copy, int);
   4002 	  break;
   4003 	case 'f': // float
   4004 	  fnumber = va_arg (args_copy, double);
   4005 	  break;
   4006 	default:
   4007 	  break;
   4008 	}
   4009     }
   4010   va_end (args_copy);
   4011   va_end (args);
   4012 }
   4013 
   4014 int
   4015 main ()
   4016 {
   4017 
   4018   // Check bool.
   4019   _Bool success = false;
   4020 
   4021   // Check restrict.
   4022   if (test_restrict ("String literal") == 0)
   4023     success = true;
   4024   char *restrict newvar = "Another string";
   4025 
   4026   // Check varargs.
   4027   test_varargs ("s, d' f .", "string", 65, 34.234);
   4028   test_varargs_macros ();
   4029 
   4030   // Check flexible array members.
   4031   struct incomplete_array *ia =
   4032     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4033   ia->datasize = 10;
   4034   for (int i = 0; i < ia->datasize; ++i)
   4035     ia->data[i] = i * 1.234;
   4036 
   4037   // Check named initializers.
   4038   struct named_init ni = {
   4039     .number = 34,
   4040     .name = L"Test wide string",
   4041     .average = 543.34343,
   4042   };
   4043 
   4044   ni.number = 58;
   4045 
   4046   int dynamic_array[ni.number];
   4047   dynamic_array[ni.number - 1] = 543;
   4048 
   4049   // work around unused variable warnings
   4050   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4051 	  || dynamic_array[ni.number - 1] != 543);
   4052 
   4053   ;
   4054   return 0;
   4055 }
   4056 _ACEOF
   4057 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4058 do
   4059   CC="$ac_save_CC $ac_arg"
   4060   if ac_fn_c_try_compile "$LINENO"; then :
   4061   ac_cv_prog_cc_c99=$ac_arg
   4062 fi
   4063 rm -f core conftest.err conftest.$ac_objext
   4064   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4065 done
   4066 rm -f conftest.$ac_ext
   4067 CC=$ac_save_CC
   4068 
   4069 fi
   4070 # AC_CACHE_VAL
   4071 case "x$ac_cv_prog_cc_c99" in
   4072   x)
   4073     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4074 $as_echo "none needed" >&6; } ;;
   4075   xno)
   4076     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4077 $as_echo "unsupported" >&6; } ;;
   4078   *)
   4079     CC="$CC $ac_cv_prog_cc_c99"
   4080     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4081 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4082 esac
   4083 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4084 
   4085 fi
   4086 
   4087 
   4088 
   4089 ac_ext=c
   4090 ac_cpp='$CPP $CPPFLAGS'
   4091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4095 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4096 # On Suns, sometimes $CPP names a directory.
   4097 if test -n "$CPP" && test -d "$CPP"; then
   4098   CPP=
   4099 fi
   4100 if test -z "$CPP"; then
   4101   if ${ac_cv_prog_CPP+:} false; then :
   4102   $as_echo_n "(cached) " >&6
   4103 else
   4104       # Double quotes because CPP needs to be expanded
   4105     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4106     do
   4107       ac_preproc_ok=false
   4108 for ac_c_preproc_warn_flag in '' yes
   4109 do
   4110   # Use a header file that comes with gcc, so configuring glibc
   4111   # with a fresh cross-compiler works.
   4112   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4113   # <limits.h> exists even on freestanding compilers.
   4114   # On the NeXT, cc -E runs the code through the compiler's parser,
   4115   # not just through cpp. "Syntax error" is here to catch this case.
   4116   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4117 /* end confdefs.h.  */
   4118 #ifdef __STDC__
   4119 # include <limits.h>
   4120 #else
   4121 # include <assert.h>
   4122 #endif
   4123 		     Syntax error
   4124 _ACEOF
   4125 if ac_fn_c_try_cpp "$LINENO"; then :
   4126 
   4127 else
   4128   # Broken: fails on valid input.
   4129 continue
   4130 fi
   4131 rm -f conftest.err conftest.i conftest.$ac_ext
   4132 
   4133   # OK, works on sane cases.  Now check whether nonexistent headers
   4134   # can be detected and how.
   4135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4136 /* end confdefs.h.  */
   4137 #include <ac_nonexistent.h>
   4138 _ACEOF
   4139 if ac_fn_c_try_cpp "$LINENO"; then :
   4140   # Broken: success on invalid input.
   4141 continue
   4142 else
   4143   # Passes both tests.
   4144 ac_preproc_ok=:
   4145 break
   4146 fi
   4147 rm -f conftest.err conftest.i conftest.$ac_ext
   4148 
   4149 done
   4150 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4151 rm -f conftest.i conftest.err conftest.$ac_ext
   4152 if $ac_preproc_ok; then :
   4153   break
   4154 fi
   4155 
   4156     done
   4157     ac_cv_prog_CPP=$CPP
   4158 
   4159 fi
   4160   CPP=$ac_cv_prog_CPP
   4161 else
   4162   ac_cv_prog_CPP=$CPP
   4163 fi
   4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4165 $as_echo "$CPP" >&6; }
   4166 ac_preproc_ok=false
   4167 for ac_c_preproc_warn_flag in '' yes
   4168 do
   4169   # Use a header file that comes with gcc, so configuring glibc
   4170   # with a fresh cross-compiler works.
   4171   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4172   # <limits.h> exists even on freestanding compilers.
   4173   # On the NeXT, cc -E runs the code through the compiler's parser,
   4174   # not just through cpp. "Syntax error" is here to catch this case.
   4175   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4176 /* end confdefs.h.  */
   4177 #ifdef __STDC__
   4178 # include <limits.h>
   4179 #else
   4180 # include <assert.h>
   4181 #endif
   4182 		     Syntax error
   4183 _ACEOF
   4184 if ac_fn_c_try_cpp "$LINENO"; then :
   4185 
   4186 else
   4187   # Broken: fails on valid input.
   4188 continue
   4189 fi
   4190 rm -f conftest.err conftest.i conftest.$ac_ext
   4191 
   4192   # OK, works on sane cases.  Now check whether nonexistent headers
   4193   # can be detected and how.
   4194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4195 /* end confdefs.h.  */
   4196 #include <ac_nonexistent.h>
   4197 _ACEOF
   4198 if ac_fn_c_try_cpp "$LINENO"; then :
   4199   # Broken: success on invalid input.
   4200 continue
   4201 else
   4202   # Passes both tests.
   4203 ac_preproc_ok=:
   4204 break
   4205 fi
   4206 rm -f conftest.err conftest.i conftest.$ac_ext
   4207 
   4208 done
   4209 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4210 rm -f conftest.i conftest.err conftest.$ac_ext
   4211 if $ac_preproc_ok; then :
   4212 
   4213 else
   4214   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4216 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4217 See \`config.log' for more details" "$LINENO" 5; }
   4218 fi
   4219 
   4220 ac_ext=c
   4221 ac_cpp='$CPP $CPPFLAGS'
   4222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4225 
   4226 
   4227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4228 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4229 if ${ac_cv_path_GREP+:} false; then :
   4230   $as_echo_n "(cached) " >&6
   4231 else
   4232   if test -z "$GREP"; then
   4233   ac_path_GREP_found=false
   4234   # Loop through the user's path and test for each of PROGNAME-LIST
   4235   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4237 do
   4238   IFS=$as_save_IFS
   4239   test -z "$as_dir" && as_dir=.
   4240     for ac_prog in grep ggrep; do
   4241     for ac_exec_ext in '' $ac_executable_extensions; do
   4242       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4243       as_fn_executable_p "$ac_path_GREP" || continue
   4244 # Check for GNU ac_path_GREP and select it if it is found.
   4245   # Check for GNU $ac_path_GREP
   4246 case `"$ac_path_GREP" --version 2>&1` in
   4247 *GNU*)
   4248   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4249 *)
   4250   ac_count=0
   4251   $as_echo_n 0123456789 >"conftest.in"
   4252   while :
   4253   do
   4254     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4255     mv "conftest.tmp" "conftest.in"
   4256     cp "conftest.in" "conftest.nl"
   4257     $as_echo 'GREP' >> "conftest.nl"
   4258     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4259     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4260     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4261     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4262       # Best one so far, save it but keep looking for a better one
   4263       ac_cv_path_GREP="$ac_path_GREP"
   4264       ac_path_GREP_max=$ac_count
   4265     fi
   4266     # 10*(2^10) chars as input seems more than enough
   4267     test $ac_count -gt 10 && break
   4268   done
   4269   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4270 esac
   4271 
   4272       $ac_path_GREP_found && break 3
   4273     done
   4274   done
   4275   done
   4276 IFS=$as_save_IFS
   4277   if test -z "$ac_cv_path_GREP"; then
   4278     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4279   fi
   4280 else
   4281   ac_cv_path_GREP=$GREP
   4282 fi
   4283 
   4284 fi
   4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4286 $as_echo "$ac_cv_path_GREP" >&6; }
   4287  GREP="$ac_cv_path_GREP"
   4288 
   4289 
   4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4291 $as_echo_n "checking for egrep... " >&6; }
   4292 if ${ac_cv_path_EGREP+:} false; then :
   4293   $as_echo_n "(cached) " >&6
   4294 else
   4295   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4296    then ac_cv_path_EGREP="$GREP -E"
   4297    else
   4298      if test -z "$EGREP"; then
   4299   ac_path_EGREP_found=false
   4300   # Loop through the user's path and test for each of PROGNAME-LIST
   4301   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4302 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4303 do
   4304   IFS=$as_save_IFS
   4305   test -z "$as_dir" && as_dir=.
   4306     for ac_prog in egrep; do
   4307     for ac_exec_ext in '' $ac_executable_extensions; do
   4308       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4309       as_fn_executable_p "$ac_path_EGREP" || continue
   4310 # Check for GNU ac_path_EGREP and select it if it is found.
   4311   # Check for GNU $ac_path_EGREP
   4312 case `"$ac_path_EGREP" --version 2>&1` in
   4313 *GNU*)
   4314   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4315 *)
   4316   ac_count=0
   4317   $as_echo_n 0123456789 >"conftest.in"
   4318   while :
   4319   do
   4320     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4321     mv "conftest.tmp" "conftest.in"
   4322     cp "conftest.in" "conftest.nl"
   4323     $as_echo 'EGREP' >> "conftest.nl"
   4324     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4325     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4326     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4327     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4328       # Best one so far, save it but keep looking for a better one
   4329       ac_cv_path_EGREP="$ac_path_EGREP"
   4330       ac_path_EGREP_max=$ac_count
   4331     fi
   4332     # 10*(2^10) chars as input seems more than enough
   4333     test $ac_count -gt 10 && break
   4334   done
   4335   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4336 esac
   4337 
   4338       $ac_path_EGREP_found && break 3
   4339     done
   4340   done
   4341   done
   4342 IFS=$as_save_IFS
   4343   if test -z "$ac_cv_path_EGREP"; then
   4344     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4345   fi
   4346 else
   4347   ac_cv_path_EGREP=$EGREP
   4348 fi
   4349 
   4350    fi
   4351 fi
   4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4353 $as_echo "$ac_cv_path_EGREP" >&6; }
   4354  EGREP="$ac_cv_path_EGREP"
   4355 
   4356 
   4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4358 $as_echo_n "checking for ANSI C header files... " >&6; }
   4359 if ${ac_cv_header_stdc+:} false; then :
   4360   $as_echo_n "(cached) " >&6
   4361 else
   4362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4363 /* end confdefs.h.  */
   4364 #include <stdlib.h>
   4365 #include <stdarg.h>
   4366 #include <string.h>
   4367 #include <float.h>
   4368 
   4369 int
   4370 main ()
   4371 {
   4372 
   4373   ;
   4374   return 0;
   4375 }
   4376 _ACEOF
   4377 if ac_fn_c_try_compile "$LINENO"; then :
   4378   ac_cv_header_stdc=yes
   4379 else
   4380   ac_cv_header_stdc=no
   4381 fi
   4382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4383 
   4384 if test $ac_cv_header_stdc = yes; then
   4385   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4387 /* end confdefs.h.  */
   4388 #include <string.h>
   4389 
   4390 _ACEOF
   4391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4392   $EGREP "memchr" >/dev/null 2>&1; then :
   4393 
   4394 else
   4395   ac_cv_header_stdc=no
   4396 fi
   4397 rm -f conftest*
   4398 
   4399 fi
   4400 
   4401 if test $ac_cv_header_stdc = yes; then
   4402   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4404 /* end confdefs.h.  */
   4405 #include <stdlib.h>
   4406 
   4407 _ACEOF
   4408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4409   $EGREP "free" >/dev/null 2>&1; then :
   4410 
   4411 else
   4412   ac_cv_header_stdc=no
   4413 fi
   4414 rm -f conftest*
   4415 
   4416 fi
   4417 
   4418 if test $ac_cv_header_stdc = yes; then
   4419   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4420   if test "$cross_compiling" = yes; then :
   4421   :
   4422 else
   4423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4424 /* end confdefs.h.  */
   4425 #include <ctype.h>
   4426 #include <stdlib.h>
   4427 #if ((' ' & 0x0FF) == 0x020)
   4428 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4429 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4430 #else
   4431 # define ISLOWER(c) \
   4432 		   (('a' <= (c) && (c) <= 'i') \
   4433 		     || ('j' <= (c) && (c) <= 'r') \
   4434 		     || ('s' <= (c) && (c) <= 'z'))
   4435 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4436 #endif
   4437 
   4438 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4439 int
   4440 main ()
   4441 {
   4442   int i;
   4443   for (i = 0; i < 256; i++)
   4444     if (XOR (islower (i), ISLOWER (i))
   4445 	|| toupper (i) != TOUPPER (i))
   4446       return 2;
   4447   return 0;
   4448 }
   4449 _ACEOF
   4450 if ac_fn_c_try_run "$LINENO"; then :
   4451 
   4452 else
   4453   ac_cv_header_stdc=no
   4454 fi
   4455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4456   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4457 fi
   4458 
   4459 fi
   4460 fi
   4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4462 $as_echo "$ac_cv_header_stdc" >&6; }
   4463 if test $ac_cv_header_stdc = yes; then
   4464 
   4465 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4466 
   4467 fi
   4468 
   4469 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4470 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4471 		  inttypes.h stdint.h unistd.h
   4472 do :
   4473   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4474 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4475 "
   4476 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4477   cat >>confdefs.h <<_ACEOF
   4478 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4479 _ACEOF
   4480 
   4481 fi
   4482 
   4483 done
   4484 
   4485 
   4486 
   4487 
   4488 
   4489 
   4490 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4491 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4492   CLANGCC="yes"
   4493 else
   4494   CLANGCC="no"
   4495 fi
   4496 
   4497 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4498 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4499   INTELCC="yes"
   4500 else
   4501   INTELCC="no"
   4502 fi
   4503 
   4504 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4505 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4506   SUNCC="yes"
   4507 else
   4508   SUNCC="no"
   4509 fi
   4510 
   4511 
   4512 
   4513 
   4514 
   4515 
   4516 
   4517 
   4518 
   4519 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4520 	if test -n "$ac_tool_prefix"; then
   4521   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4522 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4524 $as_echo_n "checking for $ac_word... " >&6; }
   4525 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4526   $as_echo_n "(cached) " >&6
   4527 else
   4528   case $PKG_CONFIG in
   4529   [\\/]* | ?:[\\/]*)
   4530   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4531   ;;
   4532   *)
   4533   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4534 for as_dir in $PATH
   4535 do
   4536   IFS=$as_save_IFS
   4537   test -z "$as_dir" && as_dir=.
   4538     for ac_exec_ext in '' $ac_executable_extensions; do
   4539   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4540     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4542     break 2
   4543   fi
   4544 done
   4545   done
   4546 IFS=$as_save_IFS
   4547 
   4548   ;;
   4549 esac
   4550 fi
   4551 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4552 if test -n "$PKG_CONFIG"; then
   4553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4554 $as_echo "$PKG_CONFIG" >&6; }
   4555 else
   4556   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4557 $as_echo "no" >&6; }
   4558 fi
   4559 
   4560 
   4561 fi
   4562 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4563   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4564   # Extract the first word of "pkg-config", so it can be a program name with args.
   4565 set dummy pkg-config; ac_word=$2
   4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4567 $as_echo_n "checking for $ac_word... " >&6; }
   4568 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4569   $as_echo_n "(cached) " >&6
   4570 else
   4571   case $ac_pt_PKG_CONFIG in
   4572   [\\/]* | ?:[\\/]*)
   4573   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4574   ;;
   4575   *)
   4576   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4577 for as_dir in $PATH
   4578 do
   4579   IFS=$as_save_IFS
   4580   test -z "$as_dir" && as_dir=.
   4581     for ac_exec_ext in '' $ac_executable_extensions; do
   4582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4583     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4585     break 2
   4586   fi
   4587 done
   4588   done
   4589 IFS=$as_save_IFS
   4590 
   4591   ;;
   4592 esac
   4593 fi
   4594 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4595 if test -n "$ac_pt_PKG_CONFIG"; then
   4596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4597 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4598 else
   4599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4600 $as_echo "no" >&6; }
   4601 fi
   4602 
   4603   if test "x$ac_pt_PKG_CONFIG" = x; then
   4604     PKG_CONFIG=""
   4605   else
   4606     case $cross_compiling:$ac_tool_warned in
   4607 yes:)
   4608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4609 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4610 ac_tool_warned=yes ;;
   4611 esac
   4612     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4613   fi
   4614 else
   4615   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4616 fi
   4617 
   4618 fi
   4619 if test -n "$PKG_CONFIG"; then
   4620 	_pkg_min_version=0.9.0
   4621 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4622 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4623 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4625 $as_echo "yes" >&6; }
   4626 	else
   4627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4628 $as_echo "no" >&6; }
   4629 		PKG_CONFIG=""
   4630 	fi
   4631 fi
   4632 # Make sure we can run config.sub.
   4633 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4634   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4635 
   4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4637 $as_echo_n "checking build system type... " >&6; }
   4638 if ${ac_cv_build+:} false; then :
   4639   $as_echo_n "(cached) " >&6
   4640 else
   4641   ac_build_alias=$build_alias
   4642 test "x$ac_build_alias" = x &&
   4643   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4644 test "x$ac_build_alias" = x &&
   4645   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4646 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4647   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4648 
   4649 fi
   4650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4651 $as_echo "$ac_cv_build" >&6; }
   4652 case $ac_cv_build in
   4653 *-*-*) ;;
   4654 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4655 esac
   4656 build=$ac_cv_build
   4657 ac_save_IFS=$IFS; IFS='-'
   4658 set x $ac_cv_build
   4659 shift
   4660 build_cpu=$1
   4661 build_vendor=$2
   4662 shift; shift
   4663 # Remember, the first character of IFS is used to create $*,
   4664 # except with old shells:
   4665 build_os=$*
   4666 IFS=$ac_save_IFS
   4667 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4668 
   4669 
   4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4671 $as_echo_n "checking host system type... " >&6; }
   4672 if ${ac_cv_host+:} false; then :
   4673   $as_echo_n "(cached) " >&6
   4674 else
   4675   if test "x$host_alias" = x; then
   4676   ac_cv_host=$ac_cv_build
   4677 else
   4678   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4679     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4680 fi
   4681 
   4682 fi
   4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4684 $as_echo "$ac_cv_host" >&6; }
   4685 case $ac_cv_host in
   4686 *-*-*) ;;
   4687 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4688 esac
   4689 host=$ac_cv_host
   4690 ac_save_IFS=$IFS; IFS='-'
   4691 set x $ac_cv_host
   4692 shift
   4693 host_cpu=$1
   4694 host_vendor=$2
   4695 shift; shift
   4696 # Remember, the first character of IFS is used to create $*,
   4697 # except with old shells:
   4698 host_os=$*
   4699 IFS=$ac_save_IFS
   4700 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4701 
   4702 
   4703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4704 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4705 if ${ac_cv_path_SED+:} false; then :
   4706   $as_echo_n "(cached) " >&6
   4707 else
   4708             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4709      for ac_i in 1 2 3 4 5 6 7; do
   4710        ac_script="$ac_script$as_nl$ac_script"
   4711      done
   4712      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4713      { ac_script=; unset ac_script;}
   4714      if test -z "$SED"; then
   4715   ac_path_SED_found=false
   4716   # Loop through the user's path and test for each of PROGNAME-LIST
   4717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4718 for as_dir in $PATH
   4719 do
   4720   IFS=$as_save_IFS
   4721   test -z "$as_dir" && as_dir=.
   4722     for ac_prog in sed gsed; do
   4723     for ac_exec_ext in '' $ac_executable_extensions; do
   4724       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4725       as_fn_executable_p "$ac_path_SED" || continue
   4726 # Check for GNU ac_path_SED and select it if it is found.
   4727   # Check for GNU $ac_path_SED
   4728 case `"$ac_path_SED" --version 2>&1` in
   4729 *GNU*)
   4730   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4731 *)
   4732   ac_count=0
   4733   $as_echo_n 0123456789 >"conftest.in"
   4734   while :
   4735   do
   4736     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4737     mv "conftest.tmp" "conftest.in"
   4738     cp "conftest.in" "conftest.nl"
   4739     $as_echo '' >> "conftest.nl"
   4740     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4741     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4742     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4743     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4744       # Best one so far, save it but keep looking for a better one
   4745       ac_cv_path_SED="$ac_path_SED"
   4746       ac_path_SED_max=$ac_count
   4747     fi
   4748     # 10*(2^10) chars as input seems more than enough
   4749     test $ac_count -gt 10 && break
   4750   done
   4751   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4752 esac
   4753 
   4754       $ac_path_SED_found && break 3
   4755     done
   4756   done
   4757   done
   4758 IFS=$as_save_IFS
   4759   if test -z "$ac_cv_path_SED"; then
   4760     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4761   fi
   4762 else
   4763   ac_cv_path_SED=$SED
   4764 fi
   4765 
   4766 fi
   4767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4768 $as_echo "$ac_cv_path_SED" >&6; }
   4769  SED="$ac_cv_path_SED"
   4770   rm -f conftest.sed
   4771 
   4772 
   4773 
   4774 
   4775 
   4776 
   4777 # Check whether --enable-selective-werror was given.
   4778 if test "${enable_selective_werror+set}" = set; then :
   4779   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4780 else
   4781   SELECTIVE_WERROR=yes
   4782 fi
   4783 
   4784 
   4785 
   4786 
   4787 
   4788 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4789 if test "x$SUNCC" = "xyes"; then
   4790     BASE_CFLAGS="-v"
   4791 else
   4792     BASE_CFLAGS=""
   4793 fi
   4794 
   4795 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4796 
   4797 
   4798 
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 xorg_testset_save_CFLAGS="$CFLAGS"
   4810 
   4811 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4812 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4813 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4814 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4815 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4816   $as_echo_n "(cached) " >&6
   4817 else
   4818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4819 /* end confdefs.h.  */
   4820 int i;
   4821 _ACEOF
   4822 if ac_fn_c_try_compile "$LINENO"; then :
   4823   xorg_cv_cc_flag_unknown_warning_option=yes
   4824 else
   4825   xorg_cv_cc_flag_unknown_warning_option=no
   4826 fi
   4827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4828 fi
   4829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4830 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4831 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4832 	CFLAGS="$xorg_testset_save_CFLAGS"
   4833 fi
   4834 
   4835 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4836 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4837 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4838 	fi
   4839 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4840 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4841 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4842 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4843   $as_echo_n "(cached) " >&6
   4844 else
   4845   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4846 /* end confdefs.h.  */
   4847 int i;
   4848 _ACEOF
   4849 if ac_fn_c_try_compile "$LINENO"; then :
   4850   xorg_cv_cc_flag_unused_command_line_argument=yes
   4851 else
   4852   xorg_cv_cc_flag_unused_command_line_argument=no
   4853 fi
   4854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4855 fi
   4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4857 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4858 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4859 	CFLAGS="$xorg_testset_save_CFLAGS"
   4860 fi
   4861 
   4862 found="no"
   4863 
   4864 	if test $found = "no" ; then
   4865 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4866 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4867 		fi
   4868 
   4869 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4870 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4871 		fi
   4872 
   4873 		CFLAGS="$CFLAGS -Wall"
   4874 
   4875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4876 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4877 		cacheid=xorg_cv_cc_flag__Wall
   4878 		if eval \${$cacheid+:} false; then :
   4879   $as_echo_n "(cached) " >&6
   4880 else
   4881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4882 /* end confdefs.h.  */
   4883 int i;
   4884 int
   4885 main ()
   4886 {
   4887 
   4888   ;
   4889   return 0;
   4890 }
   4891 _ACEOF
   4892 if ac_fn_c_try_link "$LINENO"; then :
   4893   eval $cacheid=yes
   4894 else
   4895   eval $cacheid=no
   4896 fi
   4897 rm -f core conftest.err conftest.$ac_objext \
   4898     conftest$ac_exeext conftest.$ac_ext
   4899 fi
   4900 
   4901 
   4902 		CFLAGS="$xorg_testset_save_CFLAGS"
   4903 
   4904 		eval supported=\$$cacheid
   4905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4906 $as_echo "$supported" >&6; }
   4907 		if test "$supported" = "yes" ; then
   4908 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4909 			found="yes"
   4910 		fi
   4911 	fi
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 
   4920 
   4921 
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 xorg_testset_save_CFLAGS="$CFLAGS"
   4928 
   4929 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4930 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4931 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4932 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4933 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4934   $as_echo_n "(cached) " >&6
   4935 else
   4936   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4937 /* end confdefs.h.  */
   4938 int i;
   4939 _ACEOF
   4940 if ac_fn_c_try_compile "$LINENO"; then :
   4941   xorg_cv_cc_flag_unknown_warning_option=yes
   4942 else
   4943   xorg_cv_cc_flag_unknown_warning_option=no
   4944 fi
   4945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4946 fi
   4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4948 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4949 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4950 	CFLAGS="$xorg_testset_save_CFLAGS"
   4951 fi
   4952 
   4953 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4954 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4955 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4956 	fi
   4957 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4958 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4959 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4960 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4961   $as_echo_n "(cached) " >&6
   4962 else
   4963   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4964 /* end confdefs.h.  */
   4965 int i;
   4966 _ACEOF
   4967 if ac_fn_c_try_compile "$LINENO"; then :
   4968   xorg_cv_cc_flag_unused_command_line_argument=yes
   4969 else
   4970   xorg_cv_cc_flag_unused_command_line_argument=no
   4971 fi
   4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4973 fi
   4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4975 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4976 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4977 	CFLAGS="$xorg_testset_save_CFLAGS"
   4978 fi
   4979 
   4980 found="no"
   4981 
   4982 	if test $found = "no" ; then
   4983 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4984 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4985 		fi
   4986 
   4987 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4988 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4989 		fi
   4990 
   4991 		CFLAGS="$CFLAGS -Wpointer-arith"
   4992 
   4993 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4994 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4995 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4996 		if eval \${$cacheid+:} false; then :
   4997   $as_echo_n "(cached) " >&6
   4998 else
   4999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5000 /* end confdefs.h.  */
   5001 int i;
   5002 int
   5003 main ()
   5004 {
   5005 
   5006   ;
   5007   return 0;
   5008 }
   5009 _ACEOF
   5010 if ac_fn_c_try_link "$LINENO"; then :
   5011   eval $cacheid=yes
   5012 else
   5013   eval $cacheid=no
   5014 fi
   5015 rm -f core conftest.err conftest.$ac_objext \
   5016     conftest$ac_exeext conftest.$ac_ext
   5017 fi
   5018 
   5019 
   5020 		CFLAGS="$xorg_testset_save_CFLAGS"
   5021 
   5022 		eval supported=\$$cacheid
   5023 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5024 $as_echo "$supported" >&6; }
   5025 		if test "$supported" = "yes" ; then
   5026 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5027 			found="yes"
   5028 		fi
   5029 	fi
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 xorg_testset_save_CFLAGS="$CFLAGS"
   5046 
   5047 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5048 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5049 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5050 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5051 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5052   $as_echo_n "(cached) " >&6
   5053 else
   5054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5055 /* end confdefs.h.  */
   5056 int i;
   5057 _ACEOF
   5058 if ac_fn_c_try_compile "$LINENO"; then :
   5059   xorg_cv_cc_flag_unknown_warning_option=yes
   5060 else
   5061   xorg_cv_cc_flag_unknown_warning_option=no
   5062 fi
   5063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5064 fi
   5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5066 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5067 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5068 	CFLAGS="$xorg_testset_save_CFLAGS"
   5069 fi
   5070 
   5071 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5072 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5073 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5074 	fi
   5075 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5076 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5077 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5078 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5079   $as_echo_n "(cached) " >&6
   5080 else
   5081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5082 /* end confdefs.h.  */
   5083 int i;
   5084 _ACEOF
   5085 if ac_fn_c_try_compile "$LINENO"; then :
   5086   xorg_cv_cc_flag_unused_command_line_argument=yes
   5087 else
   5088   xorg_cv_cc_flag_unused_command_line_argument=no
   5089 fi
   5090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5091 fi
   5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5093 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5094 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5095 	CFLAGS="$xorg_testset_save_CFLAGS"
   5096 fi
   5097 
   5098 found="no"
   5099 
   5100 	if test $found = "no" ; then
   5101 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5102 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5103 		fi
   5104 
   5105 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5106 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5107 		fi
   5108 
   5109 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5110 
   5111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5112 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5113 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5114 		if eval \${$cacheid+:} false; then :
   5115   $as_echo_n "(cached) " >&6
   5116 else
   5117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5118 /* end confdefs.h.  */
   5119 int i;
   5120 int
   5121 main ()
   5122 {
   5123 
   5124   ;
   5125   return 0;
   5126 }
   5127 _ACEOF
   5128 if ac_fn_c_try_link "$LINENO"; then :
   5129   eval $cacheid=yes
   5130 else
   5131   eval $cacheid=no
   5132 fi
   5133 rm -f core conftest.err conftest.$ac_objext \
   5134     conftest$ac_exeext conftest.$ac_ext
   5135 fi
   5136 
   5137 
   5138 		CFLAGS="$xorg_testset_save_CFLAGS"
   5139 
   5140 		eval supported=\$$cacheid
   5141 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5142 $as_echo "$supported" >&6; }
   5143 		if test "$supported" = "yes" ; then
   5144 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5145 			found="yes"
   5146 		fi
   5147 	fi
   5148 
   5149 
   5150 
   5151 
   5152 
   5153 
   5154 
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 xorg_testset_save_CFLAGS="$CFLAGS"
   5164 
   5165 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5166 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5167 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5168 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5169 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5170   $as_echo_n "(cached) " >&6
   5171 else
   5172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5173 /* end confdefs.h.  */
   5174 int i;
   5175 _ACEOF
   5176 if ac_fn_c_try_compile "$LINENO"; then :
   5177   xorg_cv_cc_flag_unknown_warning_option=yes
   5178 else
   5179   xorg_cv_cc_flag_unknown_warning_option=no
   5180 fi
   5181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5182 fi
   5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5184 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5185 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5186 	CFLAGS="$xorg_testset_save_CFLAGS"
   5187 fi
   5188 
   5189 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5190 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5191 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5192 	fi
   5193 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5194 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5195 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5196 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5197   $as_echo_n "(cached) " >&6
   5198 else
   5199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5200 /* end confdefs.h.  */
   5201 int i;
   5202 _ACEOF
   5203 if ac_fn_c_try_compile "$LINENO"; then :
   5204   xorg_cv_cc_flag_unused_command_line_argument=yes
   5205 else
   5206   xorg_cv_cc_flag_unused_command_line_argument=no
   5207 fi
   5208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5209 fi
   5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5211 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5212 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5213 	CFLAGS="$xorg_testset_save_CFLAGS"
   5214 fi
   5215 
   5216 found="no"
   5217 
   5218 	if test $found = "no" ; then
   5219 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5220 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5221 		fi
   5222 
   5223 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5224 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5225 		fi
   5226 
   5227 		CFLAGS="$CFLAGS -Wformat=2"
   5228 
   5229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5230 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5231 		cacheid=xorg_cv_cc_flag__Wformat_2
   5232 		if eval \${$cacheid+:} false; then :
   5233   $as_echo_n "(cached) " >&6
   5234 else
   5235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5236 /* end confdefs.h.  */
   5237 int i;
   5238 int
   5239 main ()
   5240 {
   5241 
   5242   ;
   5243   return 0;
   5244 }
   5245 _ACEOF
   5246 if ac_fn_c_try_link "$LINENO"; then :
   5247   eval $cacheid=yes
   5248 else
   5249   eval $cacheid=no
   5250 fi
   5251 rm -f core conftest.err conftest.$ac_objext \
   5252     conftest$ac_exeext conftest.$ac_ext
   5253 fi
   5254 
   5255 
   5256 		CFLAGS="$xorg_testset_save_CFLAGS"
   5257 
   5258 		eval supported=\$$cacheid
   5259 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5260 $as_echo "$supported" >&6; }
   5261 		if test "$supported" = "yes" ; then
   5262 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5263 			found="yes"
   5264 		fi
   5265 	fi
   5266 
   5267 	if test $found = "no" ; then
   5268 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5269 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5270 		fi
   5271 
   5272 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5273 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5274 		fi
   5275 
   5276 		CFLAGS="$CFLAGS -Wformat"
   5277 
   5278 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5279 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5280 		cacheid=xorg_cv_cc_flag__Wformat
   5281 		if eval \${$cacheid+:} false; then :
   5282   $as_echo_n "(cached) " >&6
   5283 else
   5284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5285 /* end confdefs.h.  */
   5286 int i;
   5287 int
   5288 main ()
   5289 {
   5290 
   5291   ;
   5292   return 0;
   5293 }
   5294 _ACEOF
   5295 if ac_fn_c_try_link "$LINENO"; then :
   5296   eval $cacheid=yes
   5297 else
   5298   eval $cacheid=no
   5299 fi
   5300 rm -f core conftest.err conftest.$ac_objext \
   5301     conftest$ac_exeext conftest.$ac_ext
   5302 fi
   5303 
   5304 
   5305 		CFLAGS="$xorg_testset_save_CFLAGS"
   5306 
   5307 		eval supported=\$$cacheid
   5308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5309 $as_echo "$supported" >&6; }
   5310 		if test "$supported" = "yes" ; then
   5311 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5312 			found="yes"
   5313 		fi
   5314 	fi
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 xorg_testset_save_CFLAGS="$CFLAGS"
   5333 
   5334 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5335 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5336 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5337 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5338 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5339   $as_echo_n "(cached) " >&6
   5340 else
   5341   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5342 /* end confdefs.h.  */
   5343 int i;
   5344 _ACEOF
   5345 if ac_fn_c_try_compile "$LINENO"; then :
   5346   xorg_cv_cc_flag_unknown_warning_option=yes
   5347 else
   5348   xorg_cv_cc_flag_unknown_warning_option=no
   5349 fi
   5350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5351 fi
   5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5353 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5354 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5355 	CFLAGS="$xorg_testset_save_CFLAGS"
   5356 fi
   5357 
   5358 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5359 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5360 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5361 	fi
   5362 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5364 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5365 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5366   $as_echo_n "(cached) " >&6
   5367 else
   5368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5369 /* end confdefs.h.  */
   5370 int i;
   5371 _ACEOF
   5372 if ac_fn_c_try_compile "$LINENO"; then :
   5373   xorg_cv_cc_flag_unused_command_line_argument=yes
   5374 else
   5375   xorg_cv_cc_flag_unused_command_line_argument=no
   5376 fi
   5377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5378 fi
   5379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5380 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5381 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5382 	CFLAGS="$xorg_testset_save_CFLAGS"
   5383 fi
   5384 
   5385 found="no"
   5386 
   5387 	if test $found = "no" ; then
   5388 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5389 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5390 		fi
   5391 
   5392 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5393 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5394 		fi
   5395 
   5396 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5397 
   5398 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5399 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5400 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5401 		if eval \${$cacheid+:} false; then :
   5402   $as_echo_n "(cached) " >&6
   5403 else
   5404   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5405 /* end confdefs.h.  */
   5406 int i;
   5407 int
   5408 main ()
   5409 {
   5410 
   5411   ;
   5412   return 0;
   5413 }
   5414 _ACEOF
   5415 if ac_fn_c_try_link "$LINENO"; then :
   5416   eval $cacheid=yes
   5417 else
   5418   eval $cacheid=no
   5419 fi
   5420 rm -f core conftest.err conftest.$ac_objext \
   5421     conftest$ac_exeext conftest.$ac_ext
   5422 fi
   5423 
   5424 
   5425 		CFLAGS="$xorg_testset_save_CFLAGS"
   5426 
   5427 		eval supported=\$$cacheid
   5428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5429 $as_echo "$supported" >&6; }
   5430 		if test "$supported" = "yes" ; then
   5431 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5432 			found="yes"
   5433 		fi
   5434 	fi
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 xorg_testset_save_CFLAGS="$CFLAGS"
   5451 
   5452 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5453 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5454 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5455 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5456 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5457   $as_echo_n "(cached) " >&6
   5458 else
   5459   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5460 /* end confdefs.h.  */
   5461 int i;
   5462 _ACEOF
   5463 if ac_fn_c_try_compile "$LINENO"; then :
   5464   xorg_cv_cc_flag_unknown_warning_option=yes
   5465 else
   5466   xorg_cv_cc_flag_unknown_warning_option=no
   5467 fi
   5468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5469 fi
   5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5471 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5472 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5473 	CFLAGS="$xorg_testset_save_CFLAGS"
   5474 fi
   5475 
   5476 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5477 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5478 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5479 	fi
   5480 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5482 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5483 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5484   $as_echo_n "(cached) " >&6
   5485 else
   5486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5487 /* end confdefs.h.  */
   5488 int i;
   5489 _ACEOF
   5490 if ac_fn_c_try_compile "$LINENO"; then :
   5491   xorg_cv_cc_flag_unused_command_line_argument=yes
   5492 else
   5493   xorg_cv_cc_flag_unused_command_line_argument=no
   5494 fi
   5495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5496 fi
   5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5498 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5499 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5500 	CFLAGS="$xorg_testset_save_CFLAGS"
   5501 fi
   5502 
   5503 found="no"
   5504 
   5505 	if test $found = "no" ; then
   5506 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5507 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5508 		fi
   5509 
   5510 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5511 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5512 		fi
   5513 
   5514 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5515 
   5516 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5517 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5518 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5519 		if eval \${$cacheid+:} false; then :
   5520   $as_echo_n "(cached) " >&6
   5521 else
   5522   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5523 /* end confdefs.h.  */
   5524 int i;
   5525 int
   5526 main ()
   5527 {
   5528 
   5529   ;
   5530   return 0;
   5531 }
   5532 _ACEOF
   5533 if ac_fn_c_try_link "$LINENO"; then :
   5534   eval $cacheid=yes
   5535 else
   5536   eval $cacheid=no
   5537 fi
   5538 rm -f core conftest.err conftest.$ac_objext \
   5539     conftest$ac_exeext conftest.$ac_ext
   5540 fi
   5541 
   5542 
   5543 		CFLAGS="$xorg_testset_save_CFLAGS"
   5544 
   5545 		eval supported=\$$cacheid
   5546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5547 $as_echo "$supported" >&6; }
   5548 		if test "$supported" = "yes" ; then
   5549 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5550 			found="yes"
   5551 		fi
   5552 	fi
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 xorg_testset_save_CFLAGS="$CFLAGS"
   5569 
   5570 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5571 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5572 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5573 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5574 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5575   $as_echo_n "(cached) " >&6
   5576 else
   5577   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5578 /* end confdefs.h.  */
   5579 int i;
   5580 _ACEOF
   5581 if ac_fn_c_try_compile "$LINENO"; then :
   5582   xorg_cv_cc_flag_unknown_warning_option=yes
   5583 else
   5584   xorg_cv_cc_flag_unknown_warning_option=no
   5585 fi
   5586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5587 fi
   5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5589 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5590 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5591 	CFLAGS="$xorg_testset_save_CFLAGS"
   5592 fi
   5593 
   5594 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5595 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5596 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5597 	fi
   5598 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5600 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5601 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5602   $as_echo_n "(cached) " >&6
   5603 else
   5604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5605 /* end confdefs.h.  */
   5606 int i;
   5607 _ACEOF
   5608 if ac_fn_c_try_compile "$LINENO"; then :
   5609   xorg_cv_cc_flag_unused_command_line_argument=yes
   5610 else
   5611   xorg_cv_cc_flag_unused_command_line_argument=no
   5612 fi
   5613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5614 fi
   5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5616 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5617 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5618 	CFLAGS="$xorg_testset_save_CFLAGS"
   5619 fi
   5620 
   5621 found="no"
   5622 
   5623 	if test $found = "no" ; then
   5624 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5625 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5626 		fi
   5627 
   5628 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5629 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5630 		fi
   5631 
   5632 		CFLAGS="$CFLAGS -Wnested-externs"
   5633 
   5634 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5635 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5636 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5637 		if eval \${$cacheid+:} false; then :
   5638   $as_echo_n "(cached) " >&6
   5639 else
   5640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5641 /* end confdefs.h.  */
   5642 int i;
   5643 int
   5644 main ()
   5645 {
   5646 
   5647   ;
   5648   return 0;
   5649 }
   5650 _ACEOF
   5651 if ac_fn_c_try_link "$LINENO"; then :
   5652   eval $cacheid=yes
   5653 else
   5654   eval $cacheid=no
   5655 fi
   5656 rm -f core conftest.err conftest.$ac_objext \
   5657     conftest$ac_exeext conftest.$ac_ext
   5658 fi
   5659 
   5660 
   5661 		CFLAGS="$xorg_testset_save_CFLAGS"
   5662 
   5663 		eval supported=\$$cacheid
   5664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5665 $as_echo "$supported" >&6; }
   5666 		if test "$supported" = "yes" ; then
   5667 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5668 			found="yes"
   5669 		fi
   5670 	fi
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 xorg_testset_save_CFLAGS="$CFLAGS"
   5687 
   5688 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5689 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5690 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5691 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5692 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5693   $as_echo_n "(cached) " >&6
   5694 else
   5695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5696 /* end confdefs.h.  */
   5697 int i;
   5698 _ACEOF
   5699 if ac_fn_c_try_compile "$LINENO"; then :
   5700   xorg_cv_cc_flag_unknown_warning_option=yes
   5701 else
   5702   xorg_cv_cc_flag_unknown_warning_option=no
   5703 fi
   5704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5705 fi
   5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5707 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5708 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5709 	CFLAGS="$xorg_testset_save_CFLAGS"
   5710 fi
   5711 
   5712 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5713 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5714 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5715 	fi
   5716 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5717 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5718 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5719 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5720   $as_echo_n "(cached) " >&6
   5721 else
   5722   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5723 /* end confdefs.h.  */
   5724 int i;
   5725 _ACEOF
   5726 if ac_fn_c_try_compile "$LINENO"; then :
   5727   xorg_cv_cc_flag_unused_command_line_argument=yes
   5728 else
   5729   xorg_cv_cc_flag_unused_command_line_argument=no
   5730 fi
   5731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5732 fi
   5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5734 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5735 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5736 	CFLAGS="$xorg_testset_save_CFLAGS"
   5737 fi
   5738 
   5739 found="no"
   5740 
   5741 	if test $found = "no" ; then
   5742 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5743 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5744 		fi
   5745 
   5746 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5747 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5748 		fi
   5749 
   5750 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5751 
   5752 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5753 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5754 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5755 		if eval \${$cacheid+:} false; then :
   5756   $as_echo_n "(cached) " >&6
   5757 else
   5758   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5759 /* end confdefs.h.  */
   5760 int i;
   5761 int
   5762 main ()
   5763 {
   5764 
   5765   ;
   5766   return 0;
   5767 }
   5768 _ACEOF
   5769 if ac_fn_c_try_link "$LINENO"; then :
   5770   eval $cacheid=yes
   5771 else
   5772   eval $cacheid=no
   5773 fi
   5774 rm -f core conftest.err conftest.$ac_objext \
   5775     conftest$ac_exeext conftest.$ac_ext
   5776 fi
   5777 
   5778 
   5779 		CFLAGS="$xorg_testset_save_CFLAGS"
   5780 
   5781 		eval supported=\$$cacheid
   5782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5783 $as_echo "$supported" >&6; }
   5784 		if test "$supported" = "yes" ; then
   5785 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5786 			found="yes"
   5787 		fi
   5788 	fi
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 xorg_testset_save_CFLAGS="$CFLAGS"
   5805 
   5806 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5807 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5808 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5809 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5810 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5811   $as_echo_n "(cached) " >&6
   5812 else
   5813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5814 /* end confdefs.h.  */
   5815 int i;
   5816 _ACEOF
   5817 if ac_fn_c_try_compile "$LINENO"; then :
   5818   xorg_cv_cc_flag_unknown_warning_option=yes
   5819 else
   5820   xorg_cv_cc_flag_unknown_warning_option=no
   5821 fi
   5822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5823 fi
   5824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5825 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5826 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5827 	CFLAGS="$xorg_testset_save_CFLAGS"
   5828 fi
   5829 
   5830 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5831 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5832 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5833 	fi
   5834 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5835 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5836 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5837 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5838   $as_echo_n "(cached) " >&6
   5839 else
   5840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5841 /* end confdefs.h.  */
   5842 int i;
   5843 _ACEOF
   5844 if ac_fn_c_try_compile "$LINENO"; then :
   5845   xorg_cv_cc_flag_unused_command_line_argument=yes
   5846 else
   5847   xorg_cv_cc_flag_unused_command_line_argument=no
   5848 fi
   5849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5850 fi
   5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5852 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5853 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5854 	CFLAGS="$xorg_testset_save_CFLAGS"
   5855 fi
   5856 
   5857 found="no"
   5858 
   5859 	if test $found = "no" ; then
   5860 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5861 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5862 		fi
   5863 
   5864 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5865 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5866 		fi
   5867 
   5868 		CFLAGS="$CFLAGS -Wold-style-definition"
   5869 
   5870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5871 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5872 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5873 		if eval \${$cacheid+:} false; then :
   5874   $as_echo_n "(cached) " >&6
   5875 else
   5876   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5877 /* end confdefs.h.  */
   5878 int i;
   5879 int
   5880 main ()
   5881 {
   5882 
   5883   ;
   5884   return 0;
   5885 }
   5886 _ACEOF
   5887 if ac_fn_c_try_link "$LINENO"; then :
   5888   eval $cacheid=yes
   5889 else
   5890   eval $cacheid=no
   5891 fi
   5892 rm -f core conftest.err conftest.$ac_objext \
   5893     conftest$ac_exeext conftest.$ac_ext
   5894 fi
   5895 
   5896 
   5897 		CFLAGS="$xorg_testset_save_CFLAGS"
   5898 
   5899 		eval supported=\$$cacheid
   5900 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5901 $as_echo "$supported" >&6; }
   5902 		if test "$supported" = "yes" ; then
   5903 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5904 			found="yes"
   5905 		fi
   5906 	fi
   5907 
   5908 	if test $found = "no" ; then
   5909 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5911 		fi
   5912 
   5913 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5915 		fi
   5916 
   5917 		CFLAGS="$CFLAGS -fd"
   5918 
   5919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   5920 $as_echo_n "checking if $CC supports -fd... " >&6; }
   5921 		cacheid=xorg_cv_cc_flag__fd
   5922 		if eval \${$cacheid+:} false; then :
   5923   $as_echo_n "(cached) " >&6
   5924 else
   5925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5926 /* end confdefs.h.  */
   5927 int i;
   5928 int
   5929 main ()
   5930 {
   5931 
   5932   ;
   5933   return 0;
   5934 }
   5935 _ACEOF
   5936 if ac_fn_c_try_link "$LINENO"; then :
   5937   eval $cacheid=yes
   5938 else
   5939   eval $cacheid=no
   5940 fi
   5941 rm -f core conftest.err conftest.$ac_objext \
   5942     conftest$ac_exeext conftest.$ac_ext
   5943 fi
   5944 
   5945 
   5946 		CFLAGS="$xorg_testset_save_CFLAGS"
   5947 
   5948 		eval supported=\$$cacheid
   5949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5950 $as_echo "$supported" >&6; }
   5951 		if test "$supported" = "yes" ; then
   5952 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   5953 			found="yes"
   5954 		fi
   5955 	fi
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 xorg_testset_save_CFLAGS="$CFLAGS"
   5972 
   5973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5975 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5976 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5977 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5978   $as_echo_n "(cached) " >&6
   5979 else
   5980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5981 /* end confdefs.h.  */
   5982 int i;
   5983 _ACEOF
   5984 if ac_fn_c_try_compile "$LINENO"; then :
   5985   xorg_cv_cc_flag_unknown_warning_option=yes
   5986 else
   5987   xorg_cv_cc_flag_unknown_warning_option=no
   5988 fi
   5989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5990 fi
   5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5992 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5994 	CFLAGS="$xorg_testset_save_CFLAGS"
   5995 fi
   5996 
   5997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6000 	fi
   6001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6003 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6004 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6005   $as_echo_n "(cached) " >&6
   6006 else
   6007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6008 /* end confdefs.h.  */
   6009 int i;
   6010 _ACEOF
   6011 if ac_fn_c_try_compile "$LINENO"; then :
   6012   xorg_cv_cc_flag_unused_command_line_argument=yes
   6013 else
   6014   xorg_cv_cc_flag_unused_command_line_argument=no
   6015 fi
   6016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6017 fi
   6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6019 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6020 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6021 	CFLAGS="$xorg_testset_save_CFLAGS"
   6022 fi
   6023 
   6024 found="no"
   6025 
   6026 	if test $found = "no" ; then
   6027 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6028 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6029 		fi
   6030 
   6031 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6032 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6033 		fi
   6034 
   6035 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6036 
   6037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6038 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6039 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6040 		if eval \${$cacheid+:} false; then :
   6041   $as_echo_n "(cached) " >&6
   6042 else
   6043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6044 /* end confdefs.h.  */
   6045 int i;
   6046 int
   6047 main ()
   6048 {
   6049 
   6050   ;
   6051   return 0;
   6052 }
   6053 _ACEOF
   6054 if ac_fn_c_try_link "$LINENO"; then :
   6055   eval $cacheid=yes
   6056 else
   6057   eval $cacheid=no
   6058 fi
   6059 rm -f core conftest.err conftest.$ac_objext \
   6060     conftest$ac_exeext conftest.$ac_ext
   6061 fi
   6062 
   6063 
   6064 		CFLAGS="$xorg_testset_save_CFLAGS"
   6065 
   6066 		eval supported=\$$cacheid
   6067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6068 $as_echo "$supported" >&6; }
   6069 		if test "$supported" = "yes" ; then
   6070 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6071 			found="yes"
   6072 		fi
   6073 	fi
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 # This chunk adds additional warnings that could catch undesired effects.
   6080 
   6081 
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 xorg_testset_save_CFLAGS="$CFLAGS"
   6094 
   6095 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6096 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6097 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6098 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6099 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6100   $as_echo_n "(cached) " >&6
   6101 else
   6102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6103 /* end confdefs.h.  */
   6104 int i;
   6105 _ACEOF
   6106 if ac_fn_c_try_compile "$LINENO"; then :
   6107   xorg_cv_cc_flag_unknown_warning_option=yes
   6108 else
   6109   xorg_cv_cc_flag_unknown_warning_option=no
   6110 fi
   6111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6112 fi
   6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6114 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6115 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6116 	CFLAGS="$xorg_testset_save_CFLAGS"
   6117 fi
   6118 
   6119 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6120 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6121 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6122 	fi
   6123 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6124 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6125 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6126 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6127   $as_echo_n "(cached) " >&6
   6128 else
   6129   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6130 /* end confdefs.h.  */
   6131 int i;
   6132 _ACEOF
   6133 if ac_fn_c_try_compile "$LINENO"; then :
   6134   xorg_cv_cc_flag_unused_command_line_argument=yes
   6135 else
   6136   xorg_cv_cc_flag_unused_command_line_argument=no
   6137 fi
   6138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6139 fi
   6140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6141 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6142 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6143 	CFLAGS="$xorg_testset_save_CFLAGS"
   6144 fi
   6145 
   6146 found="no"
   6147 
   6148 	if test $found = "no" ; then
   6149 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6150 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6151 		fi
   6152 
   6153 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6154 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6155 		fi
   6156 
   6157 		CFLAGS="$CFLAGS -Wunused"
   6158 
   6159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6160 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6161 		cacheid=xorg_cv_cc_flag__Wunused
   6162 		if eval \${$cacheid+:} false; then :
   6163   $as_echo_n "(cached) " >&6
   6164 else
   6165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6166 /* end confdefs.h.  */
   6167 int i;
   6168 int
   6169 main ()
   6170 {
   6171 
   6172   ;
   6173   return 0;
   6174 }
   6175 _ACEOF
   6176 if ac_fn_c_try_link "$LINENO"; then :
   6177   eval $cacheid=yes
   6178 else
   6179   eval $cacheid=no
   6180 fi
   6181 rm -f core conftest.err conftest.$ac_objext \
   6182     conftest$ac_exeext conftest.$ac_ext
   6183 fi
   6184 
   6185 
   6186 		CFLAGS="$xorg_testset_save_CFLAGS"
   6187 
   6188 		eval supported=\$$cacheid
   6189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6190 $as_echo "$supported" >&6; }
   6191 		if test "$supported" = "yes" ; then
   6192 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6193 			found="yes"
   6194 		fi
   6195 	fi
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 xorg_testset_save_CFLAGS="$CFLAGS"
   6212 
   6213 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6214 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6215 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6216 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6217 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6218   $as_echo_n "(cached) " >&6
   6219 else
   6220   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6221 /* end confdefs.h.  */
   6222 int i;
   6223 _ACEOF
   6224 if ac_fn_c_try_compile "$LINENO"; then :
   6225   xorg_cv_cc_flag_unknown_warning_option=yes
   6226 else
   6227   xorg_cv_cc_flag_unknown_warning_option=no
   6228 fi
   6229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6230 fi
   6231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6232 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6233 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6234 	CFLAGS="$xorg_testset_save_CFLAGS"
   6235 fi
   6236 
   6237 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6238 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6239 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6240 	fi
   6241 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6242 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6243 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6244 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6245   $as_echo_n "(cached) " >&6
   6246 else
   6247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6248 /* end confdefs.h.  */
   6249 int i;
   6250 _ACEOF
   6251 if ac_fn_c_try_compile "$LINENO"; then :
   6252   xorg_cv_cc_flag_unused_command_line_argument=yes
   6253 else
   6254   xorg_cv_cc_flag_unused_command_line_argument=no
   6255 fi
   6256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6257 fi
   6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6259 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6260 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6261 	CFLAGS="$xorg_testset_save_CFLAGS"
   6262 fi
   6263 
   6264 found="no"
   6265 
   6266 	if test $found = "no" ; then
   6267 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6268 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6269 		fi
   6270 
   6271 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6272 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6273 		fi
   6274 
   6275 		CFLAGS="$CFLAGS -Wuninitialized"
   6276 
   6277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6278 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6279 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6280 		if eval \${$cacheid+:} false; then :
   6281   $as_echo_n "(cached) " >&6
   6282 else
   6283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6284 /* end confdefs.h.  */
   6285 int i;
   6286 int
   6287 main ()
   6288 {
   6289 
   6290   ;
   6291   return 0;
   6292 }
   6293 _ACEOF
   6294 if ac_fn_c_try_link "$LINENO"; then :
   6295   eval $cacheid=yes
   6296 else
   6297   eval $cacheid=no
   6298 fi
   6299 rm -f core conftest.err conftest.$ac_objext \
   6300     conftest$ac_exeext conftest.$ac_ext
   6301 fi
   6302 
   6303 
   6304 		CFLAGS="$xorg_testset_save_CFLAGS"
   6305 
   6306 		eval supported=\$$cacheid
   6307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6308 $as_echo "$supported" >&6; }
   6309 		if test "$supported" = "yes" ; then
   6310 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6311 			found="yes"
   6312 		fi
   6313 	fi
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 xorg_testset_save_CFLAGS="$CFLAGS"
   6330 
   6331 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6332 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6333 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6334 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6335 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6336   $as_echo_n "(cached) " >&6
   6337 else
   6338   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6339 /* end confdefs.h.  */
   6340 int i;
   6341 _ACEOF
   6342 if ac_fn_c_try_compile "$LINENO"; then :
   6343   xorg_cv_cc_flag_unknown_warning_option=yes
   6344 else
   6345   xorg_cv_cc_flag_unknown_warning_option=no
   6346 fi
   6347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6348 fi
   6349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6350 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6351 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6352 	CFLAGS="$xorg_testset_save_CFLAGS"
   6353 fi
   6354 
   6355 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6356 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6357 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6358 	fi
   6359 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6360 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6361 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6362 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6363   $as_echo_n "(cached) " >&6
   6364 else
   6365   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6366 /* end confdefs.h.  */
   6367 int i;
   6368 _ACEOF
   6369 if ac_fn_c_try_compile "$LINENO"; then :
   6370   xorg_cv_cc_flag_unused_command_line_argument=yes
   6371 else
   6372   xorg_cv_cc_flag_unused_command_line_argument=no
   6373 fi
   6374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6375 fi
   6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6377 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6378 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6379 	CFLAGS="$xorg_testset_save_CFLAGS"
   6380 fi
   6381 
   6382 found="no"
   6383 
   6384 	if test $found = "no" ; then
   6385 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6386 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6387 		fi
   6388 
   6389 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6390 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6391 		fi
   6392 
   6393 		CFLAGS="$CFLAGS -Wshadow"
   6394 
   6395 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6396 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6397 		cacheid=xorg_cv_cc_flag__Wshadow
   6398 		if eval \${$cacheid+:} false; then :
   6399   $as_echo_n "(cached) " >&6
   6400 else
   6401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6402 /* end confdefs.h.  */
   6403 int i;
   6404 int
   6405 main ()
   6406 {
   6407 
   6408   ;
   6409   return 0;
   6410 }
   6411 _ACEOF
   6412 if ac_fn_c_try_link "$LINENO"; then :
   6413   eval $cacheid=yes
   6414 else
   6415   eval $cacheid=no
   6416 fi
   6417 rm -f core conftest.err conftest.$ac_objext \
   6418     conftest$ac_exeext conftest.$ac_ext
   6419 fi
   6420 
   6421 
   6422 		CFLAGS="$xorg_testset_save_CFLAGS"
   6423 
   6424 		eval supported=\$$cacheid
   6425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6426 $as_echo "$supported" >&6; }
   6427 		if test "$supported" = "yes" ; then
   6428 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6429 			found="yes"
   6430 		fi
   6431 	fi
   6432 
   6433 
   6434 
   6435 
   6436 
   6437 
   6438 
   6439 
   6440 
   6441 
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 xorg_testset_save_CFLAGS="$CFLAGS"
   6448 
   6449 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6450 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6452 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6453 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6454   $as_echo_n "(cached) " >&6
   6455 else
   6456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6457 /* end confdefs.h.  */
   6458 int i;
   6459 _ACEOF
   6460 if ac_fn_c_try_compile "$LINENO"; then :
   6461   xorg_cv_cc_flag_unknown_warning_option=yes
   6462 else
   6463   xorg_cv_cc_flag_unknown_warning_option=no
   6464 fi
   6465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6466 fi
   6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6468 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6469 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6470 	CFLAGS="$xorg_testset_save_CFLAGS"
   6471 fi
   6472 
   6473 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6474 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6475 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6476 	fi
   6477 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6479 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6480 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6481   $as_echo_n "(cached) " >&6
   6482 else
   6483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6484 /* end confdefs.h.  */
   6485 int i;
   6486 _ACEOF
   6487 if ac_fn_c_try_compile "$LINENO"; then :
   6488   xorg_cv_cc_flag_unused_command_line_argument=yes
   6489 else
   6490   xorg_cv_cc_flag_unused_command_line_argument=no
   6491 fi
   6492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6493 fi
   6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6495 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6496 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6497 	CFLAGS="$xorg_testset_save_CFLAGS"
   6498 fi
   6499 
   6500 found="no"
   6501 
   6502 	if test $found = "no" ; then
   6503 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6505 		fi
   6506 
   6507 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6509 		fi
   6510 
   6511 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6512 
   6513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6514 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6515 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6516 		if eval \${$cacheid+:} false; then :
   6517   $as_echo_n "(cached) " >&6
   6518 else
   6519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6520 /* end confdefs.h.  */
   6521 int i;
   6522 int
   6523 main ()
   6524 {
   6525 
   6526   ;
   6527   return 0;
   6528 }
   6529 _ACEOF
   6530 if ac_fn_c_try_link "$LINENO"; then :
   6531   eval $cacheid=yes
   6532 else
   6533   eval $cacheid=no
   6534 fi
   6535 rm -f core conftest.err conftest.$ac_objext \
   6536     conftest$ac_exeext conftest.$ac_ext
   6537 fi
   6538 
   6539 
   6540 		CFLAGS="$xorg_testset_save_CFLAGS"
   6541 
   6542 		eval supported=\$$cacheid
   6543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6544 $as_echo "$supported" >&6; }
   6545 		if test "$supported" = "yes" ; then
   6546 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6547 			found="yes"
   6548 		fi
   6549 	fi
   6550 
   6551 
   6552 
   6553 
   6554 
   6555 
   6556 
   6557 
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 xorg_testset_save_CFLAGS="$CFLAGS"
   6566 
   6567 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6568 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6569 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6570 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6571 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6572   $as_echo_n "(cached) " >&6
   6573 else
   6574   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6575 /* end confdefs.h.  */
   6576 int i;
   6577 _ACEOF
   6578 if ac_fn_c_try_compile "$LINENO"; then :
   6579   xorg_cv_cc_flag_unknown_warning_option=yes
   6580 else
   6581   xorg_cv_cc_flag_unknown_warning_option=no
   6582 fi
   6583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6584 fi
   6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6586 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6587 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6588 	CFLAGS="$xorg_testset_save_CFLAGS"
   6589 fi
   6590 
   6591 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6592 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6593 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6594 	fi
   6595 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6596 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6597 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6598 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6599   $as_echo_n "(cached) " >&6
   6600 else
   6601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6602 /* end confdefs.h.  */
   6603 int i;
   6604 _ACEOF
   6605 if ac_fn_c_try_compile "$LINENO"; then :
   6606   xorg_cv_cc_flag_unused_command_line_argument=yes
   6607 else
   6608   xorg_cv_cc_flag_unused_command_line_argument=no
   6609 fi
   6610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6611 fi
   6612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6613 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6614 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6615 	CFLAGS="$xorg_testset_save_CFLAGS"
   6616 fi
   6617 
   6618 found="no"
   6619 
   6620 	if test $found = "no" ; then
   6621 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6622 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6623 		fi
   6624 
   6625 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6626 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6627 		fi
   6628 
   6629 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6630 
   6631 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6632 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6633 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6634 		if eval \${$cacheid+:} false; then :
   6635   $as_echo_n "(cached) " >&6
   6636 else
   6637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6638 /* end confdefs.h.  */
   6639 int i;
   6640 int
   6641 main ()
   6642 {
   6643 
   6644   ;
   6645   return 0;
   6646 }
   6647 _ACEOF
   6648 if ac_fn_c_try_link "$LINENO"; then :
   6649   eval $cacheid=yes
   6650 else
   6651   eval $cacheid=no
   6652 fi
   6653 rm -f core conftest.err conftest.$ac_objext \
   6654     conftest$ac_exeext conftest.$ac_ext
   6655 fi
   6656 
   6657 
   6658 		CFLAGS="$xorg_testset_save_CFLAGS"
   6659 
   6660 		eval supported=\$$cacheid
   6661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6662 $as_echo "$supported" >&6; }
   6663 		if test "$supported" = "yes" ; then
   6664 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6665 			found="yes"
   6666 		fi
   6667 	fi
   6668 
   6669 
   6670 
   6671 
   6672 
   6673 
   6674 
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 xorg_testset_save_CFLAGS="$CFLAGS"
   6684 
   6685 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6686 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6687 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6688 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6689 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6690   $as_echo_n "(cached) " >&6
   6691 else
   6692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6693 /* end confdefs.h.  */
   6694 int i;
   6695 _ACEOF
   6696 if ac_fn_c_try_compile "$LINENO"; then :
   6697   xorg_cv_cc_flag_unknown_warning_option=yes
   6698 else
   6699   xorg_cv_cc_flag_unknown_warning_option=no
   6700 fi
   6701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6702 fi
   6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6704 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6705 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6706 	CFLAGS="$xorg_testset_save_CFLAGS"
   6707 fi
   6708 
   6709 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6710 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6711 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6712 	fi
   6713 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6714 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6715 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6716 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6717   $as_echo_n "(cached) " >&6
   6718 else
   6719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6720 /* end confdefs.h.  */
   6721 int i;
   6722 _ACEOF
   6723 if ac_fn_c_try_compile "$LINENO"; then :
   6724   xorg_cv_cc_flag_unused_command_line_argument=yes
   6725 else
   6726   xorg_cv_cc_flag_unused_command_line_argument=no
   6727 fi
   6728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6729 fi
   6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6731 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6732 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6733 	CFLAGS="$xorg_testset_save_CFLAGS"
   6734 fi
   6735 
   6736 found="no"
   6737 
   6738 	if test $found = "no" ; then
   6739 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6740 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6741 		fi
   6742 
   6743 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6744 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6745 		fi
   6746 
   6747 		CFLAGS="$CFLAGS -Wredundant-decls"
   6748 
   6749 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6750 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6751 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6752 		if eval \${$cacheid+:} false; then :
   6753   $as_echo_n "(cached) " >&6
   6754 else
   6755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6756 /* end confdefs.h.  */
   6757 int i;
   6758 int
   6759 main ()
   6760 {
   6761 
   6762   ;
   6763   return 0;
   6764 }
   6765 _ACEOF
   6766 if ac_fn_c_try_link "$LINENO"; then :
   6767   eval $cacheid=yes
   6768 else
   6769   eval $cacheid=no
   6770 fi
   6771 rm -f core conftest.err conftest.$ac_objext \
   6772     conftest$ac_exeext conftest.$ac_ext
   6773 fi
   6774 
   6775 
   6776 		CFLAGS="$xorg_testset_save_CFLAGS"
   6777 
   6778 		eval supported=\$$cacheid
   6779 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6780 $as_echo "$supported" >&6; }
   6781 		if test "$supported" = "yes" ; then
   6782 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6783 			found="yes"
   6784 		fi
   6785 	fi
   6786 
   6787 
   6788 
   6789 # These are currently disabled because they are noisy.  They will be enabled
   6790 # in the future once the codebase is sufficiently modernized to silence
   6791 # them.  For now, I don't want them to drown out the other warnings.
   6792 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6793 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6794 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6795 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   6796 
   6797 # Turn some warnings into errors, so we don't accidently get successful builds
   6798 # when there are problems that should be fixed.
   6799 
   6800 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 
   6812 
   6813 
   6814 xorg_testset_save_CFLAGS="$CFLAGS"
   6815 
   6816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6819 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6820 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6821   $as_echo_n "(cached) " >&6
   6822 else
   6823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6824 /* end confdefs.h.  */
   6825 int i;
   6826 _ACEOF
   6827 if ac_fn_c_try_compile "$LINENO"; then :
   6828   xorg_cv_cc_flag_unknown_warning_option=yes
   6829 else
   6830   xorg_cv_cc_flag_unknown_warning_option=no
   6831 fi
   6832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6833 fi
   6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6835 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6837 	CFLAGS="$xorg_testset_save_CFLAGS"
   6838 fi
   6839 
   6840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6843 	fi
   6844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6846 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6847 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6848   $as_echo_n "(cached) " >&6
   6849 else
   6850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6851 /* end confdefs.h.  */
   6852 int i;
   6853 _ACEOF
   6854 if ac_fn_c_try_compile "$LINENO"; then :
   6855   xorg_cv_cc_flag_unused_command_line_argument=yes
   6856 else
   6857   xorg_cv_cc_flag_unused_command_line_argument=no
   6858 fi
   6859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6860 fi
   6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6862 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6864 	CFLAGS="$xorg_testset_save_CFLAGS"
   6865 fi
   6866 
   6867 found="no"
   6868 
   6869 	if test $found = "no" ; then
   6870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6872 		fi
   6873 
   6874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6876 		fi
   6877 
   6878 		CFLAGS="$CFLAGS -Werror=implicit"
   6879 
   6880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6881 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6882 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6883 		if eval \${$cacheid+:} false; then :
   6884   $as_echo_n "(cached) " >&6
   6885 else
   6886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6887 /* end confdefs.h.  */
   6888 int i;
   6889 int
   6890 main ()
   6891 {
   6892 
   6893   ;
   6894   return 0;
   6895 }
   6896 _ACEOF
   6897 if ac_fn_c_try_link "$LINENO"; then :
   6898   eval $cacheid=yes
   6899 else
   6900   eval $cacheid=no
   6901 fi
   6902 rm -f core conftest.err conftest.$ac_objext \
   6903     conftest$ac_exeext conftest.$ac_ext
   6904 fi
   6905 
   6906 
   6907 		CFLAGS="$xorg_testset_save_CFLAGS"
   6908 
   6909 		eval supported=\$$cacheid
   6910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6911 $as_echo "$supported" >&6; }
   6912 		if test "$supported" = "yes" ; then
   6913 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6914 			found="yes"
   6915 		fi
   6916 	fi
   6917 
   6918 	if test $found = "no" ; then
   6919 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6920 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6921 		fi
   6922 
   6923 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6924 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6925 		fi
   6926 
   6927 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6928 
   6929 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6930 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6931 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6932 		if eval \${$cacheid+:} false; then :
   6933   $as_echo_n "(cached) " >&6
   6934 else
   6935   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6936 /* end confdefs.h.  */
   6937 int i;
   6938 int
   6939 main ()
   6940 {
   6941 
   6942   ;
   6943   return 0;
   6944 }
   6945 _ACEOF
   6946 if ac_fn_c_try_link "$LINENO"; then :
   6947   eval $cacheid=yes
   6948 else
   6949   eval $cacheid=no
   6950 fi
   6951 rm -f core conftest.err conftest.$ac_objext \
   6952     conftest$ac_exeext conftest.$ac_ext
   6953 fi
   6954 
   6955 
   6956 		CFLAGS="$xorg_testset_save_CFLAGS"
   6957 
   6958 		eval supported=\$$cacheid
   6959 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6960 $as_echo "$supported" >&6; }
   6961 		if test "$supported" = "yes" ; then
   6962 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6963 			found="yes"
   6964 		fi
   6965 	fi
   6966 
   6967 
   6968 
   6969 
   6970 
   6971 
   6972 
   6973 
   6974 
   6975 
   6976 
   6977 
   6978 
   6979 
   6980 
   6981 xorg_testset_save_CFLAGS="$CFLAGS"
   6982 
   6983 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6984 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6985 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6986 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6987 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6988   $as_echo_n "(cached) " >&6
   6989 else
   6990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6991 /* end confdefs.h.  */
   6992 int i;
   6993 _ACEOF
   6994 if ac_fn_c_try_compile "$LINENO"; then :
   6995   xorg_cv_cc_flag_unknown_warning_option=yes
   6996 else
   6997   xorg_cv_cc_flag_unknown_warning_option=no
   6998 fi
   6999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7000 fi
   7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7002 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7003 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7004 	CFLAGS="$xorg_testset_save_CFLAGS"
   7005 fi
   7006 
   7007 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7008 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7009 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7010 	fi
   7011 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7013 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7014 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7015   $as_echo_n "(cached) " >&6
   7016 else
   7017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7018 /* end confdefs.h.  */
   7019 int i;
   7020 _ACEOF
   7021 if ac_fn_c_try_compile "$LINENO"; then :
   7022   xorg_cv_cc_flag_unused_command_line_argument=yes
   7023 else
   7024   xorg_cv_cc_flag_unused_command_line_argument=no
   7025 fi
   7026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7027 fi
   7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7029 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7030 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7031 	CFLAGS="$xorg_testset_save_CFLAGS"
   7032 fi
   7033 
   7034 found="no"
   7035 
   7036 	if test $found = "no" ; then
   7037 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7038 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7039 		fi
   7040 
   7041 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7042 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7043 		fi
   7044 
   7045 		CFLAGS="$CFLAGS -Werror=nonnull"
   7046 
   7047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7048 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7049 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7050 		if eval \${$cacheid+:} false; then :
   7051   $as_echo_n "(cached) " >&6
   7052 else
   7053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7054 /* end confdefs.h.  */
   7055 int i;
   7056 int
   7057 main ()
   7058 {
   7059 
   7060   ;
   7061   return 0;
   7062 }
   7063 _ACEOF
   7064 if ac_fn_c_try_link "$LINENO"; then :
   7065   eval $cacheid=yes
   7066 else
   7067   eval $cacheid=no
   7068 fi
   7069 rm -f core conftest.err conftest.$ac_objext \
   7070     conftest$ac_exeext conftest.$ac_ext
   7071 fi
   7072 
   7073 
   7074 		CFLAGS="$xorg_testset_save_CFLAGS"
   7075 
   7076 		eval supported=\$$cacheid
   7077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7078 $as_echo "$supported" >&6; }
   7079 		if test "$supported" = "yes" ; then
   7080 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7081 			found="yes"
   7082 		fi
   7083 	fi
   7084 
   7085 
   7086 
   7087 
   7088 
   7089 
   7090 
   7091 
   7092 
   7093 
   7094 
   7095 
   7096 
   7097 
   7098 
   7099 xorg_testset_save_CFLAGS="$CFLAGS"
   7100 
   7101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7103 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7104 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7105 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7106   $as_echo_n "(cached) " >&6
   7107 else
   7108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7109 /* end confdefs.h.  */
   7110 int i;
   7111 _ACEOF
   7112 if ac_fn_c_try_compile "$LINENO"; then :
   7113   xorg_cv_cc_flag_unknown_warning_option=yes
   7114 else
   7115   xorg_cv_cc_flag_unknown_warning_option=no
   7116 fi
   7117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7118 fi
   7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7120 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7122 	CFLAGS="$xorg_testset_save_CFLAGS"
   7123 fi
   7124 
   7125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7128 	fi
   7129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7131 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7132 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7133   $as_echo_n "(cached) " >&6
   7134 else
   7135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7136 /* end confdefs.h.  */
   7137 int i;
   7138 _ACEOF
   7139 if ac_fn_c_try_compile "$LINENO"; then :
   7140   xorg_cv_cc_flag_unused_command_line_argument=yes
   7141 else
   7142   xorg_cv_cc_flag_unused_command_line_argument=no
   7143 fi
   7144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7145 fi
   7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7147 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7148 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7149 	CFLAGS="$xorg_testset_save_CFLAGS"
   7150 fi
   7151 
   7152 found="no"
   7153 
   7154 	if test $found = "no" ; then
   7155 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7156 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7157 		fi
   7158 
   7159 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7160 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7161 		fi
   7162 
   7163 		CFLAGS="$CFLAGS -Werror=init-self"
   7164 
   7165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7166 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7167 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7168 		if eval \${$cacheid+:} false; then :
   7169   $as_echo_n "(cached) " >&6
   7170 else
   7171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7172 /* end confdefs.h.  */
   7173 int i;
   7174 int
   7175 main ()
   7176 {
   7177 
   7178   ;
   7179   return 0;
   7180 }
   7181 _ACEOF
   7182 if ac_fn_c_try_link "$LINENO"; then :
   7183   eval $cacheid=yes
   7184 else
   7185   eval $cacheid=no
   7186 fi
   7187 rm -f core conftest.err conftest.$ac_objext \
   7188     conftest$ac_exeext conftest.$ac_ext
   7189 fi
   7190 
   7191 
   7192 		CFLAGS="$xorg_testset_save_CFLAGS"
   7193 
   7194 		eval supported=\$$cacheid
   7195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7196 $as_echo "$supported" >&6; }
   7197 		if test "$supported" = "yes" ; then
   7198 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7199 			found="yes"
   7200 		fi
   7201 	fi
   7202 
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 xorg_testset_save_CFLAGS="$CFLAGS"
   7218 
   7219 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7220 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7221 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7222 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7223 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7224   $as_echo_n "(cached) " >&6
   7225 else
   7226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7227 /* end confdefs.h.  */
   7228 int i;
   7229 _ACEOF
   7230 if ac_fn_c_try_compile "$LINENO"; then :
   7231   xorg_cv_cc_flag_unknown_warning_option=yes
   7232 else
   7233   xorg_cv_cc_flag_unknown_warning_option=no
   7234 fi
   7235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7236 fi
   7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7238 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7239 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7240 	CFLAGS="$xorg_testset_save_CFLAGS"
   7241 fi
   7242 
   7243 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7244 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7245 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7246 	fi
   7247 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7249 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7250 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7251   $as_echo_n "(cached) " >&6
   7252 else
   7253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7254 /* end confdefs.h.  */
   7255 int i;
   7256 _ACEOF
   7257 if ac_fn_c_try_compile "$LINENO"; then :
   7258   xorg_cv_cc_flag_unused_command_line_argument=yes
   7259 else
   7260   xorg_cv_cc_flag_unused_command_line_argument=no
   7261 fi
   7262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7263 fi
   7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7265 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7266 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7267 	CFLAGS="$xorg_testset_save_CFLAGS"
   7268 fi
   7269 
   7270 found="no"
   7271 
   7272 	if test $found = "no" ; then
   7273 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7274 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7275 		fi
   7276 
   7277 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7278 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7279 		fi
   7280 
   7281 		CFLAGS="$CFLAGS -Werror=main"
   7282 
   7283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7284 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7285 		cacheid=xorg_cv_cc_flag__Werror_main
   7286 		if eval \${$cacheid+:} false; then :
   7287   $as_echo_n "(cached) " >&6
   7288 else
   7289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7290 /* end confdefs.h.  */
   7291 int i;
   7292 int
   7293 main ()
   7294 {
   7295 
   7296   ;
   7297   return 0;
   7298 }
   7299 _ACEOF
   7300 if ac_fn_c_try_link "$LINENO"; then :
   7301   eval $cacheid=yes
   7302 else
   7303   eval $cacheid=no
   7304 fi
   7305 rm -f core conftest.err conftest.$ac_objext \
   7306     conftest$ac_exeext conftest.$ac_ext
   7307 fi
   7308 
   7309 
   7310 		CFLAGS="$xorg_testset_save_CFLAGS"
   7311 
   7312 		eval supported=\$$cacheid
   7313 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7314 $as_echo "$supported" >&6; }
   7315 		if test "$supported" = "yes" ; then
   7316 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7317 			found="yes"
   7318 		fi
   7319 	fi
   7320 
   7321 
   7322 
   7323 
   7324 
   7325 
   7326 
   7327 
   7328 
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 xorg_testset_save_CFLAGS="$CFLAGS"
   7336 
   7337 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7338 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7339 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7340 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7341 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7342   $as_echo_n "(cached) " >&6
   7343 else
   7344   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7345 /* end confdefs.h.  */
   7346 int i;
   7347 _ACEOF
   7348 if ac_fn_c_try_compile "$LINENO"; then :
   7349   xorg_cv_cc_flag_unknown_warning_option=yes
   7350 else
   7351   xorg_cv_cc_flag_unknown_warning_option=no
   7352 fi
   7353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7354 fi
   7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7356 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7357 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7358 	CFLAGS="$xorg_testset_save_CFLAGS"
   7359 fi
   7360 
   7361 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7362 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7363 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7364 	fi
   7365 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7367 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7368 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7369   $as_echo_n "(cached) " >&6
   7370 else
   7371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7372 /* end confdefs.h.  */
   7373 int i;
   7374 _ACEOF
   7375 if ac_fn_c_try_compile "$LINENO"; then :
   7376   xorg_cv_cc_flag_unused_command_line_argument=yes
   7377 else
   7378   xorg_cv_cc_flag_unused_command_line_argument=no
   7379 fi
   7380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7381 fi
   7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7383 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7384 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7385 	CFLAGS="$xorg_testset_save_CFLAGS"
   7386 fi
   7387 
   7388 found="no"
   7389 
   7390 	if test $found = "no" ; then
   7391 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7392 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7393 		fi
   7394 
   7395 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7396 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7397 		fi
   7398 
   7399 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7400 
   7401 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7402 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7403 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7404 		if eval \${$cacheid+:} false; then :
   7405   $as_echo_n "(cached) " >&6
   7406 else
   7407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7408 /* end confdefs.h.  */
   7409 int i;
   7410 int
   7411 main ()
   7412 {
   7413 
   7414   ;
   7415   return 0;
   7416 }
   7417 _ACEOF
   7418 if ac_fn_c_try_link "$LINENO"; then :
   7419   eval $cacheid=yes
   7420 else
   7421   eval $cacheid=no
   7422 fi
   7423 rm -f core conftest.err conftest.$ac_objext \
   7424     conftest$ac_exeext conftest.$ac_ext
   7425 fi
   7426 
   7427 
   7428 		CFLAGS="$xorg_testset_save_CFLAGS"
   7429 
   7430 		eval supported=\$$cacheid
   7431 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7432 $as_echo "$supported" >&6; }
   7433 		if test "$supported" = "yes" ; then
   7434 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7435 			found="yes"
   7436 		fi
   7437 	fi
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 xorg_testset_save_CFLAGS="$CFLAGS"
   7454 
   7455 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7456 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7457 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7458 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7459 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7460   $as_echo_n "(cached) " >&6
   7461 else
   7462   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7463 /* end confdefs.h.  */
   7464 int i;
   7465 _ACEOF
   7466 if ac_fn_c_try_compile "$LINENO"; then :
   7467   xorg_cv_cc_flag_unknown_warning_option=yes
   7468 else
   7469   xorg_cv_cc_flag_unknown_warning_option=no
   7470 fi
   7471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7472 fi
   7473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7474 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7475 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7476 	CFLAGS="$xorg_testset_save_CFLAGS"
   7477 fi
   7478 
   7479 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7480 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7481 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7482 	fi
   7483 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7484 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7485 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7486 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7487   $as_echo_n "(cached) " >&6
   7488 else
   7489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7490 /* end confdefs.h.  */
   7491 int i;
   7492 _ACEOF
   7493 if ac_fn_c_try_compile "$LINENO"; then :
   7494   xorg_cv_cc_flag_unused_command_line_argument=yes
   7495 else
   7496   xorg_cv_cc_flag_unused_command_line_argument=no
   7497 fi
   7498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7499 fi
   7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7501 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7502 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7503 	CFLAGS="$xorg_testset_save_CFLAGS"
   7504 fi
   7505 
   7506 found="no"
   7507 
   7508 	if test $found = "no" ; then
   7509 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7510 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7511 		fi
   7512 
   7513 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7514 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7515 		fi
   7516 
   7517 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7518 
   7519 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7520 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7521 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7522 		if eval \${$cacheid+:} false; then :
   7523   $as_echo_n "(cached) " >&6
   7524 else
   7525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7526 /* end confdefs.h.  */
   7527 int i;
   7528 int
   7529 main ()
   7530 {
   7531 
   7532   ;
   7533   return 0;
   7534 }
   7535 _ACEOF
   7536 if ac_fn_c_try_link "$LINENO"; then :
   7537   eval $cacheid=yes
   7538 else
   7539   eval $cacheid=no
   7540 fi
   7541 rm -f core conftest.err conftest.$ac_objext \
   7542     conftest$ac_exeext conftest.$ac_ext
   7543 fi
   7544 
   7545 
   7546 		CFLAGS="$xorg_testset_save_CFLAGS"
   7547 
   7548 		eval supported=\$$cacheid
   7549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7550 $as_echo "$supported" >&6; }
   7551 		if test "$supported" = "yes" ; then
   7552 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7553 			found="yes"
   7554 		fi
   7555 	fi
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 xorg_testset_save_CFLAGS="$CFLAGS"
   7572 
   7573 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7574 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7575 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7576 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7577 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7578   $as_echo_n "(cached) " >&6
   7579 else
   7580   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7581 /* end confdefs.h.  */
   7582 int i;
   7583 _ACEOF
   7584 if ac_fn_c_try_compile "$LINENO"; then :
   7585   xorg_cv_cc_flag_unknown_warning_option=yes
   7586 else
   7587   xorg_cv_cc_flag_unknown_warning_option=no
   7588 fi
   7589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7590 fi
   7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7592 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7593 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7594 	CFLAGS="$xorg_testset_save_CFLAGS"
   7595 fi
   7596 
   7597 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7598 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7599 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7600 	fi
   7601 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7603 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7604 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7605   $as_echo_n "(cached) " >&6
   7606 else
   7607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7608 /* end confdefs.h.  */
   7609 int i;
   7610 _ACEOF
   7611 if ac_fn_c_try_compile "$LINENO"; then :
   7612   xorg_cv_cc_flag_unused_command_line_argument=yes
   7613 else
   7614   xorg_cv_cc_flag_unused_command_line_argument=no
   7615 fi
   7616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7617 fi
   7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7619 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7620 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7621 	CFLAGS="$xorg_testset_save_CFLAGS"
   7622 fi
   7623 
   7624 found="no"
   7625 
   7626 	if test $found = "no" ; then
   7627 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7628 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7629 		fi
   7630 
   7631 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7632 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7633 		fi
   7634 
   7635 		CFLAGS="$CFLAGS -Werror=return-type"
   7636 
   7637 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7638 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7639 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7640 		if eval \${$cacheid+:} false; then :
   7641   $as_echo_n "(cached) " >&6
   7642 else
   7643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7644 /* end confdefs.h.  */
   7645 int i;
   7646 int
   7647 main ()
   7648 {
   7649 
   7650   ;
   7651   return 0;
   7652 }
   7653 _ACEOF
   7654 if ac_fn_c_try_link "$LINENO"; then :
   7655   eval $cacheid=yes
   7656 else
   7657   eval $cacheid=no
   7658 fi
   7659 rm -f core conftest.err conftest.$ac_objext \
   7660     conftest$ac_exeext conftest.$ac_ext
   7661 fi
   7662 
   7663 
   7664 		CFLAGS="$xorg_testset_save_CFLAGS"
   7665 
   7666 		eval supported=\$$cacheid
   7667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7668 $as_echo "$supported" >&6; }
   7669 		if test "$supported" = "yes" ; then
   7670 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7671 			found="yes"
   7672 		fi
   7673 	fi
   7674 
   7675 	if test $found = "no" ; then
   7676 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7677 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7678 		fi
   7679 
   7680 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7681 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7682 		fi
   7683 
   7684 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7685 
   7686 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7687 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7688 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7689 		if eval \${$cacheid+:} false; then :
   7690   $as_echo_n "(cached) " >&6
   7691 else
   7692   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7693 /* end confdefs.h.  */
   7694 int i;
   7695 int
   7696 main ()
   7697 {
   7698 
   7699   ;
   7700   return 0;
   7701 }
   7702 _ACEOF
   7703 if ac_fn_c_try_link "$LINENO"; then :
   7704   eval $cacheid=yes
   7705 else
   7706   eval $cacheid=no
   7707 fi
   7708 rm -f core conftest.err conftest.$ac_objext \
   7709     conftest$ac_exeext conftest.$ac_ext
   7710 fi
   7711 
   7712 
   7713 		CFLAGS="$xorg_testset_save_CFLAGS"
   7714 
   7715 		eval supported=\$$cacheid
   7716 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7717 $as_echo "$supported" >&6; }
   7718 		if test "$supported" = "yes" ; then
   7719 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7720 			found="yes"
   7721 		fi
   7722 	fi
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 xorg_testset_save_CFLAGS="$CFLAGS"
   7739 
   7740 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7741 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7743 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7744 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7745   $as_echo_n "(cached) " >&6
   7746 else
   7747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7748 /* end confdefs.h.  */
   7749 int i;
   7750 _ACEOF
   7751 if ac_fn_c_try_compile "$LINENO"; then :
   7752   xorg_cv_cc_flag_unknown_warning_option=yes
   7753 else
   7754   xorg_cv_cc_flag_unknown_warning_option=no
   7755 fi
   7756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7757 fi
   7758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7759 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7760 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7761 	CFLAGS="$xorg_testset_save_CFLAGS"
   7762 fi
   7763 
   7764 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7765 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7767 	fi
   7768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7770 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7771 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7772   $as_echo_n "(cached) " >&6
   7773 else
   7774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7775 /* end confdefs.h.  */
   7776 int i;
   7777 _ACEOF
   7778 if ac_fn_c_try_compile "$LINENO"; then :
   7779   xorg_cv_cc_flag_unused_command_line_argument=yes
   7780 else
   7781   xorg_cv_cc_flag_unused_command_line_argument=no
   7782 fi
   7783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7784 fi
   7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7786 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7787 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7788 	CFLAGS="$xorg_testset_save_CFLAGS"
   7789 fi
   7790 
   7791 found="no"
   7792 
   7793 	if test $found = "no" ; then
   7794 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7795 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7796 		fi
   7797 
   7798 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7799 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7800 		fi
   7801 
   7802 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7803 
   7804 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7805 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7806 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7807 		if eval \${$cacheid+:} false; then :
   7808   $as_echo_n "(cached) " >&6
   7809 else
   7810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7811 /* end confdefs.h.  */
   7812 int i;
   7813 int
   7814 main ()
   7815 {
   7816 
   7817   ;
   7818   return 0;
   7819 }
   7820 _ACEOF
   7821 if ac_fn_c_try_link "$LINENO"; then :
   7822   eval $cacheid=yes
   7823 else
   7824   eval $cacheid=no
   7825 fi
   7826 rm -f core conftest.err conftest.$ac_objext \
   7827     conftest$ac_exeext conftest.$ac_ext
   7828 fi
   7829 
   7830 
   7831 		CFLAGS="$xorg_testset_save_CFLAGS"
   7832 
   7833 		eval supported=\$$cacheid
   7834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7835 $as_echo "$supported" >&6; }
   7836 		if test "$supported" = "yes" ; then
   7837 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7838 			found="yes"
   7839 		fi
   7840 	fi
   7841 
   7842 
   7843 
   7844 
   7845 
   7846 
   7847 
   7848 
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 xorg_testset_save_CFLAGS="$CFLAGS"
   7857 
   7858 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7859 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7861 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7862 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7863   $as_echo_n "(cached) " >&6
   7864 else
   7865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7866 /* end confdefs.h.  */
   7867 int i;
   7868 _ACEOF
   7869 if ac_fn_c_try_compile "$LINENO"; then :
   7870   xorg_cv_cc_flag_unknown_warning_option=yes
   7871 else
   7872   xorg_cv_cc_flag_unknown_warning_option=no
   7873 fi
   7874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7875 fi
   7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7877 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7878 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7879 	CFLAGS="$xorg_testset_save_CFLAGS"
   7880 fi
   7881 
   7882 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7883 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7884 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7885 	fi
   7886 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7888 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7889 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7890   $as_echo_n "(cached) " >&6
   7891 else
   7892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7893 /* end confdefs.h.  */
   7894 int i;
   7895 _ACEOF
   7896 if ac_fn_c_try_compile "$LINENO"; then :
   7897   xorg_cv_cc_flag_unused_command_line_argument=yes
   7898 else
   7899   xorg_cv_cc_flag_unused_command_line_argument=no
   7900 fi
   7901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7902 fi
   7903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7904 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7905 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7906 	CFLAGS="$xorg_testset_save_CFLAGS"
   7907 fi
   7908 
   7909 found="no"
   7910 
   7911 	if test $found = "no" ; then
   7912 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7913 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7914 		fi
   7915 
   7916 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7917 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7918 		fi
   7919 
   7920 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7921 
   7922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7923 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7924 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7925 		if eval \${$cacheid+:} false; then :
   7926   $as_echo_n "(cached) " >&6
   7927 else
   7928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7929 /* end confdefs.h.  */
   7930 int i;
   7931 int
   7932 main ()
   7933 {
   7934 
   7935   ;
   7936   return 0;
   7937 }
   7938 _ACEOF
   7939 if ac_fn_c_try_link "$LINENO"; then :
   7940   eval $cacheid=yes
   7941 else
   7942   eval $cacheid=no
   7943 fi
   7944 rm -f core conftest.err conftest.$ac_objext \
   7945     conftest$ac_exeext conftest.$ac_ext
   7946 fi
   7947 
   7948 
   7949 		CFLAGS="$xorg_testset_save_CFLAGS"
   7950 
   7951 		eval supported=\$$cacheid
   7952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7953 $as_echo "$supported" >&6; }
   7954 		if test "$supported" = "yes" ; then
   7955 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7956 			found="yes"
   7957 		fi
   7958 	fi
   7959 
   7960 
   7961 
   7962 
   7963 
   7964 
   7965 
   7966 
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 xorg_testset_save_CFLAGS="$CFLAGS"
   7975 
   7976 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7977 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7979 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7980 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7981   $as_echo_n "(cached) " >&6
   7982 else
   7983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7984 /* end confdefs.h.  */
   7985 int i;
   7986 _ACEOF
   7987 if ac_fn_c_try_compile "$LINENO"; then :
   7988   xorg_cv_cc_flag_unknown_warning_option=yes
   7989 else
   7990   xorg_cv_cc_flag_unknown_warning_option=no
   7991 fi
   7992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7993 fi
   7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7995 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7997 	CFLAGS="$xorg_testset_save_CFLAGS"
   7998 fi
   7999 
   8000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8003 	fi
   8004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8006 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8007 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8008   $as_echo_n "(cached) " >&6
   8009 else
   8010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8011 /* end confdefs.h.  */
   8012 int i;
   8013 _ACEOF
   8014 if ac_fn_c_try_compile "$LINENO"; then :
   8015   xorg_cv_cc_flag_unused_command_line_argument=yes
   8016 else
   8017   xorg_cv_cc_flag_unused_command_line_argument=no
   8018 fi
   8019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8020 fi
   8021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8022 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8024 	CFLAGS="$xorg_testset_save_CFLAGS"
   8025 fi
   8026 
   8027 found="no"
   8028 
   8029 	if test $found = "no" ; then
   8030 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8032 		fi
   8033 
   8034 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8036 		fi
   8037 
   8038 		CFLAGS="$CFLAGS -Werror=write-strings"
   8039 
   8040 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8041 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8042 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8043 		if eval \${$cacheid+:} false; then :
   8044   $as_echo_n "(cached) " >&6
   8045 else
   8046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8047 /* end confdefs.h.  */
   8048 int i;
   8049 int
   8050 main ()
   8051 {
   8052 
   8053   ;
   8054   return 0;
   8055 }
   8056 _ACEOF
   8057 if ac_fn_c_try_link "$LINENO"; then :
   8058   eval $cacheid=yes
   8059 else
   8060   eval $cacheid=no
   8061 fi
   8062 rm -f core conftest.err conftest.$ac_objext \
   8063     conftest$ac_exeext conftest.$ac_ext
   8064 fi
   8065 
   8066 
   8067 		CFLAGS="$xorg_testset_save_CFLAGS"
   8068 
   8069 		eval supported=\$$cacheid
   8070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8071 $as_echo "$supported" >&6; }
   8072 		if test "$supported" = "yes" ; then
   8073 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8074 			found="yes"
   8075 		fi
   8076 	fi
   8077 
   8078 
   8079 
   8080 
   8081 
   8082 
   8083 
   8084 
   8085 
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 xorg_testset_save_CFLAGS="$CFLAGS"
   8093 
   8094 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8095 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8097 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8098 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8099   $as_echo_n "(cached) " >&6
   8100 else
   8101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8102 /* end confdefs.h.  */
   8103 int i;
   8104 _ACEOF
   8105 if ac_fn_c_try_compile "$LINENO"; then :
   8106   xorg_cv_cc_flag_unknown_warning_option=yes
   8107 else
   8108   xorg_cv_cc_flag_unknown_warning_option=no
   8109 fi
   8110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8111 fi
   8112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8113 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8114 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8115 	CFLAGS="$xorg_testset_save_CFLAGS"
   8116 fi
   8117 
   8118 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8119 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8121 	fi
   8122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8124 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8125 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8126   $as_echo_n "(cached) " >&6
   8127 else
   8128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8129 /* end confdefs.h.  */
   8130 int i;
   8131 _ACEOF
   8132 if ac_fn_c_try_compile "$LINENO"; then :
   8133   xorg_cv_cc_flag_unused_command_line_argument=yes
   8134 else
   8135   xorg_cv_cc_flag_unused_command_line_argument=no
   8136 fi
   8137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8138 fi
   8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8140 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8141 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8142 	CFLAGS="$xorg_testset_save_CFLAGS"
   8143 fi
   8144 
   8145 found="no"
   8146 
   8147 	if test $found = "no" ; then
   8148 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8150 		fi
   8151 
   8152 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8154 		fi
   8155 
   8156 		CFLAGS="$CFLAGS -Werror=address"
   8157 
   8158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8159 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8160 		cacheid=xorg_cv_cc_flag__Werror_address
   8161 		if eval \${$cacheid+:} false; then :
   8162   $as_echo_n "(cached) " >&6
   8163 else
   8164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8165 /* end confdefs.h.  */
   8166 int i;
   8167 int
   8168 main ()
   8169 {
   8170 
   8171   ;
   8172   return 0;
   8173 }
   8174 _ACEOF
   8175 if ac_fn_c_try_link "$LINENO"; then :
   8176   eval $cacheid=yes
   8177 else
   8178   eval $cacheid=no
   8179 fi
   8180 rm -f core conftest.err conftest.$ac_objext \
   8181     conftest$ac_exeext conftest.$ac_ext
   8182 fi
   8183 
   8184 
   8185 		CFLAGS="$xorg_testset_save_CFLAGS"
   8186 
   8187 		eval supported=\$$cacheid
   8188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8189 $as_echo "$supported" >&6; }
   8190 		if test "$supported" = "yes" ; then
   8191 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8192 			found="yes"
   8193 		fi
   8194 	fi
   8195 
   8196 
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 
   8203 
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 xorg_testset_save_CFLAGS="$CFLAGS"
   8211 
   8212 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8213 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8215 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8216 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8217   $as_echo_n "(cached) " >&6
   8218 else
   8219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8220 /* end confdefs.h.  */
   8221 int i;
   8222 _ACEOF
   8223 if ac_fn_c_try_compile "$LINENO"; then :
   8224   xorg_cv_cc_flag_unknown_warning_option=yes
   8225 else
   8226   xorg_cv_cc_flag_unknown_warning_option=no
   8227 fi
   8228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8229 fi
   8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8231 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8232 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8233 	CFLAGS="$xorg_testset_save_CFLAGS"
   8234 fi
   8235 
   8236 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8237 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8238 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8239 	fi
   8240 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8242 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8243 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8244   $as_echo_n "(cached) " >&6
   8245 else
   8246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8247 /* end confdefs.h.  */
   8248 int i;
   8249 _ACEOF
   8250 if ac_fn_c_try_compile "$LINENO"; then :
   8251   xorg_cv_cc_flag_unused_command_line_argument=yes
   8252 else
   8253   xorg_cv_cc_flag_unused_command_line_argument=no
   8254 fi
   8255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8256 fi
   8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8258 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8260 	CFLAGS="$xorg_testset_save_CFLAGS"
   8261 fi
   8262 
   8263 found="no"
   8264 
   8265 	if test $found = "no" ; then
   8266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8268 		fi
   8269 
   8270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8272 		fi
   8273 
   8274 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8275 
   8276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8277 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8278 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8279 		if eval \${$cacheid+:} false; then :
   8280   $as_echo_n "(cached) " >&6
   8281 else
   8282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8283 /* end confdefs.h.  */
   8284 int i;
   8285 int
   8286 main ()
   8287 {
   8288 
   8289   ;
   8290   return 0;
   8291 }
   8292 _ACEOF
   8293 if ac_fn_c_try_link "$LINENO"; then :
   8294   eval $cacheid=yes
   8295 else
   8296   eval $cacheid=no
   8297 fi
   8298 rm -f core conftest.err conftest.$ac_objext \
   8299     conftest$ac_exeext conftest.$ac_ext
   8300 fi
   8301 
   8302 
   8303 		CFLAGS="$xorg_testset_save_CFLAGS"
   8304 
   8305 		eval supported=\$$cacheid
   8306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8307 $as_echo "$supported" >&6; }
   8308 		if test "$supported" = "yes" ; then
   8309 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8310 			found="yes"
   8311 		fi
   8312 	fi
   8313 
   8314 	if test $found = "no" ; then
   8315 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8316 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8317 		fi
   8318 
   8319 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8320 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8321 		fi
   8322 
   8323 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8324 
   8325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8326 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8327 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8328 		if eval \${$cacheid+:} false; then :
   8329   $as_echo_n "(cached) " >&6
   8330 else
   8331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8332 /* end confdefs.h.  */
   8333 int i;
   8334 int
   8335 main ()
   8336 {
   8337 
   8338   ;
   8339   return 0;
   8340 }
   8341 _ACEOF
   8342 if ac_fn_c_try_link "$LINENO"; then :
   8343   eval $cacheid=yes
   8344 else
   8345   eval $cacheid=no
   8346 fi
   8347 rm -f core conftest.err conftest.$ac_objext \
   8348     conftest$ac_exeext conftest.$ac_ext
   8349 fi
   8350 
   8351 
   8352 		CFLAGS="$xorg_testset_save_CFLAGS"
   8353 
   8354 		eval supported=\$$cacheid
   8355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8356 $as_echo "$supported" >&6; }
   8357 		if test "$supported" = "yes" ; then
   8358 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8359 			found="yes"
   8360 		fi
   8361 	fi
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 
   8371 
   8372 
   8373 
   8374 
   8375 
   8376 
   8377 xorg_testset_save_CFLAGS="$CFLAGS"
   8378 
   8379 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8380 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8382 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8383 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8384   $as_echo_n "(cached) " >&6
   8385 else
   8386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8387 /* end confdefs.h.  */
   8388 int i;
   8389 _ACEOF
   8390 if ac_fn_c_try_compile "$LINENO"; then :
   8391   xorg_cv_cc_flag_unknown_warning_option=yes
   8392 else
   8393   xorg_cv_cc_flag_unknown_warning_option=no
   8394 fi
   8395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8396 fi
   8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8398 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8399 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8400 	CFLAGS="$xorg_testset_save_CFLAGS"
   8401 fi
   8402 
   8403 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8404 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8405 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8406 	fi
   8407 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8408 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8409 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8410 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8411   $as_echo_n "(cached) " >&6
   8412 else
   8413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8414 /* end confdefs.h.  */
   8415 int i;
   8416 _ACEOF
   8417 if ac_fn_c_try_compile "$LINENO"; then :
   8418   xorg_cv_cc_flag_unused_command_line_argument=yes
   8419 else
   8420   xorg_cv_cc_flag_unused_command_line_argument=no
   8421 fi
   8422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8423 fi
   8424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8425 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8426 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8427 	CFLAGS="$xorg_testset_save_CFLAGS"
   8428 fi
   8429 
   8430 found="no"
   8431 
   8432 	if test $found = "no" ; then
   8433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8435 		fi
   8436 
   8437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8439 		fi
   8440 
   8441 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8442 
   8443 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8444 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8445 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8446 		if eval \${$cacheid+:} false; then :
   8447   $as_echo_n "(cached) " >&6
   8448 else
   8449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8450 /* end confdefs.h.  */
   8451 int i;
   8452 int
   8453 main ()
   8454 {
   8455 
   8456   ;
   8457   return 0;
   8458 }
   8459 _ACEOF
   8460 if ac_fn_c_try_link "$LINENO"; then :
   8461   eval $cacheid=yes
   8462 else
   8463   eval $cacheid=no
   8464 fi
   8465 rm -f core conftest.err conftest.$ac_objext \
   8466     conftest$ac_exeext conftest.$ac_ext
   8467 fi
   8468 
   8469 
   8470 		CFLAGS="$xorg_testset_save_CFLAGS"
   8471 
   8472 		eval supported=\$$cacheid
   8473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8474 $as_echo "$supported" >&6; }
   8475 		if test "$supported" = "yes" ; then
   8476 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8477 			found="yes"
   8478 		fi
   8479 	fi
   8480 
   8481  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8482 else
   8483 { $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
   8484 $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;}
   8485 
   8486 
   8487 
   8488 
   8489 
   8490 
   8491 
   8492 
   8493 
   8494 
   8495 
   8496 
   8497 
   8498 xorg_testset_save_CFLAGS="$CFLAGS"
   8499 
   8500 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8501 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8503 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8504 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8505   $as_echo_n "(cached) " >&6
   8506 else
   8507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8508 /* end confdefs.h.  */
   8509 int i;
   8510 _ACEOF
   8511 if ac_fn_c_try_compile "$LINENO"; then :
   8512   xorg_cv_cc_flag_unknown_warning_option=yes
   8513 else
   8514   xorg_cv_cc_flag_unknown_warning_option=no
   8515 fi
   8516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8517 fi
   8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8519 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8520 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8521 	CFLAGS="$xorg_testset_save_CFLAGS"
   8522 fi
   8523 
   8524 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8525 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8526 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8527 	fi
   8528 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8530 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8531 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8532   $as_echo_n "(cached) " >&6
   8533 else
   8534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8535 /* end confdefs.h.  */
   8536 int i;
   8537 _ACEOF
   8538 if ac_fn_c_try_compile "$LINENO"; then :
   8539   xorg_cv_cc_flag_unused_command_line_argument=yes
   8540 else
   8541   xorg_cv_cc_flag_unused_command_line_argument=no
   8542 fi
   8543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8544 fi
   8545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8546 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8548 	CFLAGS="$xorg_testset_save_CFLAGS"
   8549 fi
   8550 
   8551 found="no"
   8552 
   8553 	if test $found = "no" ; then
   8554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8556 		fi
   8557 
   8558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8560 		fi
   8561 
   8562 		CFLAGS="$CFLAGS -Wimplicit"
   8563 
   8564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8565 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8566 		cacheid=xorg_cv_cc_flag__Wimplicit
   8567 		if eval \${$cacheid+:} false; then :
   8568   $as_echo_n "(cached) " >&6
   8569 else
   8570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8571 /* end confdefs.h.  */
   8572 int i;
   8573 int
   8574 main ()
   8575 {
   8576 
   8577   ;
   8578   return 0;
   8579 }
   8580 _ACEOF
   8581 if ac_fn_c_try_link "$LINENO"; then :
   8582   eval $cacheid=yes
   8583 else
   8584   eval $cacheid=no
   8585 fi
   8586 rm -f core conftest.err conftest.$ac_objext \
   8587     conftest$ac_exeext conftest.$ac_ext
   8588 fi
   8589 
   8590 
   8591 		CFLAGS="$xorg_testset_save_CFLAGS"
   8592 
   8593 		eval supported=\$$cacheid
   8594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8595 $as_echo "$supported" >&6; }
   8596 		if test "$supported" = "yes" ; then
   8597 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8598 			found="yes"
   8599 		fi
   8600 	fi
   8601 
   8602 
   8603 
   8604 
   8605 
   8606 
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 xorg_testset_save_CFLAGS="$CFLAGS"
   8617 
   8618 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8619 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8621 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8622 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8623   $as_echo_n "(cached) " >&6
   8624 else
   8625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8626 /* end confdefs.h.  */
   8627 int i;
   8628 _ACEOF
   8629 if ac_fn_c_try_compile "$LINENO"; then :
   8630   xorg_cv_cc_flag_unknown_warning_option=yes
   8631 else
   8632   xorg_cv_cc_flag_unknown_warning_option=no
   8633 fi
   8634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8635 fi
   8636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8637 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8638 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8639 	CFLAGS="$xorg_testset_save_CFLAGS"
   8640 fi
   8641 
   8642 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8643 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8644 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8645 	fi
   8646 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8648 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8649 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8650   $as_echo_n "(cached) " >&6
   8651 else
   8652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8653 /* end confdefs.h.  */
   8654 int i;
   8655 _ACEOF
   8656 if ac_fn_c_try_compile "$LINENO"; then :
   8657   xorg_cv_cc_flag_unused_command_line_argument=yes
   8658 else
   8659   xorg_cv_cc_flag_unused_command_line_argument=no
   8660 fi
   8661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8662 fi
   8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8664 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8665 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8666 	CFLAGS="$xorg_testset_save_CFLAGS"
   8667 fi
   8668 
   8669 found="no"
   8670 
   8671 	if test $found = "no" ; then
   8672 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8673 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8674 		fi
   8675 
   8676 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8677 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8678 		fi
   8679 
   8680 		CFLAGS="$CFLAGS -Wnonnull"
   8681 
   8682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8683 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8684 		cacheid=xorg_cv_cc_flag__Wnonnull
   8685 		if eval \${$cacheid+:} false; then :
   8686   $as_echo_n "(cached) " >&6
   8687 else
   8688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8689 /* end confdefs.h.  */
   8690 int i;
   8691 int
   8692 main ()
   8693 {
   8694 
   8695   ;
   8696   return 0;
   8697 }
   8698 _ACEOF
   8699 if ac_fn_c_try_link "$LINENO"; then :
   8700   eval $cacheid=yes
   8701 else
   8702   eval $cacheid=no
   8703 fi
   8704 rm -f core conftest.err conftest.$ac_objext \
   8705     conftest$ac_exeext conftest.$ac_ext
   8706 fi
   8707 
   8708 
   8709 		CFLAGS="$xorg_testset_save_CFLAGS"
   8710 
   8711 		eval supported=\$$cacheid
   8712 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8713 $as_echo "$supported" >&6; }
   8714 		if test "$supported" = "yes" ; then
   8715 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8716 			found="yes"
   8717 		fi
   8718 	fi
   8719 
   8720 
   8721 
   8722 
   8723 
   8724 
   8725 
   8726 
   8727 
   8728 
   8729 
   8730 
   8731 
   8732 
   8733 
   8734 xorg_testset_save_CFLAGS="$CFLAGS"
   8735 
   8736 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8737 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8739 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8740 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8741   $as_echo_n "(cached) " >&6
   8742 else
   8743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8744 /* end confdefs.h.  */
   8745 int i;
   8746 _ACEOF
   8747 if ac_fn_c_try_compile "$LINENO"; then :
   8748   xorg_cv_cc_flag_unknown_warning_option=yes
   8749 else
   8750   xorg_cv_cc_flag_unknown_warning_option=no
   8751 fi
   8752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8753 fi
   8754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8755 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8756 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8757 	CFLAGS="$xorg_testset_save_CFLAGS"
   8758 fi
   8759 
   8760 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8761 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8762 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8763 	fi
   8764 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8765 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8766 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8767 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8768   $as_echo_n "(cached) " >&6
   8769 else
   8770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8771 /* end confdefs.h.  */
   8772 int i;
   8773 _ACEOF
   8774 if ac_fn_c_try_compile "$LINENO"; then :
   8775   xorg_cv_cc_flag_unused_command_line_argument=yes
   8776 else
   8777   xorg_cv_cc_flag_unused_command_line_argument=no
   8778 fi
   8779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8780 fi
   8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8782 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8783 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8784 	CFLAGS="$xorg_testset_save_CFLAGS"
   8785 fi
   8786 
   8787 found="no"
   8788 
   8789 	if test $found = "no" ; then
   8790 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8791 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8792 		fi
   8793 
   8794 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8795 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8796 		fi
   8797 
   8798 		CFLAGS="$CFLAGS -Winit-self"
   8799 
   8800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8801 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8802 		cacheid=xorg_cv_cc_flag__Winit_self
   8803 		if eval \${$cacheid+:} false; then :
   8804   $as_echo_n "(cached) " >&6
   8805 else
   8806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8807 /* end confdefs.h.  */
   8808 int i;
   8809 int
   8810 main ()
   8811 {
   8812 
   8813   ;
   8814   return 0;
   8815 }
   8816 _ACEOF
   8817 if ac_fn_c_try_link "$LINENO"; then :
   8818   eval $cacheid=yes
   8819 else
   8820   eval $cacheid=no
   8821 fi
   8822 rm -f core conftest.err conftest.$ac_objext \
   8823     conftest$ac_exeext conftest.$ac_ext
   8824 fi
   8825 
   8826 
   8827 		CFLAGS="$xorg_testset_save_CFLAGS"
   8828 
   8829 		eval supported=\$$cacheid
   8830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8831 $as_echo "$supported" >&6; }
   8832 		if test "$supported" = "yes" ; then
   8833 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8834 			found="yes"
   8835 		fi
   8836 	fi
   8837 
   8838 
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 xorg_testset_save_CFLAGS="$CFLAGS"
   8853 
   8854 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8855 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8857 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8858 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8859   $as_echo_n "(cached) " >&6
   8860 else
   8861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8862 /* end confdefs.h.  */
   8863 int i;
   8864 _ACEOF
   8865 if ac_fn_c_try_compile "$LINENO"; then :
   8866   xorg_cv_cc_flag_unknown_warning_option=yes
   8867 else
   8868   xorg_cv_cc_flag_unknown_warning_option=no
   8869 fi
   8870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8871 fi
   8872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8873 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8874 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8875 	CFLAGS="$xorg_testset_save_CFLAGS"
   8876 fi
   8877 
   8878 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8879 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8880 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8881 	fi
   8882 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8884 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8885 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8886   $as_echo_n "(cached) " >&6
   8887 else
   8888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8889 /* end confdefs.h.  */
   8890 int i;
   8891 _ACEOF
   8892 if ac_fn_c_try_compile "$LINENO"; then :
   8893   xorg_cv_cc_flag_unused_command_line_argument=yes
   8894 else
   8895   xorg_cv_cc_flag_unused_command_line_argument=no
   8896 fi
   8897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8898 fi
   8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8900 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8901 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8902 	CFLAGS="$xorg_testset_save_CFLAGS"
   8903 fi
   8904 
   8905 found="no"
   8906 
   8907 	if test $found = "no" ; then
   8908 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8909 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8910 		fi
   8911 
   8912 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8913 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8914 		fi
   8915 
   8916 		CFLAGS="$CFLAGS -Wmain"
   8917 
   8918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8919 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8920 		cacheid=xorg_cv_cc_flag__Wmain
   8921 		if eval \${$cacheid+:} false; then :
   8922   $as_echo_n "(cached) " >&6
   8923 else
   8924   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8925 /* end confdefs.h.  */
   8926 int i;
   8927 int
   8928 main ()
   8929 {
   8930 
   8931   ;
   8932   return 0;
   8933 }
   8934 _ACEOF
   8935 if ac_fn_c_try_link "$LINENO"; then :
   8936   eval $cacheid=yes
   8937 else
   8938   eval $cacheid=no
   8939 fi
   8940 rm -f core conftest.err conftest.$ac_objext \
   8941     conftest$ac_exeext conftest.$ac_ext
   8942 fi
   8943 
   8944 
   8945 		CFLAGS="$xorg_testset_save_CFLAGS"
   8946 
   8947 		eval supported=\$$cacheid
   8948 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8949 $as_echo "$supported" >&6; }
   8950 		if test "$supported" = "yes" ; then
   8951 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8952 			found="yes"
   8953 		fi
   8954 	fi
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 xorg_testset_save_CFLAGS="$CFLAGS"
   8971 
   8972 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8973 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8974 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8975 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8976 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8977   $as_echo_n "(cached) " >&6
   8978 else
   8979   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8980 /* end confdefs.h.  */
   8981 int i;
   8982 _ACEOF
   8983 if ac_fn_c_try_compile "$LINENO"; then :
   8984   xorg_cv_cc_flag_unknown_warning_option=yes
   8985 else
   8986   xorg_cv_cc_flag_unknown_warning_option=no
   8987 fi
   8988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8989 fi
   8990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8991 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8992 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8993 	CFLAGS="$xorg_testset_save_CFLAGS"
   8994 fi
   8995 
   8996 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8997 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8998 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8999 	fi
   9000 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9002 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9003 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9004   $as_echo_n "(cached) " >&6
   9005 else
   9006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9007 /* end confdefs.h.  */
   9008 int i;
   9009 _ACEOF
   9010 if ac_fn_c_try_compile "$LINENO"; then :
   9011   xorg_cv_cc_flag_unused_command_line_argument=yes
   9012 else
   9013   xorg_cv_cc_flag_unused_command_line_argument=no
   9014 fi
   9015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9016 fi
   9017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9018 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9019 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9020 	CFLAGS="$xorg_testset_save_CFLAGS"
   9021 fi
   9022 
   9023 found="no"
   9024 
   9025 	if test $found = "no" ; then
   9026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9028 		fi
   9029 
   9030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9032 		fi
   9033 
   9034 		CFLAGS="$CFLAGS -Wmissing-braces"
   9035 
   9036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9037 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9038 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9039 		if eval \${$cacheid+:} false; then :
   9040   $as_echo_n "(cached) " >&6
   9041 else
   9042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9043 /* end confdefs.h.  */
   9044 int i;
   9045 int
   9046 main ()
   9047 {
   9048 
   9049   ;
   9050   return 0;
   9051 }
   9052 _ACEOF
   9053 if ac_fn_c_try_link "$LINENO"; then :
   9054   eval $cacheid=yes
   9055 else
   9056   eval $cacheid=no
   9057 fi
   9058 rm -f core conftest.err conftest.$ac_objext \
   9059     conftest$ac_exeext conftest.$ac_ext
   9060 fi
   9061 
   9062 
   9063 		CFLAGS="$xorg_testset_save_CFLAGS"
   9064 
   9065 		eval supported=\$$cacheid
   9066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9067 $as_echo "$supported" >&6; }
   9068 		if test "$supported" = "yes" ; then
   9069 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9070 			found="yes"
   9071 		fi
   9072 	fi
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 xorg_testset_save_CFLAGS="$CFLAGS"
   9089 
   9090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9093 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9094 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9095   $as_echo_n "(cached) " >&6
   9096 else
   9097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9098 /* end confdefs.h.  */
   9099 int i;
   9100 _ACEOF
   9101 if ac_fn_c_try_compile "$LINENO"; then :
   9102   xorg_cv_cc_flag_unknown_warning_option=yes
   9103 else
   9104   xorg_cv_cc_flag_unknown_warning_option=no
   9105 fi
   9106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9107 fi
   9108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9109 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9111 	CFLAGS="$xorg_testset_save_CFLAGS"
   9112 fi
   9113 
   9114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9117 	fi
   9118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9120 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9121 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9122   $as_echo_n "(cached) " >&6
   9123 else
   9124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9125 /* end confdefs.h.  */
   9126 int i;
   9127 _ACEOF
   9128 if ac_fn_c_try_compile "$LINENO"; then :
   9129   xorg_cv_cc_flag_unused_command_line_argument=yes
   9130 else
   9131   xorg_cv_cc_flag_unused_command_line_argument=no
   9132 fi
   9133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9134 fi
   9135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9136 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9138 	CFLAGS="$xorg_testset_save_CFLAGS"
   9139 fi
   9140 
   9141 found="no"
   9142 
   9143 	if test $found = "no" ; then
   9144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9146 		fi
   9147 
   9148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9150 		fi
   9151 
   9152 		CFLAGS="$CFLAGS -Wsequence-point"
   9153 
   9154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9155 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9156 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9157 		if eval \${$cacheid+:} false; then :
   9158   $as_echo_n "(cached) " >&6
   9159 else
   9160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9161 /* end confdefs.h.  */
   9162 int i;
   9163 int
   9164 main ()
   9165 {
   9166 
   9167   ;
   9168   return 0;
   9169 }
   9170 _ACEOF
   9171 if ac_fn_c_try_link "$LINENO"; then :
   9172   eval $cacheid=yes
   9173 else
   9174   eval $cacheid=no
   9175 fi
   9176 rm -f core conftest.err conftest.$ac_objext \
   9177     conftest$ac_exeext conftest.$ac_ext
   9178 fi
   9179 
   9180 
   9181 		CFLAGS="$xorg_testset_save_CFLAGS"
   9182 
   9183 		eval supported=\$$cacheid
   9184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9185 $as_echo "$supported" >&6; }
   9186 		if test "$supported" = "yes" ; then
   9187 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9188 			found="yes"
   9189 		fi
   9190 	fi
   9191 
   9192 
   9193 
   9194 
   9195 
   9196 
   9197 
   9198 
   9199 
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 xorg_testset_save_CFLAGS="$CFLAGS"
   9207 
   9208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9213   $as_echo_n "(cached) " >&6
   9214 else
   9215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9216 /* end confdefs.h.  */
   9217 int i;
   9218 _ACEOF
   9219 if ac_fn_c_try_compile "$LINENO"; then :
   9220   xorg_cv_cc_flag_unknown_warning_option=yes
   9221 else
   9222   xorg_cv_cc_flag_unknown_warning_option=no
   9223 fi
   9224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9225 fi
   9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9229 	CFLAGS="$xorg_testset_save_CFLAGS"
   9230 fi
   9231 
   9232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9235 	fi
   9236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9240   $as_echo_n "(cached) " >&6
   9241 else
   9242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9243 /* end confdefs.h.  */
   9244 int i;
   9245 _ACEOF
   9246 if ac_fn_c_try_compile "$LINENO"; then :
   9247   xorg_cv_cc_flag_unused_command_line_argument=yes
   9248 else
   9249   xorg_cv_cc_flag_unused_command_line_argument=no
   9250 fi
   9251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9252 fi
   9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9256 	CFLAGS="$xorg_testset_save_CFLAGS"
   9257 fi
   9258 
   9259 found="no"
   9260 
   9261 	if test $found = "no" ; then
   9262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9264 		fi
   9265 
   9266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9268 		fi
   9269 
   9270 		CFLAGS="$CFLAGS -Wreturn-type"
   9271 
   9272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9273 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9274 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9275 		if eval \${$cacheid+:} false; then :
   9276   $as_echo_n "(cached) " >&6
   9277 else
   9278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9279 /* end confdefs.h.  */
   9280 int i;
   9281 int
   9282 main ()
   9283 {
   9284 
   9285   ;
   9286   return 0;
   9287 }
   9288 _ACEOF
   9289 if ac_fn_c_try_link "$LINENO"; then :
   9290   eval $cacheid=yes
   9291 else
   9292   eval $cacheid=no
   9293 fi
   9294 rm -f core conftest.err conftest.$ac_objext \
   9295     conftest$ac_exeext conftest.$ac_ext
   9296 fi
   9297 
   9298 
   9299 		CFLAGS="$xorg_testset_save_CFLAGS"
   9300 
   9301 		eval supported=\$$cacheid
   9302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9303 $as_echo "$supported" >&6; }
   9304 		if test "$supported" = "yes" ; then
   9305 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9306 			found="yes"
   9307 		fi
   9308 	fi
   9309 
   9310 
   9311 
   9312 
   9313 
   9314 
   9315 
   9316 
   9317 
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 xorg_testset_save_CFLAGS="$CFLAGS"
   9325 
   9326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9331   $as_echo_n "(cached) " >&6
   9332 else
   9333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9334 /* end confdefs.h.  */
   9335 int i;
   9336 _ACEOF
   9337 if ac_fn_c_try_compile "$LINENO"; then :
   9338   xorg_cv_cc_flag_unknown_warning_option=yes
   9339 else
   9340   xorg_cv_cc_flag_unknown_warning_option=no
   9341 fi
   9342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9343 fi
   9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9347 	CFLAGS="$xorg_testset_save_CFLAGS"
   9348 fi
   9349 
   9350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9353 	fi
   9354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9358   $as_echo_n "(cached) " >&6
   9359 else
   9360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9361 /* end confdefs.h.  */
   9362 int i;
   9363 _ACEOF
   9364 if ac_fn_c_try_compile "$LINENO"; then :
   9365   xorg_cv_cc_flag_unused_command_line_argument=yes
   9366 else
   9367   xorg_cv_cc_flag_unused_command_line_argument=no
   9368 fi
   9369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9370 fi
   9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9374 	CFLAGS="$xorg_testset_save_CFLAGS"
   9375 fi
   9376 
   9377 found="no"
   9378 
   9379 	if test $found = "no" ; then
   9380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9382 		fi
   9383 
   9384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9386 		fi
   9387 
   9388 		CFLAGS="$CFLAGS -Wtrigraphs"
   9389 
   9390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9391 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9392 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9393 		if eval \${$cacheid+:} false; then :
   9394   $as_echo_n "(cached) " >&6
   9395 else
   9396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9397 /* end confdefs.h.  */
   9398 int i;
   9399 int
   9400 main ()
   9401 {
   9402 
   9403   ;
   9404   return 0;
   9405 }
   9406 _ACEOF
   9407 if ac_fn_c_try_link "$LINENO"; then :
   9408   eval $cacheid=yes
   9409 else
   9410   eval $cacheid=no
   9411 fi
   9412 rm -f core conftest.err conftest.$ac_objext \
   9413     conftest$ac_exeext conftest.$ac_ext
   9414 fi
   9415 
   9416 
   9417 		CFLAGS="$xorg_testset_save_CFLAGS"
   9418 
   9419 		eval supported=\$$cacheid
   9420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9421 $as_echo "$supported" >&6; }
   9422 		if test "$supported" = "yes" ; then
   9423 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9424 			found="yes"
   9425 		fi
   9426 	fi
   9427 
   9428 
   9429 
   9430 
   9431 
   9432 
   9433 
   9434 
   9435 
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 xorg_testset_save_CFLAGS="$CFLAGS"
   9443 
   9444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9447 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9448 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9449   $as_echo_n "(cached) " >&6
   9450 else
   9451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9452 /* end confdefs.h.  */
   9453 int i;
   9454 _ACEOF
   9455 if ac_fn_c_try_compile "$LINENO"; then :
   9456   xorg_cv_cc_flag_unknown_warning_option=yes
   9457 else
   9458   xorg_cv_cc_flag_unknown_warning_option=no
   9459 fi
   9460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9461 fi
   9462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9463 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9465 	CFLAGS="$xorg_testset_save_CFLAGS"
   9466 fi
   9467 
   9468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9471 	fi
   9472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9474 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9475 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9476   $as_echo_n "(cached) " >&6
   9477 else
   9478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9479 /* end confdefs.h.  */
   9480 int i;
   9481 _ACEOF
   9482 if ac_fn_c_try_compile "$LINENO"; then :
   9483   xorg_cv_cc_flag_unused_command_line_argument=yes
   9484 else
   9485   xorg_cv_cc_flag_unused_command_line_argument=no
   9486 fi
   9487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9488 fi
   9489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9490 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9492 	CFLAGS="$xorg_testset_save_CFLAGS"
   9493 fi
   9494 
   9495 found="no"
   9496 
   9497 	if test $found = "no" ; then
   9498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9500 		fi
   9501 
   9502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9504 		fi
   9505 
   9506 		CFLAGS="$CFLAGS -Warray-bounds"
   9507 
   9508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9509 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9510 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9511 		if eval \${$cacheid+:} false; then :
   9512   $as_echo_n "(cached) " >&6
   9513 else
   9514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9515 /* end confdefs.h.  */
   9516 int i;
   9517 int
   9518 main ()
   9519 {
   9520 
   9521   ;
   9522   return 0;
   9523 }
   9524 _ACEOF
   9525 if ac_fn_c_try_link "$LINENO"; then :
   9526   eval $cacheid=yes
   9527 else
   9528   eval $cacheid=no
   9529 fi
   9530 rm -f core conftest.err conftest.$ac_objext \
   9531     conftest$ac_exeext conftest.$ac_ext
   9532 fi
   9533 
   9534 
   9535 		CFLAGS="$xorg_testset_save_CFLAGS"
   9536 
   9537 		eval supported=\$$cacheid
   9538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9539 $as_echo "$supported" >&6; }
   9540 		if test "$supported" = "yes" ; then
   9541 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9542 			found="yes"
   9543 		fi
   9544 	fi
   9545 
   9546 
   9547 
   9548 
   9549 
   9550 
   9551 
   9552 
   9553 
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 xorg_testset_save_CFLAGS="$CFLAGS"
   9561 
   9562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9565 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9566 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9567   $as_echo_n "(cached) " >&6
   9568 else
   9569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9570 /* end confdefs.h.  */
   9571 int i;
   9572 _ACEOF
   9573 if ac_fn_c_try_compile "$LINENO"; then :
   9574   xorg_cv_cc_flag_unknown_warning_option=yes
   9575 else
   9576   xorg_cv_cc_flag_unknown_warning_option=no
   9577 fi
   9578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9579 fi
   9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9581 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9583 	CFLAGS="$xorg_testset_save_CFLAGS"
   9584 fi
   9585 
   9586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9589 	fi
   9590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9592 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9593 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9594   $as_echo_n "(cached) " >&6
   9595 else
   9596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9597 /* end confdefs.h.  */
   9598 int i;
   9599 _ACEOF
   9600 if ac_fn_c_try_compile "$LINENO"; then :
   9601   xorg_cv_cc_flag_unused_command_line_argument=yes
   9602 else
   9603   xorg_cv_cc_flag_unused_command_line_argument=no
   9604 fi
   9605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9606 fi
   9607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9608 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9610 	CFLAGS="$xorg_testset_save_CFLAGS"
   9611 fi
   9612 
   9613 found="no"
   9614 
   9615 	if test $found = "no" ; then
   9616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9618 		fi
   9619 
   9620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9622 		fi
   9623 
   9624 		CFLAGS="$CFLAGS -Wwrite-strings"
   9625 
   9626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9627 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9628 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9629 		if eval \${$cacheid+:} false; then :
   9630   $as_echo_n "(cached) " >&6
   9631 else
   9632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9633 /* end confdefs.h.  */
   9634 int i;
   9635 int
   9636 main ()
   9637 {
   9638 
   9639   ;
   9640   return 0;
   9641 }
   9642 _ACEOF
   9643 if ac_fn_c_try_link "$LINENO"; then :
   9644   eval $cacheid=yes
   9645 else
   9646   eval $cacheid=no
   9647 fi
   9648 rm -f core conftest.err conftest.$ac_objext \
   9649     conftest$ac_exeext conftest.$ac_ext
   9650 fi
   9651 
   9652 
   9653 		CFLAGS="$xorg_testset_save_CFLAGS"
   9654 
   9655 		eval supported=\$$cacheid
   9656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9657 $as_echo "$supported" >&6; }
   9658 		if test "$supported" = "yes" ; then
   9659 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9660 			found="yes"
   9661 		fi
   9662 	fi
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 xorg_testset_save_CFLAGS="$CFLAGS"
   9679 
   9680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9683 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9684 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9685   $as_echo_n "(cached) " >&6
   9686 else
   9687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9688 /* end confdefs.h.  */
   9689 int i;
   9690 _ACEOF
   9691 if ac_fn_c_try_compile "$LINENO"; then :
   9692   xorg_cv_cc_flag_unknown_warning_option=yes
   9693 else
   9694   xorg_cv_cc_flag_unknown_warning_option=no
   9695 fi
   9696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9697 fi
   9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9699 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9701 	CFLAGS="$xorg_testset_save_CFLAGS"
   9702 fi
   9703 
   9704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9707 	fi
   9708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9710 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9711 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9712   $as_echo_n "(cached) " >&6
   9713 else
   9714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9715 /* end confdefs.h.  */
   9716 int i;
   9717 _ACEOF
   9718 if ac_fn_c_try_compile "$LINENO"; then :
   9719   xorg_cv_cc_flag_unused_command_line_argument=yes
   9720 else
   9721   xorg_cv_cc_flag_unused_command_line_argument=no
   9722 fi
   9723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9724 fi
   9725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9726 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9728 	CFLAGS="$xorg_testset_save_CFLAGS"
   9729 fi
   9730 
   9731 found="no"
   9732 
   9733 	if test $found = "no" ; then
   9734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9736 		fi
   9737 
   9738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9740 		fi
   9741 
   9742 		CFLAGS="$CFLAGS -Waddress"
   9743 
   9744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9745 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9746 		cacheid=xorg_cv_cc_flag__Waddress
   9747 		if eval \${$cacheid+:} false; then :
   9748   $as_echo_n "(cached) " >&6
   9749 else
   9750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9751 /* end confdefs.h.  */
   9752 int i;
   9753 int
   9754 main ()
   9755 {
   9756 
   9757   ;
   9758   return 0;
   9759 }
   9760 _ACEOF
   9761 if ac_fn_c_try_link "$LINENO"; then :
   9762   eval $cacheid=yes
   9763 else
   9764   eval $cacheid=no
   9765 fi
   9766 rm -f core conftest.err conftest.$ac_objext \
   9767     conftest$ac_exeext conftest.$ac_ext
   9768 fi
   9769 
   9770 
   9771 		CFLAGS="$xorg_testset_save_CFLAGS"
   9772 
   9773 		eval supported=\$$cacheid
   9774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9775 $as_echo "$supported" >&6; }
   9776 		if test "$supported" = "yes" ; then
   9777 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9778 			found="yes"
   9779 		fi
   9780 	fi
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 xorg_testset_save_CFLAGS="$CFLAGS"
   9797 
   9798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9801 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9802 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9803   $as_echo_n "(cached) " >&6
   9804 else
   9805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9806 /* end confdefs.h.  */
   9807 int i;
   9808 _ACEOF
   9809 if ac_fn_c_try_compile "$LINENO"; then :
   9810   xorg_cv_cc_flag_unknown_warning_option=yes
   9811 else
   9812   xorg_cv_cc_flag_unknown_warning_option=no
   9813 fi
   9814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9815 fi
   9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9817 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9819 	CFLAGS="$xorg_testset_save_CFLAGS"
   9820 fi
   9821 
   9822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9825 	fi
   9826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9828 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9829 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9830   $as_echo_n "(cached) " >&6
   9831 else
   9832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9833 /* end confdefs.h.  */
   9834 int i;
   9835 _ACEOF
   9836 if ac_fn_c_try_compile "$LINENO"; then :
   9837   xorg_cv_cc_flag_unused_command_line_argument=yes
   9838 else
   9839   xorg_cv_cc_flag_unused_command_line_argument=no
   9840 fi
   9841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9842 fi
   9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9844 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9846 	CFLAGS="$xorg_testset_save_CFLAGS"
   9847 fi
   9848 
   9849 found="no"
   9850 
   9851 	if test $found = "no" ; then
   9852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9854 		fi
   9855 
   9856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9858 		fi
   9859 
   9860 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9861 
   9862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9863 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9864 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9865 		if eval \${$cacheid+:} false; then :
   9866   $as_echo_n "(cached) " >&6
   9867 else
   9868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9869 /* end confdefs.h.  */
   9870 int i;
   9871 int
   9872 main ()
   9873 {
   9874 
   9875   ;
   9876   return 0;
   9877 }
   9878 _ACEOF
   9879 if ac_fn_c_try_link "$LINENO"; then :
   9880   eval $cacheid=yes
   9881 else
   9882   eval $cacheid=no
   9883 fi
   9884 rm -f core conftest.err conftest.$ac_objext \
   9885     conftest$ac_exeext conftest.$ac_ext
   9886 fi
   9887 
   9888 
   9889 		CFLAGS="$xorg_testset_save_CFLAGS"
   9890 
   9891 		eval supported=\$$cacheid
   9892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9893 $as_echo "$supported" >&6; }
   9894 		if test "$supported" = "yes" ; then
   9895 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9896 			found="yes"
   9897 		fi
   9898 	fi
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 xorg_testset_save_CFLAGS="$CFLAGS"
   9915 
   9916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9919 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9920 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9921   $as_echo_n "(cached) " >&6
   9922 else
   9923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9924 /* end confdefs.h.  */
   9925 int i;
   9926 _ACEOF
   9927 if ac_fn_c_try_compile "$LINENO"; then :
   9928   xorg_cv_cc_flag_unknown_warning_option=yes
   9929 else
   9930   xorg_cv_cc_flag_unknown_warning_option=no
   9931 fi
   9932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9933 fi
   9934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9935 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9937 	CFLAGS="$xorg_testset_save_CFLAGS"
   9938 fi
   9939 
   9940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9943 	fi
   9944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9946 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9947 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9948   $as_echo_n "(cached) " >&6
   9949 else
   9950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9951 /* end confdefs.h.  */
   9952 int i;
   9953 _ACEOF
   9954 if ac_fn_c_try_compile "$LINENO"; then :
   9955   xorg_cv_cc_flag_unused_command_line_argument=yes
   9956 else
   9957   xorg_cv_cc_flag_unused_command_line_argument=no
   9958 fi
   9959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9960 fi
   9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9962 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9964 	CFLAGS="$xorg_testset_save_CFLAGS"
   9965 fi
   9966 
   9967 found="no"
   9968 
   9969 	if test $found = "no" ; then
   9970 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9972 		fi
   9973 
   9974 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9976 		fi
   9977 
   9978 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9979 
   9980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9981 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9982 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9983 		if eval \${$cacheid+:} false; then :
   9984   $as_echo_n "(cached) " >&6
   9985 else
   9986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9987 /* end confdefs.h.  */
   9988 int i;
   9989 int
   9990 main ()
   9991 {
   9992 
   9993   ;
   9994   return 0;
   9995 }
   9996 _ACEOF
   9997 if ac_fn_c_try_link "$LINENO"; then :
   9998   eval $cacheid=yes
   9999 else
   10000   eval $cacheid=no
   10001 fi
   10002 rm -f core conftest.err conftest.$ac_objext \
   10003     conftest$ac_exeext conftest.$ac_ext
   10004 fi
   10005 
   10006 
   10007 		CFLAGS="$xorg_testset_save_CFLAGS"
   10008 
   10009 		eval supported=\$$cacheid
   10010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10011 $as_echo "$supported" >&6; }
   10012 		if test "$supported" = "yes" ; then
   10013 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10014 			found="yes"
   10015 		fi
   10016 	fi
   10017 
   10018 
   10019 fi
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 		CWARNFLAGS="$BASE_CFLAGS"
   10028 		if  test "x$GCC" = xyes ; then
   10029 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10030 		fi
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 # Check whether --enable-strict-compilation was given.
   10040 if test "${enable_strict_compilation+set}" = set; then :
   10041   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10042 else
   10043   STRICT_COMPILE=no
   10044 fi
   10045 
   10046 
   10047 
   10048 
   10049 
   10050 
   10051 STRICT_CFLAGS=""
   10052 
   10053 
   10054 
   10055 
   10056 
   10057 
   10058 
   10059 
   10060 
   10061 
   10062 
   10063 
   10064 
   10065 xorg_testset_save_CFLAGS="$CFLAGS"
   10066 
   10067 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10068 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10070 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10071 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10072   $as_echo_n "(cached) " >&6
   10073 else
   10074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10075 /* end confdefs.h.  */
   10076 int i;
   10077 _ACEOF
   10078 if ac_fn_c_try_compile "$LINENO"; then :
   10079   xorg_cv_cc_flag_unknown_warning_option=yes
   10080 else
   10081   xorg_cv_cc_flag_unknown_warning_option=no
   10082 fi
   10083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10084 fi
   10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10086 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10087 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10088 	CFLAGS="$xorg_testset_save_CFLAGS"
   10089 fi
   10090 
   10091 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10092 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10093 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10094 	fi
   10095 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10097 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10098 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10099   $as_echo_n "(cached) " >&6
   10100 else
   10101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10102 /* end confdefs.h.  */
   10103 int i;
   10104 _ACEOF
   10105 if ac_fn_c_try_compile "$LINENO"; then :
   10106   xorg_cv_cc_flag_unused_command_line_argument=yes
   10107 else
   10108   xorg_cv_cc_flag_unused_command_line_argument=no
   10109 fi
   10110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10111 fi
   10112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10113 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10114 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10115 	CFLAGS="$xorg_testset_save_CFLAGS"
   10116 fi
   10117 
   10118 found="no"
   10119 
   10120 	if test $found = "no" ; then
   10121 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10122 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10123 		fi
   10124 
   10125 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10126 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10127 		fi
   10128 
   10129 		CFLAGS="$CFLAGS -pedantic"
   10130 
   10131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10132 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10133 		cacheid=xorg_cv_cc_flag__pedantic
   10134 		if eval \${$cacheid+:} false; then :
   10135   $as_echo_n "(cached) " >&6
   10136 else
   10137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10138 /* end confdefs.h.  */
   10139 int i;
   10140 int
   10141 main ()
   10142 {
   10143 
   10144   ;
   10145   return 0;
   10146 }
   10147 _ACEOF
   10148 if ac_fn_c_try_link "$LINENO"; then :
   10149   eval $cacheid=yes
   10150 else
   10151   eval $cacheid=no
   10152 fi
   10153 rm -f core conftest.err conftest.$ac_objext \
   10154     conftest$ac_exeext conftest.$ac_ext
   10155 fi
   10156 
   10157 
   10158 		CFLAGS="$xorg_testset_save_CFLAGS"
   10159 
   10160 		eval supported=\$$cacheid
   10161 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10162 $as_echo "$supported" >&6; }
   10163 		if test "$supported" = "yes" ; then
   10164 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10165 			found="yes"
   10166 		fi
   10167 	fi
   10168 
   10169 
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 xorg_testset_save_CFLAGS="$CFLAGS"
   10184 
   10185 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10186 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10188 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10189 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10190   $as_echo_n "(cached) " >&6
   10191 else
   10192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10193 /* end confdefs.h.  */
   10194 int i;
   10195 _ACEOF
   10196 if ac_fn_c_try_compile "$LINENO"; then :
   10197   xorg_cv_cc_flag_unknown_warning_option=yes
   10198 else
   10199   xorg_cv_cc_flag_unknown_warning_option=no
   10200 fi
   10201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10202 fi
   10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10204 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10205 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10206 	CFLAGS="$xorg_testset_save_CFLAGS"
   10207 fi
   10208 
   10209 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10210 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10211 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10212 	fi
   10213 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10215 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10216 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10217   $as_echo_n "(cached) " >&6
   10218 else
   10219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10220 /* end confdefs.h.  */
   10221 int i;
   10222 _ACEOF
   10223 if ac_fn_c_try_compile "$LINENO"; then :
   10224   xorg_cv_cc_flag_unused_command_line_argument=yes
   10225 else
   10226   xorg_cv_cc_flag_unused_command_line_argument=no
   10227 fi
   10228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10229 fi
   10230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10231 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10232 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10233 	CFLAGS="$xorg_testset_save_CFLAGS"
   10234 fi
   10235 
   10236 found="no"
   10237 
   10238 	if test $found = "no" ; then
   10239 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10240 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10241 		fi
   10242 
   10243 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10244 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10245 		fi
   10246 
   10247 		CFLAGS="$CFLAGS -Werror"
   10248 
   10249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10250 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10251 		cacheid=xorg_cv_cc_flag__Werror
   10252 		if eval \${$cacheid+:} false; then :
   10253   $as_echo_n "(cached) " >&6
   10254 else
   10255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10256 /* end confdefs.h.  */
   10257 int i;
   10258 int
   10259 main ()
   10260 {
   10261 
   10262   ;
   10263   return 0;
   10264 }
   10265 _ACEOF
   10266 if ac_fn_c_try_link "$LINENO"; then :
   10267   eval $cacheid=yes
   10268 else
   10269   eval $cacheid=no
   10270 fi
   10271 rm -f core conftest.err conftest.$ac_objext \
   10272     conftest$ac_exeext conftest.$ac_ext
   10273 fi
   10274 
   10275 
   10276 		CFLAGS="$xorg_testset_save_CFLAGS"
   10277 
   10278 		eval supported=\$$cacheid
   10279 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10280 $as_echo "$supported" >&6; }
   10281 		if test "$supported" = "yes" ; then
   10282 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10283 			found="yes"
   10284 		fi
   10285 	fi
   10286 
   10287 	if test $found = "no" ; then
   10288 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10289 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10290 		fi
   10291 
   10292 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10293 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10294 		fi
   10295 
   10296 		CFLAGS="$CFLAGS -errwarn"
   10297 
   10298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10299 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10300 		cacheid=xorg_cv_cc_flag__errwarn
   10301 		if eval \${$cacheid+:} false; then :
   10302   $as_echo_n "(cached) " >&6
   10303 else
   10304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10305 /* end confdefs.h.  */
   10306 int i;
   10307 int
   10308 main ()
   10309 {
   10310 
   10311   ;
   10312   return 0;
   10313 }
   10314 _ACEOF
   10315 if ac_fn_c_try_link "$LINENO"; then :
   10316   eval $cacheid=yes
   10317 else
   10318   eval $cacheid=no
   10319 fi
   10320 rm -f core conftest.err conftest.$ac_objext \
   10321     conftest$ac_exeext conftest.$ac_ext
   10322 fi
   10323 
   10324 
   10325 		CFLAGS="$xorg_testset_save_CFLAGS"
   10326 
   10327 		eval supported=\$$cacheid
   10328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10329 $as_echo "$supported" >&6; }
   10330 		if test "$supported" = "yes" ; then
   10331 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10332 			found="yes"
   10333 		fi
   10334 	fi
   10335 
   10336 
   10337 
   10338 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10339 # activate it with -Werror, so we add it here explicitly.
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 xorg_testset_save_CFLAGS="$CFLAGS"
   10354 
   10355 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10356 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10358 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10359 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10360   $as_echo_n "(cached) " >&6
   10361 else
   10362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10363 /* end confdefs.h.  */
   10364 int i;
   10365 _ACEOF
   10366 if ac_fn_c_try_compile "$LINENO"; then :
   10367   xorg_cv_cc_flag_unknown_warning_option=yes
   10368 else
   10369   xorg_cv_cc_flag_unknown_warning_option=no
   10370 fi
   10371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10372 fi
   10373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10374 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10376 	CFLAGS="$xorg_testset_save_CFLAGS"
   10377 fi
   10378 
   10379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10382 	fi
   10383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10385 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10386 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   10395 else
   10396   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   10401 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10403 	CFLAGS="$xorg_testset_save_CFLAGS"
   10404 fi
   10405 
   10406 found="no"
   10407 
   10408 	if test $found = "no" ; then
   10409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10411 		fi
   10412 
   10413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10415 		fi
   10416 
   10417 		CFLAGS="$CFLAGS -Werror=attributes"
   10418 
   10419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10420 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10421 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10422 		if eval \${$cacheid+:} false; then :
   10423   $as_echo_n "(cached) " >&6
   10424 else
   10425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10426 /* end confdefs.h.  */
   10427 int i;
   10428 int
   10429 main ()
   10430 {
   10431 
   10432   ;
   10433   return 0;
   10434 }
   10435 _ACEOF
   10436 if ac_fn_c_try_link "$LINENO"; then :
   10437   eval $cacheid=yes
   10438 else
   10439   eval $cacheid=no
   10440 fi
   10441 rm -f core conftest.err conftest.$ac_objext \
   10442     conftest$ac_exeext conftest.$ac_ext
   10443 fi
   10444 
   10445 
   10446 		CFLAGS="$xorg_testset_save_CFLAGS"
   10447 
   10448 		eval supported=\$$cacheid
   10449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10450 $as_echo "$supported" >&6; }
   10451 		if test "$supported" = "yes" ; then
   10452 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10453 			found="yes"
   10454 		fi
   10455 	fi
   10456 
   10457 
   10458 
   10459 if test "x$STRICT_COMPILE" = "xyes"; then
   10460     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10461     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10462 fi
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 cat >>confdefs.h <<_ACEOF
   10470 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10471 _ACEOF
   10472 
   10473 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10474 	if test "x$PVM" = "x"; then
   10475 		PVM="0"
   10476 	fi
   10477 
   10478 cat >>confdefs.h <<_ACEOF
   10479 #define PACKAGE_VERSION_MINOR $PVM
   10480 _ACEOF
   10481 
   10482 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10483 	if test "x$PVP" = "x"; then
   10484 		PVP="0"
   10485 	fi
   10486 
   10487 cat >>confdefs.h <<_ACEOF
   10488 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10489 _ACEOF
   10490 
   10491 
   10492 
   10493 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10494 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10495 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10496 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10497 
   10498 
   10499 
   10500 
   10501 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10502 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10503 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10504 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10505 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 if test x$APP_MAN_SUFFIX = x    ; then
   10513     APP_MAN_SUFFIX=1
   10514 fi
   10515 if test x$APP_MAN_DIR = x    ; then
   10516     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10517 fi
   10518 
   10519 if test x$LIB_MAN_SUFFIX = x    ; then
   10520     LIB_MAN_SUFFIX=3
   10521 fi
   10522 if test x$LIB_MAN_DIR = x    ; then
   10523     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10524 fi
   10525 
   10526 if test x$FILE_MAN_SUFFIX = x    ; then
   10527     case $host_os in
   10528 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10529 	*)		FILE_MAN_SUFFIX=5  ;;
   10530     esac
   10531 fi
   10532 if test x$FILE_MAN_DIR = x    ; then
   10533     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10534 fi
   10535 
   10536 if test x$MISC_MAN_SUFFIX = x    ; then
   10537     case $host_os in
   10538 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10539 	*)		MISC_MAN_SUFFIX=7  ;;
   10540     esac
   10541 fi
   10542 if test x$MISC_MAN_DIR = x    ; then
   10543     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10544 fi
   10545 
   10546 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10547     case $host_os in
   10548 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10549 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10550     esac
   10551 fi
   10552 if test x$DRIVER_MAN_DIR = x    ; then
   10553     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10554 fi
   10555 
   10556 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10557     case $host_os in
   10558 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10559 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10560     esac
   10561 fi
   10562 if test x$ADMIN_MAN_DIR = x    ; then
   10563     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10564 fi
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 XORG_MAN_PAGE="X Version 11"
   10581 
   10582 MAN_SUBSTS="\
   10583 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10584 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10585 	-e 's|__xservername__|Xorg|g' \
   10586 	-e 's|__xconfigfile__|xorg.conf|g' \
   10587 	-e 's|__projectroot__|\$(prefix)|g' \
   10588 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10589 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10590 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10591 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10592 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10593 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10594 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10595 
   10596 
   10597 
   10598 # Check whether --enable-silent-rules was given.
   10599 if test "${enable_silent_rules+set}" = set; then :
   10600   enableval=$enable_silent_rules;
   10601 fi
   10602 
   10603 case $enable_silent_rules in # (((
   10604   yes) AM_DEFAULT_VERBOSITY=0;;
   10605    no) AM_DEFAULT_VERBOSITY=1;;
   10606     *) AM_DEFAULT_VERBOSITY=0;;
   10607 esac
   10608 am_make=${MAKE-make}
   10609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10610 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10611 if ${am_cv_make_support_nested_variables+:} false; then :
   10612   $as_echo_n "(cached) " >&6
   10613 else
   10614   if $as_echo 'TRUE=$(BAR$(V))
   10615 BAR0=false
   10616 BAR1=true
   10617 V=1
   10618 am__doit:
   10619 	@$(TRUE)
   10620 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10621   am_cv_make_support_nested_variables=yes
   10622 else
   10623   am_cv_make_support_nested_variables=no
   10624 fi
   10625 fi
   10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10627 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10628 if test $am_cv_make_support_nested_variables = yes; then
   10629     AM_V='$(V)'
   10630   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10631 else
   10632   AM_V=$AM_DEFAULT_VERBOSITY
   10633   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10634 fi
   10635 AM_BACKSLASH='\'
   10636 
   10637 
   10638 
   10639 ac_ext=c
   10640 ac_cpp='$CPP $CPPFLAGS'
   10641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   10645 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   10646 # On Suns, sometimes $CPP names a directory.
   10647 if test -n "$CPP" && test -d "$CPP"; then
   10648   CPP=
   10649 fi
   10650 if test -z "$CPP"; then
   10651   if ${ac_cv_prog_CPP+:} false; then :
   10652   $as_echo_n "(cached) " >&6
   10653 else
   10654       # Double quotes because CPP needs to be expanded
   10655     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   10656     do
   10657       ac_preproc_ok=false
   10658 for ac_c_preproc_warn_flag in '' yes
   10659 do
   10660   # Use a header file that comes with gcc, so configuring glibc
   10661   # with a fresh cross-compiler works.
   10662   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10663   # <limits.h> exists even on freestanding compilers.
   10664   # On the NeXT, cc -E runs the code through the compiler's parser,
   10665   # not just through cpp. "Syntax error" is here to catch this case.
   10666   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10667 /* end confdefs.h.  */
   10668 #ifdef __STDC__
   10669 # include <limits.h>
   10670 #else
   10671 # include <assert.h>
   10672 #endif
   10673 		     Syntax error
   10674 _ACEOF
   10675 if ac_fn_c_try_cpp "$LINENO"; then :
   10676 
   10677 else
   10678   # Broken: fails on valid input.
   10679 continue
   10680 fi
   10681 rm -f conftest.err conftest.i conftest.$ac_ext
   10682 
   10683   # OK, works on sane cases.  Now check whether nonexistent headers
   10684   # can be detected and how.
   10685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10686 /* end confdefs.h.  */
   10687 #include <ac_nonexistent.h>
   10688 _ACEOF
   10689 if ac_fn_c_try_cpp "$LINENO"; then :
   10690   # Broken: success on invalid input.
   10691 continue
   10692 else
   10693   # Passes both tests.
   10694 ac_preproc_ok=:
   10695 break
   10696 fi
   10697 rm -f conftest.err conftest.i conftest.$ac_ext
   10698 
   10699 done
   10700 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   10701 rm -f conftest.i conftest.err conftest.$ac_ext
   10702 if $ac_preproc_ok; then :
   10703   break
   10704 fi
   10705 
   10706     done
   10707     ac_cv_prog_CPP=$CPP
   10708 
   10709 fi
   10710   CPP=$ac_cv_prog_CPP
   10711 else
   10712   ac_cv_prog_CPP=$CPP
   10713 fi
   10714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   10715 $as_echo "$CPP" >&6; }
   10716 ac_preproc_ok=false
   10717 for ac_c_preproc_warn_flag in '' yes
   10718 do
   10719   # Use a header file that comes with gcc, so configuring glibc
   10720   # with a fresh cross-compiler works.
   10721   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10722   # <limits.h> exists even on freestanding compilers.
   10723   # On the NeXT, cc -E runs the code through the compiler's parser,
   10724   # not just through cpp. "Syntax error" is here to catch this case.
   10725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10726 /* end confdefs.h.  */
   10727 #ifdef __STDC__
   10728 # include <limits.h>
   10729 #else
   10730 # include <assert.h>
   10731 #endif
   10732 		     Syntax error
   10733 _ACEOF
   10734 if ac_fn_c_try_cpp "$LINENO"; then :
   10735 
   10736 else
   10737   # Broken: fails on valid input.
   10738 continue
   10739 fi
   10740 rm -f conftest.err conftest.i conftest.$ac_ext
   10741 
   10742   # OK, works on sane cases.  Now check whether nonexistent headers
   10743   # can be detected and how.
   10744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10745 /* end confdefs.h.  */
   10746 #include <ac_nonexistent.h>
   10747 _ACEOF
   10748 if ac_fn_c_try_cpp "$LINENO"; then :
   10749   # Broken: success on invalid input.
   10750 continue
   10751 else
   10752   # Passes both tests.
   10753 ac_preproc_ok=:
   10754 break
   10755 fi
   10756 rm -f conftest.err conftest.i conftest.$ac_ext
   10757 
   10758 done
   10759 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   10760 rm -f conftest.i conftest.err conftest.$ac_ext
   10761 if $ac_preproc_ok; then :
   10762 
   10763 else
   10764   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   10765 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   10766 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   10767 See \`config.log' for more details" "$LINENO" 5; }
   10768 fi
   10769 
   10770 ac_ext=c
   10771 ac_cpp='$CPP $CPPFLAGS'
   10772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10775 
   10776 
   10777 
   10778 for ac_prog in cpp
   10779 do
   10780   # Extract the first word of "$ac_prog", so it can be a program name with args.
   10781 set dummy $ac_prog; ac_word=$2
   10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10783 $as_echo_n "checking for $ac_word... " >&6; }
   10784 if ${ac_cv_path_RAWCPP+:} false; then :
   10785   $as_echo_n "(cached) " >&6
   10786 else
   10787   case $RAWCPP in
   10788   [\\/]* | ?:[\\/]*)
   10789   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   10790   ;;
   10791   *)
   10792   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10793 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   10794 for as_dir in $as_dummy
   10795 do
   10796   IFS=$as_save_IFS
   10797   test -z "$as_dir" && as_dir=.
   10798     for ac_exec_ext in '' $ac_executable_extensions; do
   10799   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10800     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   10801     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10802     break 2
   10803   fi
   10804 done
   10805   done
   10806 IFS=$as_save_IFS
   10807 
   10808   ;;
   10809 esac
   10810 fi
   10811 RAWCPP=$ac_cv_path_RAWCPP
   10812 if test -n "$RAWCPP"; then
   10813   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   10814 $as_echo "$RAWCPP" >&6; }
   10815 else
   10816   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10817 $as_echo "no" >&6; }
   10818 fi
   10819 
   10820 
   10821   test -n "$RAWCPP" && break
   10822 done
   10823 test -n "$RAWCPP" || RAWCPP="${CPP}"
   10824 
   10825 
   10826 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   10827 # which is not the best choice for supporting other OS'es, but covers most
   10828 # of the ones we need for now.
   10829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   10830 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10832 /* end confdefs.h.  */
   10833 Does cpp redefine unix ?
   10834 _ACEOF
   10835 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10837 $as_echo "no" >&6; }
   10838 else
   10839 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10840 		RAWCPPFLAGS=-undef
   10841 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10842 $as_echo "yes" >&6; }
   10843 	# under Cygwin unix is still defined even with -undef
   10844 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   10845 		RAWCPPFLAGS="-undef -ansi"
   10846 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   10847 $as_echo "yes, with -ansi" >&6; }
   10848 	else
   10849 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   10850 	fi
   10851 fi
   10852 rm -f conftest.$ac_ext
   10853 
   10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   10855 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   10856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10857 /* end confdefs.h.  */
   10858 Does cpp preserve   "whitespace"?
   10859 _ACEOF
   10860 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   10861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10862 $as_echo "no" >&6; }
   10863 else
   10864 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   10865 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   10866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   10867 $as_echo "yes" >&6; }
   10868 	else
   10869 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   10870 	fi
   10871 fi
   10872 rm -f conftest.$ac_ext
   10873 
   10874 
   10875 CPP_PROGRAM=${RAWCPP}
   10876 
   10877 
   10878 for ac_func in mkstemp
   10879 do :
   10880   ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
   10881 if test "x$ac_cv_func_mkstemp" = xyes; then :
   10882   cat >>confdefs.h <<_ACEOF
   10883 #define HAVE_MKSTEMP 1
   10884 _ACEOF
   10885 
   10886 fi
   10887 done
   10888 
   10889 
   10890 # Extract the first word of "perl", so it can be a program name with args.
   10891 set dummy perl; ac_word=$2
   10892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   10893 $as_echo_n "checking for $ac_word... " >&6; }
   10894 if ${ac_cv_prog_HAS_PERL+:} false; then :
   10895   $as_echo_n "(cached) " >&6
   10896 else
   10897   if test -n "$HAS_PERL"; then
   10898   ac_cv_prog_HAS_PERL="$HAS_PERL" # Let the user override the test.
   10899 else
   10900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10901 for as_dir in $PATH
   10902 do
   10903   IFS=$as_save_IFS
   10904   test -z "$as_dir" && as_dir=.
   10905     for ac_exec_ext in '' $ac_executable_extensions; do
   10906   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   10907     ac_cv_prog_HAS_PERL="yes"
   10908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   10909     break 2
   10910   fi
   10911 done
   10912   done
   10913 IFS=$as_save_IFS
   10914 
   10915 fi
   10916 fi
   10917 HAS_PERL=$ac_cv_prog_HAS_PERL
   10918 if test -n "$HAS_PERL"; then
   10919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAS_PERL" >&5
   10920 $as_echo "$HAS_PERL" >&6; }
   10921 else
   10922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10923 $as_echo "no" >&6; }
   10924 fi
   10925 
   10926 
   10927  if test "x$HAS_PERL" = xyes; then
   10928   HAS_PERL_TRUE=
   10929   HAS_PERL_FALSE='#'
   10930 else
   10931   HAS_PERL_TRUE='#'
   10932   HAS_PERL_FALSE=
   10933 fi
   10934 
   10935 
   10936 
   10937 
   10938 DEFAULT_XCONFDIR="${libdir}/X11/config"
   10939 
   10940 # Check whether --with-config-dir was given.
   10941 if test "${with_config_dir+set}" = set; then :
   10942   withval=$with_config_dir; XCONFDIR="$withval"
   10943 else
   10944   XCONFDIR="$DEFAULT_XCONFDIR"
   10945 fi
   10946 
   10947 
   10948 
   10949 DEFAULT_PREPROCESSCMD_MKDEPEND="gcc -E"
   10950 
   10951 # Check whether --with-script-preproc-cmd was given.
   10952 if test "${with_script_preproc_cmd+set}" = set; then :
   10953   withval=$with_script_preproc_cmd; PREPROCESSCMD_MKDEPEND="$withval"
   10954 else
   10955   PREPROCESSCMD_MKDEPEND="$DEFAULT_PREPROCESSCMD_MKDEPEND"
   10956 fi
   10957 
   10958 
   10959 
   10960 DEFAULT_ARCMD="ar clq"
   10961 
   10962 # Check whether --with-create-lib-cmd was given.
   10963 if test "${with_create_lib_cmd+set}" = set; then :
   10964   withval=$with_create_lib_cmd; ARCMD="$withval"
   10965 else
   10966   ARCMD="$DEFAULT_ARCMD"
   10967 fi
   10968 
   10969 
   10970 
   10971 DEFAULT_RANLIB="ranlib"
   10972 
   10973 # Check whether --with-clean-lib-cmd was given.
   10974 if test "${with_clean_lib_cmd+set}" = set; then :
   10975   withval=$with_clean_lib_cmd; RANLIB="$withval"
   10976 else
   10977   RANLIB="$DEFAULT_RANLIB"
   10978 fi
   10979 
   10980 
   10981 
   10982 # Check whether --enable-revpath was given.
   10983 if test "${enable_revpath+set}" = set; then :
   10984   enableval=$enable_revpath; BUILD_REVPATH="$enableval"
   10985 else
   10986   BUILD_REVPATH=yes
   10987 fi
   10988 
   10989  if test "x$BUILD_REVPATH" = xyes; then
   10990   BUILD_REVPATH_TRUE=
   10991   BUILD_REVPATH_FALSE='#'
   10992 else
   10993   BUILD_REVPATH_TRUE='#'
   10994   BUILD_REVPATH_FALSE=
   10995 fi
   10996 
   10997 
   10998 # Check whether --enable-makeg was given.
   10999 if test "${enable_makeg+set}" = set; then :
   11000   enableval=$enable_makeg; BUILD_MAKEG="$enableval"
   11001 else
   11002   BUILD_MAKEG=yes
   11003 fi
   11004 
   11005  if test "x$BUILD_MAKEG" = xyes; then
   11006   BUILD_MAKEG_TRUE=
   11007   BUILD_MAKEG_FALSE='#'
   11008 else
   11009   BUILD_MAKEG_TRUE='#'
   11010   BUILD_MAKEG_FALSE=
   11011 fi
   11012 
   11013 
   11014 # Check whether --enable-xmkmf was given.
   11015 if test "${enable_xmkmf+set}" = set; then :
   11016   enableval=$enable_xmkmf; BUILD_XMKMF="$enableval"
   11017 else
   11018   BUILD_XMKMF=yes
   11019 fi
   11020 
   11021  if test "x$BUILD_XMKMF" = xyes; then
   11022   BUILD_XMKMF_TRUE=
   11023   BUILD_XMKMF_FALSE='#'
   11024 else
   11025   BUILD_XMKMF_TRUE='#'
   11026   BUILD_XMKMF_FALSE=
   11027 fi
   11028 
   11029 
   11030 # Check whether --enable-ccmakedep was given.
   11031 if test "${enable_ccmakedep+set}" = set; then :
   11032   enableval=$enable_ccmakedep; BUILD_CCMAKEDEP="$enableval"
   11033 else
   11034   BUILD_CCMAKEDEP=yes
   11035 fi
   11036 
   11037  if test "x$BUILD_CCMAKEDEP" = xyes; then
   11038   BUILD_CCMAKEDEP_TRUE=
   11039   BUILD_CCMAKEDEP_FALSE='#'
   11040 else
   11041   BUILD_CCMAKEDEP_TRUE='#'
   11042   BUILD_CCMAKEDEP_FALSE=
   11043 fi
   11044 
   11045 
   11046 # Check whether --enable-mergelib was given.
   11047 if test "${enable_mergelib+set}" = set; then :
   11048   enableval=$enable_mergelib; BUILD_MERGELIB="$enableval"
   11049 else
   11050   BUILD_MERGELIB=yes
   11051 fi
   11052 
   11053  if test "x$BUILD_MERGELIB" = xyes; then
   11054   BUILD_MERGELIB_TRUE=
   11055   BUILD_MERGELIB_FALSE='#'
   11056 else
   11057   BUILD_MERGELIB_TRUE='#'
   11058   BUILD_MERGELIB_FALSE=
   11059 fi
   11060 
   11061 
   11062 # Check whether --enable-mkdirhier was given.
   11063 if test "${enable_mkdirhier+set}" = set; then :
   11064   enableval=$enable_mkdirhier; BUILD_MKDIRHIER="$enableval"
   11065 else
   11066   BUILD_MKDIRHIER=yes
   11067 fi
   11068 
   11069  if test "x$BUILD_MKDIRHIER" = xyes; then
   11070   BUILD_MKDIRHIER_TRUE=
   11071   BUILD_MKDIRHIER_FALSE='#'
   11072 else
   11073   BUILD_MKDIRHIER_TRUE='#'
   11074   BUILD_MKDIRHIER_FALSE=
   11075 fi
   11076 
   11077 
   11078 # Check whether --enable-cleanlinks was given.
   11079 if test "${enable_cleanlinks+set}" = set; then :
   11080   enableval=$enable_cleanlinks; BUILD_CLEANLINKS="$enableval"
   11081 else
   11082   BUILD_CLEANLINKS=yes
   11083 fi
   11084 
   11085  if test "x$BUILD_CLEANLINKS" = xyes; then
   11086   BUILD_CLEANLINKS_TRUE=
   11087   BUILD_CLEANLINKS_FALSE='#'
   11088 else
   11089   BUILD_CLEANLINKS_TRUE='#'
   11090   BUILD_CLEANLINKS_FALSE=
   11091 fi
   11092 
   11093 
   11094 # Check whether --enable-mkhtmlindex was given.
   11095 if test "${enable_mkhtmlindex+set}" = set; then :
   11096   enableval=$enable_mkhtmlindex; BUILD_MKHTMLINDEX="$enableval"
   11097 else
   11098   BUILD_MKHTMLINDEX=yes
   11099 fi
   11100 
   11101  if test "x$BUILD_MKHTMLINDEX" = xyes; then
   11102   BUILD_MKHTMLINDEX_TRUE=
   11103   BUILD_MKHTMLINDEX_FALSE='#'
   11104 else
   11105   BUILD_MKHTMLINDEX_TRUE='#'
   11106   BUILD_MKHTMLINDEX_FALSE=
   11107 fi
   11108 
   11109 
   11110 # Checks for pkg-config packages
   11111 
   11112 pkg_failed=no
   11113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPROTO" >&5
   11114 $as_echo_n "checking for XPROTO... " >&6; }
   11115 
   11116 if test -n "$XPROTO_CFLAGS"; then
   11117     pkg_cv_XPROTO_CFLAGS="$XPROTO_CFLAGS"
   11118  elif test -n "$PKG_CONFIG"; then
   11119     if test -n "$PKG_CONFIG" && \
   11120     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   11121   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11122   ac_status=$?
   11123   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11124   test $ac_status = 0; }; then
   11125   pkg_cv_XPROTO_CFLAGS=`$PKG_CONFIG --cflags "xproto" 2>/dev/null`
   11126 		      test "x$?" != "x0" && pkg_failed=yes
   11127 else
   11128   pkg_failed=yes
   11129 fi
   11130  else
   11131     pkg_failed=untried
   11132 fi
   11133 if test -n "$XPROTO_LIBS"; then
   11134     pkg_cv_XPROTO_LIBS="$XPROTO_LIBS"
   11135  elif test -n "$PKG_CONFIG"; then
   11136     if test -n "$PKG_CONFIG" && \
   11137     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto\""; } >&5
   11138   ($PKG_CONFIG --exists --print-errors "xproto") 2>&5
   11139   ac_status=$?
   11140   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11141   test $ac_status = 0; }; then
   11142   pkg_cv_XPROTO_LIBS=`$PKG_CONFIG --libs "xproto" 2>/dev/null`
   11143 		      test "x$?" != "x0" && pkg_failed=yes
   11144 else
   11145   pkg_failed=yes
   11146 fi
   11147  else
   11148     pkg_failed=untried
   11149 fi
   11150 
   11151 
   11152 
   11153 if test $pkg_failed = yes; then
   11154    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11155 $as_echo "no" >&6; }
   11156 
   11157 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   11158         _pkg_short_errors_supported=yes
   11159 else
   11160         _pkg_short_errors_supported=no
   11161 fi
   11162         if test $_pkg_short_errors_supported = yes; then
   11163 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto" 2>&1`
   11164         else
   11165 	        XPROTO_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto" 2>&1`
   11166         fi
   11167 	# Put the nasty error message in config.log where it belongs
   11168 	echo "$XPROTO_PKG_ERRORS" >&5
   11169 
   11170 	as_fn_error $? "Package requirements (xproto) were not met:
   11171 
   11172 $XPROTO_PKG_ERRORS
   11173 
   11174 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   11175 installed software in a non-standard prefix.
   11176 
   11177 Alternatively, you may set the environment variables XPROTO_CFLAGS
   11178 and XPROTO_LIBS to avoid the need to call pkg-config.
   11179 See the pkg-config man page for more details." "$LINENO" 5
   11180 elif test $pkg_failed = untried; then
   11181      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11182 $as_echo "no" >&6; }
   11183 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   11184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   11185 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   11186 is in your PATH or set the PKG_CONFIG environment variable to the full
   11187 path to pkg-config.
   11188 
   11189 Alternatively, you may set the environment variables XPROTO_CFLAGS
   11190 and XPROTO_LIBS to avoid the need to call pkg-config.
   11191 See the pkg-config man page for more details.
   11192 
   11193 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   11194 See \`config.log' for more details" "$LINENO" 5; }
   11195 else
   11196 	XPROTO_CFLAGS=$pkg_cv_XPROTO_CFLAGS
   11197 	XPROTO_LIBS=$pkg_cv_XPROTO_LIBS
   11198         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11199 $as_echo "yes" >&6; }
   11200 
   11201 fi
   11202 
   11203 ac_config_files="$ac_config_files Makefile"
   11204 
   11205 cat >confcache <<\_ACEOF
   11206 # This file is a shell script that caches the results of configure
   11207 # tests run on this system so they can be shared between configure
   11208 # scripts and configure runs, see configure's option --config-cache.
   11209 # It is not useful on other systems.  If it contains results you don't
   11210 # want to keep, you may remove or edit it.
   11211 #
   11212 # config.status only pays attention to the cache file if you give it
   11213 # the --recheck option to rerun configure.
   11214 #
   11215 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   11216 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   11217 # following values.
   11218 
   11219 _ACEOF
   11220 
   11221 # The following way of writing the cache mishandles newlines in values,
   11222 # but we know of no workaround that is simple, portable, and efficient.
   11223 # So, we kill variables containing newlines.
   11224 # Ultrix sh set writes to stderr and can't be redirected directly,
   11225 # and sets the high bit in the cache file unless we assign to the vars.
   11226 (
   11227   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   11228     eval ac_val=\$$ac_var
   11229     case $ac_val in #(
   11230     *${as_nl}*)
   11231       case $ac_var in #(
   11232       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   11233 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   11234       esac
   11235       case $ac_var in #(
   11236       _ | IFS | as_nl) ;; #(
   11237       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   11238       *) { eval $ac_var=; unset $ac_var;} ;;
   11239       esac ;;
   11240     esac
   11241   done
   11242 
   11243   (set) 2>&1 |
   11244     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   11245     *${as_nl}ac_space=\ *)
   11246       # `set' does not quote correctly, so add quotes: double-quote
   11247       # substitution turns \\\\ into \\, and sed turns \\ into \.
   11248       sed -n \
   11249 	"s/'/'\\\\''/g;
   11250 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   11251       ;; #(
   11252     *)
   11253       # `set' quotes correctly as required by POSIX, so do not add quotes.
   11254       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   11255       ;;
   11256     esac |
   11257     sort
   11258 ) |
   11259   sed '
   11260      /^ac_cv_env_/b end
   11261      t clear
   11262      :clear
   11263      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   11264      t end
   11265      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   11266      :end' >>confcache
   11267 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   11268   if test -w "$cache_file"; then
   11269     if test "x$cache_file" != "x/dev/null"; then
   11270       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   11271 $as_echo "$as_me: updating cache $cache_file" >&6;}
   11272       if test ! -f "$cache_file" || test -h "$cache_file"; then
   11273 	cat confcache >"$cache_file"
   11274       else
   11275         case $cache_file in #(
   11276         */* | ?:*)
   11277 	  mv -f confcache "$cache_file"$$ &&
   11278 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   11279         *)
   11280 	  mv -f confcache "$cache_file" ;;
   11281 	esac
   11282       fi
   11283     fi
   11284   else
   11285     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   11286 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   11287   fi
   11288 fi
   11289 rm -f confcache
   11290 
   11291 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   11292 # Let make expand exec_prefix.
   11293 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   11294 
   11295 DEFS=-DHAVE_CONFIG_H
   11296 
   11297 ac_libobjs=
   11298 ac_ltlibobjs=
   11299 U=
   11300 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   11301   # 1. Remove the extension, and $U if already installed.
   11302   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   11303   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   11304   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   11305   #    will be set to the directory where LIBOBJS objects are built.
   11306   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   11307   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   11308 done
   11309 LIBOBJS=$ac_libobjs
   11310 
   11311 LTLIBOBJS=$ac_ltlibobjs
   11312 
   11313 
   11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   11315 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   11316    if test -n "$am_sleep_pid"; then
   11317      # Hide warnings about reused PIDs.
   11318      wait $am_sleep_pid 2>/dev/null
   11319    fi
   11320    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   11321 $as_echo "done" >&6; }
   11322  if test -n "$EXEEXT"; then
   11323   am__EXEEXT_TRUE=
   11324   am__EXEEXT_FALSE='#'
   11325 else
   11326   am__EXEEXT_TRUE='#'
   11327   am__EXEEXT_FALSE=
   11328 fi
   11329 
   11330 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   11331   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   11332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11333 fi
   11334 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   11335   as_fn_error $? "conditional \"AMDEP\" was never defined.
   11336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11337 fi
   11338 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   11339   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   11340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11341 fi
   11342 if test -z "${HAS_PERL_TRUE}" && test -z "${HAS_PERL_FALSE}"; then
   11343   as_fn_error $? "conditional \"HAS_PERL\" was never defined.
   11344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11345 fi
   11346 if test -z "${BUILD_REVPATH_TRUE}" && test -z "${BUILD_REVPATH_FALSE}"; then
   11347   as_fn_error $? "conditional \"BUILD_REVPATH\" was never defined.
   11348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11349 fi
   11350 if test -z "${BUILD_MAKEG_TRUE}" && test -z "${BUILD_MAKEG_FALSE}"; then
   11351   as_fn_error $? "conditional \"BUILD_MAKEG\" was never defined.
   11352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11353 fi
   11354 if test -z "${BUILD_XMKMF_TRUE}" && test -z "${BUILD_XMKMF_FALSE}"; then
   11355   as_fn_error $? "conditional \"BUILD_XMKMF\" was never defined.
   11356 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11357 fi
   11358 if test -z "${BUILD_CCMAKEDEP_TRUE}" && test -z "${BUILD_CCMAKEDEP_FALSE}"; then
   11359   as_fn_error $? "conditional \"BUILD_CCMAKEDEP\" was never defined.
   11360 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11361 fi
   11362 if test -z "${BUILD_MERGELIB_TRUE}" && test -z "${BUILD_MERGELIB_FALSE}"; then
   11363   as_fn_error $? "conditional \"BUILD_MERGELIB\" was never defined.
   11364 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11365 fi
   11366 if test -z "${BUILD_MKDIRHIER_TRUE}" && test -z "${BUILD_MKDIRHIER_FALSE}"; then
   11367   as_fn_error $? "conditional \"BUILD_MKDIRHIER\" was never defined.
   11368 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11369 fi
   11370 if test -z "${BUILD_CLEANLINKS_TRUE}" && test -z "${BUILD_CLEANLINKS_FALSE}"; then
   11371   as_fn_error $? "conditional \"BUILD_CLEANLINKS\" was never defined.
   11372 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11373 fi
   11374 if test -z "${BUILD_MKHTMLINDEX_TRUE}" && test -z "${BUILD_MKHTMLINDEX_FALSE}"; then
   11375   as_fn_error $? "conditional \"BUILD_MKHTMLINDEX\" was never defined.
   11376 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   11377 fi
   11378 
   11379 : "${CONFIG_STATUS=./config.status}"
   11380 ac_write_fail=0
   11381 ac_clean_files_save=$ac_clean_files
   11382 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   11383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   11384 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   11385 as_write_fail=0
   11386 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   11387 #! $SHELL
   11388 # Generated by $as_me.
   11389 # Run this file to recreate the current configuration.
   11390 # Compiler output produced by configure, useful for debugging
   11391 # configure, is in config.log if it exists.
   11392 
   11393 debug=false
   11394 ac_cs_recheck=false
   11395 ac_cs_silent=false
   11396 
   11397 SHELL=\${CONFIG_SHELL-$SHELL}
   11398 export SHELL
   11399 _ASEOF
   11400 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   11401 ## -------------------- ##
   11402 ## M4sh Initialization. ##
   11403 ## -------------------- ##
   11404 
   11405 # Be more Bourne compatible
   11406 DUALCASE=1; export DUALCASE # for MKS sh
   11407 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   11408   emulate sh
   11409   NULLCMD=:
   11410   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   11411   # is contrary to our usage.  Disable this feature.
   11412   alias -g '${1+"$@"}'='"$@"'
   11413   setopt NO_GLOB_SUBST
   11414 else
   11415   case `(set -o) 2>/dev/null` in #(
   11416   *posix*) :
   11417     set -o posix ;; #(
   11418   *) :
   11419      ;;
   11420 esac
   11421 fi
   11422 
   11423 
   11424 as_nl='
   11425 '
   11426 export as_nl
   11427 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   11428 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   11429 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   11430 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   11431 # Prefer a ksh shell builtin over an external printf program on Solaris,
   11432 # but without wasting forks for bash or zsh.
   11433 if test -z "$BASH_VERSION$ZSH_VERSION" \
   11434     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   11435   as_echo='print -r --'
   11436   as_echo_n='print -rn --'
   11437 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   11438   as_echo='printf %s\n'
   11439   as_echo_n='printf %s'
   11440 else
   11441   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   11442     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   11443     as_echo_n='/usr/ucb/echo -n'
   11444   else
   11445     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   11446     as_echo_n_body='eval
   11447       arg=$1;
   11448       case $arg in #(
   11449       *"$as_nl"*)
   11450 	expr "X$arg" : "X\\(.*\\)$as_nl";
   11451 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   11452       esac;
   11453       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   11454     '
   11455     export as_echo_n_body
   11456     as_echo_n='sh -c $as_echo_n_body as_echo'
   11457   fi
   11458   export as_echo_body
   11459   as_echo='sh -c $as_echo_body as_echo'
   11460 fi
   11461 
   11462 # The user is always right.
   11463 if test "${PATH_SEPARATOR+set}" != set; then
   11464   PATH_SEPARATOR=:
   11465   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   11466     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   11467       PATH_SEPARATOR=';'
   11468   }
   11469 fi
   11470 
   11471 
   11472 # IFS
   11473 # We need space, tab and new line, in precisely that order.  Quoting is
   11474 # there to prevent editors from complaining about space-tab.
   11475 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   11476 # splitting by setting IFS to empty value.)
   11477 IFS=" ""	$as_nl"
   11478 
   11479 # Find who we are.  Look in the path if we contain no directory separator.
   11480 as_myself=
   11481 case $0 in #((
   11482   *[\\/]* ) as_myself=$0 ;;
   11483   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11484 for as_dir in $PATH
   11485 do
   11486   IFS=$as_save_IFS
   11487   test -z "$as_dir" && as_dir=.
   11488     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   11489   done
   11490 IFS=$as_save_IFS
   11491 
   11492      ;;
   11493 esac
   11494 # We did not find ourselves, most probably we were run as `sh COMMAND'
   11495 # in which case we are not to be found in the path.
   11496 if test "x$as_myself" = x; then
   11497   as_myself=$0
   11498 fi
   11499 if test ! -f "$as_myself"; then
   11500   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   11501   exit 1
   11502 fi
   11503 
   11504 # Unset variables that we do not need and which cause bugs (e.g. in
   11505 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   11506 # suppresses any "Segmentation fault" message there.  '((' could
   11507 # trigger a bug in pdksh 5.2.14.
   11508 for as_var in BASH_ENV ENV MAIL MAILPATH
   11509 do eval test x\${$as_var+set} = xset \
   11510   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   11511 done
   11512 PS1='$ '
   11513 PS2='> '
   11514 PS4='+ '
   11515 
   11516 # NLS nuisances.
   11517 LC_ALL=C
   11518 export LC_ALL
   11519 LANGUAGE=C
   11520 export LANGUAGE
   11521 
   11522 # CDPATH.
   11523 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   11524 
   11525 
   11526 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   11527 # ----------------------------------------
   11528 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   11529 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   11530 # script with STATUS, using 1 if that was 0.
   11531 as_fn_error ()
   11532 {
   11533   as_status=$1; test $as_status -eq 0 && as_status=1
   11534   if test "$4"; then
   11535     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   11536     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   11537   fi
   11538   $as_echo "$as_me: error: $2" >&2
   11539   as_fn_exit $as_status
   11540 } # as_fn_error
   11541 
   11542 
   11543 # as_fn_set_status STATUS
   11544 # -----------------------
   11545 # Set $? to STATUS, without forking.
   11546 as_fn_set_status ()
   11547 {
   11548   return $1
   11549 } # as_fn_set_status
   11550 
   11551 # as_fn_exit STATUS
   11552 # -----------------
   11553 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   11554 as_fn_exit ()
   11555 {
   11556   set +e
   11557   as_fn_set_status $1
   11558   exit $1
   11559 } # as_fn_exit
   11560 
   11561 # as_fn_unset VAR
   11562 # ---------------
   11563 # Portably unset VAR.
   11564 as_fn_unset ()
   11565 {
   11566   { eval $1=; unset $1;}
   11567 }
   11568 as_unset=as_fn_unset
   11569 # as_fn_append VAR VALUE
   11570 # ----------------------
   11571 # Append the text in VALUE to the end of the definition contained in VAR. Take
   11572 # advantage of any shell optimizations that allow amortized linear growth over
   11573 # repeated appends, instead of the typical quadratic growth present in naive
   11574 # implementations.
   11575 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   11576   eval 'as_fn_append ()
   11577   {
   11578     eval $1+=\$2
   11579   }'
   11580 else
   11581   as_fn_append ()
   11582   {
   11583     eval $1=\$$1\$2
   11584   }
   11585 fi # as_fn_append
   11586 
   11587 # as_fn_arith ARG...
   11588 # ------------------
   11589 # Perform arithmetic evaluation on the ARGs, and store the result in the
   11590 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   11591 # must be portable across $(()) and expr.
   11592 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   11593   eval 'as_fn_arith ()
   11594   {
   11595     as_val=$(( $* ))
   11596   }'
   11597 else
   11598   as_fn_arith ()
   11599   {
   11600     as_val=`expr "$@" || test $? -eq 1`
   11601   }
   11602 fi # as_fn_arith
   11603 
   11604 
   11605 if expr a : '\(a\)' >/dev/null 2>&1 &&
   11606    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   11607   as_expr=expr
   11608 else
   11609   as_expr=false
   11610 fi
   11611 
   11612 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   11613   as_basename=basename
   11614 else
   11615   as_basename=false
   11616 fi
   11617 
   11618 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   11619   as_dirname=dirname
   11620 else
   11621   as_dirname=false
   11622 fi
   11623 
   11624 as_me=`$as_basename -- "$0" ||
   11625 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   11626 	 X"$0" : 'X\(//\)$' \| \
   11627 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   11628 $as_echo X/"$0" |
   11629     sed '/^.*\/\([^/][^/]*\)\/*$/{
   11630 	    s//\1/
   11631 	    q
   11632 	  }
   11633 	  /^X\/\(\/\/\)$/{
   11634 	    s//\1/
   11635 	    q
   11636 	  }
   11637 	  /^X\/\(\/\).*/{
   11638 	    s//\1/
   11639 	    q
   11640 	  }
   11641 	  s/.*/./; q'`
   11642 
   11643 # Avoid depending upon Character Ranges.
   11644 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   11645 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   11646 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   11647 as_cr_digits='0123456789'
   11648 as_cr_alnum=$as_cr_Letters$as_cr_digits
   11649 
   11650 ECHO_C= ECHO_N= ECHO_T=
   11651 case `echo -n x` in #(((((
   11652 -n*)
   11653   case `echo 'xy\c'` in
   11654   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   11655   xy)  ECHO_C='\c';;
   11656   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   11657        ECHO_T='	';;
   11658   esac;;
   11659 *)
   11660   ECHO_N='-n';;
   11661 esac
   11662 
   11663 rm -f conf$$ conf$$.exe conf$$.file
   11664 if test -d conf$$.dir; then
   11665   rm -f conf$$.dir/conf$$.file
   11666 else
   11667   rm -f conf$$.dir
   11668   mkdir conf$$.dir 2>/dev/null
   11669 fi
   11670 if (echo >conf$$.file) 2>/dev/null; then
   11671   if ln -s conf$$.file conf$$ 2>/dev/null; then
   11672     as_ln_s='ln -s'
   11673     # ... but there are two gotchas:
   11674     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   11675     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   11676     # In both cases, we have to default to `cp -pR'.
   11677     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   11678       as_ln_s='cp -pR'
   11679   elif ln conf$$.file conf$$ 2>/dev/null; then
   11680     as_ln_s=ln
   11681   else
   11682     as_ln_s='cp -pR'
   11683   fi
   11684 else
   11685   as_ln_s='cp -pR'
   11686 fi
   11687 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   11688 rmdir conf$$.dir 2>/dev/null
   11689 
   11690 
   11691 # as_fn_mkdir_p
   11692 # -------------
   11693 # Create "$as_dir" as a directory, including parents if necessary.
   11694 as_fn_mkdir_p ()
   11695 {
   11696 
   11697   case $as_dir in #(
   11698   -*) as_dir=./$as_dir;;
   11699   esac
   11700   test -d "$as_dir" || eval $as_mkdir_p || {
   11701     as_dirs=
   11702     while :; do
   11703       case $as_dir in #(
   11704       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   11705       *) as_qdir=$as_dir;;
   11706       esac
   11707       as_dirs="'$as_qdir' $as_dirs"
   11708       as_dir=`$as_dirname -- "$as_dir" ||
   11709 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   11710 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   11711 	 X"$as_dir" : 'X\(//\)$' \| \
   11712 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   11713 $as_echo X"$as_dir" |
   11714     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   11715 	    s//\1/
   11716 	    q
   11717 	  }
   11718 	  /^X\(\/\/\)[^/].*/{
   11719 	    s//\1/
   11720 	    q
   11721 	  }
   11722 	  /^X\(\/\/\)$/{
   11723 	    s//\1/
   11724 	    q
   11725 	  }
   11726 	  /^X\(\/\).*/{
   11727 	    s//\1/
   11728 	    q
   11729 	  }
   11730 	  s/.*/./; q'`
   11731       test -d "$as_dir" && break
   11732     done
   11733     test -z "$as_dirs" || eval "mkdir $as_dirs"
   11734   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   11735 
   11736 
   11737 } # as_fn_mkdir_p
   11738 if mkdir -p . 2>/dev/null; then
   11739   as_mkdir_p='mkdir -p "$as_dir"'
   11740 else
   11741   test -d ./-p && rmdir ./-p
   11742   as_mkdir_p=false
   11743 fi
   11744 
   11745 
   11746 # as_fn_executable_p FILE
   11747 # -----------------------
   11748 # Test if FILE is an executable regular file.
   11749 as_fn_executable_p ()
   11750 {
   11751   test -f "$1" && test -x "$1"
   11752 } # as_fn_executable_p
   11753 as_test_x='test -x'
   11754 as_executable_p=as_fn_executable_p
   11755 
   11756 # Sed expression to map a string onto a valid CPP name.
   11757 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   11758 
   11759 # Sed expression to map a string onto a valid variable name.
   11760 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   11761 
   11762 
   11763 exec 6>&1
   11764 ## ----------------------------------- ##
   11765 ## Main body of $CONFIG_STATUS script. ##
   11766 ## ----------------------------------- ##
   11767 _ASEOF
   11768 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   11769 
   11770 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11771 # Save the log message, to keep $0 and so on meaningful, and to
   11772 # report actual input values of CONFIG_FILES etc. instead of their
   11773 # values after options handling.
   11774 ac_log="
   11775 This file was extended by imake $as_me 1.0.7, which was
   11776 generated by GNU Autoconf 2.69.  Invocation command line was
   11777 
   11778   CONFIG_FILES    = $CONFIG_FILES
   11779   CONFIG_HEADERS  = $CONFIG_HEADERS
   11780   CONFIG_LINKS    = $CONFIG_LINKS
   11781   CONFIG_COMMANDS = $CONFIG_COMMANDS
   11782   $ $0 $@
   11783 
   11784 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   11785 "
   11786 
   11787 _ACEOF
   11788 
   11789 case $ac_config_files in *"
   11790 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   11791 esac
   11792 
   11793 case $ac_config_headers in *"
   11794 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   11795 esac
   11796 
   11797 
   11798 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11799 # Files that config.status was made for.
   11800 config_files="$ac_config_files"
   11801 config_headers="$ac_config_headers"
   11802 config_commands="$ac_config_commands"
   11803 
   11804 _ACEOF
   11805 
   11806 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11807 ac_cs_usage="\
   11808 \`$as_me' instantiates files and other configuration actions
   11809 from templates according to the current configuration.  Unless the files
   11810 and actions are specified as TAGs, all are instantiated by default.
   11811 
   11812 Usage: $0 [OPTION]... [TAG]...
   11813 
   11814   -h, --help       print this help, then exit
   11815   -V, --version    print version number and configuration settings, then exit
   11816       --config     print configuration, then exit
   11817   -q, --quiet, --silent
   11818                    do not print progress messages
   11819   -d, --debug      don't remove temporary files
   11820       --recheck    update $as_me by reconfiguring in the same conditions
   11821       --file=FILE[:TEMPLATE]
   11822                    instantiate the configuration file FILE
   11823       --header=FILE[:TEMPLATE]
   11824                    instantiate the configuration header FILE
   11825 
   11826 Configuration files:
   11827 $config_files
   11828 
   11829 Configuration headers:
   11830 $config_headers
   11831 
   11832 Configuration commands:
   11833 $config_commands
   11834 
   11835 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   11836 
   11837 _ACEOF
   11838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11839 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   11840 ac_cs_version="\\
   11841 imake config.status 1.0.7
   11842 configured by $0, generated by GNU Autoconf 2.69,
   11843   with options \\"\$ac_cs_config\\"
   11844 
   11845 Copyright (C) 2012 Free Software Foundation, Inc.
   11846 This config.status script is free software; the Free Software Foundation
   11847 gives unlimited permission to copy, distribute and modify it."
   11848 
   11849 ac_pwd='$ac_pwd'
   11850 srcdir='$srcdir'
   11851 INSTALL='$INSTALL'
   11852 MKDIR_P='$MKDIR_P'
   11853 AWK='$AWK'
   11854 test -n "\$AWK" || AWK=awk
   11855 _ACEOF
   11856 
   11857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11858 # The default lists apply if the user does not specify any file.
   11859 ac_need_defaults=:
   11860 while test $# != 0
   11861 do
   11862   case $1 in
   11863   --*=?*)
   11864     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11865     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   11866     ac_shift=:
   11867     ;;
   11868   --*=)
   11869     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   11870     ac_optarg=
   11871     ac_shift=:
   11872     ;;
   11873   *)
   11874     ac_option=$1
   11875     ac_optarg=$2
   11876     ac_shift=shift
   11877     ;;
   11878   esac
   11879 
   11880   case $ac_option in
   11881   # Handling of the options.
   11882   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   11883     ac_cs_recheck=: ;;
   11884   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   11885     $as_echo "$ac_cs_version"; exit ;;
   11886   --config | --confi | --conf | --con | --co | --c )
   11887     $as_echo "$ac_cs_config"; exit ;;
   11888   --debug | --debu | --deb | --de | --d | -d )
   11889     debug=: ;;
   11890   --file | --fil | --fi | --f )
   11891     $ac_shift
   11892     case $ac_optarg in
   11893     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11894     '') as_fn_error $? "missing file argument" ;;
   11895     esac
   11896     as_fn_append CONFIG_FILES " '$ac_optarg'"
   11897     ac_need_defaults=false;;
   11898   --header | --heade | --head | --hea )
   11899     $ac_shift
   11900     case $ac_optarg in
   11901     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   11902     esac
   11903     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   11904     ac_need_defaults=false;;
   11905   --he | --h)
   11906     # Conflict between --help and --header
   11907     as_fn_error $? "ambiguous option: \`$1'
   11908 Try \`$0 --help' for more information.";;
   11909   --help | --hel | -h )
   11910     $as_echo "$ac_cs_usage"; exit ;;
   11911   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   11912   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   11913     ac_cs_silent=: ;;
   11914 
   11915   # This is an error.
   11916   -*) as_fn_error $? "unrecognized option: \`$1'
   11917 Try \`$0 --help' for more information." ;;
   11918 
   11919   *) as_fn_append ac_config_targets " $1"
   11920      ac_need_defaults=false ;;
   11921 
   11922   esac
   11923   shift
   11924 done
   11925 
   11926 ac_configure_extra_args=
   11927 
   11928 if $ac_cs_silent; then
   11929   exec 6>/dev/null
   11930   ac_configure_extra_args="$ac_configure_extra_args --silent"
   11931 fi
   11932 
   11933 _ACEOF
   11934 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11935 if \$ac_cs_recheck; then
   11936   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   11937   shift
   11938   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   11939   CONFIG_SHELL='$SHELL'
   11940   export CONFIG_SHELL
   11941   exec "\$@"
   11942 fi
   11943 
   11944 _ACEOF
   11945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11946 exec 5>>config.log
   11947 {
   11948   echo
   11949   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   11950 ## Running $as_me. ##
   11951 _ASBOX
   11952   $as_echo "$ac_log"
   11953 } >&5
   11954 
   11955 _ACEOF
   11956 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   11957 #
   11958 # INIT-COMMANDS
   11959 #
   11960 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   11961 
   11962 _ACEOF
   11963 
   11964 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   11965 
   11966 # Handling of arguments.
   11967 for ac_config_target in $ac_config_targets
   11968 do
   11969   case $ac_config_target in
   11970     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   11971     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   11972     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   11973 
   11974   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   11975   esac
   11976 done
   11977 
   11978 
   11979 # If the user did not use the arguments to specify the items to instantiate,
   11980 # then the envvar interface is used.  Set only those that are not.
   11981 # We use the long form for the default assignment because of an extremely
   11982 # bizarre bug on SunOS 4.1.3.
   11983 if $ac_need_defaults; then
   11984   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   11985   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   11986   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   11987 fi
   11988 
   11989 # Have a temporary directory for convenience.  Make it in the build tree
   11990 # simply because there is no reason against having it here, and in addition,
   11991 # creating and moving files from /tmp can sometimes cause problems.
   11992 # Hook for its removal unless debugging.
   11993 # Note that there is a small window in which the directory will not be cleaned:
   11994 # after its creation but before its name has been assigned to `$tmp'.
   11995 $debug ||
   11996 {
   11997   tmp= ac_tmp=
   11998   trap 'exit_status=$?
   11999   : "${ac_tmp:=$tmp}"
   12000   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   12001 ' 0
   12002   trap 'as_fn_exit 1' 1 2 13 15
   12003 }
   12004 # Create a (secure) tmp directory for tmp files.
   12005 
   12006 {
   12007   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   12008   test -d "$tmp"
   12009 }  ||
   12010 {
   12011   tmp=./conf$$-$RANDOM
   12012   (umask 077 && mkdir "$tmp")
   12013 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   12014 ac_tmp=$tmp
   12015 
   12016 # Set up the scripts for CONFIG_FILES section.
   12017 # No need to generate them if there are no CONFIG_FILES.
   12018 # This happens for instance with `./config.status config.h'.
   12019 if test -n "$CONFIG_FILES"; then
   12020 
   12021 
   12022 ac_cr=`echo X | tr X '\015'`
   12023 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   12024 # But we know of no other shell where ac_cr would be empty at this
   12025 # point, so we can use a bashism as a fallback.
   12026 if test "x$ac_cr" = x; then
   12027   eval ac_cr=\$\'\\r\'
   12028 fi
   12029 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   12030 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   12031   ac_cs_awk_cr='\\r'
   12032 else
   12033   ac_cs_awk_cr=$ac_cr
   12034 fi
   12035 
   12036 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   12037 _ACEOF
   12038 
   12039 
   12040 {
   12041   echo "cat >conf$$subs.awk <<_ACEOF" &&
   12042   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   12043   echo "_ACEOF"
   12044 } >conf$$subs.sh ||
   12045   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12046 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   12047 ac_delim='%!_!# '
   12048 for ac_last_try in false false false false false :; do
   12049   . ./conf$$subs.sh ||
   12050     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12051 
   12052   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   12053   if test $ac_delim_n = $ac_delim_num; then
   12054     break
   12055   elif $ac_last_try; then
   12056     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   12057   else
   12058     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12059   fi
   12060 done
   12061 rm -f conf$$subs.sh
   12062 
   12063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12064 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   12065 _ACEOF
   12066 sed -n '
   12067 h
   12068 s/^/S["/; s/!.*/"]=/
   12069 p
   12070 g
   12071 s/^[^!]*!//
   12072 :repl
   12073 t repl
   12074 s/'"$ac_delim"'$//
   12075 t delim
   12076 :nl
   12077 h
   12078 s/\(.\{148\}\)..*/\1/
   12079 t more1
   12080 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   12081 p
   12082 n
   12083 b repl
   12084 :more1
   12085 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12086 p
   12087 g
   12088 s/.\{148\}//
   12089 t nl
   12090 :delim
   12091 h
   12092 s/\(.\{148\}\)..*/\1/
   12093 t more2
   12094 s/["\\]/\\&/g; s/^/"/; s/$/"/
   12095 p
   12096 b
   12097 :more2
   12098 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   12099 p
   12100 g
   12101 s/.\{148\}//
   12102 t delim
   12103 ' <conf$$subs.awk | sed '
   12104 /^[^""]/{
   12105   N
   12106   s/\n//
   12107 }
   12108 ' >>$CONFIG_STATUS || ac_write_fail=1
   12109 rm -f conf$$subs.awk
   12110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12111 _ACAWK
   12112 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   12113   for (key in S) S_is_set[key] = 1
   12114   FS = ""
   12115 
   12116 }
   12117 {
   12118   line = $ 0
   12119   nfields = split(line, field, "@")
   12120   substed = 0
   12121   len = length(field[1])
   12122   for (i = 2; i < nfields; i++) {
   12123     key = field[i]
   12124     keylen = length(key)
   12125     if (S_is_set[key]) {
   12126       value = S[key]
   12127       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   12128       len += length(value) + length(field[++i])
   12129       substed = 1
   12130     } else
   12131       len += 1 + keylen
   12132   }
   12133 
   12134   print line
   12135 }
   12136 
   12137 _ACAWK
   12138 _ACEOF
   12139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12140 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   12141   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   12142 else
   12143   cat
   12144 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   12145   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   12146 _ACEOF
   12147 
   12148 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   12149 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   12150 # trailing colons and then remove the whole line if VPATH becomes empty
   12151 # (actually we leave an empty line to preserve line numbers).
   12152 if test "x$srcdir" = x.; then
   12153   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   12154 h
   12155 s///
   12156 s/^/:/
   12157 s/[	 ]*$/:/
   12158 s/:\$(srcdir):/:/g
   12159 s/:\${srcdir}:/:/g
   12160 s/:@srcdir@:/:/g
   12161 s/^:*//
   12162 s/:*$//
   12163 x
   12164 s/\(=[	 ]*\).*/\1/
   12165 G
   12166 s/\n//
   12167 s/^[^=]*=[	 ]*$//
   12168 }'
   12169 fi
   12170 
   12171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12172 fi # test -n "$CONFIG_FILES"
   12173 
   12174 # Set up the scripts for CONFIG_HEADERS section.
   12175 # No need to generate them if there are no CONFIG_HEADERS.
   12176 # This happens for instance with `./config.status Makefile'.
   12177 if test -n "$CONFIG_HEADERS"; then
   12178 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   12179 BEGIN {
   12180 _ACEOF
   12181 
   12182 # Transform confdefs.h into an awk script `defines.awk', embedded as
   12183 # here-document in config.status, that substitutes the proper values into
   12184 # config.h.in to produce config.h.
   12185 
   12186 # Create a delimiter string that does not exist in confdefs.h, to ease
   12187 # handling of long lines.
   12188 ac_delim='%!_!# '
   12189 for ac_last_try in false false :; do
   12190   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   12191   if test -z "$ac_tt"; then
   12192     break
   12193   elif $ac_last_try; then
   12194     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   12195   else
   12196     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   12197   fi
   12198 done
   12199 
   12200 # For the awk script, D is an array of macro values keyed by name,
   12201 # likewise P contains macro parameters if any.  Preserve backslash
   12202 # newline sequences.
   12203 
   12204 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   12205 sed -n '
   12206 s/.\{148\}/&'"$ac_delim"'/g
   12207 t rset
   12208 :rset
   12209 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   12210 t def
   12211 d
   12212 :def
   12213 s/\\$//
   12214 t bsnl
   12215 s/["\\]/\\&/g
   12216 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12217 D["\1"]=" \3"/p
   12218 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   12219 d
   12220 :bsnl
   12221 s/["\\]/\\&/g
   12222 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   12223 D["\1"]=" \3\\\\\\n"\\/p
   12224 t cont
   12225 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   12226 t cont
   12227 d
   12228 :cont
   12229 n
   12230 s/.\{148\}/&'"$ac_delim"'/g
   12231 t clear
   12232 :clear
   12233 s/\\$//
   12234 t bsnlc
   12235 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   12236 d
   12237 :bsnlc
   12238 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   12239 b cont
   12240 ' <confdefs.h | sed '
   12241 s/'"$ac_delim"'/"\\\
   12242 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   12243 
   12244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12245   for (key in D) D_is_set[key] = 1
   12246   FS = ""
   12247 }
   12248 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   12249   line = \$ 0
   12250   split(line, arg, " ")
   12251   if (arg[1] == "#") {
   12252     defundef = arg[2]
   12253     mac1 = arg[3]
   12254   } else {
   12255     defundef = substr(arg[1], 2)
   12256     mac1 = arg[2]
   12257   }
   12258   split(mac1, mac2, "(") #)
   12259   macro = mac2[1]
   12260   prefix = substr(line, 1, index(line, defundef) - 1)
   12261   if (D_is_set[macro]) {
   12262     # Preserve the white space surrounding the "#".
   12263     print prefix "define", macro P[macro] D[macro]
   12264     next
   12265   } else {
   12266     # Replace #undef with comments.  This is necessary, for example,
   12267     # in the case of _POSIX_SOURCE, which is predefined and required
   12268     # on some systems where configure will not decide to define it.
   12269     if (defundef == "undef") {
   12270       print "/*", prefix defundef, macro, "*/"
   12271       next
   12272     }
   12273   }
   12274 }
   12275 { print }
   12276 _ACAWK
   12277 _ACEOF
   12278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12279   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   12280 fi # test -n "$CONFIG_HEADERS"
   12281 
   12282 
   12283 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   12284 shift
   12285 for ac_tag
   12286 do
   12287   case $ac_tag in
   12288   :[FHLC]) ac_mode=$ac_tag; continue;;
   12289   esac
   12290   case $ac_mode$ac_tag in
   12291   :[FHL]*:*);;
   12292   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   12293   :[FH]-) ac_tag=-:-;;
   12294   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   12295   esac
   12296   ac_save_IFS=$IFS
   12297   IFS=:
   12298   set x $ac_tag
   12299   IFS=$ac_save_IFS
   12300   shift
   12301   ac_file=$1
   12302   shift
   12303 
   12304   case $ac_mode in
   12305   :L) ac_source=$1;;
   12306   :[FH])
   12307     ac_file_inputs=
   12308     for ac_f
   12309     do
   12310       case $ac_f in
   12311       -) ac_f="$ac_tmp/stdin";;
   12312       *) # Look for the file first in the build tree, then in the source tree
   12313 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   12314 	 # because $ac_f cannot contain `:'.
   12315 	 test -f "$ac_f" ||
   12316 	   case $ac_f in
   12317 	   [\\/$]*) false;;
   12318 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   12319 	   esac ||
   12320 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   12321       esac
   12322       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   12323       as_fn_append ac_file_inputs " '$ac_f'"
   12324     done
   12325 
   12326     # Let's still pretend it is `configure' which instantiates (i.e., don't
   12327     # use $as_me), people would be surprised to read:
   12328     #    /* config.h.  Generated by config.status.  */
   12329     configure_input='Generated from '`
   12330 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   12331 	`' by configure.'
   12332     if test x"$ac_file" != x-; then
   12333       configure_input="$ac_file.  $configure_input"
   12334       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   12335 $as_echo "$as_me: creating $ac_file" >&6;}
   12336     fi
   12337     # Neutralize special characters interpreted by sed in replacement strings.
   12338     case $configure_input in #(
   12339     *\&* | *\|* | *\\* )
   12340        ac_sed_conf_input=`$as_echo "$configure_input" |
   12341        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   12342     *) ac_sed_conf_input=$configure_input;;
   12343     esac
   12344 
   12345     case $ac_tag in
   12346     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   12347       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   12348     esac
   12349     ;;
   12350   esac
   12351 
   12352   ac_dir=`$as_dirname -- "$ac_file" ||
   12353 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12354 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   12355 	 X"$ac_file" : 'X\(//\)$' \| \
   12356 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   12357 $as_echo X"$ac_file" |
   12358     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12359 	    s//\1/
   12360 	    q
   12361 	  }
   12362 	  /^X\(\/\/\)[^/].*/{
   12363 	    s//\1/
   12364 	    q
   12365 	  }
   12366 	  /^X\(\/\/\)$/{
   12367 	    s//\1/
   12368 	    q
   12369 	  }
   12370 	  /^X\(\/\).*/{
   12371 	    s//\1/
   12372 	    q
   12373 	  }
   12374 	  s/.*/./; q'`
   12375   as_dir="$ac_dir"; as_fn_mkdir_p
   12376   ac_builddir=.
   12377 
   12378 case "$ac_dir" in
   12379 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12380 *)
   12381   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   12382   # A ".." for each directory in $ac_dir_suffix.
   12383   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   12384   case $ac_top_builddir_sub in
   12385   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   12386   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   12387   esac ;;
   12388 esac
   12389 ac_abs_top_builddir=$ac_pwd
   12390 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   12391 # for backward compatibility:
   12392 ac_top_builddir=$ac_top_build_prefix
   12393 
   12394 case $srcdir in
   12395   .)  # We are building in place.
   12396     ac_srcdir=.
   12397     ac_top_srcdir=$ac_top_builddir_sub
   12398     ac_abs_top_srcdir=$ac_pwd ;;
   12399   [\\/]* | ?:[\\/]* )  # Absolute name.
   12400     ac_srcdir=$srcdir$ac_dir_suffix;
   12401     ac_top_srcdir=$srcdir
   12402     ac_abs_top_srcdir=$srcdir ;;
   12403   *) # Relative name.
   12404     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   12405     ac_top_srcdir=$ac_top_build_prefix$srcdir
   12406     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   12407 esac
   12408 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   12409 
   12410 
   12411   case $ac_mode in
   12412   :F)
   12413   #
   12414   # CONFIG_FILE
   12415   #
   12416 
   12417   case $INSTALL in
   12418   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   12419   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   12420   esac
   12421   ac_MKDIR_P=$MKDIR_P
   12422   case $MKDIR_P in
   12423   [\\/$]* | ?:[\\/]* ) ;;
   12424   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   12425   esac
   12426 _ACEOF
   12427 
   12428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12429 # If the template does not know about datarootdir, expand it.
   12430 # FIXME: This hack should be removed a few years after 2.60.
   12431 ac_datarootdir_hack=; ac_datarootdir_seen=
   12432 ac_sed_dataroot='
   12433 /datarootdir/ {
   12434   p
   12435   q
   12436 }
   12437 /@datadir@/p
   12438 /@docdir@/p
   12439 /@infodir@/p
   12440 /@localedir@/p
   12441 /@mandir@/p'
   12442 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   12443 *datarootdir*) ac_datarootdir_seen=yes;;
   12444 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   12445   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   12446 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   12447 _ACEOF
   12448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12449   ac_datarootdir_hack='
   12450   s&@datadir@&$datadir&g
   12451   s&@docdir@&$docdir&g
   12452   s&@infodir@&$infodir&g
   12453   s&@localedir@&$localedir&g
   12454   s&@mandir@&$mandir&g
   12455   s&\\\${datarootdir}&$datarootdir&g' ;;
   12456 esac
   12457 _ACEOF
   12458 
   12459 # Neutralize VPATH when `$srcdir' = `.'.
   12460 # Shell code in configure.ac might set extrasub.
   12461 # FIXME: do we really want to maintain this feature?
   12462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   12463 ac_sed_extra="$ac_vpsub
   12464 $extrasub
   12465 _ACEOF
   12466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   12467 :t
   12468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   12469 s|@configure_input@|$ac_sed_conf_input|;t t
   12470 s&@top_builddir@&$ac_top_builddir_sub&;t t
   12471 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   12472 s&@srcdir@&$ac_srcdir&;t t
   12473 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   12474 s&@top_srcdir@&$ac_top_srcdir&;t t
   12475 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   12476 s&@builddir@&$ac_builddir&;t t
   12477 s&@abs_builddir@&$ac_abs_builddir&;t t
   12478 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   12479 s&@INSTALL@&$ac_INSTALL&;t t
   12480 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   12481 $ac_datarootdir_hack
   12482 "
   12483 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   12484   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12485 
   12486 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   12487   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   12488   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   12489       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   12490   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12491 which seems to be undefined.  Please make sure it is defined" >&5
   12492 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   12493 which seems to be undefined.  Please make sure it is defined" >&2;}
   12494 
   12495   rm -f "$ac_tmp/stdin"
   12496   case $ac_file in
   12497   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   12498   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   12499   esac \
   12500   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12501  ;;
   12502   :H)
   12503   #
   12504   # CONFIG_HEADER
   12505   #
   12506   if test x"$ac_file" != x-; then
   12507     {
   12508       $as_echo "/* $configure_input  */" \
   12509       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   12510     } >"$ac_tmp/config.h" \
   12511       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12512     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   12513       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   12514 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   12515     else
   12516       rm -f "$ac_file"
   12517       mv "$ac_tmp/config.h" "$ac_file" \
   12518 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   12519     fi
   12520   else
   12521     $as_echo "/* $configure_input  */" \
   12522       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   12523       || as_fn_error $? "could not create -" "$LINENO" 5
   12524   fi
   12525 # Compute "$ac_file"'s index in $config_headers.
   12526 _am_arg="$ac_file"
   12527 _am_stamp_count=1
   12528 for _am_header in $config_headers :; do
   12529   case $_am_header in
   12530     $_am_arg | $_am_arg:* )
   12531       break ;;
   12532     * )
   12533       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   12534   esac
   12535 done
   12536 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   12537 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12538 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   12539 	 X"$_am_arg" : 'X\(//\)$' \| \
   12540 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   12541 $as_echo X"$_am_arg" |
   12542     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12543 	    s//\1/
   12544 	    q
   12545 	  }
   12546 	  /^X\(\/\/\)[^/].*/{
   12547 	    s//\1/
   12548 	    q
   12549 	  }
   12550 	  /^X\(\/\/\)$/{
   12551 	    s//\1/
   12552 	    q
   12553 	  }
   12554 	  /^X\(\/\).*/{
   12555 	    s//\1/
   12556 	    q
   12557 	  }
   12558 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   12559  ;;
   12560 
   12561   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   12562 $as_echo "$as_me: executing $ac_file commands" >&6;}
   12563  ;;
   12564   esac
   12565 
   12566 
   12567   case $ac_file$ac_mode in
   12568     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   12569   # Older Autoconf quotes --file arguments for eval, but not when files
   12570   # are listed without --file.  Let's play safe and only enable the eval
   12571   # if we detect the quoting.
   12572   case $CONFIG_FILES in
   12573   *\'*) eval set x "$CONFIG_FILES" ;;
   12574   *)   set x $CONFIG_FILES ;;
   12575   esac
   12576   shift
   12577   for mf
   12578   do
   12579     # Strip MF so we end up with the name of the file.
   12580     mf=`echo "$mf" | sed -e 's/:.*$//'`
   12581     # Check whether this is an Automake generated Makefile or not.
   12582     # We used to match only the files named 'Makefile.in', but
   12583     # some people rename them; so instead we look at the file content.
   12584     # Grep'ing the first line is not enough: some people post-process
   12585     # each Makefile.in and add a new line on top of each file to say so.
   12586     # Grep'ing the whole file is not good either: AIX grep has a line
   12587     # limit of 2048, but all sed's we know have understand at least 4000.
   12588     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   12589       dirpart=`$as_dirname -- "$mf" ||
   12590 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12591 	 X"$mf" : 'X\(//\)[^/]' \| \
   12592 	 X"$mf" : 'X\(//\)$' \| \
   12593 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   12594 $as_echo X"$mf" |
   12595     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12596 	    s//\1/
   12597 	    q
   12598 	  }
   12599 	  /^X\(\/\/\)[^/].*/{
   12600 	    s//\1/
   12601 	    q
   12602 	  }
   12603 	  /^X\(\/\/\)$/{
   12604 	    s//\1/
   12605 	    q
   12606 	  }
   12607 	  /^X\(\/\).*/{
   12608 	    s//\1/
   12609 	    q
   12610 	  }
   12611 	  s/.*/./; q'`
   12612     else
   12613       continue
   12614     fi
   12615     # Extract the definition of DEPDIR, am__include, and am__quote
   12616     # from the Makefile without running 'make'.
   12617     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   12618     test -z "$DEPDIR" && continue
   12619     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   12620     test -z "$am__include" && continue
   12621     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   12622     # Find all dependency output files, they are included files with
   12623     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   12624     # simplest approach to changing $(DEPDIR) to its actual value in the
   12625     # expansion.
   12626     for file in `sed -n "
   12627       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   12628 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   12629       # Make sure the directory exists.
   12630       test -f "$dirpart/$file" && continue
   12631       fdir=`$as_dirname -- "$file" ||
   12632 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   12633 	 X"$file" : 'X\(//\)[^/]' \| \
   12634 	 X"$file" : 'X\(//\)$' \| \
   12635 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   12636 $as_echo X"$file" |
   12637     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   12638 	    s//\1/
   12639 	    q
   12640 	  }
   12641 	  /^X\(\/\/\)[^/].*/{
   12642 	    s//\1/
   12643 	    q
   12644 	  }
   12645 	  /^X\(\/\/\)$/{
   12646 	    s//\1/
   12647 	    q
   12648 	  }
   12649 	  /^X\(\/\).*/{
   12650 	    s//\1/
   12651 	    q
   12652 	  }
   12653 	  s/.*/./; q'`
   12654       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   12655       # echo "creating $dirpart/$file"
   12656       echo '# dummy' > "$dirpart/$file"
   12657     done
   12658   done
   12659 }
   12660  ;;
   12661 
   12662   esac
   12663 done # for ac_tag
   12664 
   12665 
   12666 as_fn_exit 0
   12667 _ACEOF
   12668 ac_clean_files=$ac_clean_files_save
   12669 
   12670 test $ac_write_fail = 0 ||
   12671   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   12672 
   12673 
   12674 # configure is writing to config.log, and then calls config.status.
   12675 # config.status does its own redirection, appending to config.log.
   12676 # Unfortunately, on DOS this fails, as config.log is still kept open
   12677 # by configure, so config.status won't be able to write to it; its
   12678 # output is simply discarded.  So we exec the FD to /dev/null,
   12679 # effectively closing config.log, so it can be properly (re)opened and
   12680 # appended to by config.status.  When coming back to configure, we
   12681 # need to make the FD available again.
   12682 if test "$no_create" != yes; then
   12683   ac_cs_success=:
   12684   ac_config_status_args=
   12685   test "$silent" = yes &&
   12686     ac_config_status_args="$ac_config_status_args --quiet"
   12687   exec 5>/dev/null
   12688   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   12689   exec 5>>config.log
   12690   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   12691   # would make configure fail if this is the last instruction.
   12692   $ac_cs_success || as_fn_exit 1
   12693 fi
   12694 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   12695   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   12696 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   12697 fi
   12698 
   12699