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