Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/branches/bensch/autom4te.cache/output.3 @ 1822

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

orxonox/brnaches/bensch: added autoproject configuration

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