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