Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for xset 1.2.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194 	 /*)
    195 	   for as_base in sh bash ksh sh5; do
    196 	     # Try only shells that exist, to save several forks.
    197 	     as_shell=$as_dir/$as_base
    198 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205 	   done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218 	# neutralization value for shells without unset; and this also
    219 	# works around shells that cannot unset nonexistent variables.
    220 	# Preserve -v and -x to the replacement shell.
    221 	BASH_ENV=/dev/null
    222 	ENV=/dev/null
    223 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224 	export CONFIG_SHELL
    225 	case $- in # ((((
    226 	  *v*x* | *x*v* ) as_opts=-vx ;;
    227 	  *v* ) as_opts=-v ;;
    228 	  *x* ) as_opts=-x ;;
    229 	  * ) as_opts= ;;
    230 	esac
    231 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    242 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    243 $0: about your system, including any error possibly output
    244 $0: before this message. Then install a modern shell, or
    245 $0: manually run the script under such a shell if you do
    246 $0: have one."
    247   fi
    248   exit 1
    249 fi
    250 fi
    251 fi
    252 SHELL=${CONFIG_SHELL-/bin/sh}
    253 export SHELL
    254 # Unset more variables known to interfere with behavior of common tools.
    255 CLICOLOR_FORCE= GREP_OPTIONS=
    256 unset CLICOLOR_FORCE GREP_OPTIONS
    257 
    258 ## --------------------- ##
    259 ## M4sh Shell Functions. ##
    260 ## --------------------- ##
    261 # as_fn_unset VAR
    262 # ---------------
    263 # Portably unset VAR.
    264 as_fn_unset ()
    265 {
    266   { eval $1=; unset $1;}
    267 }
    268 as_unset=as_fn_unset
    269 
    270 # as_fn_set_status STATUS
    271 # -----------------------
    272 # Set $? to STATUS, without forking.
    273 as_fn_set_status ()
    274 {
    275   return $1
    276 } # as_fn_set_status
    277 
    278 # as_fn_exit STATUS
    279 # -----------------
    280 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    281 as_fn_exit ()
    282 {
    283   set +e
    284   as_fn_set_status $1
    285   exit $1
    286 } # as_fn_exit
    287 
    288 # as_fn_mkdir_p
    289 # -------------
    290 # Create "$as_dir" as a directory, including parents if necessary.
    291 as_fn_mkdir_p ()
    292 {
    293 
    294   case $as_dir in #(
    295   -*) as_dir=./$as_dir;;
    296   esac
    297   test -d "$as_dir" || eval $as_mkdir_p || {
    298     as_dirs=
    299     while :; do
    300       case $as_dir in #(
    301       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    302       *) as_qdir=$as_dir;;
    303       esac
    304       as_dirs="'$as_qdir' $as_dirs"
    305       as_dir=`$as_dirname -- "$as_dir" ||
    306 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    307 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    308 	 X"$as_dir" : 'X\(//\)$' \| \
    309 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    310 $as_echo X"$as_dir" |
    311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    312 	    s//\1/
    313 	    q
    314 	  }
    315 	  /^X\(\/\/\)[^/].*/{
    316 	    s//\1/
    317 	    q
    318 	  }
    319 	  /^X\(\/\/\)$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\).*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  s/.*/./; q'`
    328       test -d "$as_dir" && break
    329     done
    330     test -z "$as_dirs" || eval "mkdir $as_dirs"
    331   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    332 
    333 
    334 } # as_fn_mkdir_p
    335 # as_fn_append VAR VALUE
    336 # ----------------------
    337 # Append the text in VALUE to the end of the definition contained in VAR. Take
    338 # advantage of any shell optimizations that allow amortized linear growth over
    339 # repeated appends, instead of the typical quadratic growth present in naive
    340 # implementations.
    341 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    342   eval 'as_fn_append ()
    343   {
    344     eval $1+=\$2
    345   }'
    346 else
    347   as_fn_append ()
    348   {
    349     eval $1=\$$1\$2
    350   }
    351 fi # as_fn_append
    352 
    353 # as_fn_arith ARG...
    354 # ------------------
    355 # Perform arithmetic evaluation on the ARGs, and store the result in the
    356 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    357 # must be portable across $(()) and expr.
    358 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    359   eval 'as_fn_arith ()
    360   {
    361     as_val=$(( $* ))
    362   }'
    363 else
    364   as_fn_arith ()
    365   {
    366     as_val=`expr "$@" || test $? -eq 1`
    367   }
    368 fi # as_fn_arith
    369 
    370 
    371 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    372 # ----------------------------------------
    373 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    374 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    375 # script with STATUS, using 1 if that was 0.
    376 as_fn_error ()
    377 {
    378   as_status=$1; test $as_status -eq 0 && as_status=1
    379   if test "$4"; then
    380     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    381     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    382   fi
    383   $as_echo "$as_me: error: $2" >&2
    384   as_fn_exit $as_status
    385 } # as_fn_error
    386 
    387 if expr a : '\(a\)' >/dev/null 2>&1 &&
    388    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    389   as_expr=expr
    390 else
    391   as_expr=false
    392 fi
    393 
    394 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    395   as_basename=basename
    396 else
    397   as_basename=false
    398 fi
    399 
    400 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    401   as_dirname=dirname
    402 else
    403   as_dirname=false
    404 fi
    405 
    406 as_me=`$as_basename -- "$0" ||
    407 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    408 	 X"$0" : 'X\(//\)$' \| \
    409 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    410 $as_echo X/"$0" |
    411     sed '/^.*\/\([^/][^/]*\)\/*$/{
    412 	    s//\1/
    413 	    q
    414 	  }
    415 	  /^X\/\(\/\/\)$/{
    416 	    s//\1/
    417 	    q
    418 	  }
    419 	  /^X\/\(\/\).*/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  s/.*/./; q'`
    424 
    425 # Avoid depending upon Character Ranges.
    426 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    427 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    428 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    429 as_cr_digits='0123456789'
    430 as_cr_alnum=$as_cr_Letters$as_cr_digits
    431 
    432 
    433   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    434   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    435   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    436   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    437   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    438   sed -n '
    439     p
    440     /[$]LINENO/=
    441   ' <$as_myself |
    442     sed '
    443       s/[$]LINENO.*/&-/
    444       t lineno
    445       b
    446       :lineno
    447       N
    448       :loop
    449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    450       t loop
    451       s/-\n.*//
    452     ' >$as_me.lineno &&
    453   chmod +x "$as_me.lineno" ||
    454     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    455 
    456   # Don't try to exec as it changes $[0], causing all sort of problems
    457   # (the dirname of $[0] is not the place where we might find the
    458   # original and so on.  Autoconf is especially sensitive to this).
    459   . "./$as_me.lineno"
    460   # Exit status is that of the last command.
    461   exit
    462 }
    463 
    464 ECHO_C= ECHO_N= ECHO_T=
    465 case `echo -n x` in #(((((
    466 -n*)
    467   case `echo 'xy\c'` in
    468   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    469   xy)  ECHO_C='\c';;
    470   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    471        ECHO_T='	';;
    472   esac;;
    473 *)
    474   ECHO_N='-n';;
    475 esac
    476 
    477 rm -f conf$$ conf$$.exe conf$$.file
    478 if test -d conf$$.dir; then
    479   rm -f conf$$.dir/conf$$.file
    480 else
    481   rm -f conf$$.dir
    482   mkdir conf$$.dir 2>/dev/null
    483 fi
    484 if (echo >conf$$.file) 2>/dev/null; then
    485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    486     as_ln_s='ln -s'
    487     # ... but there are two gotchas:
    488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    490     # In both cases, we have to default to `cp -p'.
    491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    492       as_ln_s='cp -p'
    493   elif ln conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s=ln
    495   else
    496     as_ln_s='cp -p'
    497   fi
    498 else
    499   as_ln_s='cp -p'
    500 fi
    501 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    502 rmdir conf$$.dir 2>/dev/null
    503 
    504 if mkdir -p . 2>/dev/null; then
    505   as_mkdir_p='mkdir -p "$as_dir"'
    506 else
    507   test -d ./-p && rmdir ./-p
    508   as_mkdir_p=false
    509 fi
    510 
    511 if test -x / >/dev/null 2>&1; then
    512   as_test_x='test -x'
    513 else
    514   if ls -dL / >/dev/null 2>&1; then
    515     as_ls_L_option=L
    516   else
    517     as_ls_L_option=
    518   fi
    519   as_test_x='
    520     eval sh -c '\''
    521       if test -d "$1"; then
    522 	test -d "$1/.";
    523       else
    524 	case $1 in #(
    525 	-*)set "./$1";;
    526 	esac;
    527 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    528 	???[sx]*):;;*)false;;esac;fi
    529     '\'' sh
    530   '
    531 fi
    532 as_executable_p=$as_test_x
    533 
    534 # Sed expression to map a string onto a valid CPP name.
    535 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    536 
    537 # Sed expression to map a string onto a valid variable name.
    538 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    539 
    540 
    541 test -n "$DJDIR" || exec 7<&0 </dev/null
    542 exec 6>&1
    543 
    544 # Name of the host.
    545 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    546 # so uname gets run too.
    547 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    548 
    549 #
    550 # Initializations.
    551 #
    552 ac_default_prefix=/usr/local
    553 ac_clean_files=
    554 ac_config_libobj_dir=.
    555 LIBOBJS=
    556 cross_compiling=no
    557 subdirs=
    558 MFLAGS=
    559 MAKEFLAGS=
    560 
    561 # Identity of this package.
    562 PACKAGE_NAME='xset'
    563 PACKAGE_TARNAME='xset'
    564 PACKAGE_VERSION='1.2.2'
    565 PACKAGE_STRING='xset 1.2.2'
    566 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    567 PACKAGE_URL=''
    568 
    569 ac_unique_file="Makefile.am"
    570 # Factoring default headers for most tests.
    571 ac_includes_default="\
    572 #include <stdio.h>
    573 #ifdef HAVE_SYS_TYPES_H
    574 # include <sys/types.h>
    575 #endif
    576 #ifdef HAVE_SYS_STAT_H
    577 # include <sys/stat.h>
    578 #endif
    579 #ifdef STDC_HEADERS
    580 # include <stdlib.h>
    581 # include <stddef.h>
    582 #else
    583 # ifdef HAVE_STDLIB_H
    584 #  include <stdlib.h>
    585 # endif
    586 #endif
    587 #ifdef HAVE_STRING_H
    588 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    589 #  include <memory.h>
    590 # endif
    591 # include <string.h>
    592 #endif
    593 #ifdef HAVE_STRINGS_H
    594 # include <strings.h>
    595 #endif
    596 #ifdef HAVE_INTTYPES_H
    597 # include <inttypes.h>
    598 #endif
    599 #ifdef HAVE_STDINT_H
    600 # include <stdint.h>
    601 #endif
    602 #ifdef HAVE_UNISTD_H
    603 # include <unistd.h>
    604 #endif"
    605 
    606 ac_subst_vars='am__EXEEXT_FALSE
    607 am__EXEEXT_TRUE
    608 LTLIBOBJS
    609 LIBOBJS
    610 SET_FONTCACHE_LIBS
    611 SET_FONTCACHE_CFLAGS
    612 SET_XF86MISC_LIBS
    613 SET_XF86MISC_CFLAGS
    614 SET_XKB_LIBS
    615 SET_XKB_CFLAGS
    616 SET_XEXT_LIBS
    617 SET_XEXT_CFLAGS
    618 SET_X11_LIBS
    619 SET_X11_CFLAGS
    620 XSET_LIBS
    621 XSET_CFLAGS
    622 AM_BACKSLASH
    623 AM_DEFAULT_VERBOSITY
    624 MAN_SUBSTS
    625 XORG_MAN_PAGE
    626 ADMIN_MAN_DIR
    627 DRIVER_MAN_DIR
    628 MISC_MAN_DIR
    629 FILE_MAN_DIR
    630 LIB_MAN_DIR
    631 APP_MAN_DIR
    632 ADMIN_MAN_SUFFIX
    633 DRIVER_MAN_SUFFIX
    634 MISC_MAN_SUFFIX
    635 FILE_MAN_SUFFIX
    636 LIB_MAN_SUFFIX
    637 APP_MAN_SUFFIX
    638 SED
    639 host_os
    640 host_vendor
    641 host_cpu
    642 host
    643 build_os
    644 build_vendor
    645 build_cpu
    646 build
    647 INSTALL_CMD
    648 PKG_CONFIG
    649 CHANGELOG_CMD
    650 STRICT_CFLAGS
    651 CWARNFLAGS
    652 EGREP
    653 GREP
    654 CPP
    655 am__fastdepCC_FALSE
    656 am__fastdepCC_TRUE
    657 CCDEPMODE
    658 AMDEPBACKSLASH
    659 AMDEP_FALSE
    660 AMDEP_TRUE
    661 am__quote
    662 am__include
    663 DEPDIR
    664 OBJEXT
    665 EXEEXT
    666 ac_ct_CC
    667 CPPFLAGS
    668 LDFLAGS
    669 CFLAGS
    670 CC
    671 MAINT
    672 MAINTAINER_MODE_FALSE
    673 MAINTAINER_MODE_TRUE
    674 am__untar
    675 am__tar
    676 AMTAR
    677 am__leading_dot
    678 SET_MAKE
    679 AWK
    680 mkdir_p
    681 MKDIR_P
    682 INSTALL_STRIP_PROGRAM
    683 STRIP
    684 install_sh
    685 MAKEINFO
    686 AUTOHEADER
    687 AUTOMAKE
    688 AUTOCONF
    689 ACLOCAL
    690 VERSION
    691 PACKAGE
    692 CYGPATH_W
    693 am__isrc
    694 INSTALL_DATA
    695 INSTALL_SCRIPT
    696 INSTALL_PROGRAM
    697 target_alias
    698 host_alias
    699 build_alias
    700 LIBS
    701 ECHO_T
    702 ECHO_N
    703 ECHO_C
    704 DEFS
    705 mandir
    706 localedir
    707 libdir
    708 psdir
    709 pdfdir
    710 dvidir
    711 htmldir
    712 infodir
    713 docdir
    714 oldincludedir
    715 includedir
    716 localstatedir
    717 sharedstatedir
    718 sysconfdir
    719 datadir
    720 datarootdir
    721 libexecdir
    722 sbindir
    723 bindir
    724 program_transform_name
    725 prefix
    726 exec_prefix
    727 PACKAGE_URL
    728 PACKAGE_BUGREPORT
    729 PACKAGE_STRING
    730 PACKAGE_VERSION
    731 PACKAGE_TARNAME
    732 PACKAGE_NAME
    733 PATH_SEPARATOR
    734 SHELL'
    735 ac_subst_files=''
    736 ac_user_opts='
    737 enable_option_checking
    738 enable_maintainer_mode
    739 enable_dependency_tracking
    740 enable_strict_compilation
    741 enable_silent_rules
    742 with_xf86misc
    743 with_fontcache
    744 '
    745       ac_precious_vars='build_alias
    746 host_alias
    747 target_alias
    748 CC
    749 CFLAGS
    750 LDFLAGS
    751 LIBS
    752 CPPFLAGS
    753 CPP
    754 PKG_CONFIG
    755 XSET_CFLAGS
    756 XSET_LIBS
    757 SET_X11_CFLAGS
    758 SET_X11_LIBS
    759 SET_XEXT_CFLAGS
    760 SET_XEXT_LIBS
    761 SET_XKB_CFLAGS
    762 SET_XKB_LIBS
    763 SET_XF86MISC_CFLAGS
    764 SET_XF86MISC_LIBS
    765 SET_FONTCACHE_CFLAGS
    766 SET_FONTCACHE_LIBS'
    767 
    768 
    769 # Initialize some variables set by options.
    770 ac_init_help=
    771 ac_init_version=false
    772 ac_unrecognized_opts=
    773 ac_unrecognized_sep=
    774 # The variables have the same names as the options, with
    775 # dashes changed to underlines.
    776 cache_file=/dev/null
    777 exec_prefix=NONE
    778 no_create=
    779 no_recursion=
    780 prefix=NONE
    781 program_prefix=NONE
    782 program_suffix=NONE
    783 program_transform_name=s,x,x,
    784 silent=
    785 site=
    786 srcdir=
    787 verbose=
    788 x_includes=NONE
    789 x_libraries=NONE
    790 
    791 # Installation directory options.
    792 # These are left unexpanded so users can "make install exec_prefix=/foo"
    793 # and all the variables that are supposed to be based on exec_prefix
    794 # by default will actually change.
    795 # Use braces instead of parens because sh, perl, etc. also accept them.
    796 # (The list follows the same order as the GNU Coding Standards.)
    797 bindir='${exec_prefix}/bin'
    798 sbindir='${exec_prefix}/sbin'
    799 libexecdir='${exec_prefix}/libexec'
    800 datarootdir='${prefix}/share'
    801 datadir='${datarootdir}'
    802 sysconfdir='${prefix}/etc'
    803 sharedstatedir='${prefix}/com'
    804 localstatedir='${prefix}/var'
    805 includedir='${prefix}/include'
    806 oldincludedir='/usr/include'
    807 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    808 infodir='${datarootdir}/info'
    809 htmldir='${docdir}'
    810 dvidir='${docdir}'
    811 pdfdir='${docdir}'
    812 psdir='${docdir}'
    813 libdir='${exec_prefix}/lib'
    814 localedir='${datarootdir}/locale'
    815 mandir='${datarootdir}/man'
    816 
    817 ac_prev=
    818 ac_dashdash=
    819 for ac_option
    820 do
    821   # If the previous option needs an argument, assign it.
    822   if test -n "$ac_prev"; then
    823     eval $ac_prev=\$ac_option
    824     ac_prev=
    825     continue
    826   fi
    827 
    828   case $ac_option in
    829   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    830   *=)   ac_optarg= ;;
    831   *)    ac_optarg=yes ;;
    832   esac
    833 
    834   # Accept the important Cygnus configure options, so we can diagnose typos.
    835 
    836   case $ac_dashdash$ac_option in
    837   --)
    838     ac_dashdash=yes ;;
    839 
    840   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    841     ac_prev=bindir ;;
    842   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    843     bindir=$ac_optarg ;;
    844 
    845   -build | --build | --buil | --bui | --bu)
    846     ac_prev=build_alias ;;
    847   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    848     build_alias=$ac_optarg ;;
    849 
    850   -cache-file | --cache-file | --cache-fil | --cache-fi \
    851   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    852     ac_prev=cache_file ;;
    853   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    854   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    855     cache_file=$ac_optarg ;;
    856 
    857   --config-cache | -C)
    858     cache_file=config.cache ;;
    859 
    860   -datadir | --datadir | --datadi | --datad)
    861     ac_prev=datadir ;;
    862   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    863     datadir=$ac_optarg ;;
    864 
    865   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    866   | --dataroo | --dataro | --datar)
    867     ac_prev=datarootdir ;;
    868   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    869   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    870     datarootdir=$ac_optarg ;;
    871 
    872   -disable-* | --disable-*)
    873     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    874     # Reject names that are not valid shell variable names.
    875     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    876       as_fn_error $? "invalid feature name: $ac_useropt"
    877     ac_useropt_orig=$ac_useropt
    878     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    879     case $ac_user_opts in
    880       *"
    881 "enable_$ac_useropt"
    882 "*) ;;
    883       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    884 	 ac_unrecognized_sep=', ';;
    885     esac
    886     eval enable_$ac_useropt=no ;;
    887 
    888   -docdir | --docdir | --docdi | --doc | --do)
    889     ac_prev=docdir ;;
    890   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    891     docdir=$ac_optarg ;;
    892 
    893   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    894     ac_prev=dvidir ;;
    895   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    896     dvidir=$ac_optarg ;;
    897 
    898   -enable-* | --enable-*)
    899     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    900     # Reject names that are not valid shell variable names.
    901     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    902       as_fn_error $? "invalid feature name: $ac_useropt"
    903     ac_useropt_orig=$ac_useropt
    904     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    905     case $ac_user_opts in
    906       *"
    907 "enable_$ac_useropt"
    908 "*) ;;
    909       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    910 	 ac_unrecognized_sep=', ';;
    911     esac
    912     eval enable_$ac_useropt=\$ac_optarg ;;
    913 
    914   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    915   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    916   | --exec | --exe | --ex)
    917     ac_prev=exec_prefix ;;
    918   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    919   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    920   | --exec=* | --exe=* | --ex=*)
    921     exec_prefix=$ac_optarg ;;
    922 
    923   -gas | --gas | --ga | --g)
    924     # Obsolete; use --with-gas.
    925     with_gas=yes ;;
    926 
    927   -help | --help | --hel | --he | -h)
    928     ac_init_help=long ;;
    929   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    930     ac_init_help=recursive ;;
    931   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    932     ac_init_help=short ;;
    933 
    934   -host | --host | --hos | --ho)
    935     ac_prev=host_alias ;;
    936   -host=* | --host=* | --hos=* | --ho=*)
    937     host_alias=$ac_optarg ;;
    938 
    939   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    940     ac_prev=htmldir ;;
    941   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    942   | --ht=*)
    943     htmldir=$ac_optarg ;;
    944 
    945   -includedir | --includedir | --includedi | --included | --include \
    946   | --includ | --inclu | --incl | --inc)
    947     ac_prev=includedir ;;
    948   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    949   | --includ=* | --inclu=* | --incl=* | --inc=*)
    950     includedir=$ac_optarg ;;
    951 
    952   -infodir | --infodir | --infodi | --infod | --info | --inf)
    953     ac_prev=infodir ;;
    954   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    955     infodir=$ac_optarg ;;
    956 
    957   -libdir | --libdir | --libdi | --libd)
    958     ac_prev=libdir ;;
    959   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    960     libdir=$ac_optarg ;;
    961 
    962   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    963   | --libexe | --libex | --libe)
    964     ac_prev=libexecdir ;;
    965   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    966   | --libexe=* | --libex=* | --libe=*)
    967     libexecdir=$ac_optarg ;;
    968 
    969   -localedir | --localedir | --localedi | --localed | --locale)
    970     ac_prev=localedir ;;
    971   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    972     localedir=$ac_optarg ;;
    973 
    974   -localstatedir | --localstatedir | --localstatedi | --localstated \
    975   | --localstate | --localstat | --localsta | --localst | --locals)
    976     ac_prev=localstatedir ;;
    977   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    978   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
    979     localstatedir=$ac_optarg ;;
    980 
    981   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    982     ac_prev=mandir ;;
    983   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    984     mandir=$ac_optarg ;;
    985 
    986   -nfp | --nfp | --nf)
    987     # Obsolete; use --without-fp.
    988     with_fp=no ;;
    989 
    990   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    991   | --no-cr | --no-c | -n)
    992     no_create=yes ;;
    993 
    994   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    995   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    996     no_recursion=yes ;;
    997 
    998   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    999   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1000   | --oldin | --oldi | --old | --ol | --o)
   1001     ac_prev=oldincludedir ;;
   1002   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1003   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1004   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1005     oldincludedir=$ac_optarg ;;
   1006 
   1007   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1008     ac_prev=prefix ;;
   1009   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1010     prefix=$ac_optarg ;;
   1011 
   1012   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1013   | --program-pre | --program-pr | --program-p)
   1014     ac_prev=program_prefix ;;
   1015   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1016   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1017     program_prefix=$ac_optarg ;;
   1018 
   1019   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1020   | --program-suf | --program-su | --program-s)
   1021     ac_prev=program_suffix ;;
   1022   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1023   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1024     program_suffix=$ac_optarg ;;
   1025 
   1026   -program-transform-name | --program-transform-name \
   1027   | --program-transform-nam | --program-transform-na \
   1028   | --program-transform-n | --program-transform- \
   1029   | --program-transform | --program-transfor \
   1030   | --program-transfo | --program-transf \
   1031   | --program-trans | --program-tran \
   1032   | --progr-tra | --program-tr | --program-t)
   1033     ac_prev=program_transform_name ;;
   1034   -program-transform-name=* | --program-transform-name=* \
   1035   | --program-transform-nam=* | --program-transform-na=* \
   1036   | --program-transform-n=* | --program-transform-=* \
   1037   | --program-transform=* | --program-transfor=* \
   1038   | --program-transfo=* | --program-transf=* \
   1039   | --program-trans=* | --program-tran=* \
   1040   | --progr-tra=* | --program-tr=* | --program-t=*)
   1041     program_transform_name=$ac_optarg ;;
   1042 
   1043   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1044     ac_prev=pdfdir ;;
   1045   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1046     pdfdir=$ac_optarg ;;
   1047 
   1048   -psdir | --psdir | --psdi | --psd | --ps)
   1049     ac_prev=psdir ;;
   1050   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1051     psdir=$ac_optarg ;;
   1052 
   1053   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1054   | -silent | --silent | --silen | --sile | --sil)
   1055     silent=yes ;;
   1056 
   1057   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1058     ac_prev=sbindir ;;
   1059   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1060   | --sbi=* | --sb=*)
   1061     sbindir=$ac_optarg ;;
   1062 
   1063   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1064   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1065   | --sharedst | --shareds | --shared | --share | --shar \
   1066   | --sha | --sh)
   1067     ac_prev=sharedstatedir ;;
   1068   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1069   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1070   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1071   | --sha=* | --sh=*)
   1072     sharedstatedir=$ac_optarg ;;
   1073 
   1074   -site | --site | --sit)
   1075     ac_prev=site ;;
   1076   -site=* | --site=* | --sit=*)
   1077     site=$ac_optarg ;;
   1078 
   1079   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1080     ac_prev=srcdir ;;
   1081   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1082     srcdir=$ac_optarg ;;
   1083 
   1084   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1085   | --syscon | --sysco | --sysc | --sys | --sy)
   1086     ac_prev=sysconfdir ;;
   1087   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1088   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1089     sysconfdir=$ac_optarg ;;
   1090 
   1091   -target | --target | --targe | --targ | --tar | --ta | --t)
   1092     ac_prev=target_alias ;;
   1093   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1094     target_alias=$ac_optarg ;;
   1095 
   1096   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1097     verbose=yes ;;
   1098 
   1099   -version | --version | --versio | --versi | --vers | -V)
   1100     ac_init_version=: ;;
   1101 
   1102   -with-* | --with-*)
   1103     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1104     # Reject names that are not valid shell variable names.
   1105     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1106       as_fn_error $? "invalid package name: $ac_useropt"
   1107     ac_useropt_orig=$ac_useropt
   1108     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1109     case $ac_user_opts in
   1110       *"
   1111 "with_$ac_useropt"
   1112 "*) ;;
   1113       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1114 	 ac_unrecognized_sep=', ';;
   1115     esac
   1116     eval with_$ac_useropt=\$ac_optarg ;;
   1117 
   1118   -without-* | --without-*)
   1119     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1120     # Reject names that are not valid shell variable names.
   1121     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1122       as_fn_error $? "invalid package name: $ac_useropt"
   1123     ac_useropt_orig=$ac_useropt
   1124     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1125     case $ac_user_opts in
   1126       *"
   1127 "with_$ac_useropt"
   1128 "*) ;;
   1129       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1130 	 ac_unrecognized_sep=', ';;
   1131     esac
   1132     eval with_$ac_useropt=no ;;
   1133 
   1134   --x)
   1135     # Obsolete; use --with-x.
   1136     with_x=yes ;;
   1137 
   1138   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1139   | --x-incl | --x-inc | --x-in | --x-i)
   1140     ac_prev=x_includes ;;
   1141   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1142   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1143     x_includes=$ac_optarg ;;
   1144 
   1145   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1146   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1147     ac_prev=x_libraries ;;
   1148   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1149   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1150     x_libraries=$ac_optarg ;;
   1151 
   1152   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1153 Try \`$0 --help' for more information"
   1154     ;;
   1155 
   1156   *=*)
   1157     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1158     # Reject names that are not valid shell variable names.
   1159     case $ac_envvar in #(
   1160       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1161       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1162     esac
   1163     eval $ac_envvar=\$ac_optarg
   1164     export $ac_envvar ;;
   1165 
   1166   *)
   1167     # FIXME: should be removed in autoconf 3.0.
   1168     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1169     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1170       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1171     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1172     ;;
   1173 
   1174   esac
   1175 done
   1176 
   1177 if test -n "$ac_prev"; then
   1178   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1179   as_fn_error $? "missing argument to $ac_option"
   1180 fi
   1181 
   1182 if test -n "$ac_unrecognized_opts"; then
   1183   case $enable_option_checking in
   1184     no) ;;
   1185     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1186     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1187   esac
   1188 fi
   1189 
   1190 # Check all directory arguments for consistency.
   1191 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1192 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1193 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1194 		libdir localedir mandir
   1195 do
   1196   eval ac_val=\$$ac_var
   1197   # Remove trailing slashes.
   1198   case $ac_val in
   1199     */ )
   1200       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1201       eval $ac_var=\$ac_val;;
   1202   esac
   1203   # Be sure to have absolute directory names.
   1204   case $ac_val in
   1205     [\\/$]* | ?:[\\/]* )  continue;;
   1206     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1207   esac
   1208   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1209 done
   1210 
   1211 # There might be people who depend on the old broken behavior: `$host'
   1212 # used to hold the argument of --host etc.
   1213 # FIXME: To remove some day.
   1214 build=$build_alias
   1215 host=$host_alias
   1216 target=$target_alias
   1217 
   1218 # FIXME: To remove some day.
   1219 if test "x$host_alias" != x; then
   1220   if test "x$build_alias" = x; then
   1221     cross_compiling=maybe
   1222     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1223     If a cross compiler is detected then cross compile mode will be used" >&2
   1224   elif test "x$build_alias" != "x$host_alias"; then
   1225     cross_compiling=yes
   1226   fi
   1227 fi
   1228 
   1229 ac_tool_prefix=
   1230 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1231 
   1232 test "$silent" = yes && exec 6>/dev/null
   1233 
   1234 
   1235 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1236 ac_ls_di=`ls -di .` &&
   1237 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1238   as_fn_error $? "working directory cannot be determined"
   1239 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1240   as_fn_error $? "pwd does not report name of working directory"
   1241 
   1242 
   1243 # Find the source files, if location was not specified.
   1244 if test -z "$srcdir"; then
   1245   ac_srcdir_defaulted=yes
   1246   # Try the directory containing this script, then the parent directory.
   1247   ac_confdir=`$as_dirname -- "$as_myself" ||
   1248 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1249 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1250 	 X"$as_myself" : 'X\(//\)$' \| \
   1251 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1252 $as_echo X"$as_myself" |
   1253     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1254 	    s//\1/
   1255 	    q
   1256 	  }
   1257 	  /^X\(\/\/\)[^/].*/{
   1258 	    s//\1/
   1259 	    q
   1260 	  }
   1261 	  /^X\(\/\/\)$/{
   1262 	    s//\1/
   1263 	    q
   1264 	  }
   1265 	  /^X\(\/\).*/{
   1266 	    s//\1/
   1267 	    q
   1268 	  }
   1269 	  s/.*/./; q'`
   1270   srcdir=$ac_confdir
   1271   if test ! -r "$srcdir/$ac_unique_file"; then
   1272     srcdir=..
   1273   fi
   1274 else
   1275   ac_srcdir_defaulted=no
   1276 fi
   1277 if test ! -r "$srcdir/$ac_unique_file"; then
   1278   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1279   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1280 fi
   1281 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1282 ac_abs_confdir=`(
   1283 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1284 	pwd)`
   1285 # When building in place, set srcdir=.
   1286 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1287   srcdir=.
   1288 fi
   1289 # Remove unnecessary trailing slashes from srcdir.
   1290 # Double slashes in file names in object file debugging info
   1291 # mess up M-x gdb in Emacs.
   1292 case $srcdir in
   1293 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1294 esac
   1295 for ac_var in $ac_precious_vars; do
   1296   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1297   eval ac_env_${ac_var}_value=\$${ac_var}
   1298   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1299   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1300 done
   1301 
   1302 #
   1303 # Report the --help message.
   1304 #
   1305 if test "$ac_init_help" = "long"; then
   1306   # Omit some internal or obsolete options to make the list less imposing.
   1307   # This message is too long to be a string in the A/UX 3.1 sh.
   1308   cat <<_ACEOF
   1309 \`configure' configures xset 1.2.2 to adapt to many kinds of systems.
   1310 
   1311 Usage: $0 [OPTION]... [VAR=VALUE]...
   1312 
   1313 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1314 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1315 
   1316 Defaults for the options are specified in brackets.
   1317 
   1318 Configuration:
   1319   -h, --help              display this help and exit
   1320       --help=short        display options specific to this package
   1321       --help=recursive    display the short help of all the included packages
   1322   -V, --version           display version information and exit
   1323   -q, --quiet, --silent   do not print \`checking ...' messages
   1324       --cache-file=FILE   cache test results in FILE [disabled]
   1325   -C, --config-cache      alias for \`--cache-file=config.cache'
   1326   -n, --no-create         do not create output files
   1327       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1328 
   1329 Installation directories:
   1330   --prefix=PREFIX         install architecture-independent files in PREFIX
   1331                           [$ac_default_prefix]
   1332   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1333                           [PREFIX]
   1334 
   1335 By default, \`make install' will install all the files in
   1336 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1337 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1338 for instance \`--prefix=\$HOME'.
   1339 
   1340 For better control, use the options below.
   1341 
   1342 Fine tuning of the installation directories:
   1343   --bindir=DIR            user executables [EPREFIX/bin]
   1344   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1345   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1346   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1347   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1348   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1349   --libdir=DIR            object code libraries [EPREFIX/lib]
   1350   --includedir=DIR        C header files [PREFIX/include]
   1351   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1352   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1353   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1354   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1355   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1356   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1357   --docdir=DIR            documentation root [DATAROOTDIR/doc/xset]
   1358   --htmldir=DIR           html documentation [DOCDIR]
   1359   --dvidir=DIR            dvi documentation [DOCDIR]
   1360   --pdfdir=DIR            pdf documentation [DOCDIR]
   1361   --psdir=DIR             ps documentation [DOCDIR]
   1362 _ACEOF
   1363 
   1364   cat <<\_ACEOF
   1365 
   1366 Program names:
   1367   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1368   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1369   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1370 
   1371 System types:
   1372   --build=BUILD     configure for building on BUILD [guessed]
   1373   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1374 _ACEOF
   1375 fi
   1376 
   1377 if test -n "$ac_init_help"; then
   1378   case $ac_init_help in
   1379      short | recursive ) echo "Configuration of xset 1.2.2:";;
   1380    esac
   1381   cat <<\_ACEOF
   1382 
   1383 Optional Features:
   1384   --disable-option-checking  ignore unrecognized --enable/--with options
   1385   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1386   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1387   --enable-maintainer-mode  enable make rules and dependencies not useful
   1388 			  (and sometimes confusing) to the casual installer
   1389   --disable-dependency-tracking  speeds up one-time build
   1390   --enable-dependency-tracking   do not reject slow dependency extractors
   1391   --enable-strict-compilation
   1392                           Enable all warnings from compiler and make them
   1393                           errors (default: disabled)
   1394   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1395   --disable-silent-rules         verbose build output (undo: `make V=0')
   1396 
   1397 Optional Packages:
   1398   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1399   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1400   --without-xf86misc      Disable xf86misc support.
   1401   --without-fontcache     Disable fontcache support.
   1402 
   1403 Some influential environment variables:
   1404   CC          C compiler command
   1405   CFLAGS      C compiler flags
   1406   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1407               nonstandard directory <lib dir>
   1408   LIBS        libraries to pass to the linker, e.g. -l<library>
   1409   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1410               you have headers in a nonstandard directory <include dir>
   1411   CPP         C preprocessor
   1412   PKG_CONFIG  path to pkg-config utility
   1413   XSET_CFLAGS C compiler flags for XSET, overriding pkg-config
   1414   XSET_LIBS   linker flags for XSET, overriding pkg-config
   1415   SET_X11_CFLAGS
   1416               C compiler flags for SET_X11, overriding pkg-config
   1417   SET_X11_LIBS
   1418               linker flags for SET_X11, overriding pkg-config
   1419   SET_XEXT_CFLAGS
   1420               C compiler flags for SET_XEXT, overriding pkg-config
   1421   SET_XEXT_LIBS
   1422               linker flags for SET_XEXT, overriding pkg-config
   1423   SET_XKB_CFLAGS
   1424               C compiler flags for SET_XKB, overriding pkg-config
   1425   SET_XKB_LIBS
   1426               linker flags for SET_XKB, overriding pkg-config
   1427   SET_XF86MISC_CFLAGS
   1428               C compiler flags for SET_XF86MISC, overriding pkg-config
   1429   SET_XF86MISC_LIBS
   1430               linker flags for SET_XF86MISC, overriding pkg-config
   1431   SET_FONTCACHE_CFLAGS
   1432               C compiler flags for SET_FONTCACHE, overriding pkg-config
   1433   SET_FONTCACHE_LIBS
   1434               linker flags for SET_FONTCACHE, overriding pkg-config
   1435 
   1436 Use these variables to override the choices made by `configure' or to help
   1437 it to find libraries and programs with nonstandard names/locations.
   1438 
   1439 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1440 _ACEOF
   1441 ac_status=$?
   1442 fi
   1443 
   1444 if test "$ac_init_help" = "recursive"; then
   1445   # If there are subdirs, report their specific --help.
   1446   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1447     test -d "$ac_dir" ||
   1448       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1449       continue
   1450     ac_builddir=.
   1451 
   1452 case "$ac_dir" in
   1453 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1454 *)
   1455   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1456   # A ".." for each directory in $ac_dir_suffix.
   1457   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1458   case $ac_top_builddir_sub in
   1459   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1460   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1461   esac ;;
   1462 esac
   1463 ac_abs_top_builddir=$ac_pwd
   1464 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1465 # for backward compatibility:
   1466 ac_top_builddir=$ac_top_build_prefix
   1467 
   1468 case $srcdir in
   1469   .)  # We are building in place.
   1470     ac_srcdir=.
   1471     ac_top_srcdir=$ac_top_builddir_sub
   1472     ac_abs_top_srcdir=$ac_pwd ;;
   1473   [\\/]* | ?:[\\/]* )  # Absolute name.
   1474     ac_srcdir=$srcdir$ac_dir_suffix;
   1475     ac_top_srcdir=$srcdir
   1476     ac_abs_top_srcdir=$srcdir ;;
   1477   *) # Relative name.
   1478     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1479     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1480     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1481 esac
   1482 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1483 
   1484     cd "$ac_dir" || { ac_status=$?; continue; }
   1485     # Check for guested configure.
   1486     if test -f "$ac_srcdir/configure.gnu"; then
   1487       echo &&
   1488       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1489     elif test -f "$ac_srcdir/configure"; then
   1490       echo &&
   1491       $SHELL "$ac_srcdir/configure" --help=recursive
   1492     else
   1493       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1494     fi || ac_status=$?
   1495     cd "$ac_pwd" || { ac_status=$?; break; }
   1496   done
   1497 fi
   1498 
   1499 test -n "$ac_init_help" && exit $ac_status
   1500 if $ac_init_version; then
   1501   cat <<\_ACEOF
   1502 xset configure 1.2.2
   1503 generated by GNU Autoconf 2.68
   1504 
   1505 Copyright (C) 2010 Free Software Foundation, Inc.
   1506 This configure script is free software; the Free Software Foundation
   1507 gives unlimited permission to copy, distribute and modify it.
   1508 _ACEOF
   1509   exit
   1510 fi
   1511 
   1512 ## ------------------------ ##
   1513 ## Autoconf initialization. ##
   1514 ## ------------------------ ##
   1515 
   1516 # ac_fn_c_try_compile LINENO
   1517 # --------------------------
   1518 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1519 ac_fn_c_try_compile ()
   1520 {
   1521   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1522   rm -f conftest.$ac_objext
   1523   if { { ac_try="$ac_compile"
   1524 case "(($ac_try" in
   1525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1526   *) ac_try_echo=$ac_try;;
   1527 esac
   1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1529 $as_echo "$ac_try_echo"; } >&5
   1530   (eval "$ac_compile") 2>conftest.err
   1531   ac_status=$?
   1532   if test -s conftest.err; then
   1533     grep -v '^ *+' conftest.err >conftest.er1
   1534     cat conftest.er1 >&5
   1535     mv -f conftest.er1 conftest.err
   1536   fi
   1537   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1538   test $ac_status = 0; } && {
   1539 	 test -z "$ac_c_werror_flag" ||
   1540 	 test ! -s conftest.err
   1541        } && test -s conftest.$ac_objext; then :
   1542   ac_retval=0
   1543 else
   1544   $as_echo "$as_me: failed program was:" >&5
   1545 sed 's/^/| /' conftest.$ac_ext >&5
   1546 
   1547 	ac_retval=1
   1548 fi
   1549   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1550   as_fn_set_status $ac_retval
   1551 
   1552 } # ac_fn_c_try_compile
   1553 
   1554 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1555 # ---------------------------------------------
   1556 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1557 # accordingly.
   1558 ac_fn_c_check_decl ()
   1559 {
   1560   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1561   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1562   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1563   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1564 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1565 if eval \${$3+:} false; then :
   1566   $as_echo_n "(cached) " >&6
   1567 else
   1568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1569 /* end confdefs.h.  */
   1570 $4
   1571 int
   1572 main ()
   1573 {
   1574 #ifndef $as_decl_name
   1575 #ifdef __cplusplus
   1576   (void) $as_decl_use;
   1577 #else
   1578   (void) $as_decl_name;
   1579 #endif
   1580 #endif
   1581 
   1582   ;
   1583   return 0;
   1584 }
   1585 _ACEOF
   1586 if ac_fn_c_try_compile "$LINENO"; then :
   1587   eval "$3=yes"
   1588 else
   1589   eval "$3=no"
   1590 fi
   1591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1592 fi
   1593 eval ac_res=\$$3
   1594 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1595 $as_echo "$ac_res" >&6; }
   1596   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1597 
   1598 } # ac_fn_c_check_decl
   1599 
   1600 # ac_fn_c_try_cpp LINENO
   1601 # ----------------------
   1602 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1603 ac_fn_c_try_cpp ()
   1604 {
   1605   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1606   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1607 case "(($ac_try" in
   1608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1609   *) ac_try_echo=$ac_try;;
   1610 esac
   1611 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1612 $as_echo "$ac_try_echo"; } >&5
   1613   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1614   ac_status=$?
   1615   if test -s conftest.err; then
   1616     grep -v '^ *+' conftest.err >conftest.er1
   1617     cat conftest.er1 >&5
   1618     mv -f conftest.er1 conftest.err
   1619   fi
   1620   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1621   test $ac_status = 0; } > conftest.i && {
   1622 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1623 	 test ! -s conftest.err
   1624        }; then :
   1625   ac_retval=0
   1626 else
   1627   $as_echo "$as_me: failed program was:" >&5
   1628 sed 's/^/| /' conftest.$ac_ext >&5
   1629 
   1630     ac_retval=1
   1631 fi
   1632   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1633   as_fn_set_status $ac_retval
   1634 
   1635 } # ac_fn_c_try_cpp
   1636 
   1637 # ac_fn_c_try_run LINENO
   1638 # ----------------------
   1639 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1640 # that executables *can* be run.
   1641 ac_fn_c_try_run ()
   1642 {
   1643   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1644   if { { ac_try="$ac_link"
   1645 case "(($ac_try" in
   1646   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1647   *) ac_try_echo=$ac_try;;
   1648 esac
   1649 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1650 $as_echo "$ac_try_echo"; } >&5
   1651   (eval "$ac_link") 2>&5
   1652   ac_status=$?
   1653   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1654   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1655   { { case "(($ac_try" in
   1656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1657   *) ac_try_echo=$ac_try;;
   1658 esac
   1659 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1660 $as_echo "$ac_try_echo"; } >&5
   1661   (eval "$ac_try") 2>&5
   1662   ac_status=$?
   1663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1664   test $ac_status = 0; }; }; then :
   1665   ac_retval=0
   1666 else
   1667   $as_echo "$as_me: program exited with status $ac_status" >&5
   1668        $as_echo "$as_me: failed program was:" >&5
   1669 sed 's/^/| /' conftest.$ac_ext >&5
   1670 
   1671        ac_retval=$ac_status
   1672 fi
   1673   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1675   as_fn_set_status $ac_retval
   1676 
   1677 } # ac_fn_c_try_run
   1678 
   1679 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1680 # -------------------------------------------------------
   1681 # Tests whether HEADER exists and can be compiled using the include files in
   1682 # INCLUDES, setting the cache variable VAR accordingly.
   1683 ac_fn_c_check_header_compile ()
   1684 {
   1685   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1686   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1687 $as_echo_n "checking for $2... " >&6; }
   1688 if eval \${$3+:} false; then :
   1689   $as_echo_n "(cached) " >&6
   1690 else
   1691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1692 /* end confdefs.h.  */
   1693 $4
   1694 #include <$2>
   1695 _ACEOF
   1696 if ac_fn_c_try_compile "$LINENO"; then :
   1697   eval "$3=yes"
   1698 else
   1699   eval "$3=no"
   1700 fi
   1701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1702 fi
   1703 eval ac_res=\$$3
   1704 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1705 $as_echo "$ac_res" >&6; }
   1706   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1707 
   1708 } # ac_fn_c_check_header_compile
   1709 
   1710 # ac_fn_c_try_link LINENO
   1711 # -----------------------
   1712 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1713 ac_fn_c_try_link ()
   1714 {
   1715   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1716   rm -f conftest.$ac_objext conftest$ac_exeext
   1717   if { { ac_try="$ac_link"
   1718 case "(($ac_try" in
   1719   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1720   *) ac_try_echo=$ac_try;;
   1721 esac
   1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1723 $as_echo "$ac_try_echo"; } >&5
   1724   (eval "$ac_link") 2>conftest.err
   1725   ac_status=$?
   1726   if test -s conftest.err; then
   1727     grep -v '^ *+' conftest.err >conftest.er1
   1728     cat conftest.er1 >&5
   1729     mv -f conftest.er1 conftest.err
   1730   fi
   1731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1732   test $ac_status = 0; } && {
   1733 	 test -z "$ac_c_werror_flag" ||
   1734 	 test ! -s conftest.err
   1735        } && test -s conftest$ac_exeext && {
   1736 	 test "$cross_compiling" = yes ||
   1737 	 $as_test_x conftest$ac_exeext
   1738        }; then :
   1739   ac_retval=0
   1740 else
   1741   $as_echo "$as_me: failed program was:" >&5
   1742 sed 's/^/| /' conftest.$ac_ext >&5
   1743 
   1744 	ac_retval=1
   1745 fi
   1746   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1747   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1748   # interfere with the next link command; also delete a directory that is
   1749   # left behind by Apple's compiler.  We do this before executing the actions.
   1750   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1752   as_fn_set_status $ac_retval
   1753 
   1754 } # ac_fn_c_try_link
   1755 
   1756 # ac_fn_c_check_func LINENO FUNC VAR
   1757 # ----------------------------------
   1758 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1759 ac_fn_c_check_func ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1763 $as_echo_n "checking for $2... " >&6; }
   1764 if eval \${$3+:} false; then :
   1765   $as_echo_n "(cached) " >&6
   1766 else
   1767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1768 /* end confdefs.h.  */
   1769 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1771 #define $2 innocuous_$2
   1772 
   1773 /* System header to define __stub macros and hopefully few prototypes,
   1774     which can conflict with char $2 (); below.
   1775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1776     <limits.h> exists even on freestanding compilers.  */
   1777 
   1778 #ifdef __STDC__
   1779 # include <limits.h>
   1780 #else
   1781 # include <assert.h>
   1782 #endif
   1783 
   1784 #undef $2
   1785 
   1786 /* Override any GCC internal prototype to avoid an error.
   1787    Use char because int might match the return type of a GCC
   1788    builtin and then its argument prototype would still apply.  */
   1789 #ifdef __cplusplus
   1790 extern "C"
   1791 #endif
   1792 char $2 ();
   1793 /* The GNU C library defines this for functions which it implements
   1794     to always fail with ENOSYS.  Some functions are actually named
   1795     something starting with __ and the normal name is an alias.  */
   1796 #if defined __stub_$2 || defined __stub___$2
   1797 choke me
   1798 #endif
   1799 
   1800 int
   1801 main ()
   1802 {
   1803 return $2 ();
   1804   ;
   1805   return 0;
   1806 }
   1807 _ACEOF
   1808 if ac_fn_c_try_link "$LINENO"; then :
   1809   eval "$3=yes"
   1810 else
   1811   eval "$3=no"
   1812 fi
   1813 rm -f core conftest.err conftest.$ac_objext \
   1814     conftest$ac_exeext conftest.$ac_ext
   1815 fi
   1816 eval ac_res=\$$3
   1817 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1818 $as_echo "$ac_res" >&6; }
   1819   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1820 
   1821 } # ac_fn_c_check_func
   1822 cat >config.log <<_ACEOF
   1823 This file contains any messages produced by compilers while
   1824 running configure, to aid debugging if configure makes a mistake.
   1825 
   1826 It was created by xset $as_me 1.2.2, which was
   1827 generated by GNU Autoconf 2.68.  Invocation command line was
   1828 
   1829   $ $0 $@
   1830 
   1831 _ACEOF
   1832 exec 5>>config.log
   1833 {
   1834 cat <<_ASUNAME
   1835 ## --------- ##
   1836 ## Platform. ##
   1837 ## --------- ##
   1838 
   1839 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1840 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1841 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1842 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1843 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1844 
   1845 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1846 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1847 
   1848 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1849 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1850 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1851 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1852 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1853 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1854 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1855 
   1856 _ASUNAME
   1857 
   1858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1859 for as_dir in $PATH
   1860 do
   1861   IFS=$as_save_IFS
   1862   test -z "$as_dir" && as_dir=.
   1863     $as_echo "PATH: $as_dir"
   1864   done
   1865 IFS=$as_save_IFS
   1866 
   1867 } >&5
   1868 
   1869 cat >&5 <<_ACEOF
   1870 
   1871 
   1872 ## ----------- ##
   1873 ## Core tests. ##
   1874 ## ----------- ##
   1875 
   1876 _ACEOF
   1877 
   1878 
   1879 # Keep a trace of the command line.
   1880 # Strip out --no-create and --no-recursion so they do not pile up.
   1881 # Strip out --silent because we don't want to record it for future runs.
   1882 # Also quote any args containing shell meta-characters.
   1883 # Make two passes to allow for proper duplicate-argument suppression.
   1884 ac_configure_args=
   1885 ac_configure_args0=
   1886 ac_configure_args1=
   1887 ac_must_keep_next=false
   1888 for ac_pass in 1 2
   1889 do
   1890   for ac_arg
   1891   do
   1892     case $ac_arg in
   1893     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1894     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1895     | -silent | --silent | --silen | --sile | --sil)
   1896       continue ;;
   1897     *\'*)
   1898       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1899     esac
   1900     case $ac_pass in
   1901     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1902     2)
   1903       as_fn_append ac_configure_args1 " '$ac_arg'"
   1904       if test $ac_must_keep_next = true; then
   1905 	ac_must_keep_next=false # Got value, back to normal.
   1906       else
   1907 	case $ac_arg in
   1908 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1909 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1910 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1911 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1912 	    case "$ac_configure_args0 " in
   1913 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1914 	    esac
   1915 	    ;;
   1916 	  -* ) ac_must_keep_next=true ;;
   1917 	esac
   1918       fi
   1919       as_fn_append ac_configure_args " '$ac_arg'"
   1920       ;;
   1921     esac
   1922   done
   1923 done
   1924 { ac_configure_args0=; unset ac_configure_args0;}
   1925 { ac_configure_args1=; unset ac_configure_args1;}
   1926 
   1927 # When interrupted or exit'd, cleanup temporary files, and complete
   1928 # config.log.  We remove comments because anyway the quotes in there
   1929 # would cause problems or look ugly.
   1930 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1931 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1932 trap 'exit_status=$?
   1933   # Save into config.log some information that might help in debugging.
   1934   {
   1935     echo
   1936 
   1937     $as_echo "## ---------------- ##
   1938 ## Cache variables. ##
   1939 ## ---------------- ##"
   1940     echo
   1941     # The following way of writing the cache mishandles newlines in values,
   1942 (
   1943   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1944     eval ac_val=\$$ac_var
   1945     case $ac_val in #(
   1946     *${as_nl}*)
   1947       case $ac_var in #(
   1948       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1949 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1950       esac
   1951       case $ac_var in #(
   1952       _ | IFS | as_nl) ;; #(
   1953       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1954       *) { eval $ac_var=; unset $ac_var;} ;;
   1955       esac ;;
   1956     esac
   1957   done
   1958   (set) 2>&1 |
   1959     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1960     *${as_nl}ac_space=\ *)
   1961       sed -n \
   1962 	"s/'\''/'\''\\\\'\'''\''/g;
   1963 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1964       ;; #(
   1965     *)
   1966       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1967       ;;
   1968     esac |
   1969     sort
   1970 )
   1971     echo
   1972 
   1973     $as_echo "## ----------------- ##
   1974 ## Output variables. ##
   1975 ## ----------------- ##"
   1976     echo
   1977     for ac_var in $ac_subst_vars
   1978     do
   1979       eval ac_val=\$$ac_var
   1980       case $ac_val in
   1981       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1982       esac
   1983       $as_echo "$ac_var='\''$ac_val'\''"
   1984     done | sort
   1985     echo
   1986 
   1987     if test -n "$ac_subst_files"; then
   1988       $as_echo "## ------------------- ##
   1989 ## File substitutions. ##
   1990 ## ------------------- ##"
   1991       echo
   1992       for ac_var in $ac_subst_files
   1993       do
   1994 	eval ac_val=\$$ac_var
   1995 	case $ac_val in
   1996 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   1997 	esac
   1998 	$as_echo "$ac_var='\''$ac_val'\''"
   1999       done | sort
   2000       echo
   2001     fi
   2002 
   2003     if test -s confdefs.h; then
   2004       $as_echo "## ----------- ##
   2005 ## confdefs.h. ##
   2006 ## ----------- ##"
   2007       echo
   2008       cat confdefs.h
   2009       echo
   2010     fi
   2011     test "$ac_signal" != 0 &&
   2012       $as_echo "$as_me: caught signal $ac_signal"
   2013     $as_echo "$as_me: exit $exit_status"
   2014   } >&5
   2015   rm -f core *.core core.conftest.* &&
   2016     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2017     exit $exit_status
   2018 ' 0
   2019 for ac_signal in 1 2 13 15; do
   2020   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2021 done
   2022 ac_signal=0
   2023 
   2024 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2025 rm -f -r conftest* confdefs.h
   2026 
   2027 $as_echo "/* confdefs.h */" > confdefs.h
   2028 
   2029 # Predefined preprocessor variables.
   2030 
   2031 cat >>confdefs.h <<_ACEOF
   2032 #define PACKAGE_NAME "$PACKAGE_NAME"
   2033 _ACEOF
   2034 
   2035 cat >>confdefs.h <<_ACEOF
   2036 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2037 _ACEOF
   2038 
   2039 cat >>confdefs.h <<_ACEOF
   2040 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2041 _ACEOF
   2042 
   2043 cat >>confdefs.h <<_ACEOF
   2044 #define PACKAGE_STRING "$PACKAGE_STRING"
   2045 _ACEOF
   2046 
   2047 cat >>confdefs.h <<_ACEOF
   2048 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2049 _ACEOF
   2050 
   2051 cat >>confdefs.h <<_ACEOF
   2052 #define PACKAGE_URL "$PACKAGE_URL"
   2053 _ACEOF
   2054 
   2055 
   2056 # Let the site file select an alternate cache file if it wants to.
   2057 # Prefer an explicitly selected file to automatically selected ones.
   2058 ac_site_file1=NONE
   2059 ac_site_file2=NONE
   2060 if test -n "$CONFIG_SITE"; then
   2061   # We do not want a PATH search for config.site.
   2062   case $CONFIG_SITE in #((
   2063     -*)  ac_site_file1=./$CONFIG_SITE;;
   2064     */*) ac_site_file1=$CONFIG_SITE;;
   2065     *)   ac_site_file1=./$CONFIG_SITE;;
   2066   esac
   2067 elif test "x$prefix" != xNONE; then
   2068   ac_site_file1=$prefix/share/config.site
   2069   ac_site_file2=$prefix/etc/config.site
   2070 else
   2071   ac_site_file1=$ac_default_prefix/share/config.site
   2072   ac_site_file2=$ac_default_prefix/etc/config.site
   2073 fi
   2074 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2075 do
   2076   test "x$ac_site_file" = xNONE && continue
   2077   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2078     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2079 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2080     sed 's/^/| /' "$ac_site_file" >&5
   2081     . "$ac_site_file" \
   2082       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2084 as_fn_error $? "failed to load site script $ac_site_file
   2085 See \`config.log' for more details" "$LINENO" 5; }
   2086   fi
   2087 done
   2088 
   2089 if test -r "$cache_file"; then
   2090   # Some versions of bash will fail to source /dev/null (special files
   2091   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2092   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2093     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2094 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2095     case $cache_file in
   2096       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2097       *)                      . "./$cache_file";;
   2098     esac
   2099   fi
   2100 else
   2101   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2102 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2103   >$cache_file
   2104 fi
   2105 
   2106 # Check that the precious variables saved in the cache have kept the same
   2107 # value.
   2108 ac_cache_corrupted=false
   2109 for ac_var in $ac_precious_vars; do
   2110   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2111   eval ac_new_set=\$ac_env_${ac_var}_set
   2112   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2113   eval ac_new_val=\$ac_env_${ac_var}_value
   2114   case $ac_old_set,$ac_new_set in
   2115     set,)
   2116       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2117 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2118       ac_cache_corrupted=: ;;
   2119     ,set)
   2120       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2121 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2122       ac_cache_corrupted=: ;;
   2123     ,);;
   2124     *)
   2125       if test "x$ac_old_val" != "x$ac_new_val"; then
   2126 	# differences in whitespace do not lead to failure.
   2127 	ac_old_val_w=`echo x $ac_old_val`
   2128 	ac_new_val_w=`echo x $ac_new_val`
   2129 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2130 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2131 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2132 	  ac_cache_corrupted=:
   2133 	else
   2134 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2135 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2136 	  eval $ac_var=\$ac_old_val
   2137 	fi
   2138 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2139 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2140 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2141 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2142       fi;;
   2143   esac
   2144   # Pass precious variables to config.status.
   2145   if test "$ac_new_set" = set; then
   2146     case $ac_new_val in
   2147     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2148     *) ac_arg=$ac_var=$ac_new_val ;;
   2149     esac
   2150     case " $ac_configure_args " in
   2151       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2152       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2153     esac
   2154   fi
   2155 done
   2156 if $ac_cache_corrupted; then
   2157   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2159   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2160 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2161   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2162 fi
   2163 ## -------------------- ##
   2164 ## Main body of script. ##
   2165 ## -------------------- ##
   2166 
   2167 ac_ext=c
   2168 ac_cpp='$CPP $CPPFLAGS'
   2169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2172 
   2173 
   2174 
   2175 ac_config_headers="$ac_config_headers config.h"
   2176 
   2177 
   2178 # Initialize Automake
   2179 am__api_version='1.11'
   2180 
   2181 ac_aux_dir=
   2182 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2183   if test -f "$ac_dir/install-sh"; then
   2184     ac_aux_dir=$ac_dir
   2185     ac_install_sh="$ac_aux_dir/install-sh -c"
   2186     break
   2187   elif test -f "$ac_dir/install.sh"; then
   2188     ac_aux_dir=$ac_dir
   2189     ac_install_sh="$ac_aux_dir/install.sh -c"
   2190     break
   2191   elif test -f "$ac_dir/shtool"; then
   2192     ac_aux_dir=$ac_dir
   2193     ac_install_sh="$ac_aux_dir/shtool install -c"
   2194     break
   2195   fi
   2196 done
   2197 if test -z "$ac_aux_dir"; then
   2198   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2199 fi
   2200 
   2201 # These three variables are undocumented and unsupported,
   2202 # and are intended to be withdrawn in a future Autoconf release.
   2203 # They can cause serious problems if a builder's source tree is in a directory
   2204 # whose full name contains unusual characters.
   2205 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2206 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2207 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2208 
   2209 
   2210 # Find a good install program.  We prefer a C program (faster),
   2211 # so one script is as good as another.  But avoid the broken or
   2212 # incompatible versions:
   2213 # SysV /etc/install, /usr/sbin/install
   2214 # SunOS /usr/etc/install
   2215 # IRIX /sbin/install
   2216 # AIX /bin/install
   2217 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2218 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2219 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2220 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2221 # OS/2's system install, which has a completely different semantic
   2222 # ./install, which can be erroneously created by make from ./install.sh.
   2223 # Reject install programs that cannot install multiple files.
   2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2225 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2226 if test -z "$INSTALL"; then
   2227 if ${ac_cv_path_install+:} false; then :
   2228   $as_echo_n "(cached) " >&6
   2229 else
   2230   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2231 for as_dir in $PATH
   2232 do
   2233   IFS=$as_save_IFS
   2234   test -z "$as_dir" && as_dir=.
   2235     # Account for people who put trailing slashes in PATH elements.
   2236 case $as_dir/ in #((
   2237   ./ | .// | /[cC]/* | \
   2238   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2239   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2240   /usr/ucb/* ) ;;
   2241   *)
   2242     # OSF1 and SCO ODT 3.0 have their own names for install.
   2243     # Don't use installbsd from OSF since it installs stuff as root
   2244     # by default.
   2245     for ac_prog in ginstall scoinst install; do
   2246       for ac_exec_ext in '' $ac_executable_extensions; do
   2247 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2248 	  if test $ac_prog = install &&
   2249 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2250 	    # AIX install.  It has an incompatible calling convention.
   2251 	    :
   2252 	  elif test $ac_prog = install &&
   2253 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2254 	    # program-specific install script used by HP pwplus--don't use.
   2255 	    :
   2256 	  else
   2257 	    rm -rf conftest.one conftest.two conftest.dir
   2258 	    echo one > conftest.one
   2259 	    echo two > conftest.two
   2260 	    mkdir conftest.dir
   2261 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2262 	      test -s conftest.one && test -s conftest.two &&
   2263 	      test -s conftest.dir/conftest.one &&
   2264 	      test -s conftest.dir/conftest.two
   2265 	    then
   2266 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2267 	      break 3
   2268 	    fi
   2269 	  fi
   2270 	fi
   2271       done
   2272     done
   2273     ;;
   2274 esac
   2275 
   2276   done
   2277 IFS=$as_save_IFS
   2278 
   2279 rm -rf conftest.one conftest.two conftest.dir
   2280 
   2281 fi
   2282   if test "${ac_cv_path_install+set}" = set; then
   2283     INSTALL=$ac_cv_path_install
   2284   else
   2285     # As a last resort, use the slow shell script.  Don't cache a
   2286     # value for INSTALL within a source directory, because that will
   2287     # break other packages using the cache if that directory is
   2288     # removed, or if the value is a relative name.
   2289     INSTALL=$ac_install_sh
   2290   fi
   2291 fi
   2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2293 $as_echo "$INSTALL" >&6; }
   2294 
   2295 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2296 # It thinks the first close brace ends the variable substitution.
   2297 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2298 
   2299 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2300 
   2301 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2302 
   2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2304 $as_echo_n "checking whether build environment is sane... " >&6; }
   2305 # Just in case
   2306 sleep 1
   2307 echo timestamp > conftest.file
   2308 # Reject unsafe characters in $srcdir or the absolute working directory
   2309 # name.  Accept space and tab only in the latter.
   2310 am_lf='
   2311 '
   2312 case `pwd` in
   2313   *[\\\"\#\$\&\'\`$am_lf]*)
   2314     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2315 esac
   2316 case $srcdir in
   2317   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2318     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2319 esac
   2320 
   2321 # Do `set' in a subshell so we don't clobber the current shell's
   2322 # arguments.  Must try -L first in case configure is actually a
   2323 # symlink; some systems play weird games with the mod time of symlinks
   2324 # (eg FreeBSD returns the mod time of the symlink's containing
   2325 # directory).
   2326 if (
   2327    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2328    if test "$*" = "X"; then
   2329       # -L didn't work.
   2330       set X `ls -t "$srcdir/configure" conftest.file`
   2331    fi
   2332    rm -f conftest.file
   2333    if test "$*" != "X $srcdir/configure conftest.file" \
   2334       && test "$*" != "X conftest.file $srcdir/configure"; then
   2335 
   2336       # If neither matched, then we have a broken ls.  This can happen
   2337       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2338       # broken ls alias from the environment.  This has actually
   2339       # happened.  Such a system could not be considered "sane".
   2340       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2341 alias in your environment" "$LINENO" 5
   2342    fi
   2343 
   2344    test "$2" = conftest.file
   2345    )
   2346 then
   2347    # Ok.
   2348    :
   2349 else
   2350    as_fn_error $? "newly created file is older than distributed files!
   2351 Check your system clock" "$LINENO" 5
   2352 fi
   2353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2354 $as_echo "yes" >&6; }
   2355 test "$program_prefix" != NONE &&
   2356   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2357 # Use a double $ so make ignores it.
   2358 test "$program_suffix" != NONE &&
   2359   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2360 # Double any \ or $.
   2361 # By default was `s,x,x', remove it if useless.
   2362 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2363 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2364 
   2365 # expand $ac_aux_dir to an absolute path
   2366 am_aux_dir=`cd $ac_aux_dir && pwd`
   2367 
   2368 if test x"${MISSING+set}" != xset; then
   2369   case $am_aux_dir in
   2370   *\ * | *\	*)
   2371     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2372   *)
   2373     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2374   esac
   2375 fi
   2376 # Use eval to expand $SHELL
   2377 if eval "$MISSING --run true"; then
   2378   am_missing_run="$MISSING --run "
   2379 else
   2380   am_missing_run=
   2381   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2382 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2383 fi
   2384 
   2385 if test x"${install_sh}" != xset; then
   2386   case $am_aux_dir in
   2387   *\ * | *\	*)
   2388     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2389   *)
   2390     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2391   esac
   2392 fi
   2393 
   2394 # Installed binaries are usually stripped using `strip' when the user
   2395 # run `make install-strip'.  However `strip' might not be the right
   2396 # tool to use in cross-compilation environments, therefore Automake
   2397 # will honor the `STRIP' environment variable to overrule this program.
   2398 if test "$cross_compiling" != no; then
   2399   if test -n "$ac_tool_prefix"; then
   2400   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2401 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2403 $as_echo_n "checking for $ac_word... " >&6; }
   2404 if ${ac_cv_prog_STRIP+:} false; then :
   2405   $as_echo_n "(cached) " >&6
   2406 else
   2407   if test -n "$STRIP"; then
   2408   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2409 else
   2410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2411 for as_dir in $PATH
   2412 do
   2413   IFS=$as_save_IFS
   2414   test -z "$as_dir" && as_dir=.
   2415     for ac_exec_ext in '' $ac_executable_extensions; do
   2416   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2417     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2419     break 2
   2420   fi
   2421 done
   2422   done
   2423 IFS=$as_save_IFS
   2424 
   2425 fi
   2426 fi
   2427 STRIP=$ac_cv_prog_STRIP
   2428 if test -n "$STRIP"; then
   2429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2430 $as_echo "$STRIP" >&6; }
   2431 else
   2432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2433 $as_echo "no" >&6; }
   2434 fi
   2435 
   2436 
   2437 fi
   2438 if test -z "$ac_cv_prog_STRIP"; then
   2439   ac_ct_STRIP=$STRIP
   2440   # Extract the first word of "strip", so it can be a program name with args.
   2441 set dummy strip; ac_word=$2
   2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2443 $as_echo_n "checking for $ac_word... " >&6; }
   2444 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2445   $as_echo_n "(cached) " >&6
   2446 else
   2447   if test -n "$ac_ct_STRIP"; then
   2448   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2449 else
   2450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2451 for as_dir in $PATH
   2452 do
   2453   IFS=$as_save_IFS
   2454   test -z "$as_dir" && as_dir=.
   2455     for ac_exec_ext in '' $ac_executable_extensions; do
   2456   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2457     ac_cv_prog_ac_ct_STRIP="strip"
   2458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2459     break 2
   2460   fi
   2461 done
   2462   done
   2463 IFS=$as_save_IFS
   2464 
   2465 fi
   2466 fi
   2467 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2468 if test -n "$ac_ct_STRIP"; then
   2469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2470 $as_echo "$ac_ct_STRIP" >&6; }
   2471 else
   2472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2473 $as_echo "no" >&6; }
   2474 fi
   2475 
   2476   if test "x$ac_ct_STRIP" = x; then
   2477     STRIP=":"
   2478   else
   2479     case $cross_compiling:$ac_tool_warned in
   2480 yes:)
   2481 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2482 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2483 ac_tool_warned=yes ;;
   2484 esac
   2485     STRIP=$ac_ct_STRIP
   2486   fi
   2487 else
   2488   STRIP="$ac_cv_prog_STRIP"
   2489 fi
   2490 
   2491 fi
   2492 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2493 
   2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2495 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2496 if test -z "$MKDIR_P"; then
   2497   if ${ac_cv_path_mkdir+:} false; then :
   2498   $as_echo_n "(cached) " >&6
   2499 else
   2500   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2501 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2502 do
   2503   IFS=$as_save_IFS
   2504   test -z "$as_dir" && as_dir=.
   2505     for ac_prog in mkdir gmkdir; do
   2506 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2507 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2508 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2509 	     'mkdir (GNU coreutils) '* | \
   2510 	     'mkdir (coreutils) '* | \
   2511 	     'mkdir (fileutils) '4.1*)
   2512 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2513 	       break 3;;
   2514 	   esac
   2515 	 done
   2516        done
   2517   done
   2518 IFS=$as_save_IFS
   2519 
   2520 fi
   2521 
   2522   test -d ./--version && rmdir ./--version
   2523   if test "${ac_cv_path_mkdir+set}" = set; then
   2524     MKDIR_P="$ac_cv_path_mkdir -p"
   2525   else
   2526     # As a last resort, use the slow shell script.  Don't cache a
   2527     # value for MKDIR_P within a source directory, because that will
   2528     # break other packages using the cache if that directory is
   2529     # removed, or if the value is a relative name.
   2530     MKDIR_P="$ac_install_sh -d"
   2531   fi
   2532 fi
   2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2534 $as_echo "$MKDIR_P" >&6; }
   2535 
   2536 mkdir_p="$MKDIR_P"
   2537 case $mkdir_p in
   2538   [\\/$]* | ?:[\\/]*) ;;
   2539   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2540 esac
   2541 
   2542 for ac_prog in gawk mawk nawk awk
   2543 do
   2544   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2545 set dummy $ac_prog; ac_word=$2
   2546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2547 $as_echo_n "checking for $ac_word... " >&6; }
   2548 if ${ac_cv_prog_AWK+:} false; then :
   2549   $as_echo_n "(cached) " >&6
   2550 else
   2551   if test -n "$AWK"; then
   2552   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2553 else
   2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2555 for as_dir in $PATH
   2556 do
   2557   IFS=$as_save_IFS
   2558   test -z "$as_dir" && as_dir=.
   2559     for ac_exec_ext in '' $ac_executable_extensions; do
   2560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2561     ac_cv_prog_AWK="$ac_prog"
   2562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2563     break 2
   2564   fi
   2565 done
   2566   done
   2567 IFS=$as_save_IFS
   2568 
   2569 fi
   2570 fi
   2571 AWK=$ac_cv_prog_AWK
   2572 if test -n "$AWK"; then
   2573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2574 $as_echo "$AWK" >&6; }
   2575 else
   2576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2577 $as_echo "no" >&6; }
   2578 fi
   2579 
   2580 
   2581   test -n "$AWK" && break
   2582 done
   2583 
   2584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2585 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2586 set x ${MAKE-make}
   2587 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2588 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2589   $as_echo_n "(cached) " >&6
   2590 else
   2591   cat >conftest.make <<\_ACEOF
   2592 SHELL = /bin/sh
   2593 all:
   2594 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2595 _ACEOF
   2596 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2597 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2598   *@@@%%%=?*=@@@%%%*)
   2599     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2600   *)
   2601     eval ac_cv_prog_make_${ac_make}_set=no;;
   2602 esac
   2603 rm -f conftest.make
   2604 fi
   2605 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2607 $as_echo "yes" >&6; }
   2608   SET_MAKE=
   2609 else
   2610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2611 $as_echo "no" >&6; }
   2612   SET_MAKE="MAKE=${MAKE-make}"
   2613 fi
   2614 
   2615 rm -rf .tst 2>/dev/null
   2616 mkdir .tst 2>/dev/null
   2617 if test -d .tst; then
   2618   am__leading_dot=.
   2619 else
   2620   am__leading_dot=_
   2621 fi
   2622 rmdir .tst 2>/dev/null
   2623 
   2624 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2625   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2626   # is not polluted with repeated "-I."
   2627   am__isrc=' -I$(srcdir)'
   2628   # test to see if srcdir already configured
   2629   if test -f $srcdir/config.status; then
   2630     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2631   fi
   2632 fi
   2633 
   2634 # test whether we have cygpath
   2635 if test -z "$CYGPATH_W"; then
   2636   if (cygpath --version) >/dev/null 2>/dev/null; then
   2637     CYGPATH_W='cygpath -w'
   2638   else
   2639     CYGPATH_W=echo
   2640   fi
   2641 fi
   2642 
   2643 
   2644 # Define the identity of the package.
   2645  PACKAGE='xset'
   2646  VERSION='1.2.2'
   2647 
   2648 
   2649 cat >>confdefs.h <<_ACEOF
   2650 #define PACKAGE "$PACKAGE"
   2651 _ACEOF
   2652 
   2653 
   2654 cat >>confdefs.h <<_ACEOF
   2655 #define VERSION "$VERSION"
   2656 _ACEOF
   2657 
   2658 # Some tools Automake needs.
   2659 
   2660 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2661 
   2662 
   2663 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2664 
   2665 
   2666 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2667 
   2668 
   2669 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2670 
   2671 
   2672 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2673 
   2674 # We need awk for the "check" target.  The system "awk" is bad on
   2675 # some platforms.
   2676 # Always define AMTAR for backward compatibility.
   2677 
   2678 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2679 
   2680 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2681 
   2682 
   2683 
   2684 
   2685 
   2686 
   2687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2688 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2689     # Check whether --enable-maintainer-mode was given.
   2690 if test "${enable_maintainer_mode+set}" = set; then :
   2691   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2692 else
   2693   USE_MAINTAINER_MODE=no
   2694 fi
   2695 
   2696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2697 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2698    if test $USE_MAINTAINER_MODE = yes; then
   2699   MAINTAINER_MODE_TRUE=
   2700   MAINTAINER_MODE_FALSE='#'
   2701 else
   2702   MAINTAINER_MODE_TRUE='#'
   2703   MAINTAINER_MODE_FALSE=
   2704 fi
   2705 
   2706   MAINT=$MAINTAINER_MODE_TRUE
   2707 
   2708 
   2709 
   2710 # Require xorg-macros: XORG_MANPAGE_SECTIONS
   2711 
   2712 
   2713 
   2714 
   2715 
   2716 
   2717 
   2718 
   2719 
   2720 
   2721 
   2722 DEPDIR="${am__leading_dot}deps"
   2723 
   2724 ac_config_commands="$ac_config_commands depfiles"
   2725 
   2726 
   2727 am_make=${MAKE-make}
   2728 cat > confinc << 'END'
   2729 am__doit:
   2730 	@echo this is the am__doit target
   2731 .PHONY: am__doit
   2732 END
   2733 # If we don't find an include directive, just comment out the code.
   2734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2735 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2736 am__include="#"
   2737 am__quote=
   2738 _am_result=none
   2739 # First try GNU make style include.
   2740 echo "include confinc" > confmf
   2741 # Ignore all kinds of additional output from `make'.
   2742 case `$am_make -s -f confmf 2> /dev/null` in #(
   2743 *the\ am__doit\ target*)
   2744   am__include=include
   2745   am__quote=
   2746   _am_result=GNU
   2747   ;;
   2748 esac
   2749 # Now try BSD make style include.
   2750 if test "$am__include" = "#"; then
   2751    echo '.include "confinc"' > confmf
   2752    case `$am_make -s -f confmf 2> /dev/null` in #(
   2753    *the\ am__doit\ target*)
   2754      am__include=.include
   2755      am__quote="\""
   2756      _am_result=BSD
   2757      ;;
   2758    esac
   2759 fi
   2760 
   2761 
   2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2763 $as_echo "$_am_result" >&6; }
   2764 rm -f confinc confmf
   2765 
   2766 # Check whether --enable-dependency-tracking was given.
   2767 if test "${enable_dependency_tracking+set}" = set; then :
   2768   enableval=$enable_dependency_tracking;
   2769 fi
   2770 
   2771 if test "x$enable_dependency_tracking" != xno; then
   2772   am_depcomp="$ac_aux_dir/depcomp"
   2773   AMDEPBACKSLASH='\'
   2774 fi
   2775  if test "x$enable_dependency_tracking" != xno; then
   2776   AMDEP_TRUE=
   2777   AMDEP_FALSE='#'
   2778 else
   2779   AMDEP_TRUE='#'
   2780   AMDEP_FALSE=
   2781 fi
   2782 
   2783 
   2784 ac_ext=c
   2785 ac_cpp='$CPP $CPPFLAGS'
   2786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2789 if test -n "$ac_tool_prefix"; then
   2790   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2791 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2793 $as_echo_n "checking for $ac_word... " >&6; }
   2794 if ${ac_cv_prog_CC+:} false; then :
   2795   $as_echo_n "(cached) " >&6
   2796 else
   2797   if test -n "$CC"; then
   2798   ac_cv_prog_CC="$CC" # Let the user override the test.
   2799 else
   2800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2801 for as_dir in $PATH
   2802 do
   2803   IFS=$as_save_IFS
   2804   test -z "$as_dir" && as_dir=.
   2805     for ac_exec_ext in '' $ac_executable_extensions; do
   2806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2807     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2808     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2809     break 2
   2810   fi
   2811 done
   2812   done
   2813 IFS=$as_save_IFS
   2814 
   2815 fi
   2816 fi
   2817 CC=$ac_cv_prog_CC
   2818 if test -n "$CC"; then
   2819   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2820 $as_echo "$CC" >&6; }
   2821 else
   2822   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2823 $as_echo "no" >&6; }
   2824 fi
   2825 
   2826 
   2827 fi
   2828 if test -z "$ac_cv_prog_CC"; then
   2829   ac_ct_CC=$CC
   2830   # Extract the first word of "gcc", so it can be a program name with args.
   2831 set dummy gcc; ac_word=$2
   2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2833 $as_echo_n "checking for $ac_word... " >&6; }
   2834 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2835   $as_echo_n "(cached) " >&6
   2836 else
   2837   if test -n "$ac_ct_CC"; then
   2838   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2839 else
   2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2841 for as_dir in $PATH
   2842 do
   2843   IFS=$as_save_IFS
   2844   test -z "$as_dir" && as_dir=.
   2845     for ac_exec_ext in '' $ac_executable_extensions; do
   2846   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2847     ac_cv_prog_ac_ct_CC="gcc"
   2848     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2849     break 2
   2850   fi
   2851 done
   2852   done
   2853 IFS=$as_save_IFS
   2854 
   2855 fi
   2856 fi
   2857 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2858 if test -n "$ac_ct_CC"; then
   2859   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2860 $as_echo "$ac_ct_CC" >&6; }
   2861 else
   2862   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2863 $as_echo "no" >&6; }
   2864 fi
   2865 
   2866   if test "x$ac_ct_CC" = x; then
   2867     CC=""
   2868   else
   2869     case $cross_compiling:$ac_tool_warned in
   2870 yes:)
   2871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2872 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2873 ac_tool_warned=yes ;;
   2874 esac
   2875     CC=$ac_ct_CC
   2876   fi
   2877 else
   2878   CC="$ac_cv_prog_CC"
   2879 fi
   2880 
   2881 if test -z "$CC"; then
   2882           if test -n "$ac_tool_prefix"; then
   2883     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2884 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2886 $as_echo_n "checking for $ac_word... " >&6; }
   2887 if ${ac_cv_prog_CC+:} false; then :
   2888   $as_echo_n "(cached) " >&6
   2889 else
   2890   if test -n "$CC"; then
   2891   ac_cv_prog_CC="$CC" # Let the user override the test.
   2892 else
   2893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2894 for as_dir in $PATH
   2895 do
   2896   IFS=$as_save_IFS
   2897   test -z "$as_dir" && as_dir=.
   2898     for ac_exec_ext in '' $ac_executable_extensions; do
   2899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2900     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2901     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2902     break 2
   2903   fi
   2904 done
   2905   done
   2906 IFS=$as_save_IFS
   2907 
   2908 fi
   2909 fi
   2910 CC=$ac_cv_prog_CC
   2911 if test -n "$CC"; then
   2912   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2913 $as_echo "$CC" >&6; }
   2914 else
   2915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2916 $as_echo "no" >&6; }
   2917 fi
   2918 
   2919 
   2920   fi
   2921 fi
   2922 if test -z "$CC"; then
   2923   # Extract the first word of "cc", so it can be a program name with args.
   2924 set dummy cc; ac_word=$2
   2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2926 $as_echo_n "checking for $ac_word... " >&6; }
   2927 if ${ac_cv_prog_CC+:} false; then :
   2928   $as_echo_n "(cached) " >&6
   2929 else
   2930   if test -n "$CC"; then
   2931   ac_cv_prog_CC="$CC" # Let the user override the test.
   2932 else
   2933   ac_prog_rejected=no
   2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2935 for as_dir in $PATH
   2936 do
   2937   IFS=$as_save_IFS
   2938   test -z "$as_dir" && as_dir=.
   2939     for ac_exec_ext in '' $ac_executable_extensions; do
   2940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2941     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2942        ac_prog_rejected=yes
   2943        continue
   2944      fi
   2945     ac_cv_prog_CC="cc"
   2946     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2947     break 2
   2948   fi
   2949 done
   2950   done
   2951 IFS=$as_save_IFS
   2952 
   2953 if test $ac_prog_rejected = yes; then
   2954   # We found a bogon in the path, so make sure we never use it.
   2955   set dummy $ac_cv_prog_CC
   2956   shift
   2957   if test $# != 0; then
   2958     # We chose a different compiler from the bogus one.
   2959     # However, it has the same basename, so the bogon will be chosen
   2960     # first if we set CC to just the basename; use the full file name.
   2961     shift
   2962     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2963   fi
   2964 fi
   2965 fi
   2966 fi
   2967 CC=$ac_cv_prog_CC
   2968 if test -n "$CC"; then
   2969   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2970 $as_echo "$CC" >&6; }
   2971 else
   2972   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2973 $as_echo "no" >&6; }
   2974 fi
   2975 
   2976 
   2977 fi
   2978 if test -z "$CC"; then
   2979   if test -n "$ac_tool_prefix"; then
   2980   for ac_prog in cl.exe
   2981   do
   2982     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2983 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2985 $as_echo_n "checking for $ac_word... " >&6; }
   2986 if ${ac_cv_prog_CC+:} false; then :
   2987   $as_echo_n "(cached) " >&6
   2988 else
   2989   if test -n "$CC"; then
   2990   ac_cv_prog_CC="$CC" # Let the user override the test.
   2991 else
   2992 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2993 for as_dir in $PATH
   2994 do
   2995   IFS=$as_save_IFS
   2996   test -z "$as_dir" && as_dir=.
   2997     for ac_exec_ext in '' $ac_executable_extensions; do
   2998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2999     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3000     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3001     break 2
   3002   fi
   3003 done
   3004   done
   3005 IFS=$as_save_IFS
   3006 
   3007 fi
   3008 fi
   3009 CC=$ac_cv_prog_CC
   3010 if test -n "$CC"; then
   3011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3012 $as_echo "$CC" >&6; }
   3013 else
   3014   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3015 $as_echo "no" >&6; }
   3016 fi
   3017 
   3018 
   3019     test -n "$CC" && break
   3020   done
   3021 fi
   3022 if test -z "$CC"; then
   3023   ac_ct_CC=$CC
   3024   for ac_prog in cl.exe
   3025 do
   3026   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3027 set dummy $ac_prog; ac_word=$2
   3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3029 $as_echo_n "checking for $ac_word... " >&6; }
   3030 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3031   $as_echo_n "(cached) " >&6
   3032 else
   3033   if test -n "$ac_ct_CC"; then
   3034   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3035 else
   3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3037 for as_dir in $PATH
   3038 do
   3039   IFS=$as_save_IFS
   3040   test -z "$as_dir" && as_dir=.
   3041     for ac_exec_ext in '' $ac_executable_extensions; do
   3042   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3043     ac_cv_prog_ac_ct_CC="$ac_prog"
   3044     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3045     break 2
   3046   fi
   3047 done
   3048   done
   3049 IFS=$as_save_IFS
   3050 
   3051 fi
   3052 fi
   3053 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3054 if test -n "$ac_ct_CC"; then
   3055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3056 $as_echo "$ac_ct_CC" >&6; }
   3057 else
   3058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3059 $as_echo "no" >&6; }
   3060 fi
   3061 
   3062 
   3063   test -n "$ac_ct_CC" && break
   3064 done
   3065 
   3066   if test "x$ac_ct_CC" = x; then
   3067     CC=""
   3068   else
   3069     case $cross_compiling:$ac_tool_warned in
   3070 yes:)
   3071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3072 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3073 ac_tool_warned=yes ;;
   3074 esac
   3075     CC=$ac_ct_CC
   3076   fi
   3077 fi
   3078 
   3079 fi
   3080 
   3081 
   3082 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3083 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3084 as_fn_error $? "no acceptable C compiler found in \$PATH
   3085 See \`config.log' for more details" "$LINENO" 5; }
   3086 
   3087 # Provide some information about the compiler.
   3088 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3089 set X $ac_compile
   3090 ac_compiler=$2
   3091 for ac_option in --version -v -V -qversion; do
   3092   { { ac_try="$ac_compiler $ac_option >&5"
   3093 case "(($ac_try" in
   3094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3095   *) ac_try_echo=$ac_try;;
   3096 esac
   3097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3098 $as_echo "$ac_try_echo"; } >&5
   3099   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3100   ac_status=$?
   3101   if test -s conftest.err; then
   3102     sed '10a\
   3103 ... rest of stderr output deleted ...
   3104          10q' conftest.err >conftest.er1
   3105     cat conftest.er1 >&5
   3106   fi
   3107   rm -f conftest.er1 conftest.err
   3108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3109   test $ac_status = 0; }
   3110 done
   3111 
   3112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3113 /* end confdefs.h.  */
   3114 
   3115 int
   3116 main ()
   3117 {
   3118 
   3119   ;
   3120   return 0;
   3121 }
   3122 _ACEOF
   3123 ac_clean_files_save=$ac_clean_files
   3124 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3125 # Try to create an executable without -o first, disregard a.out.
   3126 # It will help us diagnose broken compilers, and finding out an intuition
   3127 # of exeext.
   3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3129 $as_echo_n "checking whether the C compiler works... " >&6; }
   3130 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3131 
   3132 # The possible output files:
   3133 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3134 
   3135 ac_rmfiles=
   3136 for ac_file in $ac_files
   3137 do
   3138   case $ac_file in
   3139     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3140     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3141   esac
   3142 done
   3143 rm -f $ac_rmfiles
   3144 
   3145 if { { ac_try="$ac_link_default"
   3146 case "(($ac_try" in
   3147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3148   *) ac_try_echo=$ac_try;;
   3149 esac
   3150 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3151 $as_echo "$ac_try_echo"; } >&5
   3152   (eval "$ac_link_default") 2>&5
   3153   ac_status=$?
   3154   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3155   test $ac_status = 0; }; then :
   3156   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3157 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3158 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3159 # so that the user can short-circuit this test for compilers unknown to
   3160 # Autoconf.
   3161 for ac_file in $ac_files ''
   3162 do
   3163   test -f "$ac_file" || continue
   3164   case $ac_file in
   3165     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3166 	;;
   3167     [ab].out )
   3168 	# We found the default executable, but exeext='' is most
   3169 	# certainly right.
   3170 	break;;
   3171     *.* )
   3172 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3173 	then :; else
   3174 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3175 	fi
   3176 	# We set ac_cv_exeext here because the later test for it is not
   3177 	# safe: cross compilers may not add the suffix if given an `-o'
   3178 	# argument, so we may need to know it at that point already.
   3179 	# Even if this section looks crufty: it has the advantage of
   3180 	# actually working.
   3181 	break;;
   3182     * )
   3183 	break;;
   3184   esac
   3185 done
   3186 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3187 
   3188 else
   3189   ac_file=''
   3190 fi
   3191 if test -z "$ac_file"; then :
   3192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3193 $as_echo "no" >&6; }
   3194 $as_echo "$as_me: failed program was:" >&5
   3195 sed 's/^/| /' conftest.$ac_ext >&5
   3196 
   3197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3199 as_fn_error 77 "C compiler cannot create executables
   3200 See \`config.log' for more details" "$LINENO" 5; }
   3201 else
   3202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3203 $as_echo "yes" >&6; }
   3204 fi
   3205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3206 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3208 $as_echo "$ac_file" >&6; }
   3209 ac_exeext=$ac_cv_exeext
   3210 
   3211 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3212 ac_clean_files=$ac_clean_files_save
   3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3214 $as_echo_n "checking for suffix of executables... " >&6; }
   3215 if { { ac_try="$ac_link"
   3216 case "(($ac_try" in
   3217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3218   *) ac_try_echo=$ac_try;;
   3219 esac
   3220 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3221 $as_echo "$ac_try_echo"; } >&5
   3222   (eval "$ac_link") 2>&5
   3223   ac_status=$?
   3224   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3225   test $ac_status = 0; }; then :
   3226   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3227 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3228 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3229 # `rm'.
   3230 for ac_file in conftest.exe conftest conftest.*; do
   3231   test -f "$ac_file" || continue
   3232   case $ac_file in
   3233     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3234     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3235 	  break;;
   3236     * ) break;;
   3237   esac
   3238 done
   3239 else
   3240   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3241 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3242 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3243 See \`config.log' for more details" "$LINENO" 5; }
   3244 fi
   3245 rm -f conftest conftest$ac_cv_exeext
   3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3247 $as_echo "$ac_cv_exeext" >&6; }
   3248 
   3249 rm -f conftest.$ac_ext
   3250 EXEEXT=$ac_cv_exeext
   3251 ac_exeext=$EXEEXT
   3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3253 /* end confdefs.h.  */
   3254 #include <stdio.h>
   3255 int
   3256 main ()
   3257 {
   3258 FILE *f = fopen ("conftest.out", "w");
   3259  return ferror (f) || fclose (f) != 0;
   3260 
   3261   ;
   3262   return 0;
   3263 }
   3264 _ACEOF
   3265 ac_clean_files="$ac_clean_files conftest.out"
   3266 # Check that the compiler produces executables we can run.  If not, either
   3267 # the compiler is broken, or we cross compile.
   3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3269 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3270 if test "$cross_compiling" != yes; then
   3271   { { ac_try="$ac_link"
   3272 case "(($ac_try" in
   3273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3274   *) ac_try_echo=$ac_try;;
   3275 esac
   3276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3277 $as_echo "$ac_try_echo"; } >&5
   3278   (eval "$ac_link") 2>&5
   3279   ac_status=$?
   3280   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3281   test $ac_status = 0; }
   3282   if { ac_try='./conftest$ac_cv_exeext'
   3283   { { case "(($ac_try" in
   3284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3285   *) ac_try_echo=$ac_try;;
   3286 esac
   3287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3288 $as_echo "$ac_try_echo"; } >&5
   3289   (eval "$ac_try") 2>&5
   3290   ac_status=$?
   3291   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3292   test $ac_status = 0; }; }; then
   3293     cross_compiling=no
   3294   else
   3295     if test "$cross_compiling" = maybe; then
   3296 	cross_compiling=yes
   3297     else
   3298 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3299 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3300 as_fn_error $? "cannot run C compiled programs.
   3301 If you meant to cross compile, use \`--host'.
   3302 See \`config.log' for more details" "$LINENO" 5; }
   3303     fi
   3304   fi
   3305 fi
   3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3307 $as_echo "$cross_compiling" >&6; }
   3308 
   3309 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3310 ac_clean_files=$ac_clean_files_save
   3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3312 $as_echo_n "checking for suffix of object files... " >&6; }
   3313 if ${ac_cv_objext+:} false; then :
   3314   $as_echo_n "(cached) " >&6
   3315 else
   3316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3317 /* end confdefs.h.  */
   3318 
   3319 int
   3320 main ()
   3321 {
   3322 
   3323   ;
   3324   return 0;
   3325 }
   3326 _ACEOF
   3327 rm -f conftest.o conftest.obj
   3328 if { { ac_try="$ac_compile"
   3329 case "(($ac_try" in
   3330   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3331   *) ac_try_echo=$ac_try;;
   3332 esac
   3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3334 $as_echo "$ac_try_echo"; } >&5
   3335   (eval "$ac_compile") 2>&5
   3336   ac_status=$?
   3337   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3338   test $ac_status = 0; }; then :
   3339   for ac_file in conftest.o conftest.obj conftest.*; do
   3340   test -f "$ac_file" || continue;
   3341   case $ac_file in
   3342     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3343     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3344        break;;
   3345   esac
   3346 done
   3347 else
   3348   $as_echo "$as_me: failed program was:" >&5
   3349 sed 's/^/| /' conftest.$ac_ext >&5
   3350 
   3351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3353 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3354 See \`config.log' for more details" "$LINENO" 5; }
   3355 fi
   3356 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3357 fi
   3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3359 $as_echo "$ac_cv_objext" >&6; }
   3360 OBJEXT=$ac_cv_objext
   3361 ac_objext=$OBJEXT
   3362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3363 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3364 if ${ac_cv_c_compiler_gnu+:} false; then :
   3365   $as_echo_n "(cached) " >&6
   3366 else
   3367   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3368 /* end confdefs.h.  */
   3369 
   3370 int
   3371 main ()
   3372 {
   3373 #ifndef __GNUC__
   3374        choke me
   3375 #endif
   3376 
   3377   ;
   3378   return 0;
   3379 }
   3380 _ACEOF
   3381 if ac_fn_c_try_compile "$LINENO"; then :
   3382   ac_compiler_gnu=yes
   3383 else
   3384   ac_compiler_gnu=no
   3385 fi
   3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3387 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3388 
   3389 fi
   3390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3391 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3392 if test $ac_compiler_gnu = yes; then
   3393   GCC=yes
   3394 else
   3395   GCC=
   3396 fi
   3397 ac_test_CFLAGS=${CFLAGS+set}
   3398 ac_save_CFLAGS=$CFLAGS
   3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3400 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3401 if ${ac_cv_prog_cc_g+:} false; then :
   3402   $as_echo_n "(cached) " >&6
   3403 else
   3404   ac_save_c_werror_flag=$ac_c_werror_flag
   3405    ac_c_werror_flag=yes
   3406    ac_cv_prog_cc_g=no
   3407    CFLAGS="-g"
   3408    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3409 /* end confdefs.h.  */
   3410 
   3411 int
   3412 main ()
   3413 {
   3414 
   3415   ;
   3416   return 0;
   3417 }
   3418 _ACEOF
   3419 if ac_fn_c_try_compile "$LINENO"; then :
   3420   ac_cv_prog_cc_g=yes
   3421 else
   3422   CFLAGS=""
   3423       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3424 /* end confdefs.h.  */
   3425 
   3426 int
   3427 main ()
   3428 {
   3429 
   3430   ;
   3431   return 0;
   3432 }
   3433 _ACEOF
   3434 if ac_fn_c_try_compile "$LINENO"; then :
   3435 
   3436 else
   3437   ac_c_werror_flag=$ac_save_c_werror_flag
   3438 	 CFLAGS="-g"
   3439 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3440 /* end confdefs.h.  */
   3441 
   3442 int
   3443 main ()
   3444 {
   3445 
   3446   ;
   3447   return 0;
   3448 }
   3449 _ACEOF
   3450 if ac_fn_c_try_compile "$LINENO"; then :
   3451   ac_cv_prog_cc_g=yes
   3452 fi
   3453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3454 fi
   3455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3456 fi
   3457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3458    ac_c_werror_flag=$ac_save_c_werror_flag
   3459 fi
   3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3461 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3462 if test "$ac_test_CFLAGS" = set; then
   3463   CFLAGS=$ac_save_CFLAGS
   3464 elif test $ac_cv_prog_cc_g = yes; then
   3465   if test "$GCC" = yes; then
   3466     CFLAGS="-g -O2"
   3467   else
   3468     CFLAGS="-g"
   3469   fi
   3470 else
   3471   if test "$GCC" = yes; then
   3472     CFLAGS="-O2"
   3473   else
   3474     CFLAGS=
   3475   fi
   3476 fi
   3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3478 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3479 if ${ac_cv_prog_cc_c89+:} false; then :
   3480   $as_echo_n "(cached) " >&6
   3481 else
   3482   ac_cv_prog_cc_c89=no
   3483 ac_save_CC=$CC
   3484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3485 /* end confdefs.h.  */
   3486 #include <stdarg.h>
   3487 #include <stdio.h>
   3488 #include <sys/types.h>
   3489 #include <sys/stat.h>
   3490 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3491 struct buf { int x; };
   3492 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3493 static char *e (p, i)
   3494      char **p;
   3495      int i;
   3496 {
   3497   return p[i];
   3498 }
   3499 static char *f (char * (*g) (char **, int), char **p, ...)
   3500 {
   3501   char *s;
   3502   va_list v;
   3503   va_start (v,p);
   3504   s = g (p, va_arg (v,int));
   3505   va_end (v);
   3506   return s;
   3507 }
   3508 
   3509 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3510    function prototypes and stuff, but not '\xHH' hex character constants.
   3511    These don't provoke an error unfortunately, instead are silently treated
   3512    as 'x'.  The following induces an error, until -std is added to get
   3513    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3514    array size at least.  It's necessary to write '\x00'==0 to get something
   3515    that's true only with -std.  */
   3516 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3517 
   3518 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3519    inside strings and character constants.  */
   3520 #define FOO(x) 'x'
   3521 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3522 
   3523 int test (int i, double x);
   3524 struct s1 {int (*f) (int a);};
   3525 struct s2 {int (*f) (double a);};
   3526 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3527 int argc;
   3528 char **argv;
   3529 int
   3530 main ()
   3531 {
   3532 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3533   ;
   3534   return 0;
   3535 }
   3536 _ACEOF
   3537 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3538 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3539 do
   3540   CC="$ac_save_CC $ac_arg"
   3541   if ac_fn_c_try_compile "$LINENO"; then :
   3542   ac_cv_prog_cc_c89=$ac_arg
   3543 fi
   3544 rm -f core conftest.err conftest.$ac_objext
   3545   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3546 done
   3547 rm -f conftest.$ac_ext
   3548 CC=$ac_save_CC
   3549 
   3550 fi
   3551 # AC_CACHE_VAL
   3552 case "x$ac_cv_prog_cc_c89" in
   3553   x)
   3554     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3555 $as_echo "none needed" >&6; } ;;
   3556   xno)
   3557     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3558 $as_echo "unsupported" >&6; } ;;
   3559   *)
   3560     CC="$CC $ac_cv_prog_cc_c89"
   3561     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3562 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3563 esac
   3564 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3565 
   3566 fi
   3567 
   3568 ac_ext=c
   3569 ac_cpp='$CPP $CPPFLAGS'
   3570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3573 
   3574 depcc="$CC"   am_compiler_list=
   3575 
   3576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3577 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3578 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3579   $as_echo_n "(cached) " >&6
   3580 else
   3581   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3582   # We make a subdir and do the tests there.  Otherwise we can end up
   3583   # making bogus files that we don't know about and never remove.  For
   3584   # instance it was reported that on HP-UX the gcc test will end up
   3585   # making a dummy file named `D' -- because `-MD' means `put the output
   3586   # in D'.
   3587   mkdir conftest.dir
   3588   # Copy depcomp to subdir because otherwise we won't find it if we're
   3589   # using a relative directory.
   3590   cp "$am_depcomp" conftest.dir
   3591   cd conftest.dir
   3592   # We will build objects and dependencies in a subdirectory because
   3593   # it helps to detect inapplicable dependency modes.  For instance
   3594   # both Tru64's cc and ICC support -MD to output dependencies as a
   3595   # side effect of compilation, but ICC will put the dependencies in
   3596   # the current directory while Tru64 will put them in the object
   3597   # directory.
   3598   mkdir sub
   3599 
   3600   am_cv_CC_dependencies_compiler_type=none
   3601   if test "$am_compiler_list" = ""; then
   3602      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3603   fi
   3604   am__universal=false
   3605   case " $depcc " in #(
   3606      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3607      esac
   3608 
   3609   for depmode in $am_compiler_list; do
   3610     # Setup a source with many dependencies, because some compilers
   3611     # like to wrap large dependency lists on column 80 (with \), and
   3612     # we should not choose a depcomp mode which is confused by this.
   3613     #
   3614     # We need to recreate these files for each test, as the compiler may
   3615     # overwrite some of them when testing with obscure command lines.
   3616     # This happens at least with the AIX C compiler.
   3617     : > sub/conftest.c
   3618     for i in 1 2 3 4 5 6; do
   3619       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3620       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3621       # Solaris 8's {/usr,}/bin/sh.
   3622       touch sub/conftst$i.h
   3623     done
   3624     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3625 
   3626     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3627     # mode.  It turns out that the SunPro C++ compiler does not properly
   3628     # handle `-M -o', and we need to detect this.  Also, some Intel
   3629     # versions had trouble with output in subdirs
   3630     am__obj=sub/conftest.${OBJEXT-o}
   3631     am__minus_obj="-o $am__obj"
   3632     case $depmode in
   3633     gcc)
   3634       # This depmode causes a compiler race in universal mode.
   3635       test "$am__universal" = false || continue
   3636       ;;
   3637     nosideeffect)
   3638       # after this tag, mechanisms are not by side-effect, so they'll
   3639       # only be used when explicitly requested
   3640       if test "x$enable_dependency_tracking" = xyes; then
   3641 	continue
   3642       else
   3643 	break
   3644       fi
   3645       ;;
   3646     msvisualcpp | msvcmsys)
   3647       # This compiler won't grok `-c -o', but also, the minuso test has
   3648       # not run yet.  These depmodes are late enough in the game, and
   3649       # so weak that their functioning should not be impacted.
   3650       am__obj=conftest.${OBJEXT-o}
   3651       am__minus_obj=
   3652       ;;
   3653     none) break ;;
   3654     esac
   3655     if depmode=$depmode \
   3656        source=sub/conftest.c object=$am__obj \
   3657        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3658        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3659          >/dev/null 2>conftest.err &&
   3660        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3661        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3662        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3663        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3664       # icc doesn't choke on unknown options, it will just issue warnings
   3665       # or remarks (even with -Werror).  So we grep stderr for any message
   3666       # that says an option was ignored or not supported.
   3667       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3668       #   icc: Command line warning: ignoring option '-M'; no argument required
   3669       # The diagnosis changed in icc 8.0:
   3670       #   icc: Command line remark: option '-MP' not supported
   3671       if (grep 'ignoring option' conftest.err ||
   3672           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3673         am_cv_CC_dependencies_compiler_type=$depmode
   3674         break
   3675       fi
   3676     fi
   3677   done
   3678 
   3679   cd ..
   3680   rm -rf conftest.dir
   3681 else
   3682   am_cv_CC_dependencies_compiler_type=none
   3683 fi
   3684 
   3685 fi
   3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3687 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3688 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3689 
   3690  if
   3691   test "x$enable_dependency_tracking" != xno \
   3692   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3693   am__fastdepCC_TRUE=
   3694   am__fastdepCC_FALSE='#'
   3695 else
   3696   am__fastdepCC_TRUE='#'
   3697   am__fastdepCC_FALSE=
   3698 fi
   3699 
   3700 
   3701    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3702 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3703 if ${ac_cv_prog_cc_c99+:} false; then :
   3704   $as_echo_n "(cached) " >&6
   3705 else
   3706   ac_cv_prog_cc_c99=no
   3707 ac_save_CC=$CC
   3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3709 /* end confdefs.h.  */
   3710 #include <stdarg.h>
   3711 #include <stdbool.h>
   3712 #include <stdlib.h>
   3713 #include <wchar.h>
   3714 #include <stdio.h>
   3715 
   3716 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3717 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3718 #define showlist(...) puts (#__VA_ARGS__)
   3719 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3720 static void
   3721 test_varargs_macros (void)
   3722 {
   3723   int x = 1234;
   3724   int y = 5678;
   3725   debug ("Flag");
   3726   debug ("X = %d\n", x);
   3727   showlist (The first, second, and third items.);
   3728   report (x>y, "x is %d but y is %d", x, y);
   3729 }
   3730 
   3731 // Check long long types.
   3732 #define BIG64 18446744073709551615ull
   3733 #define BIG32 4294967295ul
   3734 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3735 #if !BIG_OK
   3736   your preprocessor is broken;
   3737 #endif
   3738 #if BIG_OK
   3739 #else
   3740   your preprocessor is broken;
   3741 #endif
   3742 static long long int bignum = -9223372036854775807LL;
   3743 static unsigned long long int ubignum = BIG64;
   3744 
   3745 struct incomplete_array
   3746 {
   3747   int datasize;
   3748   double data[];
   3749 };
   3750 
   3751 struct named_init {
   3752   int number;
   3753   const wchar_t *name;
   3754   double average;
   3755 };
   3756 
   3757 typedef const char *ccp;
   3758 
   3759 static inline int
   3760 test_restrict (ccp restrict text)
   3761 {
   3762   // See if C++-style comments work.
   3763   // Iterate through items via the restricted pointer.
   3764   // Also check for declarations in for loops.
   3765   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3766     continue;
   3767   return 0;
   3768 }
   3769 
   3770 // Check varargs and va_copy.
   3771 static void
   3772 test_varargs (const char *format, ...)
   3773 {
   3774   va_list args;
   3775   va_start (args, format);
   3776   va_list args_copy;
   3777   va_copy (args_copy, args);
   3778 
   3779   const char *str;
   3780   int number;
   3781   float fnumber;
   3782 
   3783   while (*format)
   3784     {
   3785       switch (*format++)
   3786 	{
   3787 	case 's': // string
   3788 	  str = va_arg (args_copy, const char *);
   3789 	  break;
   3790 	case 'd': // int
   3791 	  number = va_arg (args_copy, int);
   3792 	  break;
   3793 	case 'f': // float
   3794 	  fnumber = va_arg (args_copy, double);
   3795 	  break;
   3796 	default:
   3797 	  break;
   3798 	}
   3799     }
   3800   va_end (args_copy);
   3801   va_end (args);
   3802 }
   3803 
   3804 int
   3805 main ()
   3806 {
   3807 
   3808   // Check bool.
   3809   _Bool success = false;
   3810 
   3811   // Check restrict.
   3812   if (test_restrict ("String literal") == 0)
   3813     success = true;
   3814   char *restrict newvar = "Another string";
   3815 
   3816   // Check varargs.
   3817   test_varargs ("s, d' f .", "string", 65, 34.234);
   3818   test_varargs_macros ();
   3819 
   3820   // Check flexible array members.
   3821   struct incomplete_array *ia =
   3822     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3823   ia->datasize = 10;
   3824   for (int i = 0; i < ia->datasize; ++i)
   3825     ia->data[i] = i * 1.234;
   3826 
   3827   // Check named initializers.
   3828   struct named_init ni = {
   3829     .number = 34,
   3830     .name = L"Test wide string",
   3831     .average = 543.34343,
   3832   };
   3833 
   3834   ni.number = 58;
   3835 
   3836   int dynamic_array[ni.number];
   3837   dynamic_array[ni.number - 1] = 543;
   3838 
   3839   // work around unused variable warnings
   3840   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3841 	  || dynamic_array[ni.number - 1] != 543);
   3842 
   3843   ;
   3844   return 0;
   3845 }
   3846 _ACEOF
   3847 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   3848 do
   3849   CC="$ac_save_CC $ac_arg"
   3850   if ac_fn_c_try_compile "$LINENO"; then :
   3851   ac_cv_prog_cc_c99=$ac_arg
   3852 fi
   3853 rm -f core conftest.err conftest.$ac_objext
   3854   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3855 done
   3856 rm -f conftest.$ac_ext
   3857 CC=$ac_save_CC
   3858 
   3859 fi
   3860 # AC_CACHE_VAL
   3861 case "x$ac_cv_prog_cc_c99" in
   3862   x)
   3863     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3864 $as_echo "none needed" >&6; } ;;
   3865   xno)
   3866     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3867 $as_echo "unsupported" >&6; } ;;
   3868   *)
   3869     CC="$CC $ac_cv_prog_cc_c99"
   3870     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3871 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3872 esac
   3873 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3874 
   3875 fi
   3876 
   3877 
   3878 
   3879 ac_ext=c
   3880 ac_cpp='$CPP $CPPFLAGS'
   3881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3885 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3886 # On Suns, sometimes $CPP names a directory.
   3887 if test -n "$CPP" && test -d "$CPP"; then
   3888   CPP=
   3889 fi
   3890 if test -z "$CPP"; then
   3891   if ${ac_cv_prog_CPP+:} false; then :
   3892   $as_echo_n "(cached) " >&6
   3893 else
   3894       # Double quotes because CPP needs to be expanded
   3895     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3896     do
   3897       ac_preproc_ok=false
   3898 for ac_c_preproc_warn_flag in '' yes
   3899 do
   3900   # Use a header file that comes with gcc, so configuring glibc
   3901   # with a fresh cross-compiler works.
   3902   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3903   # <limits.h> exists even on freestanding compilers.
   3904   # On the NeXT, cc -E runs the code through the compiler's parser,
   3905   # not just through cpp. "Syntax error" is here to catch this case.
   3906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3907 /* end confdefs.h.  */
   3908 #ifdef __STDC__
   3909 # include <limits.h>
   3910 #else
   3911 # include <assert.h>
   3912 #endif
   3913 		     Syntax error
   3914 _ACEOF
   3915 if ac_fn_c_try_cpp "$LINENO"; then :
   3916 
   3917 else
   3918   # Broken: fails on valid input.
   3919 continue
   3920 fi
   3921 rm -f conftest.err conftest.i conftest.$ac_ext
   3922 
   3923   # OK, works on sane cases.  Now check whether nonexistent headers
   3924   # can be detected and how.
   3925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3926 /* end confdefs.h.  */
   3927 #include <ac_nonexistent.h>
   3928 _ACEOF
   3929 if ac_fn_c_try_cpp "$LINENO"; then :
   3930   # Broken: success on invalid input.
   3931 continue
   3932 else
   3933   # Passes both tests.
   3934 ac_preproc_ok=:
   3935 break
   3936 fi
   3937 rm -f conftest.err conftest.i conftest.$ac_ext
   3938 
   3939 done
   3940 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3941 rm -f conftest.i conftest.err conftest.$ac_ext
   3942 if $ac_preproc_ok; then :
   3943   break
   3944 fi
   3945 
   3946     done
   3947     ac_cv_prog_CPP=$CPP
   3948 
   3949 fi
   3950   CPP=$ac_cv_prog_CPP
   3951 else
   3952   ac_cv_prog_CPP=$CPP
   3953 fi
   3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3955 $as_echo "$CPP" >&6; }
   3956 ac_preproc_ok=false
   3957 for ac_c_preproc_warn_flag in '' yes
   3958 do
   3959   # Use a header file that comes with gcc, so configuring glibc
   3960   # with a fresh cross-compiler works.
   3961   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3962   # <limits.h> exists even on freestanding compilers.
   3963   # On the NeXT, cc -E runs the code through the compiler's parser,
   3964   # not just through cpp. "Syntax error" is here to catch this case.
   3965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3966 /* end confdefs.h.  */
   3967 #ifdef __STDC__
   3968 # include <limits.h>
   3969 #else
   3970 # include <assert.h>
   3971 #endif
   3972 		     Syntax error
   3973 _ACEOF
   3974 if ac_fn_c_try_cpp "$LINENO"; then :
   3975 
   3976 else
   3977   # Broken: fails on valid input.
   3978 continue
   3979 fi
   3980 rm -f conftest.err conftest.i conftest.$ac_ext
   3981 
   3982   # OK, works on sane cases.  Now check whether nonexistent headers
   3983   # can be detected and how.
   3984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3985 /* end confdefs.h.  */
   3986 #include <ac_nonexistent.h>
   3987 _ACEOF
   3988 if ac_fn_c_try_cpp "$LINENO"; then :
   3989   # Broken: success on invalid input.
   3990 continue
   3991 else
   3992   # Passes both tests.
   3993 ac_preproc_ok=:
   3994 break
   3995 fi
   3996 rm -f conftest.err conftest.i conftest.$ac_ext
   3997 
   3998 done
   3999 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4000 rm -f conftest.i conftest.err conftest.$ac_ext
   4001 if $ac_preproc_ok; then :
   4002 
   4003 else
   4004   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4006 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4007 See \`config.log' for more details" "$LINENO" 5; }
   4008 fi
   4009 
   4010 ac_ext=c
   4011 ac_cpp='$CPP $CPPFLAGS'
   4012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4015 
   4016 
   4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4018 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4019 if ${ac_cv_path_GREP+:} false; then :
   4020   $as_echo_n "(cached) " >&6
   4021 else
   4022   if test -z "$GREP"; then
   4023   ac_path_GREP_found=false
   4024   # Loop through the user's path and test for each of PROGNAME-LIST
   4025   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4026 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4027 do
   4028   IFS=$as_save_IFS
   4029   test -z "$as_dir" && as_dir=.
   4030     for ac_prog in grep ggrep; do
   4031     for ac_exec_ext in '' $ac_executable_extensions; do
   4032       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4033       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4034 # Check for GNU ac_path_GREP and select it if it is found.
   4035   # Check for GNU $ac_path_GREP
   4036 case `"$ac_path_GREP" --version 2>&1` in
   4037 *GNU*)
   4038   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4039 *)
   4040   ac_count=0
   4041   $as_echo_n 0123456789 >"conftest.in"
   4042   while :
   4043   do
   4044     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4045     mv "conftest.tmp" "conftest.in"
   4046     cp "conftest.in" "conftest.nl"
   4047     $as_echo 'GREP' >> "conftest.nl"
   4048     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4049     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4050     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4051     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4052       # Best one so far, save it but keep looking for a better one
   4053       ac_cv_path_GREP="$ac_path_GREP"
   4054       ac_path_GREP_max=$ac_count
   4055     fi
   4056     # 10*(2^10) chars as input seems more than enough
   4057     test $ac_count -gt 10 && break
   4058   done
   4059   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4060 esac
   4061 
   4062       $ac_path_GREP_found && break 3
   4063     done
   4064   done
   4065   done
   4066 IFS=$as_save_IFS
   4067   if test -z "$ac_cv_path_GREP"; then
   4068     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4069   fi
   4070 else
   4071   ac_cv_path_GREP=$GREP
   4072 fi
   4073 
   4074 fi
   4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4076 $as_echo "$ac_cv_path_GREP" >&6; }
   4077  GREP="$ac_cv_path_GREP"
   4078 
   4079 
   4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4081 $as_echo_n "checking for egrep... " >&6; }
   4082 if ${ac_cv_path_EGREP+:} false; then :
   4083   $as_echo_n "(cached) " >&6
   4084 else
   4085   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4086    then ac_cv_path_EGREP="$GREP -E"
   4087    else
   4088      if test -z "$EGREP"; then
   4089   ac_path_EGREP_found=false
   4090   # Loop through the user's path and test for each of PROGNAME-LIST
   4091   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4092 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4093 do
   4094   IFS=$as_save_IFS
   4095   test -z "$as_dir" && as_dir=.
   4096     for ac_prog in egrep; do
   4097     for ac_exec_ext in '' $ac_executable_extensions; do
   4098       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4099       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4100 # Check for GNU ac_path_EGREP and select it if it is found.
   4101   # Check for GNU $ac_path_EGREP
   4102 case `"$ac_path_EGREP" --version 2>&1` in
   4103 *GNU*)
   4104   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4105 *)
   4106   ac_count=0
   4107   $as_echo_n 0123456789 >"conftest.in"
   4108   while :
   4109   do
   4110     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4111     mv "conftest.tmp" "conftest.in"
   4112     cp "conftest.in" "conftest.nl"
   4113     $as_echo 'EGREP' >> "conftest.nl"
   4114     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4115     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4116     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4117     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4118       # Best one so far, save it but keep looking for a better one
   4119       ac_cv_path_EGREP="$ac_path_EGREP"
   4120       ac_path_EGREP_max=$ac_count
   4121     fi
   4122     # 10*(2^10) chars as input seems more than enough
   4123     test $ac_count -gt 10 && break
   4124   done
   4125   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4126 esac
   4127 
   4128       $ac_path_EGREP_found && break 3
   4129     done
   4130   done
   4131   done
   4132 IFS=$as_save_IFS
   4133   if test -z "$ac_cv_path_EGREP"; then
   4134     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4135   fi
   4136 else
   4137   ac_cv_path_EGREP=$EGREP
   4138 fi
   4139 
   4140    fi
   4141 fi
   4142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4143 $as_echo "$ac_cv_path_EGREP" >&6; }
   4144  EGREP="$ac_cv_path_EGREP"
   4145 
   4146 
   4147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4148 $as_echo_n "checking for ANSI C header files... " >&6; }
   4149 if ${ac_cv_header_stdc+:} false; then :
   4150   $as_echo_n "(cached) " >&6
   4151 else
   4152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4153 /* end confdefs.h.  */
   4154 #include <stdlib.h>
   4155 #include <stdarg.h>
   4156 #include <string.h>
   4157 #include <float.h>
   4158 
   4159 int
   4160 main ()
   4161 {
   4162 
   4163   ;
   4164   return 0;
   4165 }
   4166 _ACEOF
   4167 if ac_fn_c_try_compile "$LINENO"; then :
   4168   ac_cv_header_stdc=yes
   4169 else
   4170   ac_cv_header_stdc=no
   4171 fi
   4172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4173 
   4174 if test $ac_cv_header_stdc = yes; then
   4175   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4176   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4177 /* end confdefs.h.  */
   4178 #include <string.h>
   4179 
   4180 _ACEOF
   4181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4182   $EGREP "memchr" >/dev/null 2>&1; then :
   4183 
   4184 else
   4185   ac_cv_header_stdc=no
   4186 fi
   4187 rm -f conftest*
   4188 
   4189 fi
   4190 
   4191 if test $ac_cv_header_stdc = yes; then
   4192   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4194 /* end confdefs.h.  */
   4195 #include <stdlib.h>
   4196 
   4197 _ACEOF
   4198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4199   $EGREP "free" >/dev/null 2>&1; then :
   4200 
   4201 else
   4202   ac_cv_header_stdc=no
   4203 fi
   4204 rm -f conftest*
   4205 
   4206 fi
   4207 
   4208 if test $ac_cv_header_stdc = yes; then
   4209   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4210   if test "$cross_compiling" = yes; then :
   4211   :
   4212 else
   4213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4214 /* end confdefs.h.  */
   4215 #include <ctype.h>
   4216 #include <stdlib.h>
   4217 #if ((' ' & 0x0FF) == 0x020)
   4218 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4219 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4220 #else
   4221 # define ISLOWER(c) \
   4222 		   (('a' <= (c) && (c) <= 'i') \
   4223 		     || ('j' <= (c) && (c) <= 'r') \
   4224 		     || ('s' <= (c) && (c) <= 'z'))
   4225 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4226 #endif
   4227 
   4228 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4229 int
   4230 main ()
   4231 {
   4232   int i;
   4233   for (i = 0; i < 256; i++)
   4234     if (XOR (islower (i), ISLOWER (i))
   4235 	|| toupper (i) != TOUPPER (i))
   4236       return 2;
   4237   return 0;
   4238 }
   4239 _ACEOF
   4240 if ac_fn_c_try_run "$LINENO"; then :
   4241 
   4242 else
   4243   ac_cv_header_stdc=no
   4244 fi
   4245 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4246   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4247 fi
   4248 
   4249 fi
   4250 fi
   4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4252 $as_echo "$ac_cv_header_stdc" >&6; }
   4253 if test $ac_cv_header_stdc = yes; then
   4254 
   4255 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4256 
   4257 fi
   4258 
   4259 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4260 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4261 		  inttypes.h stdint.h unistd.h
   4262 do :
   4263   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4264 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4265 "
   4266 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4267   cat >>confdefs.h <<_ACEOF
   4268 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4269 _ACEOF
   4270 
   4271 fi
   4272 
   4273 done
   4274 
   4275 
   4276 
   4277 
   4278 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4279 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4280   CLANGCC="yes"
   4281 else
   4282   CLANGCC="no"
   4283 fi
   4284 
   4285 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4286 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4287   INTELCC="yes"
   4288 else
   4289   INTELCC="no"
   4290 fi
   4291 
   4292 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4293 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4294   SUNCC="yes"
   4295 else
   4296   SUNCC="no"
   4297 fi
   4298 
   4299 
   4300 
   4301 
   4302 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4303 	if test -n "$ac_tool_prefix"; then
   4304   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4305 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4307 $as_echo_n "checking for $ac_word... " >&6; }
   4308 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4309   $as_echo_n "(cached) " >&6
   4310 else
   4311   case $PKG_CONFIG in
   4312   [\\/]* | ?:[\\/]*)
   4313   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4314   ;;
   4315   *)
   4316   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4317 for as_dir in $PATH
   4318 do
   4319   IFS=$as_save_IFS
   4320   test -z "$as_dir" && as_dir=.
   4321     for ac_exec_ext in '' $ac_executable_extensions; do
   4322   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4323     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4324     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4325     break 2
   4326   fi
   4327 done
   4328   done
   4329 IFS=$as_save_IFS
   4330 
   4331   ;;
   4332 esac
   4333 fi
   4334 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4335 if test -n "$PKG_CONFIG"; then
   4336   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4337 $as_echo "$PKG_CONFIG" >&6; }
   4338 else
   4339   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4340 $as_echo "no" >&6; }
   4341 fi
   4342 
   4343 
   4344 fi
   4345 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4346   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4347   # Extract the first word of "pkg-config", so it can be a program name with args.
   4348 set dummy pkg-config; ac_word=$2
   4349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4350 $as_echo_n "checking for $ac_word... " >&6; }
   4351 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4352   $as_echo_n "(cached) " >&6
   4353 else
   4354   case $ac_pt_PKG_CONFIG in
   4355   [\\/]* | ?:[\\/]*)
   4356   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4357   ;;
   4358   *)
   4359   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4360 for as_dir in $PATH
   4361 do
   4362   IFS=$as_save_IFS
   4363   test -z "$as_dir" && as_dir=.
   4364     for ac_exec_ext in '' $ac_executable_extensions; do
   4365   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4366     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4368     break 2
   4369   fi
   4370 done
   4371   done
   4372 IFS=$as_save_IFS
   4373 
   4374   ;;
   4375 esac
   4376 fi
   4377 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4378 if test -n "$ac_pt_PKG_CONFIG"; then
   4379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4380 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4381 else
   4382   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4383 $as_echo "no" >&6; }
   4384 fi
   4385 
   4386   if test "x$ac_pt_PKG_CONFIG" = x; then
   4387     PKG_CONFIG=""
   4388   else
   4389     case $cross_compiling:$ac_tool_warned in
   4390 yes:)
   4391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4393 ac_tool_warned=yes ;;
   4394 esac
   4395     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4396   fi
   4397 else
   4398   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4399 fi
   4400 
   4401 fi
   4402 if test -n "$PKG_CONFIG"; then
   4403 	_pkg_min_version=0.9.0
   4404 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4405 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4406 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4408 $as_echo "yes" >&6; }
   4409 	else
   4410 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4411 $as_echo "no" >&6; }
   4412 		PKG_CONFIG=""
   4413 	fi
   4414 
   4415 fi
   4416 # Make sure we can run config.sub.
   4417 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4418   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4419 
   4420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4421 $as_echo_n "checking build system type... " >&6; }
   4422 if ${ac_cv_build+:} false; then :
   4423   $as_echo_n "(cached) " >&6
   4424 else
   4425   ac_build_alias=$build_alias
   4426 test "x$ac_build_alias" = x &&
   4427   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4428 test "x$ac_build_alias" = x &&
   4429   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4430 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4431   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4432 
   4433 fi
   4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4435 $as_echo "$ac_cv_build" >&6; }
   4436 case $ac_cv_build in
   4437 *-*-*) ;;
   4438 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4439 esac
   4440 build=$ac_cv_build
   4441 ac_save_IFS=$IFS; IFS='-'
   4442 set x $ac_cv_build
   4443 shift
   4444 build_cpu=$1
   4445 build_vendor=$2
   4446 shift; shift
   4447 # Remember, the first character of IFS is used to create $*,
   4448 # except with old shells:
   4449 build_os=$*
   4450 IFS=$ac_save_IFS
   4451 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4452 
   4453 
   4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4455 $as_echo_n "checking host system type... " >&6; }
   4456 if ${ac_cv_host+:} false; then :
   4457   $as_echo_n "(cached) " >&6
   4458 else
   4459   if test "x$host_alias" = x; then
   4460   ac_cv_host=$ac_cv_build
   4461 else
   4462   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4463     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4464 fi
   4465 
   4466 fi
   4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4468 $as_echo "$ac_cv_host" >&6; }
   4469 case $ac_cv_host in
   4470 *-*-*) ;;
   4471 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4472 esac
   4473 host=$ac_cv_host
   4474 ac_save_IFS=$IFS; IFS='-'
   4475 set x $ac_cv_host
   4476 shift
   4477 host_cpu=$1
   4478 host_vendor=$2
   4479 shift; shift
   4480 # Remember, the first character of IFS is used to create $*,
   4481 # except with old shells:
   4482 host_os=$*
   4483 IFS=$ac_save_IFS
   4484 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4485 
   4486 
   4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4488 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4489 if ${ac_cv_path_SED+:} false; then :
   4490   $as_echo_n "(cached) " >&6
   4491 else
   4492             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4493      for ac_i in 1 2 3 4 5 6 7; do
   4494        ac_script="$ac_script$as_nl$ac_script"
   4495      done
   4496      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4497      { ac_script=; unset ac_script;}
   4498      if test -z "$SED"; then
   4499   ac_path_SED_found=false
   4500   # Loop through the user's path and test for each of PROGNAME-LIST
   4501   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4502 for as_dir in $PATH
   4503 do
   4504   IFS=$as_save_IFS
   4505   test -z "$as_dir" && as_dir=.
   4506     for ac_prog in sed gsed; do
   4507     for ac_exec_ext in '' $ac_executable_extensions; do
   4508       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4509       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4510 # Check for GNU ac_path_SED and select it if it is found.
   4511   # Check for GNU $ac_path_SED
   4512 case `"$ac_path_SED" --version 2>&1` in
   4513 *GNU*)
   4514   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4515 *)
   4516   ac_count=0
   4517   $as_echo_n 0123456789 >"conftest.in"
   4518   while :
   4519   do
   4520     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4521     mv "conftest.tmp" "conftest.in"
   4522     cp "conftest.in" "conftest.nl"
   4523     $as_echo '' >> "conftest.nl"
   4524     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4525     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4526     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4527     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4528       # Best one so far, save it but keep looking for a better one
   4529       ac_cv_path_SED="$ac_path_SED"
   4530       ac_path_SED_max=$ac_count
   4531     fi
   4532     # 10*(2^10) chars as input seems more than enough
   4533     test $ac_count -gt 10 && break
   4534   done
   4535   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4536 esac
   4537 
   4538       $ac_path_SED_found && break 3
   4539     done
   4540   done
   4541   done
   4542 IFS=$as_save_IFS
   4543   if test -z "$ac_cv_path_SED"; then
   4544     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4545   fi
   4546 else
   4547   ac_cv_path_SED=$SED
   4548 fi
   4549 
   4550 fi
   4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4552 $as_echo "$ac_cv_path_SED" >&6; }
   4553  SED="$ac_cv_path_SED"
   4554   rm -f conftest.sed
   4555 
   4556 
   4557 
   4558 
   4559 
   4560 
   4561 if  test "x$GCC" = xyes ; then
   4562     CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
   4563 -Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
   4564 -Wbad-function-cast -Wformat=2"
   4565     case `$CC -dumpversion` in
   4566     3.4.* | 4.*)
   4567 	CWARNFLAGS="$CWARNFLAGS -Wold-style-definition -Wdeclaration-after-statement"
   4568 	;;
   4569     esac
   4570 else
   4571     if test "x$SUNCC" = "xyes"; then
   4572 	CWARNFLAGS="-v"
   4573     fi
   4574 fi
   4575 
   4576 
   4577 
   4578 # If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
   4579 
   4580 
   4581 
   4582 
   4583 # Check whether --enable-strict-compilation was given.
   4584 if test "${enable_strict_compilation+set}" = set; then :
   4585   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   4586 else
   4587   STRICT_COMPILE=no
   4588 fi
   4589 
   4590 if test "x$GCC" = xyes ; then
   4591     STRICT_CFLAGS="-pedantic -Werror"
   4592     # Add -Werror=attributes if supported (gcc 4.2 & later)
   4593     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   4594 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   4595     save_CFLAGS="$CFLAGS"
   4596     CFLAGS="$CFLAGS $STRICT_CFLAGS -Werror=attributes"
   4597     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4598 /* end confdefs.h.  */
   4599 return 0;
   4600 _ACEOF
   4601 if ac_fn_c_try_compile "$LINENO"; then :
   4602   STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   4603 		       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4604 $as_echo "yes" >&6; }
   4605 else
   4606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4607 $as_echo "no" >&6; }
   4608 fi
   4609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4610     CFLAGS="$save_CFLAGS"
   4611 elif test "x$SUNCC" = "xyes"; then
   4612     STRICT_CFLAGS="-errwarn"
   4613 elif test "x$INTELCC" = "xyes"; then
   4614     STRICT_CFLAGS="-Werror"
   4615 fi
   4616 if test "x$STRICT_COMPILE" = "xyes"; then
   4617     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   4618 fi
   4619 
   4620 
   4621 
   4622 
   4623 
   4624 cat >>confdefs.h <<_ACEOF
   4625 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   4626 _ACEOF
   4627 
   4628 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   4629 	if test "x$PVM" = "x"; then
   4630 		PVM="0"
   4631 	fi
   4632 
   4633 cat >>confdefs.h <<_ACEOF
   4634 #define PACKAGE_VERSION_MINOR $PVM
   4635 _ACEOF
   4636 
   4637 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   4638 	if test "x$PVP" = "x"; then
   4639 		PVP="0"
   4640 	fi
   4641 
   4642 cat >>confdefs.h <<_ACEOF
   4643 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   4644 _ACEOF
   4645 
   4646 
   4647 
   4648 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   4649 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   4650 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   4651 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   4652 
   4653 
   4654 
   4655 
   4656 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   4657 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   4658 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   4659 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   4660 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   4661 
   4662 
   4663 
   4664 
   4665 
   4666 
   4667 if test x$APP_MAN_SUFFIX = x    ; then
   4668     APP_MAN_SUFFIX=1
   4669 fi
   4670 if test x$APP_MAN_DIR = x    ; then
   4671     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   4672 fi
   4673 
   4674 if test x$LIB_MAN_SUFFIX = x    ; then
   4675     LIB_MAN_SUFFIX=3
   4676 fi
   4677 if test x$LIB_MAN_DIR = x    ; then
   4678     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   4679 fi
   4680 
   4681 if test x$FILE_MAN_SUFFIX = x    ; then
   4682     case $host_os in
   4683 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   4684 	*)		FILE_MAN_SUFFIX=5  ;;
   4685     esac
   4686 fi
   4687 if test x$FILE_MAN_DIR = x    ; then
   4688     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   4689 fi
   4690 
   4691 if test x$MISC_MAN_SUFFIX = x    ; then
   4692     case $host_os in
   4693 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   4694 	*)		MISC_MAN_SUFFIX=7  ;;
   4695     esac
   4696 fi
   4697 if test x$MISC_MAN_DIR = x    ; then
   4698     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   4699 fi
   4700 
   4701 if test x$DRIVER_MAN_SUFFIX = x    ; then
   4702     case $host_os in
   4703 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   4704 	*)		DRIVER_MAN_SUFFIX=4  ;;
   4705     esac
   4706 fi
   4707 if test x$DRIVER_MAN_DIR = x    ; then
   4708     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   4709 fi
   4710 
   4711 if test x$ADMIN_MAN_SUFFIX = x    ; then
   4712     case $host_os in
   4713 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   4714 	*)		ADMIN_MAN_SUFFIX=8  ;;
   4715     esac
   4716 fi
   4717 if test x$ADMIN_MAN_DIR = x    ; then
   4718     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   4719 fi
   4720 
   4721 
   4722 
   4723 
   4724 
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 XORG_MAN_PAGE="X Version 11"
   4736 
   4737 MAN_SUBSTS="\
   4738 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4739 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   4740 	-e 's|__xservername__|Xorg|g' \
   4741 	-e 's|__xconfigfile__|xorg.conf|g' \
   4742 	-e 's|__projectroot__|\$(prefix)|g' \
   4743 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   4744 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   4745 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   4746 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   4747 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   4748 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   4749 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   4750 
   4751 
   4752 
   4753 # Check whether --enable-silent-rules was given.
   4754 if test "${enable_silent_rules+set}" = set; then :
   4755   enableval=$enable_silent_rules;
   4756 fi
   4757 
   4758 case $enable_silent_rules in
   4759 yes) AM_DEFAULT_VERBOSITY=0;;
   4760 no)  AM_DEFAULT_VERBOSITY=1;;
   4761 *)   AM_DEFAULT_VERBOSITY=0;;
   4762 esac
   4763 AM_BACKSLASH='\'
   4764 
   4765 
   4766 
   4767 # Checks for system functions
   4768 for ac_func in usleep
   4769 do :
   4770   ac_fn_c_check_func "$LINENO" "usleep" "ac_cv_func_usleep"
   4771 if test "x$ac_cv_func_usleep" = xyes; then :
   4772   cat >>confdefs.h <<_ACEOF
   4773 #define HAVE_USLEEP 1
   4774 _ACEOF
   4775 
   4776 fi
   4777 done
   4778 
   4779 
   4780 # Checks for pkg-config packages
   4781 
   4782 pkg_failed=no
   4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XSET" >&5
   4784 $as_echo_n "checking for XSET... " >&6; }
   4785 
   4786 if test -n "$XSET_CFLAGS"; then
   4787     pkg_cv_XSET_CFLAGS="$XSET_CFLAGS"
   4788  elif test -n "$PKG_CONFIG"; then
   4789     if test -n "$PKG_CONFIG" && \
   4790     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xmuu\""; } >&5
   4791   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xmuu") 2>&5
   4792   ac_status=$?
   4793   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4794   test $ac_status = 0; }; then
   4795   pkg_cv_XSET_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17 xmuu" 2>/dev/null`
   4796 else
   4797   pkg_failed=yes
   4798 fi
   4799  else
   4800     pkg_failed=untried
   4801 fi
   4802 if test -n "$XSET_LIBS"; then
   4803     pkg_cv_XSET_LIBS="$XSET_LIBS"
   4804  elif test -n "$PKG_CONFIG"; then
   4805     if test -n "$PKG_CONFIG" && \
   4806     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 xmuu\""; } >&5
   4807   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 xmuu") 2>&5
   4808   ac_status=$?
   4809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4810   test $ac_status = 0; }; then
   4811   pkg_cv_XSET_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17 xmuu" 2>/dev/null`
   4812 else
   4813   pkg_failed=yes
   4814 fi
   4815  else
   4816     pkg_failed=untried
   4817 fi
   4818 
   4819 
   4820 
   4821 if test $pkg_failed = yes; then
   4822 
   4823 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   4824         _pkg_short_errors_supported=yes
   4825 else
   4826         _pkg_short_errors_supported=no
   4827 fi
   4828         if test $_pkg_short_errors_supported = yes; then
   4829 	        XSET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto >= 7.0.17 xmuu" 2>&1`
   4830         else
   4831 	        XSET_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto >= 7.0.17 xmuu" 2>&1`
   4832         fi
   4833 	# Put the nasty error message in config.log where it belongs
   4834 	echo "$XSET_PKG_ERRORS" >&5
   4835 
   4836 	as_fn_error $? "Package requirements (xproto >= 7.0.17 xmuu) were not met:
   4837 
   4838 $XSET_PKG_ERRORS
   4839 
   4840 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   4841 installed software in a non-standard prefix.
   4842 
   4843 Alternatively, you may set the environment variables XSET_CFLAGS
   4844 and XSET_LIBS to avoid the need to call pkg-config.
   4845 See the pkg-config man page for more details.
   4846 " "$LINENO" 5
   4847 elif test $pkg_failed = untried; then
   4848 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4850 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   4851 is in your PATH or set the PKG_CONFIG environment variable to the full
   4852 path to pkg-config.
   4853 
   4854 Alternatively, you may set the environment variables XSET_CFLAGS
   4855 and XSET_LIBS to avoid the need to call pkg-config.
   4856 See the pkg-config man page for more details.
   4857 
   4858 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   4859 See \`config.log' for more details" "$LINENO" 5; }
   4860 else
   4861 	XSET_CFLAGS=$pkg_cv_XSET_CFLAGS
   4862 	XSET_LIBS=$pkg_cv_XSET_LIBS
   4863         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4864 $as_echo "yes" >&6; }
   4865 	:
   4866 fi
   4867 
   4868 # This is used below to allow <X11/Xlib.h> to be found
   4869 
   4870 pkg_failed=no
   4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SET_X11" >&5
   4872 $as_echo_n "checking for SET_X11... " >&6; }
   4873 
   4874 if test -n "$SET_X11_CFLAGS"; then
   4875     pkg_cv_SET_X11_CFLAGS="$SET_X11_CFLAGS"
   4876  elif test -n "$PKG_CONFIG"; then
   4877     if test -n "$PKG_CONFIG" && \
   4878     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   4879   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   4880   ac_status=$?
   4881   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4882   test $ac_status = 0; }; then
   4883   pkg_cv_SET_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
   4884 else
   4885   pkg_failed=yes
   4886 fi
   4887  else
   4888     pkg_failed=untried
   4889 fi
   4890 if test -n "$SET_X11_LIBS"; then
   4891     pkg_cv_SET_X11_LIBS="$SET_X11_LIBS"
   4892  elif test -n "$PKG_CONFIG"; then
   4893     if test -n "$PKG_CONFIG" && \
   4894     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   4895   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   4896   ac_status=$?
   4897   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4898   test $ac_status = 0; }; then
   4899   pkg_cv_SET_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
   4900 else
   4901   pkg_failed=yes
   4902 fi
   4903  else
   4904     pkg_failed=untried
   4905 fi
   4906 
   4907 
   4908 
   4909 if test $pkg_failed = yes; then
   4910 
   4911 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   4912         _pkg_short_errors_supported=yes
   4913 else
   4914         _pkg_short_errors_supported=no
   4915 fi
   4916         if test $_pkg_short_errors_supported = yes; then
   4917 	        SET_X11_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
   4918         else
   4919 	        SET_X11_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
   4920         fi
   4921 	# Put the nasty error message in config.log where it belongs
   4922 	echo "$SET_X11_PKG_ERRORS" >&5
   4923 
   4924 	as_fn_error $? "Package requirements (x11) were not met:
   4925 
   4926 $SET_X11_PKG_ERRORS
   4927 
   4928 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   4929 installed software in a non-standard prefix.
   4930 
   4931 Alternatively, you may set the environment variables SET_X11_CFLAGS
   4932 and SET_X11_LIBS to avoid the need to call pkg-config.
   4933 See the pkg-config man page for more details.
   4934 " "$LINENO" 5
   4935 elif test $pkg_failed = untried; then
   4936 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4937 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4938 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   4939 is in your PATH or set the PKG_CONFIG environment variable to the full
   4940 path to pkg-config.
   4941 
   4942 Alternatively, you may set the environment variables SET_X11_CFLAGS
   4943 and SET_X11_LIBS to avoid the need to call pkg-config.
   4944 See the pkg-config man page for more details.
   4945 
   4946 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   4947 See \`config.log' for more details" "$LINENO" 5; }
   4948 else
   4949 	SET_X11_CFLAGS=$pkg_cv_SET_X11_CFLAGS
   4950 	SET_X11_LIBS=$pkg_cv_SET_X11_LIBS
   4951         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4952 $as_echo "yes" >&6; }
   4953 	:
   4954 fi
   4955 
   4956 
   4957 pkg_failed=no
   4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SET_XEXT" >&5
   4959 $as_echo_n "checking for SET_XEXT... " >&6; }
   4960 
   4961 if test -n "$SET_XEXT_CFLAGS"; then
   4962     pkg_cv_SET_XEXT_CFLAGS="$SET_XEXT_CFLAGS"
   4963  elif test -n "$PKG_CONFIG"; then
   4964     if test -n "$PKG_CONFIG" && \
   4965     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
   4966   ($PKG_CONFIG --exists --print-errors "xext") 2>&5
   4967   ac_status=$?
   4968   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4969   test $ac_status = 0; }; then
   4970   pkg_cv_SET_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xext" 2>/dev/null`
   4971 else
   4972   pkg_failed=yes
   4973 fi
   4974  else
   4975     pkg_failed=untried
   4976 fi
   4977 if test -n "$SET_XEXT_LIBS"; then
   4978     pkg_cv_SET_XEXT_LIBS="$SET_XEXT_LIBS"
   4979  elif test -n "$PKG_CONFIG"; then
   4980     if test -n "$PKG_CONFIG" && \
   4981     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xext\""; } >&5
   4982   ($PKG_CONFIG --exists --print-errors "xext") 2>&5
   4983   ac_status=$?
   4984   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   4985   test $ac_status = 0; }; then
   4986   pkg_cv_SET_XEXT_LIBS=`$PKG_CONFIG --libs "xext" 2>/dev/null`
   4987 else
   4988   pkg_failed=yes
   4989 fi
   4990  else
   4991     pkg_failed=untried
   4992 fi
   4993 
   4994 
   4995 
   4996 if test $pkg_failed = yes; then
   4997 
   4998 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   4999         _pkg_short_errors_supported=yes
   5000 else
   5001         _pkg_short_errors_supported=no
   5002 fi
   5003         if test $_pkg_short_errors_supported = yes; then
   5004 	        SET_XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xext" 2>&1`
   5005         else
   5006 	        SET_XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors "xext" 2>&1`
   5007         fi
   5008 	# Put the nasty error message in config.log where it belongs
   5009 	echo "$SET_XEXT_PKG_ERRORS" >&5
   5010 
   5011 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5012 $as_echo "no" >&6; }
   5013                 echo "not found"
   5014 elif test $pkg_failed = untried; then
   5015 	echo "not found"
   5016 else
   5017 	SET_XEXT_CFLAGS=$pkg_cv_SET_XEXT_CFLAGS
   5018 	SET_XEXT_LIBS=$pkg_cv_SET_XEXT_LIBS
   5019         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5020 $as_echo "yes" >&6; }
   5021 	SAVE_CPPFLAGS="$CPPFLAGS"
   5022 	CPPFLAGS="$CPPFLAGS $SET_XEXT_CFLAGS $SET_X11_CFLAGS"
   5023 	for ac_header in X11/extensions/dpms.h X11/extensions/MITMisc.h
   5024 do :
   5025   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5026 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <X11/Xlib.h>
   5027 "
   5028 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5029   cat >>confdefs.h <<_ACEOF
   5030 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5031 _ACEOF
   5032 
   5033 fi
   5034 
   5035 done
   5036 
   5037 	CPPFLAGS="$SAVE_CPPFLAGS"
   5038 fi
   5039 
   5040 
   5041 pkg_failed=no
   5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SET_XKB" >&5
   5043 $as_echo_n "checking for SET_XKB... " >&6; }
   5044 
   5045 if test -n "$SET_XKB_CFLAGS"; then
   5046     pkg_cv_SET_XKB_CFLAGS="$SET_XKB_CFLAGS"
   5047  elif test -n "$PKG_CONFIG"; then
   5048     if test -n "$PKG_CONFIG" && \
   5049     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   5050   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   5051   ac_status=$?
   5052   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5053   test $ac_status = 0; }; then
   5054   pkg_cv_SET_XKB_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null`
   5055 else
   5056   pkg_failed=yes
   5057 fi
   5058  else
   5059     pkg_failed=untried
   5060 fi
   5061 if test -n "$SET_XKB_LIBS"; then
   5062     pkg_cv_SET_XKB_LIBS="$SET_XKB_LIBS"
   5063  elif test -n "$PKG_CONFIG"; then
   5064     if test -n "$PKG_CONFIG" && \
   5065     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5
   5066   ($PKG_CONFIG --exists --print-errors "x11") 2>&5
   5067   ac_status=$?
   5068   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5069   test $ac_status = 0; }; then
   5070   pkg_cv_SET_XKB_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null`
   5071 else
   5072   pkg_failed=yes
   5073 fi
   5074  else
   5075     pkg_failed=untried
   5076 fi
   5077 
   5078 
   5079 
   5080 if test $pkg_failed = yes; then
   5081 
   5082 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   5083         _pkg_short_errors_supported=yes
   5084 else
   5085         _pkg_short_errors_supported=no
   5086 fi
   5087         if test $_pkg_short_errors_supported = yes; then
   5088 	        SET_XKB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11" 2>&1`
   5089         else
   5090 	        SET_XKB_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11" 2>&1`
   5091         fi
   5092 	# Put the nasty error message in config.log where it belongs
   5093 	echo "$SET_XKB_PKG_ERRORS" >&5
   5094 
   5095 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5096 $as_echo "no" >&6; }
   5097                 echo "not found"
   5098 elif test $pkg_failed = untried; then
   5099 	echo "not found"
   5100 else
   5101 	SET_XKB_CFLAGS=$pkg_cv_SET_XKB_CFLAGS
   5102 	SET_XKB_LIBS=$pkg_cv_SET_XKB_LIBS
   5103         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5104 $as_echo "yes" >&6; }
   5105 	SAVE_CPPFLAGS="$CPPFLAGS"
   5106 	CPPFLAGS="$CPPFLAGS $SET_XKB_CFLAGS $SET_X11_CFLAGS"
   5107 	for ac_header in X11/XKBlib.h
   5108 do :
   5109   ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#include <X11/Xlib.h>
   5110 "
   5111 if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
   5112   cat >>confdefs.h <<_ACEOF
   5113 #define HAVE_X11_XKBLIB_H 1
   5114 _ACEOF
   5115 
   5116 fi
   5117 
   5118 done
   5119 
   5120 	CPPFLAGS="$SAVE_CPPFLAGS"
   5121 fi
   5122 
   5123 
   5124 # Check whether --with-xf86misc was given.
   5125 if test "${with_xf86misc+set}" = set; then :
   5126   withval=$with_xf86misc; USE_XF86MISC="$withval"
   5127 else
   5128   USE_XF86MISC="yes"
   5129 fi
   5130 
   5131 if test "x$USE_XF86MISC" != "xno" ; then
   5132 
   5133 pkg_failed=no
   5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SET_XF86MISC" >&5
   5135 $as_echo_n "checking for SET_XF86MISC... " >&6; }
   5136 
   5137 if test -n "$SET_XF86MISC_CFLAGS"; then
   5138     pkg_cv_SET_XF86MISC_CFLAGS="$SET_XF86MISC_CFLAGS"
   5139  elif test -n "$PKG_CONFIG"; then
   5140     if test -n "$PKG_CONFIG" && \
   5141     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xxf86misc\""; } >&5
   5142   ($PKG_CONFIG --exists --print-errors "xxf86misc") 2>&5
   5143   ac_status=$?
   5144   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5145   test $ac_status = 0; }; then
   5146   pkg_cv_SET_XF86MISC_CFLAGS=`$PKG_CONFIG --cflags "xxf86misc" 2>/dev/null`
   5147 else
   5148   pkg_failed=yes
   5149 fi
   5150  else
   5151     pkg_failed=untried
   5152 fi
   5153 if test -n "$SET_XF86MISC_LIBS"; then
   5154     pkg_cv_SET_XF86MISC_LIBS="$SET_XF86MISC_LIBS"
   5155  elif test -n "$PKG_CONFIG"; then
   5156     if test -n "$PKG_CONFIG" && \
   5157     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xxf86misc\""; } >&5
   5158   ($PKG_CONFIG --exists --print-errors "xxf86misc") 2>&5
   5159   ac_status=$?
   5160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5161   test $ac_status = 0; }; then
   5162   pkg_cv_SET_XF86MISC_LIBS=`$PKG_CONFIG --libs "xxf86misc" 2>/dev/null`
   5163 else
   5164   pkg_failed=yes
   5165 fi
   5166  else
   5167     pkg_failed=untried
   5168 fi
   5169 
   5170 
   5171 
   5172 if test $pkg_failed = yes; then
   5173 
   5174 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   5175         _pkg_short_errors_supported=yes
   5176 else
   5177         _pkg_short_errors_supported=no
   5178 fi
   5179         if test $_pkg_short_errors_supported = yes; then
   5180 	        SET_XF86MISC_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xxf86misc" 2>&1`
   5181         else
   5182 	        SET_XF86MISC_PKG_ERRORS=`$PKG_CONFIG --print-errors "xxf86misc" 2>&1`
   5183         fi
   5184 	# Put the nasty error message in config.log where it belongs
   5185 	echo "$SET_XF86MISC_PKG_ERRORS" >&5
   5186 
   5187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5188 $as_echo "no" >&6; }
   5189                 echo "not found"
   5190 elif test $pkg_failed = untried; then
   5191 	echo "not found"
   5192 else
   5193 	SET_XF86MISC_CFLAGS=$pkg_cv_SET_XF86MISC_CFLAGS
   5194 	SET_XF86MISC_LIBS=$pkg_cv_SET_XF86MISC_LIBS
   5195         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5196 $as_echo "yes" >&6; }
   5197 	SAVE_CPPFLAGS="$CPPFLAGS"
   5198 		CPPFLAGS="$CPPFLAGS $SET_XF86MISC_CFLAGS $SET_X11_CFLAGS"
   5199 		for ac_header in X11/extensions/xf86misc.h X11/extensions/xf86mscstr.h
   5200 do :
   5201   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5202 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <X11/Xlib.h>
   5203 #include <X11/Xproto.h>
   5204 "
   5205 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5206   cat >>confdefs.h <<_ACEOF
   5207 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5208 _ACEOF
   5209 
   5210 fi
   5211 
   5212 done
   5213 
   5214 		CPPFLAGS="$SAVE_CPPFLAGS"
   5215 fi
   5216 else
   5217         echo "without xf86misc"
   5218 fi
   5219 
   5220 
   5221 # Check whether --with-fontcache was given.
   5222 if test "${with_fontcache+set}" = set; then :
   5223   withval=$with_fontcache; USE_XFONTCACHE="$withval"
   5224 else
   5225   USE_XFONTCACHE="yes"
   5226 fi
   5227 
   5228 if test "x$USE_XFONTCACHE" != "xno" ; then
   5229 
   5230 pkg_failed=no
   5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SET_FONTCACHE" >&5
   5232 $as_echo_n "checking for SET_FONTCACHE... " >&6; }
   5233 
   5234 if test -n "$SET_FONTCACHE_CFLAGS"; then
   5235     pkg_cv_SET_FONTCACHE_CFLAGS="$SET_FONTCACHE_CFLAGS"
   5236  elif test -n "$PKG_CONFIG"; then
   5237     if test -n "$PKG_CONFIG" && \
   5238     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfontcache\""; } >&5
   5239   ($PKG_CONFIG --exists --print-errors "xfontcache") 2>&5
   5240   ac_status=$?
   5241   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5242   test $ac_status = 0; }; then
   5243   pkg_cv_SET_FONTCACHE_CFLAGS=`$PKG_CONFIG --cflags "xfontcache" 2>/dev/null`
   5244 else
   5245   pkg_failed=yes
   5246 fi
   5247  else
   5248     pkg_failed=untried
   5249 fi
   5250 if test -n "$SET_FONTCACHE_LIBS"; then
   5251     pkg_cv_SET_FONTCACHE_LIBS="$SET_FONTCACHE_LIBS"
   5252  elif test -n "$PKG_CONFIG"; then
   5253     if test -n "$PKG_CONFIG" && \
   5254     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xfontcache\""; } >&5
   5255   ($PKG_CONFIG --exists --print-errors "xfontcache") 2>&5
   5256   ac_status=$?
   5257   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5258   test $ac_status = 0; }; then
   5259   pkg_cv_SET_FONTCACHE_LIBS=`$PKG_CONFIG --libs "xfontcache" 2>/dev/null`
   5260 else
   5261   pkg_failed=yes
   5262 fi
   5263  else
   5264     pkg_failed=untried
   5265 fi
   5266 
   5267 
   5268 
   5269 if test $pkg_failed = yes; then
   5270 
   5271 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   5272         _pkg_short_errors_supported=yes
   5273 else
   5274         _pkg_short_errors_supported=no
   5275 fi
   5276         if test $_pkg_short_errors_supported = yes; then
   5277 	        SET_FONTCACHE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xfontcache" 2>&1`
   5278         else
   5279 	        SET_FONTCACHE_PKG_ERRORS=`$PKG_CONFIG --print-errors "xfontcache" 2>&1`
   5280         fi
   5281 	# Put the nasty error message in config.log where it belongs
   5282 	echo "$SET_FONTCACHE_PKG_ERRORS" >&5
   5283 
   5284 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5285 $as_echo "no" >&6; }
   5286                 echo "not found"
   5287 elif test $pkg_failed = untried; then
   5288 	echo "not found"
   5289 else
   5290 	SET_FONTCACHE_CFLAGS=$pkg_cv_SET_FONTCACHE_CFLAGS
   5291 	SET_FONTCACHE_LIBS=$pkg_cv_SET_FONTCACHE_LIBS
   5292         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5293 $as_echo "yes" >&6; }
   5294 	SAVE_CPPFLAGS="$CPPFLAGS"
   5295 		CPPFLAGS="$CPPFLAGS $SET_FONTCACHE_CFLAGS $SET_X11_CFLAGS"
   5296 		for ac_header in X11/extensions/fontcache.h X11/extensions/fontcacheP.h
   5297 do :
   5298   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   5299 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <X11/Xlib.h>
   5300 "
   5301 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   5302   cat >>confdefs.h <<_ACEOF
   5303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   5304 _ACEOF
   5305 
   5306 fi
   5307 
   5308 done
   5309 
   5310 		CPPFLAGS="$SAVE_CPPFLAGS"
   5311 fi
   5312 else
   5313 	echo "without fontcache"
   5314 fi
   5315 
   5316 XSET_CFLAGS="$XSET_CFLAGS $SET_XEXT_CFLAGS $SET_XKB_CFLAGS $SET_XF86MISC_CFLAGS $SET_FONTCACHE_CFLAGS"
   5317 XSET_LIBS="$XSET_LIBS $SET_XEXT_LIBS $SET_XKB_LIBS $SET_XF86MISC_LIBS $SET_FONTCACHE_LIBS"
   5318 
   5319 
   5320 ac_config_files="$ac_config_files Makefile man/Makefile"
   5321 
   5322 cat >confcache <<\_ACEOF
   5323 # This file is a shell script that caches the results of configure
   5324 # tests run on this system so they can be shared between configure
   5325 # scripts and configure runs, see configure's option --config-cache.
   5326 # It is not useful on other systems.  If it contains results you don't
   5327 # want to keep, you may remove or edit it.
   5328 #
   5329 # config.status only pays attention to the cache file if you give it
   5330 # the --recheck option to rerun configure.
   5331 #
   5332 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   5333 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   5334 # following values.
   5335 
   5336 _ACEOF
   5337 
   5338 # The following way of writing the cache mishandles newlines in values,
   5339 # but we know of no workaround that is simple, portable, and efficient.
   5340 # So, we kill variables containing newlines.
   5341 # Ultrix sh set writes to stderr and can't be redirected directly,
   5342 # and sets the high bit in the cache file unless we assign to the vars.
   5343 (
   5344   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   5345     eval ac_val=\$$ac_var
   5346     case $ac_val in #(
   5347     *${as_nl}*)
   5348       case $ac_var in #(
   5349       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   5350 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   5351       esac
   5352       case $ac_var in #(
   5353       _ | IFS | as_nl) ;; #(
   5354       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   5355       *) { eval $ac_var=; unset $ac_var;} ;;
   5356       esac ;;
   5357     esac
   5358   done
   5359 
   5360   (set) 2>&1 |
   5361     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   5362     *${as_nl}ac_space=\ *)
   5363       # `set' does not quote correctly, so add quotes: double-quote
   5364       # substitution turns \\\\ into \\, and sed turns \\ into \.
   5365       sed -n \
   5366 	"s/'/'\\\\''/g;
   5367 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   5368       ;; #(
   5369     *)
   5370       # `set' quotes correctly as required by POSIX, so do not add quotes.
   5371       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   5372       ;;
   5373     esac |
   5374     sort
   5375 ) |
   5376   sed '
   5377      /^ac_cv_env_/b end
   5378      t clear
   5379      :clear
   5380      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   5381      t end
   5382      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   5383      :end' >>confcache
   5384 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   5385   if test -w "$cache_file"; then
   5386     if test "x$cache_file" != "x/dev/null"; then
   5387       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   5388 $as_echo "$as_me: updating cache $cache_file" >&6;}
   5389       if test ! -f "$cache_file" || test -h "$cache_file"; then
   5390 	cat confcache >"$cache_file"
   5391       else
   5392         case $cache_file in #(
   5393         */* | ?:*)
   5394 	  mv -f confcache "$cache_file"$$ &&
   5395 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   5396         *)
   5397 	  mv -f confcache "$cache_file" ;;
   5398 	esac
   5399       fi
   5400     fi
   5401   else
   5402     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   5403 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   5404   fi
   5405 fi
   5406 rm -f confcache
   5407 
   5408 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   5409 # Let make expand exec_prefix.
   5410 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   5411 
   5412 DEFS=-DHAVE_CONFIG_H
   5413 
   5414 ac_libobjs=
   5415 ac_ltlibobjs=
   5416 U=
   5417 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   5418   # 1. Remove the extension, and $U if already installed.
   5419   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   5420   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   5421   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   5422   #    will be set to the directory where LIBOBJS objects are built.
   5423   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   5424   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   5425 done
   5426 LIBOBJS=$ac_libobjs
   5427 
   5428 LTLIBOBJS=$ac_ltlibobjs
   5429 
   5430 
   5431  if test -n "$EXEEXT"; then
   5432   am__EXEEXT_TRUE=
   5433   am__EXEEXT_FALSE='#'
   5434 else
   5435   am__EXEEXT_TRUE='#'
   5436   am__EXEEXT_FALSE=
   5437 fi
   5438 
   5439 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   5440   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   5441 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   5442 fi
   5443 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   5444   as_fn_error $? "conditional \"AMDEP\" was never defined.
   5445 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   5446 fi
   5447 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   5448   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   5449 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   5450 fi
   5451 
   5452 : "${CONFIG_STATUS=./config.status}"
   5453 ac_write_fail=0
   5454 ac_clean_files_save=$ac_clean_files
   5455 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   5456 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   5457 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   5458 as_write_fail=0
   5459 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   5460 #! $SHELL
   5461 # Generated by $as_me.
   5462 # Run this file to recreate the current configuration.
   5463 # Compiler output produced by configure, useful for debugging
   5464 # configure, is in config.log if it exists.
   5465 
   5466 debug=false
   5467 ac_cs_recheck=false
   5468 ac_cs_silent=false
   5469 
   5470 SHELL=\${CONFIG_SHELL-$SHELL}
   5471 export SHELL
   5472 _ASEOF
   5473 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   5474 ## -------------------- ##
   5475 ## M4sh Initialization. ##
   5476 ## -------------------- ##
   5477 
   5478 # Be more Bourne compatible
   5479 DUALCASE=1; export DUALCASE # for MKS sh
   5480 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   5481   emulate sh
   5482   NULLCMD=:
   5483   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   5484   # is contrary to our usage.  Disable this feature.
   5485   alias -g '${1+"$@"}'='"$@"'
   5486   setopt NO_GLOB_SUBST
   5487 else
   5488   case `(set -o) 2>/dev/null` in #(
   5489   *posix*) :
   5490     set -o posix ;; #(
   5491   *) :
   5492      ;;
   5493 esac
   5494 fi
   5495 
   5496 
   5497 as_nl='
   5498 '
   5499 export as_nl
   5500 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   5501 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   5502 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   5503 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   5504 # Prefer a ksh shell builtin over an external printf program on Solaris,
   5505 # but without wasting forks for bash or zsh.
   5506 if test -z "$BASH_VERSION$ZSH_VERSION" \
   5507     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   5508   as_echo='print -r --'
   5509   as_echo_n='print -rn --'
   5510 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   5511   as_echo='printf %s\n'
   5512   as_echo_n='printf %s'
   5513 else
   5514   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   5515     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   5516     as_echo_n='/usr/ucb/echo -n'
   5517   else
   5518     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   5519     as_echo_n_body='eval
   5520       arg=$1;
   5521       case $arg in #(
   5522       *"$as_nl"*)
   5523 	expr "X$arg" : "X\\(.*\\)$as_nl";
   5524 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   5525       esac;
   5526       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   5527     '
   5528     export as_echo_n_body
   5529     as_echo_n='sh -c $as_echo_n_body as_echo'
   5530   fi
   5531   export as_echo_body
   5532   as_echo='sh -c $as_echo_body as_echo'
   5533 fi
   5534 
   5535 # The user is always right.
   5536 if test "${PATH_SEPARATOR+set}" != set; then
   5537   PATH_SEPARATOR=:
   5538   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   5539     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   5540       PATH_SEPARATOR=';'
   5541   }
   5542 fi
   5543 
   5544 
   5545 # IFS
   5546 # We need space, tab and new line, in precisely that order.  Quoting is
   5547 # there to prevent editors from complaining about space-tab.
   5548 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   5549 # splitting by setting IFS to empty value.)
   5550 IFS=" ""	$as_nl"
   5551 
   5552 # Find who we are.  Look in the path if we contain no directory separator.
   5553 as_myself=
   5554 case $0 in #((
   5555   *[\\/]* ) as_myself=$0 ;;
   5556   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5557 for as_dir in $PATH
   5558 do
   5559   IFS=$as_save_IFS
   5560   test -z "$as_dir" && as_dir=.
   5561     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   5562   done
   5563 IFS=$as_save_IFS
   5564 
   5565      ;;
   5566 esac
   5567 # We did not find ourselves, most probably we were run as `sh COMMAND'
   5568 # in which case we are not to be found in the path.
   5569 if test "x$as_myself" = x; then
   5570   as_myself=$0
   5571 fi
   5572 if test ! -f "$as_myself"; then
   5573   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   5574   exit 1
   5575 fi
   5576 
   5577 # Unset variables that we do not need and which cause bugs (e.g. in
   5578 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   5579 # suppresses any "Segmentation fault" message there.  '((' could
   5580 # trigger a bug in pdksh 5.2.14.
   5581 for as_var in BASH_ENV ENV MAIL MAILPATH
   5582 do eval test x\${$as_var+set} = xset \
   5583   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   5584 done
   5585 PS1='$ '
   5586 PS2='> '
   5587 PS4='+ '
   5588 
   5589 # NLS nuisances.
   5590 LC_ALL=C
   5591 export LC_ALL
   5592 LANGUAGE=C
   5593 export LANGUAGE
   5594 
   5595 # CDPATH.
   5596 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   5597 
   5598 
   5599 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   5600 # ----------------------------------------
   5601 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   5602 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   5603 # script with STATUS, using 1 if that was 0.
   5604 as_fn_error ()
   5605 {
   5606   as_status=$1; test $as_status -eq 0 && as_status=1
   5607   if test "$4"; then
   5608     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   5609     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   5610   fi
   5611   $as_echo "$as_me: error: $2" >&2
   5612   as_fn_exit $as_status
   5613 } # as_fn_error
   5614 
   5615 
   5616 # as_fn_set_status STATUS
   5617 # -----------------------
   5618 # Set $? to STATUS, without forking.
   5619 as_fn_set_status ()
   5620 {
   5621   return $1
   5622 } # as_fn_set_status
   5623 
   5624 # as_fn_exit STATUS
   5625 # -----------------
   5626 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   5627 as_fn_exit ()
   5628 {
   5629   set +e
   5630   as_fn_set_status $1
   5631   exit $1
   5632 } # as_fn_exit
   5633 
   5634 # as_fn_unset VAR
   5635 # ---------------
   5636 # Portably unset VAR.
   5637 as_fn_unset ()
   5638 {
   5639   { eval $1=; unset $1;}
   5640 }
   5641 as_unset=as_fn_unset
   5642 # as_fn_append VAR VALUE
   5643 # ----------------------
   5644 # Append the text in VALUE to the end of the definition contained in VAR. Take
   5645 # advantage of any shell optimizations that allow amortized linear growth over
   5646 # repeated appends, instead of the typical quadratic growth present in naive
   5647 # implementations.
   5648 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   5649   eval 'as_fn_append ()
   5650   {
   5651     eval $1+=\$2
   5652   }'
   5653 else
   5654   as_fn_append ()
   5655   {
   5656     eval $1=\$$1\$2
   5657   }
   5658 fi # as_fn_append
   5659 
   5660 # as_fn_arith ARG...
   5661 # ------------------
   5662 # Perform arithmetic evaluation on the ARGs, and store the result in the
   5663 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   5664 # must be portable across $(()) and expr.
   5665 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   5666   eval 'as_fn_arith ()
   5667   {
   5668     as_val=$(( $* ))
   5669   }'
   5670 else
   5671   as_fn_arith ()
   5672   {
   5673     as_val=`expr "$@" || test $? -eq 1`
   5674   }
   5675 fi # as_fn_arith
   5676 
   5677 
   5678 if expr a : '\(a\)' >/dev/null 2>&1 &&
   5679    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   5680   as_expr=expr
   5681 else
   5682   as_expr=false
   5683 fi
   5684 
   5685 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   5686   as_basename=basename
   5687 else
   5688   as_basename=false
   5689 fi
   5690 
   5691 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   5692   as_dirname=dirname
   5693 else
   5694   as_dirname=false
   5695 fi
   5696 
   5697 as_me=`$as_basename -- "$0" ||
   5698 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   5699 	 X"$0" : 'X\(//\)$' \| \
   5700 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   5701 $as_echo X/"$0" |
   5702     sed '/^.*\/\([^/][^/]*\)\/*$/{
   5703 	    s//\1/
   5704 	    q
   5705 	  }
   5706 	  /^X\/\(\/\/\)$/{
   5707 	    s//\1/
   5708 	    q
   5709 	  }
   5710 	  /^X\/\(\/\).*/{
   5711 	    s//\1/
   5712 	    q
   5713 	  }
   5714 	  s/.*/./; q'`
   5715 
   5716 # Avoid depending upon Character Ranges.
   5717 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   5718 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   5719 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   5720 as_cr_digits='0123456789'
   5721 as_cr_alnum=$as_cr_Letters$as_cr_digits
   5722 
   5723 ECHO_C= ECHO_N= ECHO_T=
   5724 case `echo -n x` in #(((((
   5725 -n*)
   5726   case `echo 'xy\c'` in
   5727   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   5728   xy)  ECHO_C='\c';;
   5729   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   5730        ECHO_T='	';;
   5731   esac;;
   5732 *)
   5733   ECHO_N='-n';;
   5734 esac
   5735 
   5736 rm -f conf$$ conf$$.exe conf$$.file
   5737 if test -d conf$$.dir; then
   5738   rm -f conf$$.dir/conf$$.file
   5739 else
   5740   rm -f conf$$.dir
   5741   mkdir conf$$.dir 2>/dev/null
   5742 fi
   5743 if (echo >conf$$.file) 2>/dev/null; then
   5744   if ln -s conf$$.file conf$$ 2>/dev/null; then
   5745     as_ln_s='ln -s'
   5746     # ... but there are two gotchas:
   5747     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   5748     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   5749     # In both cases, we have to default to `cp -p'.
   5750     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   5751       as_ln_s='cp -p'
   5752   elif ln conf$$.file conf$$ 2>/dev/null; then
   5753     as_ln_s=ln
   5754   else
   5755     as_ln_s='cp -p'
   5756   fi
   5757 else
   5758   as_ln_s='cp -p'
   5759 fi
   5760 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   5761 rmdir conf$$.dir 2>/dev/null
   5762 
   5763 
   5764 # as_fn_mkdir_p
   5765 # -------------
   5766 # Create "$as_dir" as a directory, including parents if necessary.
   5767 as_fn_mkdir_p ()
   5768 {
   5769 
   5770   case $as_dir in #(
   5771   -*) as_dir=./$as_dir;;
   5772   esac
   5773   test -d "$as_dir" || eval $as_mkdir_p || {
   5774     as_dirs=
   5775     while :; do
   5776       case $as_dir in #(
   5777       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   5778       *) as_qdir=$as_dir;;
   5779       esac
   5780       as_dirs="'$as_qdir' $as_dirs"
   5781       as_dir=`$as_dirname -- "$as_dir" ||
   5782 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   5783 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   5784 	 X"$as_dir" : 'X\(//\)$' \| \
   5785 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   5786 $as_echo X"$as_dir" |
   5787     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   5788 	    s//\1/
   5789 	    q
   5790 	  }
   5791 	  /^X\(\/\/\)[^/].*/{
   5792 	    s//\1/
   5793 	    q
   5794 	  }
   5795 	  /^X\(\/\/\)$/{
   5796 	    s//\1/
   5797 	    q
   5798 	  }
   5799 	  /^X\(\/\).*/{
   5800 	    s//\1/
   5801 	    q
   5802 	  }
   5803 	  s/.*/./; q'`
   5804       test -d "$as_dir" && break
   5805     done
   5806     test -z "$as_dirs" || eval "mkdir $as_dirs"
   5807   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   5808 
   5809 
   5810 } # as_fn_mkdir_p
   5811 if mkdir -p . 2>/dev/null; then
   5812   as_mkdir_p='mkdir -p "$as_dir"'
   5813 else
   5814   test -d ./-p && rmdir ./-p
   5815   as_mkdir_p=false
   5816 fi
   5817 
   5818 if test -x / >/dev/null 2>&1; then
   5819   as_test_x='test -x'
   5820 else
   5821   if ls -dL / >/dev/null 2>&1; then
   5822     as_ls_L_option=L
   5823   else
   5824     as_ls_L_option=
   5825   fi
   5826   as_test_x='
   5827     eval sh -c '\''
   5828       if test -d "$1"; then
   5829 	test -d "$1/.";
   5830       else
   5831 	case $1 in #(
   5832 	-*)set "./$1";;
   5833 	esac;
   5834 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   5835 	???[sx]*):;;*)false;;esac;fi
   5836     '\'' sh
   5837   '
   5838 fi
   5839 as_executable_p=$as_test_x
   5840 
   5841 # Sed expression to map a string onto a valid CPP name.
   5842 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   5843 
   5844 # Sed expression to map a string onto a valid variable name.
   5845 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   5846 
   5847 
   5848 exec 6>&1
   5849 ## ----------------------------------- ##
   5850 ## Main body of $CONFIG_STATUS script. ##
   5851 ## ----------------------------------- ##
   5852 _ASEOF
   5853 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   5854 
   5855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5856 # Save the log message, to keep $0 and so on meaningful, and to
   5857 # report actual input values of CONFIG_FILES etc. instead of their
   5858 # values after options handling.
   5859 ac_log="
   5860 This file was extended by xset $as_me 1.2.2, which was
   5861 generated by GNU Autoconf 2.68.  Invocation command line was
   5862 
   5863   CONFIG_FILES    = $CONFIG_FILES
   5864   CONFIG_HEADERS  = $CONFIG_HEADERS
   5865   CONFIG_LINKS    = $CONFIG_LINKS
   5866   CONFIG_COMMANDS = $CONFIG_COMMANDS
   5867   $ $0 $@
   5868 
   5869 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   5870 "
   5871 
   5872 _ACEOF
   5873 
   5874 case $ac_config_files in *"
   5875 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   5876 esac
   5877 
   5878 case $ac_config_headers in *"
   5879 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   5880 esac
   5881 
   5882 
   5883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   5884 # Files that config.status was made for.
   5885 config_files="$ac_config_files"
   5886 config_headers="$ac_config_headers"
   5887 config_commands="$ac_config_commands"
   5888 
   5889 _ACEOF
   5890 
   5891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5892 ac_cs_usage="\
   5893 \`$as_me' instantiates files and other configuration actions
   5894 from templates according to the current configuration.  Unless the files
   5895 and actions are specified as TAGs, all are instantiated by default.
   5896 
   5897 Usage: $0 [OPTION]... [TAG]...
   5898 
   5899   -h, --help       print this help, then exit
   5900   -V, --version    print version number and configuration settings, then exit
   5901       --config     print configuration, then exit
   5902   -q, --quiet, --silent
   5903                    do not print progress messages
   5904   -d, --debug      don't remove temporary files
   5905       --recheck    update $as_me by reconfiguring in the same conditions
   5906       --file=FILE[:TEMPLATE]
   5907                    instantiate the configuration file FILE
   5908       --header=FILE[:TEMPLATE]
   5909                    instantiate the configuration header FILE
   5910 
   5911 Configuration files:
   5912 $config_files
   5913 
   5914 Configuration headers:
   5915 $config_headers
   5916 
   5917 Configuration commands:
   5918 $config_commands
   5919 
   5920 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   5921 
   5922 _ACEOF
   5923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   5924 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   5925 ac_cs_version="\\
   5926 xset config.status 1.2.2
   5927 configured by $0, generated by GNU Autoconf 2.68,
   5928   with options \\"\$ac_cs_config\\"
   5929 
   5930 Copyright (C) 2010 Free Software Foundation, Inc.
   5931 This config.status script is free software; the Free Software Foundation
   5932 gives unlimited permission to copy, distribute and modify it."
   5933 
   5934 ac_pwd='$ac_pwd'
   5935 srcdir='$srcdir'
   5936 INSTALL='$INSTALL'
   5937 MKDIR_P='$MKDIR_P'
   5938 AWK='$AWK'
   5939 test -n "\$AWK" || AWK=awk
   5940 _ACEOF
   5941 
   5942 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   5943 # The default lists apply if the user does not specify any file.
   5944 ac_need_defaults=:
   5945 while test $# != 0
   5946 do
   5947   case $1 in
   5948   --*=?*)
   5949     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   5950     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   5951     ac_shift=:
   5952     ;;
   5953   --*=)
   5954     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   5955     ac_optarg=
   5956     ac_shift=:
   5957     ;;
   5958   *)
   5959     ac_option=$1
   5960     ac_optarg=$2
   5961     ac_shift=shift
   5962     ;;
   5963   esac
   5964 
   5965   case $ac_option in
   5966   # Handling of the options.
   5967   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   5968     ac_cs_recheck=: ;;
   5969   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   5970     $as_echo "$ac_cs_version"; exit ;;
   5971   --config | --confi | --conf | --con | --co | --c )
   5972     $as_echo "$ac_cs_config"; exit ;;
   5973   --debug | --debu | --deb | --de | --d | -d )
   5974     debug=: ;;
   5975   --file | --fil | --fi | --f )
   5976     $ac_shift
   5977     case $ac_optarg in
   5978     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   5979     '') as_fn_error $? "missing file argument" ;;
   5980     esac
   5981     as_fn_append CONFIG_FILES " '$ac_optarg'"
   5982     ac_need_defaults=false;;
   5983   --header | --heade | --head | --hea )
   5984     $ac_shift
   5985     case $ac_optarg in
   5986     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   5987     esac
   5988     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   5989     ac_need_defaults=false;;
   5990   --he | --h)
   5991     # Conflict between --help and --header
   5992     as_fn_error $? "ambiguous option: \`$1'
   5993 Try \`$0 --help' for more information.";;
   5994   --help | --hel | -h )
   5995     $as_echo "$ac_cs_usage"; exit ;;
   5996   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   5997   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   5998     ac_cs_silent=: ;;
   5999 
   6000   # This is an error.
   6001   -*) as_fn_error $? "unrecognized option: \`$1'
   6002 Try \`$0 --help' for more information." ;;
   6003 
   6004   *) as_fn_append ac_config_targets " $1"
   6005      ac_need_defaults=false ;;
   6006 
   6007   esac
   6008   shift
   6009 done
   6010 
   6011 ac_configure_extra_args=
   6012 
   6013 if $ac_cs_silent; then
   6014   exec 6>/dev/null
   6015   ac_configure_extra_args="$ac_configure_extra_args --silent"
   6016 fi
   6017 
   6018 _ACEOF
   6019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6020 if \$ac_cs_recheck; then
   6021   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   6022   shift
   6023   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   6024   CONFIG_SHELL='$SHELL'
   6025   export CONFIG_SHELL
   6026   exec "\$@"
   6027 fi
   6028 
   6029 _ACEOF
   6030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6031 exec 5>>config.log
   6032 {
   6033   echo
   6034   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   6035 ## Running $as_me. ##
   6036 _ASBOX
   6037   $as_echo "$ac_log"
   6038 } >&5
   6039 
   6040 _ACEOF
   6041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6042 #
   6043 # INIT-COMMANDS
   6044 #
   6045 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   6046 
   6047 _ACEOF
   6048 
   6049 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6050 
   6051 # Handling of arguments.
   6052 for ac_config_target in $ac_config_targets
   6053 do
   6054   case $ac_config_target in
   6055     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   6056     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   6057     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   6058     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   6059 
   6060   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   6061   esac
   6062 done
   6063 
   6064 
   6065 # If the user did not use the arguments to specify the items to instantiate,
   6066 # then the envvar interface is used.  Set only those that are not.
   6067 # We use the long form for the default assignment because of an extremely
   6068 # bizarre bug on SunOS 4.1.3.
   6069 if $ac_need_defaults; then
   6070   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   6071   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   6072   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   6073 fi
   6074 
   6075 # Have a temporary directory for convenience.  Make it in the build tree
   6076 # simply because there is no reason against having it here, and in addition,
   6077 # creating and moving files from /tmp can sometimes cause problems.
   6078 # Hook for its removal unless debugging.
   6079 # Note that there is a small window in which the directory will not be cleaned:
   6080 # after its creation but before its name has been assigned to `$tmp'.
   6081 $debug ||
   6082 {
   6083   tmp= ac_tmp=
   6084   trap 'exit_status=$?
   6085   : "${ac_tmp:=$tmp}"
   6086   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   6087 ' 0
   6088   trap 'as_fn_exit 1' 1 2 13 15
   6089 }
   6090 # Create a (secure) tmp directory for tmp files.
   6091 
   6092 {
   6093   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   6094   test -d "$tmp"
   6095 }  ||
   6096 {
   6097   tmp=./conf$$-$RANDOM
   6098   (umask 077 && mkdir "$tmp")
   6099 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   6100 ac_tmp=$tmp
   6101 
   6102 # Set up the scripts for CONFIG_FILES section.
   6103 # No need to generate them if there are no CONFIG_FILES.
   6104 # This happens for instance with `./config.status config.h'.
   6105 if test -n "$CONFIG_FILES"; then
   6106 
   6107 
   6108 ac_cr=`echo X | tr X '\015'`
   6109 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   6110 # But we know of no other shell where ac_cr would be empty at this
   6111 # point, so we can use a bashism as a fallback.
   6112 if test "x$ac_cr" = x; then
   6113   eval ac_cr=\$\'\\r\'
   6114 fi
   6115 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   6116 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   6117   ac_cs_awk_cr='\\r'
   6118 else
   6119   ac_cs_awk_cr=$ac_cr
   6120 fi
   6121 
   6122 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   6123 _ACEOF
   6124 
   6125 
   6126 {
   6127   echo "cat >conf$$subs.awk <<_ACEOF" &&
   6128   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   6129   echo "_ACEOF"
   6130 } >conf$$subs.sh ||
   6131   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   6132 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   6133 ac_delim='%!_!# '
   6134 for ac_last_try in false false false false false :; do
   6135   . ./conf$$subs.sh ||
   6136     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   6137 
   6138   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   6139   if test $ac_delim_n = $ac_delim_num; then
   6140     break
   6141   elif $ac_last_try; then
   6142     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   6143   else
   6144     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   6145   fi
   6146 done
   6147 rm -f conf$$subs.sh
   6148 
   6149 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6150 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   6151 _ACEOF
   6152 sed -n '
   6153 h
   6154 s/^/S["/; s/!.*/"]=/
   6155 p
   6156 g
   6157 s/^[^!]*!//
   6158 :repl
   6159 t repl
   6160 s/'"$ac_delim"'$//
   6161 t delim
   6162 :nl
   6163 h
   6164 s/\(.\{148\}\)..*/\1/
   6165 t more1
   6166 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   6167 p
   6168 n
   6169 b repl
   6170 :more1
   6171 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   6172 p
   6173 g
   6174 s/.\{148\}//
   6175 t nl
   6176 :delim
   6177 h
   6178 s/\(.\{148\}\)..*/\1/
   6179 t more2
   6180 s/["\\]/\\&/g; s/^/"/; s/$/"/
   6181 p
   6182 b
   6183 :more2
   6184 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   6185 p
   6186 g
   6187 s/.\{148\}//
   6188 t delim
   6189 ' <conf$$subs.awk | sed '
   6190 /^[^""]/{
   6191   N
   6192   s/\n//
   6193 }
   6194 ' >>$CONFIG_STATUS || ac_write_fail=1
   6195 rm -f conf$$subs.awk
   6196 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6197 _ACAWK
   6198 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   6199   for (key in S) S_is_set[key] = 1
   6200   FS = ""
   6201 
   6202 }
   6203 {
   6204   line = $ 0
   6205   nfields = split(line, field, "@")
   6206   substed = 0
   6207   len = length(field[1])
   6208   for (i = 2; i < nfields; i++) {
   6209     key = field[i]
   6210     keylen = length(key)
   6211     if (S_is_set[key]) {
   6212       value = S[key]
   6213       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   6214       len += length(value) + length(field[++i])
   6215       substed = 1
   6216     } else
   6217       len += 1 + keylen
   6218   }
   6219 
   6220   print line
   6221 }
   6222 
   6223 _ACAWK
   6224 _ACEOF
   6225 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6226 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   6227   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   6228 else
   6229   cat
   6230 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   6231   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   6232 _ACEOF
   6233 
   6234 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   6235 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   6236 # trailing colons and then remove the whole line if VPATH becomes empty
   6237 # (actually we leave an empty line to preserve line numbers).
   6238 if test "x$srcdir" = x.; then
   6239   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   6240 h
   6241 s///
   6242 s/^/:/
   6243 s/[	 ]*$/:/
   6244 s/:\$(srcdir):/:/g
   6245 s/:\${srcdir}:/:/g
   6246 s/:@srcdir@:/:/g
   6247 s/^:*//
   6248 s/:*$//
   6249 x
   6250 s/\(=[	 ]*\).*/\1/
   6251 G
   6252 s/\n//
   6253 s/^[^=]*=[	 ]*$//
   6254 }'
   6255 fi
   6256 
   6257 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6258 fi # test -n "$CONFIG_FILES"
   6259 
   6260 # Set up the scripts for CONFIG_HEADERS section.
   6261 # No need to generate them if there are no CONFIG_HEADERS.
   6262 # This happens for instance with `./config.status Makefile'.
   6263 if test -n "$CONFIG_HEADERS"; then
   6264 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   6265 BEGIN {
   6266 _ACEOF
   6267 
   6268 # Transform confdefs.h into an awk script `defines.awk', embedded as
   6269 # here-document in config.status, that substitutes the proper values into
   6270 # config.h.in to produce config.h.
   6271 
   6272 # Create a delimiter string that does not exist in confdefs.h, to ease
   6273 # handling of long lines.
   6274 ac_delim='%!_!# '
   6275 for ac_last_try in false false :; do
   6276   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   6277   if test -z "$ac_tt"; then
   6278     break
   6279   elif $ac_last_try; then
   6280     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   6281   else
   6282     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   6283   fi
   6284 done
   6285 
   6286 # For the awk script, D is an array of macro values keyed by name,
   6287 # likewise P contains macro parameters if any.  Preserve backslash
   6288 # newline sequences.
   6289 
   6290 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   6291 sed -n '
   6292 s/.\{148\}/&'"$ac_delim"'/g
   6293 t rset
   6294 :rset
   6295 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   6296 t def
   6297 d
   6298 :def
   6299 s/\\$//
   6300 t bsnl
   6301 s/["\\]/\\&/g
   6302 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   6303 D["\1"]=" \3"/p
   6304 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   6305 d
   6306 :bsnl
   6307 s/["\\]/\\&/g
   6308 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   6309 D["\1"]=" \3\\\\\\n"\\/p
   6310 t cont
   6311 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   6312 t cont
   6313 d
   6314 :cont
   6315 n
   6316 s/.\{148\}/&'"$ac_delim"'/g
   6317 t clear
   6318 :clear
   6319 s/\\$//
   6320 t bsnlc
   6321 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   6322 d
   6323 :bsnlc
   6324 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   6325 b cont
   6326 ' <confdefs.h | sed '
   6327 s/'"$ac_delim"'/"\\\
   6328 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   6329 
   6330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6331   for (key in D) D_is_set[key] = 1
   6332   FS = ""
   6333 }
   6334 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   6335   line = \$ 0
   6336   split(line, arg, " ")
   6337   if (arg[1] == "#") {
   6338     defundef = arg[2]
   6339     mac1 = arg[3]
   6340   } else {
   6341     defundef = substr(arg[1], 2)
   6342     mac1 = arg[2]
   6343   }
   6344   split(mac1, mac2, "(") #)
   6345   macro = mac2[1]
   6346   prefix = substr(line, 1, index(line, defundef) - 1)
   6347   if (D_is_set[macro]) {
   6348     # Preserve the white space surrounding the "#".
   6349     print prefix "define", macro P[macro] D[macro]
   6350     next
   6351   } else {
   6352     # Replace #undef with comments.  This is necessary, for example,
   6353     # in the case of _POSIX_SOURCE, which is predefined and required
   6354     # on some systems where configure will not decide to define it.
   6355     if (defundef == "undef") {
   6356       print "/*", prefix defundef, macro, "*/"
   6357       next
   6358     }
   6359   }
   6360 }
   6361 { print }
   6362 _ACAWK
   6363 _ACEOF
   6364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6365   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   6366 fi # test -n "$CONFIG_HEADERS"
   6367 
   6368 
   6369 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   6370 shift
   6371 for ac_tag
   6372 do
   6373   case $ac_tag in
   6374   :[FHLC]) ac_mode=$ac_tag; continue;;
   6375   esac
   6376   case $ac_mode$ac_tag in
   6377   :[FHL]*:*);;
   6378   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   6379   :[FH]-) ac_tag=-:-;;
   6380   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   6381   esac
   6382   ac_save_IFS=$IFS
   6383   IFS=:
   6384   set x $ac_tag
   6385   IFS=$ac_save_IFS
   6386   shift
   6387   ac_file=$1
   6388   shift
   6389 
   6390   case $ac_mode in
   6391   :L) ac_source=$1;;
   6392   :[FH])
   6393     ac_file_inputs=
   6394     for ac_f
   6395     do
   6396       case $ac_f in
   6397       -) ac_f="$ac_tmp/stdin";;
   6398       *) # Look for the file first in the build tree, then in the source tree
   6399 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   6400 	 # because $ac_f cannot contain `:'.
   6401 	 test -f "$ac_f" ||
   6402 	   case $ac_f in
   6403 	   [\\/$]*) false;;
   6404 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   6405 	   esac ||
   6406 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   6407       esac
   6408       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   6409       as_fn_append ac_file_inputs " '$ac_f'"
   6410     done
   6411 
   6412     # Let's still pretend it is `configure' which instantiates (i.e., don't
   6413     # use $as_me), people would be surprised to read:
   6414     #    /* config.h.  Generated by config.status.  */
   6415     configure_input='Generated from '`
   6416 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   6417 	`' by configure.'
   6418     if test x"$ac_file" != x-; then
   6419       configure_input="$ac_file.  $configure_input"
   6420       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   6421 $as_echo "$as_me: creating $ac_file" >&6;}
   6422     fi
   6423     # Neutralize special characters interpreted by sed in replacement strings.
   6424     case $configure_input in #(
   6425     *\&* | *\|* | *\\* )
   6426        ac_sed_conf_input=`$as_echo "$configure_input" |
   6427        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   6428     *) ac_sed_conf_input=$configure_input;;
   6429     esac
   6430 
   6431     case $ac_tag in
   6432     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   6433       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   6434     esac
   6435     ;;
   6436   esac
   6437 
   6438   ac_dir=`$as_dirname -- "$ac_file" ||
   6439 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   6440 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   6441 	 X"$ac_file" : 'X\(//\)$' \| \
   6442 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   6443 $as_echo X"$ac_file" |
   6444     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   6445 	    s//\1/
   6446 	    q
   6447 	  }
   6448 	  /^X\(\/\/\)[^/].*/{
   6449 	    s//\1/
   6450 	    q
   6451 	  }
   6452 	  /^X\(\/\/\)$/{
   6453 	    s//\1/
   6454 	    q
   6455 	  }
   6456 	  /^X\(\/\).*/{
   6457 	    s//\1/
   6458 	    q
   6459 	  }
   6460 	  s/.*/./; q'`
   6461   as_dir="$ac_dir"; as_fn_mkdir_p
   6462   ac_builddir=.
   6463 
   6464 case "$ac_dir" in
   6465 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   6466 *)
   6467   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   6468   # A ".." for each directory in $ac_dir_suffix.
   6469   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   6470   case $ac_top_builddir_sub in
   6471   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   6472   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   6473   esac ;;
   6474 esac
   6475 ac_abs_top_builddir=$ac_pwd
   6476 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   6477 # for backward compatibility:
   6478 ac_top_builddir=$ac_top_build_prefix
   6479 
   6480 case $srcdir in
   6481   .)  # We are building in place.
   6482     ac_srcdir=.
   6483     ac_top_srcdir=$ac_top_builddir_sub
   6484     ac_abs_top_srcdir=$ac_pwd ;;
   6485   [\\/]* | ?:[\\/]* )  # Absolute name.
   6486     ac_srcdir=$srcdir$ac_dir_suffix;
   6487     ac_top_srcdir=$srcdir
   6488     ac_abs_top_srcdir=$srcdir ;;
   6489   *) # Relative name.
   6490     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   6491     ac_top_srcdir=$ac_top_build_prefix$srcdir
   6492     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   6493 esac
   6494 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   6495 
   6496 
   6497   case $ac_mode in
   6498   :F)
   6499   #
   6500   # CONFIG_FILE
   6501   #
   6502 
   6503   case $INSTALL in
   6504   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   6505   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   6506   esac
   6507   ac_MKDIR_P=$MKDIR_P
   6508   case $MKDIR_P in
   6509   [\\/$]* | ?:[\\/]* ) ;;
   6510   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   6511   esac
   6512 _ACEOF
   6513 
   6514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6515 # If the template does not know about datarootdir, expand it.
   6516 # FIXME: This hack should be removed a few years after 2.60.
   6517 ac_datarootdir_hack=; ac_datarootdir_seen=
   6518 ac_sed_dataroot='
   6519 /datarootdir/ {
   6520   p
   6521   q
   6522 }
   6523 /@datadir@/p
   6524 /@docdir@/p
   6525 /@infodir@/p
   6526 /@localedir@/p
   6527 /@mandir@/p'
   6528 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   6529 *datarootdir*) ac_datarootdir_seen=yes;;
   6530 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   6531   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   6532 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   6533 _ACEOF
   6534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6535   ac_datarootdir_hack='
   6536   s&@datadir@&$datadir&g
   6537   s&@docdir@&$docdir&g
   6538   s&@infodir@&$infodir&g
   6539   s&@localedir@&$localedir&g
   6540   s&@mandir@&$mandir&g
   6541   s&\\\${datarootdir}&$datarootdir&g' ;;
   6542 esac
   6543 _ACEOF
   6544 
   6545 # Neutralize VPATH when `$srcdir' = `.'.
   6546 # Shell code in configure.ac might set extrasub.
   6547 # FIXME: do we really want to maintain this feature?
   6548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   6549 ac_sed_extra="$ac_vpsub
   6550 $extrasub
   6551 _ACEOF
   6552 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   6553 :t
   6554 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   6555 s|@configure_input@|$ac_sed_conf_input|;t t
   6556 s&@top_builddir@&$ac_top_builddir_sub&;t t
   6557 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   6558 s&@srcdir@&$ac_srcdir&;t t
   6559 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   6560 s&@top_srcdir@&$ac_top_srcdir&;t t
   6561 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   6562 s&@builddir@&$ac_builddir&;t t
   6563 s&@abs_builddir@&$ac_abs_builddir&;t t
   6564 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   6565 s&@INSTALL@&$ac_INSTALL&;t t
   6566 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   6567 $ac_datarootdir_hack
   6568 "
   6569 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   6570   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   6571 
   6572 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   6573   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   6574   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   6575       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   6576   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   6577 which seems to be undefined.  Please make sure it is defined" >&5
   6578 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   6579 which seems to be undefined.  Please make sure it is defined" >&2;}
   6580 
   6581   rm -f "$ac_tmp/stdin"
   6582   case $ac_file in
   6583   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   6584   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   6585   esac \
   6586   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   6587  ;;
   6588   :H)
   6589   #
   6590   # CONFIG_HEADER
   6591   #
   6592   if test x"$ac_file" != x-; then
   6593     {
   6594       $as_echo "/* $configure_input  */" \
   6595       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   6596     } >"$ac_tmp/config.h" \
   6597       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   6598     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   6599       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   6600 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   6601     else
   6602       rm -f "$ac_file"
   6603       mv "$ac_tmp/config.h" "$ac_file" \
   6604 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   6605     fi
   6606   else
   6607     $as_echo "/* $configure_input  */" \
   6608       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   6609       || as_fn_error $? "could not create -" "$LINENO" 5
   6610   fi
   6611 # Compute "$ac_file"'s index in $config_headers.
   6612 _am_arg="$ac_file"
   6613 _am_stamp_count=1
   6614 for _am_header in $config_headers :; do
   6615   case $_am_header in
   6616     $_am_arg | $_am_arg:* )
   6617       break ;;
   6618     * )
   6619       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   6620   esac
   6621 done
   6622 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   6623 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   6624 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   6625 	 X"$_am_arg" : 'X\(//\)$' \| \
   6626 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   6627 $as_echo X"$_am_arg" |
   6628     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   6629 	    s//\1/
   6630 	    q
   6631 	  }
   6632 	  /^X\(\/\/\)[^/].*/{
   6633 	    s//\1/
   6634 	    q
   6635 	  }
   6636 	  /^X\(\/\/\)$/{
   6637 	    s//\1/
   6638 	    q
   6639 	  }
   6640 	  /^X\(\/\).*/{
   6641 	    s//\1/
   6642 	    q
   6643 	  }
   6644 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   6645  ;;
   6646 
   6647   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   6648 $as_echo "$as_me: executing $ac_file commands" >&6;}
   6649  ;;
   6650   esac
   6651 
   6652 
   6653   case $ac_file$ac_mode in
   6654     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   6655   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   6656   # are listed without --file.  Let's play safe and only enable the eval
   6657   # if we detect the quoting.
   6658   case $CONFIG_FILES in
   6659   *\'*) eval set x "$CONFIG_FILES" ;;
   6660   *)   set x $CONFIG_FILES ;;
   6661   esac
   6662   shift
   6663   for mf
   6664   do
   6665     # Strip MF so we end up with the name of the file.
   6666     mf=`echo "$mf" | sed -e 's/:.*$//'`
   6667     # Check whether this is an Automake generated Makefile or not.
   6668     # We used to match only the files named `Makefile.in', but
   6669     # some people rename them; so instead we look at the file content.
   6670     # Grep'ing the first line is not enough: some people post-process
   6671     # each Makefile.in and add a new line on top of each file to say so.
   6672     # Grep'ing the whole file is not good either: AIX grep has a line
   6673     # limit of 2048, but all sed's we know have understand at least 4000.
   6674     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   6675       dirpart=`$as_dirname -- "$mf" ||
   6676 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   6677 	 X"$mf" : 'X\(//\)[^/]' \| \
   6678 	 X"$mf" : 'X\(//\)$' \| \
   6679 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   6680 $as_echo X"$mf" |
   6681     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   6682 	    s//\1/
   6683 	    q
   6684 	  }
   6685 	  /^X\(\/\/\)[^/].*/{
   6686 	    s//\1/
   6687 	    q
   6688 	  }
   6689 	  /^X\(\/\/\)$/{
   6690 	    s//\1/
   6691 	    q
   6692 	  }
   6693 	  /^X\(\/\).*/{
   6694 	    s//\1/
   6695 	    q
   6696 	  }
   6697 	  s/.*/./; q'`
   6698     else
   6699       continue
   6700     fi
   6701     # Extract the definition of DEPDIR, am__include, and am__quote
   6702     # from the Makefile without running `make'.
   6703     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   6704     test -z "$DEPDIR" && continue
   6705     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   6706     test -z "am__include" && continue
   6707     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   6708     # When using ansi2knr, U may be empty or an underscore; expand it
   6709     U=`sed -n 's/^U = //p' < "$mf"`
   6710     # Find all dependency output files, they are included files with
   6711     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   6712     # simplest approach to changing $(DEPDIR) to its actual value in the
   6713     # expansion.
   6714     for file in `sed -n "
   6715       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   6716 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   6717       # Make sure the directory exists.
   6718       test -f "$dirpart/$file" && continue
   6719       fdir=`$as_dirname -- "$file" ||
   6720 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   6721 	 X"$file" : 'X\(//\)[^/]' \| \
   6722 	 X"$file" : 'X\(//\)$' \| \
   6723 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   6724 $as_echo X"$file" |
   6725     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   6726 	    s//\1/
   6727 	    q
   6728 	  }
   6729 	  /^X\(\/\/\)[^/].*/{
   6730 	    s//\1/
   6731 	    q
   6732 	  }
   6733 	  /^X\(\/\/\)$/{
   6734 	    s//\1/
   6735 	    q
   6736 	  }
   6737 	  /^X\(\/\).*/{
   6738 	    s//\1/
   6739 	    q
   6740 	  }
   6741 	  s/.*/./; q'`
   6742       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   6743       # echo "creating $dirpart/$file"
   6744       echo '# dummy' > "$dirpart/$file"
   6745     done
   6746   done
   6747 }
   6748  ;;
   6749 
   6750   esac
   6751 done # for ac_tag
   6752 
   6753 
   6754 as_fn_exit 0
   6755 _ACEOF
   6756 ac_clean_files=$ac_clean_files_save
   6757 
   6758 test $ac_write_fail = 0 ||
   6759   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   6760 
   6761 
   6762 # configure is writing to config.log, and then calls config.status.
   6763 # config.status does its own redirection, appending to config.log.
   6764 # Unfortunately, on DOS this fails, as config.log is still kept open
   6765 # by configure, so config.status won't be able to write to it; its
   6766 # output is simply discarded.  So we exec the FD to /dev/null,
   6767 # effectively closing config.log, so it can be properly (re)opened and
   6768 # appended to by config.status.  When coming back to configure, we
   6769 # need to make the FD available again.
   6770 if test "$no_create" != yes; then
   6771   ac_cs_success=:
   6772   ac_config_status_args=
   6773   test "$silent" = yes &&
   6774     ac_config_status_args="$ac_config_status_args --quiet"
   6775   exec 5>/dev/null
   6776   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   6777   exec 5>>config.log
   6778   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   6779   # would make configure fail if this is the last instruction.
   6780   $ac_cs_success || as_fn_exit 1
   6781 fi
   6782 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   6783   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   6784 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   6785 fi
   6786 
   6787