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