source: trunk/third/vte/gnome-pty-helper/configure @ 20887

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