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