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