Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/bensch/autom4te.cache/output.0 @ 1819

Last change on this file since 1819 was 1814, checked in by bensch, 21 years ago

orxonox/brnaches/bensch: added autoproject configuration

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