source: abnfparser/bap/configure @ 419

Last change on this file since 419 was 407, checked in by ylafon@…, 14 years ago

unixism

File size: 101.8 KB
Line 
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for bap 1.2.
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='bap'
269PACKAGE_TARNAME='bap'
270PACKAGE_VERSION='1.2'
271PACKAGE_STRING='bap 1.2'
272PACKAGE_BUGREPORT=''
273
274ac_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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT YACC LIBOBJS LTLIBOBJS'
275ac_subst_files=''
276
277# Initialize some variables set by options.
278ac_init_help=
279ac_init_version=false
280# The variables have the same names as the options, with
281# dashes changed to underlines.
282cache_file=/dev/null
283exec_prefix=NONE
284no_create=
285no_recursion=
286prefix=NONE
287program_prefix=NONE
288program_suffix=NONE
289program_transform_name=s,x,x,
290silent=
291site=
292srcdir=
293verbose=
294x_includes=NONE
295x_libraries=NONE
296
297# Installation directory options.
298# These are left unexpanded so users can "make install exec_prefix=/foo"
299# and all the variables that are supposed to be based on exec_prefix
300# by default will actually change.
301# Use braces instead of parens because sh, perl, etc. also accept them.
302bindir='${exec_prefix}/bin'
303sbindir='${exec_prefix}/sbin'
304libexecdir='${exec_prefix}/libexec'
305datadir='${prefix}/share'
306sysconfdir='${prefix}/etc'
307sharedstatedir='${prefix}/com'
308localstatedir='${prefix}/var'
309libdir='${exec_prefix}/lib'
310includedir='${prefix}/include'
311oldincludedir='/usr/include'
312infodir='${prefix}/info'
313mandir='${prefix}/man'
314
315ac_prev=
316for ac_option
317do
318  # If the previous option needs an argument, assign it.
319  if test -n "$ac_prev"; then
320    eval "$ac_prev=\$ac_option"
321    ac_prev=
322    continue
323  fi
324
325  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
326
327  # Accept the important Cygnus configure options, so we can diagnose typos.
328
329  case $ac_option in
330
331  -bindir | --bindir | --bindi | --bind | --bin | --bi)
332    ac_prev=bindir ;;
333  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
334    bindir=$ac_optarg ;;
335
336  -build | --build | --buil | --bui | --bu)
337    ac_prev=build_alias ;;
338  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
339    build_alias=$ac_optarg ;;
340
341  -cache-file | --cache-file | --cache-fil | --cache-fi \
342  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
343    ac_prev=cache_file ;;
344  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
345  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
346    cache_file=$ac_optarg ;;
347
348  --config-cache | -C)
349    cache_file=config.cache ;;
350
351  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
352    ac_prev=datadir ;;
353  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
354  | --da=*)
355    datadir=$ac_optarg ;;
356
357  -disable-* | --disable-*)
358    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
359    # Reject names that are not valid shell variable names.
360    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
361      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
362   { (exit 1); exit 1; }; }
363    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
364    eval "enable_$ac_feature=no" ;;
365
366  -enable-* | --enable-*)
367    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
368    # Reject names that are not valid shell variable names.
369    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
370      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
371   { (exit 1); exit 1; }; }
372    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
373    case $ac_option in
374      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
375      *) ac_optarg=yes ;;
376    esac
377    eval "enable_$ac_feature='$ac_optarg'" ;;
378
379  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
380  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
381  | --exec | --exe | --ex)
382    ac_prev=exec_prefix ;;
383  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
384  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
385  | --exec=* | --exe=* | --ex=*)
386    exec_prefix=$ac_optarg ;;
387
388  -gas | --gas | --ga | --g)
389    # Obsolete; use --with-gas.
390    with_gas=yes ;;
391
392  -help | --help | --hel | --he | -h)
393    ac_init_help=long ;;
394  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
395    ac_init_help=recursive ;;
396  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
397    ac_init_help=short ;;
398
399  -host | --host | --hos | --ho)
400    ac_prev=host_alias ;;
401  -host=* | --host=* | --hos=* | --ho=*)
402    host_alias=$ac_optarg ;;
403
404  -includedir | --includedir | --includedi | --included | --include \
405  | --includ | --inclu | --incl | --inc)
406    ac_prev=includedir ;;
407  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
408  | --includ=* | --inclu=* | --incl=* | --inc=*)
409    includedir=$ac_optarg ;;
410
411  -infodir | --infodir | --infodi | --infod | --info | --inf)
412    ac_prev=infodir ;;
413  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
414    infodir=$ac_optarg ;;
415
416  -libdir | --libdir | --libdi | --libd)
417    ac_prev=libdir ;;
418  -libdir=* | --libdir=* | --libdi=* | --libd=*)
419    libdir=$ac_optarg ;;
420
421  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
422  | --libexe | --libex | --libe)
423    ac_prev=libexecdir ;;
424  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
425  | --libexe=* | --libex=* | --libe=*)
426    libexecdir=$ac_optarg ;;
427
428  -localstatedir | --localstatedir | --localstatedi | --localstated \
429  | --localstate | --localstat | --localsta | --localst \
430  | --locals | --local | --loca | --loc | --lo)
431    ac_prev=localstatedir ;;
432  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
433  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
434  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
435    localstatedir=$ac_optarg ;;
436
437  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
438    ac_prev=mandir ;;
439  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
440    mandir=$ac_optarg ;;
441
442  -nfp | --nfp | --nf)
443    # Obsolete; use --without-fp.
444    with_fp=no ;;
445
446  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447  | --no-cr | --no-c | -n)
448    no_create=yes ;;
449
450  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
451  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
452    no_recursion=yes ;;
453
454  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
455  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
456  | --oldin | --oldi | --old | --ol | --o)
457    ac_prev=oldincludedir ;;
458  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
459  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
460  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
461    oldincludedir=$ac_optarg ;;
462
463  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
464    ac_prev=prefix ;;
465  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
466    prefix=$ac_optarg ;;
467
468  -program-prefix | --program-prefix | --program-prefi | --program-pref \
469  | --program-pre | --program-pr | --program-p)
470    ac_prev=program_prefix ;;
471  -program-prefix=* | --program-prefix=* | --program-prefi=* \
472  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
473    program_prefix=$ac_optarg ;;
474
475  -program-suffix | --program-suffix | --program-suffi | --program-suff \
476  | --program-suf | --program-su | --program-s)
477    ac_prev=program_suffix ;;
478  -program-suffix=* | --program-suffix=* | --program-suffi=* \
479  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
480    program_suffix=$ac_optarg ;;
481
482  -program-transform-name | --program-transform-name \
483  | --program-transform-nam | --program-transform-na \
484  | --program-transform-n | --program-transform- \
485  | --program-transform | --program-transfor \
486  | --program-transfo | --program-transf \
487  | --program-trans | --program-tran \
488  | --progr-tra | --program-tr | --program-t)
489    ac_prev=program_transform_name ;;
490  -program-transform-name=* | --program-transform-name=* \
491  | --program-transform-nam=* | --program-transform-na=* \
492  | --program-transform-n=* | --program-transform-=* \
493  | --program-transform=* | --program-transfor=* \
494  | --program-transfo=* | --program-transf=* \
495  | --program-trans=* | --program-tran=* \
496  | --progr-tra=* | --program-tr=* | --program-t=*)
497    program_transform_name=$ac_optarg ;;
498
499  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
500  | -silent | --silent | --silen | --sile | --sil)
501    silent=yes ;;
502
503  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
504    ac_prev=sbindir ;;
505  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
506  | --sbi=* | --sb=*)
507    sbindir=$ac_optarg ;;
508
509  -sharedstatedir | --sharedstatedir | --sharedstatedi \
510  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
511  | --sharedst | --shareds | --shared | --share | --shar \
512  | --sha | --sh)
513    ac_prev=sharedstatedir ;;
514  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
515  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
516  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
517  | --sha=* | --sh=*)
518    sharedstatedir=$ac_optarg ;;
519
520  -site | --site | --sit)
521    ac_prev=site ;;
522  -site=* | --site=* | --sit=*)
523    site=$ac_optarg ;;
524
525  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
526    ac_prev=srcdir ;;
527  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
528    srcdir=$ac_optarg ;;
529
530  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
531  | --syscon | --sysco | --sysc | --sys | --sy)
532    ac_prev=sysconfdir ;;
533  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
534  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
535    sysconfdir=$ac_optarg ;;
536
537  -target | --target | --targe | --targ | --tar | --ta | --t)
538    ac_prev=target_alias ;;
539  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
540    target_alias=$ac_optarg ;;
541
542  -v | -verbose | --verbose | --verbos | --verbo | --verb)
543    verbose=yes ;;
544
545  -version | --version | --versio | --versi | --vers | -V)
546    ac_init_version=: ;;
547
548  -with-* | --with-*)
549    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
550    # Reject names that are not valid shell variable names.
551    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
552      { echo "$as_me: error: invalid package name: $ac_package" >&2
553   { (exit 1); exit 1; }; }
554    ac_package=`echo $ac_package| sed 's/-/_/g'`
555    case $ac_option in
556      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
557      *) ac_optarg=yes ;;
558    esac
559    eval "with_$ac_package='$ac_optarg'" ;;
560
561  -without-* | --without-*)
562    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
563    # Reject names that are not valid shell variable names.
564    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
565      { echo "$as_me: error: invalid package name: $ac_package" >&2
566   { (exit 1); exit 1; }; }
567    ac_package=`echo $ac_package | sed 's/-/_/g'`
568    eval "with_$ac_package=no" ;;
569
570  --x)
571    # Obsolete; use --with-x.
572    with_x=yes ;;
573
574  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
575  | --x-incl | --x-inc | --x-in | --x-i)
576    ac_prev=x_includes ;;
577  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
578  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
579    x_includes=$ac_optarg ;;
580
581  -x-libraries | --x-libraries | --x-librarie | --x-librari \
582  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
583    ac_prev=x_libraries ;;
584  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
585  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
586    x_libraries=$ac_optarg ;;
587
588  -*) { echo "$as_me: error: unrecognized option: $ac_option
589Try \`$0 --help' for more information." >&2
590   { (exit 1); exit 1; }; }
591    ;;
592
593  *=*)
594    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
595    # Reject names that are not valid shell variable names.
596    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
597      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
598   { (exit 1); exit 1; }; }
599    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
600    eval "$ac_envvar='$ac_optarg'"
601    export $ac_envvar ;;
602
603  *)
604    # FIXME: should be removed in autoconf 3.0.
605    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
606    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
607      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
608    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
609    ;;
610
611  esac
612done
613
614if test -n "$ac_prev"; then
615  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
616  { echo "$as_me: error: missing argument to $ac_option" >&2
617   { (exit 1); exit 1; }; }
618fi
619
620# Be sure to have absolute paths.
621for ac_var in exec_prefix prefix
622do
623  eval ac_val=$`echo $ac_var`
624  case $ac_val in
625    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
626    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
627   { (exit 1); exit 1; }; };;
628  esac
629done
630
631# Be sure to have absolute paths.
632for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
633              localstatedir libdir includedir oldincludedir infodir mandir
634do
635  eval ac_val=$`echo $ac_var`
636  case $ac_val in
637    [\\/$]* | ?:[\\/]* ) ;;
638    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
639   { (exit 1); exit 1; }; };;
640  esac
641done
642
643# There might be people who depend on the old broken behavior: `$host'
644# used to hold the argument of --host etc.
645# FIXME: To remove some day.
646build=$build_alias
647host=$host_alias
648target=$target_alias
649
650# FIXME: To remove some day.
651if test "x$host_alias" != x; then
652  if test "x$build_alias" = x; then
653    cross_compiling=maybe
654    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
655    If a cross compiler is detected then cross compile mode will be used." >&2
656  elif test "x$build_alias" != "x$host_alias"; then
657    cross_compiling=yes
658  fi
659fi
660
661ac_tool_prefix=
662test -n "$host_alias" && ac_tool_prefix=$host_alias-
663
664test "$silent" = yes && exec 6>/dev/null
665
666
667# Find the source files, if location was not specified.
668if test -z "$srcdir"; then
669  ac_srcdir_defaulted=yes
670  # Try the directory containing this script, then its parent.
671  ac_confdir=`(dirname "$0") 2>/dev/null ||
672$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
673         X"$0" : 'X\(//\)[^/]' \| \
674         X"$0" : 'X\(//\)$' \| \
675         X"$0" : 'X\(/\)' \| \
676         .     : '\(.\)' 2>/dev/null ||
677echo X"$0" |
678    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
679          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
680          /^X\(\/\/\)$/{ s//\1/; q; }
681          /^X\(\/\).*/{ s//\1/; q; }
682          s/.*/./; q'`
683  srcdir=$ac_confdir
684  if test ! -r $srcdir/$ac_unique_file; then
685    srcdir=..
686  fi
687else
688  ac_srcdir_defaulted=no
689fi
690if test ! -r $srcdir/$ac_unique_file; then
691  if test "$ac_srcdir_defaulted" = yes; then
692    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
693   { (exit 1); exit 1; }; }
694  else
695    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
696   { (exit 1); exit 1; }; }
697  fi
698fi
699(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
700  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
701   { (exit 1); exit 1; }; }
702srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
703ac_env_build_alias_set=${build_alias+set}
704ac_env_build_alias_value=$build_alias
705ac_cv_env_build_alias_set=${build_alias+set}
706ac_cv_env_build_alias_value=$build_alias
707ac_env_host_alias_set=${host_alias+set}
708ac_env_host_alias_value=$host_alias
709ac_cv_env_host_alias_set=${host_alias+set}
710ac_cv_env_host_alias_value=$host_alias
711ac_env_target_alias_set=${target_alias+set}
712ac_env_target_alias_value=$target_alias
713ac_cv_env_target_alias_set=${target_alias+set}
714ac_cv_env_target_alias_value=$target_alias
715ac_env_CC_set=${CC+set}
716ac_env_CC_value=$CC
717ac_cv_env_CC_set=${CC+set}
718ac_cv_env_CC_value=$CC
719ac_env_CFLAGS_set=${CFLAGS+set}
720ac_env_CFLAGS_value=$CFLAGS
721ac_cv_env_CFLAGS_set=${CFLAGS+set}
722ac_cv_env_CFLAGS_value=$CFLAGS
723ac_env_LDFLAGS_set=${LDFLAGS+set}
724ac_env_LDFLAGS_value=$LDFLAGS
725ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
726ac_cv_env_LDFLAGS_value=$LDFLAGS
727ac_env_CPPFLAGS_set=${CPPFLAGS+set}
728ac_env_CPPFLAGS_value=$CPPFLAGS
729ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
730ac_cv_env_CPPFLAGS_value=$CPPFLAGS
731
732#
733# Report the --help message.
734#
735if test "$ac_init_help" = "long"; then
736  # Omit some internal or obsolete options to make the list less imposing.
737  # This message is too long to be a string in the A/UX 3.1 sh.
738  cat <<_ACEOF
739\`configure' configures bap 1.2 to adapt to many kinds of systems.
740
741Usage: $0 [OPTION]... [VAR=VALUE]...
742
743To assign environment variables (e.g., CC, CFLAGS...), specify them as
744VAR=VALUE.  See below for descriptions of some of the useful variables.
745
746Defaults for the options are specified in brackets.
747
748Configuration:
749  -h, --help              display this help and exit
750      --help=short        display options specific to this package
751      --help=recursive    display the short help of all the included packages
752  -V, --version           display version information and exit
753  -q, --quiet, --silent   do not print \`checking...' messages
754      --cache-file=FILE   cache test results in FILE [disabled]
755  -C, --config-cache      alias for \`--cache-file=config.cache'
756  -n, --no-create         do not create output files
757      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
758
759_ACEOF
760
761  cat <<_ACEOF
762Installation directories:
763  --prefix=PREFIX         install architecture-independent files in PREFIX
764                          [$ac_default_prefix]
765  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
766                          [PREFIX]
767
768By default, \`make install' will install all the files in
769\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
770an installation prefix other than \`$ac_default_prefix' using \`--prefix',
771for instance \`--prefix=\$HOME'.
772
773For better control, use the options below.
774
775Fine tuning of the installation directories:
776  --bindir=DIR           user executables [EPREFIX/bin]
777  --sbindir=DIR          system admin executables [EPREFIX/sbin]
778  --libexecdir=DIR       program executables [EPREFIX/libexec]
779  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
780  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
781  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
782  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
783  --libdir=DIR           object code libraries [EPREFIX/lib]
784  --includedir=DIR       C header files [PREFIX/include]
785  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
786  --infodir=DIR          info documentation [PREFIX/info]
787  --mandir=DIR           man documentation [PREFIX/man]
788_ACEOF
789
790  cat <<\_ACEOF
791_ACEOF
792fi
793
794if test -n "$ac_init_help"; then
795  case $ac_init_help in
796     short | recursive ) echo "Configuration of bap 1.2:";;
797   esac
798  cat <<\_ACEOF
799
800Some influential environment variables:
801  CC          C compiler command
802  CFLAGS      C compiler flags
803  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
804              nonstandard directory <lib dir>
805  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
806              headers in a nonstandard directory <include dir>
807
808Use these variables to override the choices made by `configure' or to help
809it to find libraries and programs with nonstandard names/locations.
810
811_ACEOF
812fi
813
814if test "$ac_init_help" = "recursive"; then
815  # If there are subdirs, report their specific --help.
816  ac_popdir=`pwd`
817  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
818    test -d $ac_dir || continue
819    ac_builddir=.
820
821if test "$ac_dir" != .; then
822  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
823  # A "../" for each directory in $ac_dir_suffix.
824  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
825else
826  ac_dir_suffix= ac_top_builddir=
827fi
828
829case $srcdir in
830  .)  # No --srcdir option.  We are building in place.
831    ac_srcdir=.
832    if test -z "$ac_top_builddir"; then
833       ac_top_srcdir=.
834    else
835       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
836    fi ;;
837  [\\/]* | ?:[\\/]* )  # Absolute path.
838    ac_srcdir=$srcdir$ac_dir_suffix;
839    ac_top_srcdir=$srcdir ;;
840  *) # Relative path.
841    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
842    ac_top_srcdir=$ac_top_builddir$srcdir ;;
843esac
844
845# Do not use `cd foo && pwd` to compute absolute paths, because
846# the directories may not exist.
847case `pwd` in
848.) ac_abs_builddir="$ac_dir";;
849*)
850  case "$ac_dir" in
851  .) ac_abs_builddir=`pwd`;;
852  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
853  *) ac_abs_builddir=`pwd`/"$ac_dir";;
854  esac;;
855esac
856case $ac_abs_builddir in
857.) ac_abs_top_builddir=${ac_top_builddir}.;;
858*)
859  case ${ac_top_builddir}. in
860  .) ac_abs_top_builddir=$ac_abs_builddir;;
861  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
862  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
863  esac;;
864esac
865case $ac_abs_builddir in
866.) ac_abs_srcdir=$ac_srcdir;;
867*)
868  case $ac_srcdir in
869  .) ac_abs_srcdir=$ac_abs_builddir;;
870  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
871  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
872  esac;;
873esac
874case $ac_abs_builddir in
875.) ac_abs_top_srcdir=$ac_top_srcdir;;
876*)
877  case $ac_top_srcdir in
878  .) ac_abs_top_srcdir=$ac_abs_builddir;;
879  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
880  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
881  esac;;
882esac
883
884    cd $ac_dir
885    # Check for guested configure; otherwise get Cygnus style configure.
886    if test -f $ac_srcdir/configure.gnu; then
887      echo
888      $SHELL $ac_srcdir/configure.gnu  --help=recursive
889    elif test -f $ac_srcdir/configure; then
890      echo
891      $SHELL $ac_srcdir/configure  --help=recursive
892    elif test -f $ac_srcdir/configure.ac ||
893           test -f $ac_srcdir/configure.in; then
894      echo
895      $ac_configure --help
896    else
897      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
898    fi
899    cd $ac_popdir
900  done
901fi
902
903test -n "$ac_init_help" && exit 0
904if $ac_init_version; then
905  cat <<\_ACEOF
906bap configure 1.2
907generated by GNU Autoconf 2.59
908
909Copyright (C) 2003 Free Software Foundation, Inc.
910This configure script is free software; the Free Software Foundation
911gives unlimited permission to copy, distribute and modify it.
912_ACEOF
913  exit 0
914fi
915exec 5>config.log
916cat >&5 <<_ACEOF
917This file contains any messages produced by compilers while
918running configure, to aid debugging if configure makes a mistake.
919
920It was created by bap $as_me 1.2, which was
921generated by GNU Autoconf 2.59.  Invocation command line was
922
923  $ $0 $@
924
925_ACEOF
926{
927cat <<_ASUNAME
928## --------- ##
929## Platform. ##
930## --------- ##
931
932hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
933uname -m = `(uname -m) 2>/dev/null || echo unknown`
934uname -r = `(uname -r) 2>/dev/null || echo unknown`
935uname -s = `(uname -s) 2>/dev/null || echo unknown`
936uname -v = `(uname -v) 2>/dev/null || echo unknown`
937
938/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
939/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
940
941/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
942/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
943/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
944hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
945/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
946/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
947/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
948
949_ASUNAME
950
951as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
952for as_dir in $PATH
953do
954  IFS=$as_save_IFS
955  test -z "$as_dir" && as_dir=.
956  echo "PATH: $as_dir"
957done
958
959} >&5
960
961cat >&5 <<_ACEOF
962
963
964## ----------- ##
965## Core tests. ##
966## ----------- ##
967
968_ACEOF
969
970
971# Keep a trace of the command line.
972# Strip out --no-create and --no-recursion so they do not pile up.
973# Strip out --silent because we don't want to record it for future runs.
974# Also quote any args containing shell meta-characters.
975# Make two passes to allow for proper duplicate-argument suppression.
976ac_configure_args=
977ac_configure_args0=
978ac_configure_args1=
979ac_sep=
980ac_must_keep_next=false
981for ac_pass in 1 2
982do
983  for ac_arg
984  do
985    case $ac_arg in
986    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
987    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
988    | -silent | --silent | --silen | --sile | --sil)
989      continue ;;
990    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
991      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
992    esac
993    case $ac_pass in
994    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
995    2)
996      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
997      if test $ac_must_keep_next = true; then
998        ac_must_keep_next=false # Got value, back to normal.
999      else
1000        case $ac_arg in
1001          *=* | --config-cache | -C | -disable-* | --disable-* \
1002          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1003          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1004          | -with-* | --with-* | -without-* | --without-* | --x)
1005            case "$ac_configure_args0 " in
1006              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1007            esac
1008            ;;
1009          -* ) ac_must_keep_next=true ;;
1010        esac
1011      fi
1012      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1013      # Get rid of the leading space.
1014      ac_sep=" "
1015      ;;
1016    esac
1017  done
1018done
1019$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1020$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1021
1022# When interrupted or exit'd, cleanup temporary files, and complete
1023# config.log.  We remove comments because anyway the quotes in there
1024# would cause problems or look ugly.
1025# WARNING: Be sure not to use single quotes in there, as some shells,
1026# such as our DU 5.0 friend, will then `close' the trap.
1027trap 'exit_status=$?
1028  # Save into config.log some information that might help in debugging.
1029  {
1030    echo
1031
1032    cat <<\_ASBOX
1033## ---------------- ##
1034## Cache variables. ##
1035## ---------------- ##
1036_ASBOX
1037    echo
1038    # The following way of writing the cache mishandles newlines in values,
1039{
1040  (set) 2>&1 |
1041    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1042    *ac_space=\ *)
1043      sed -n \
1044        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1045          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1046      ;;
1047    *)
1048      sed -n \
1049        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1050      ;;
1051    esac;
1052}
1053    echo
1054
1055    cat <<\_ASBOX
1056## ----------------- ##
1057## Output variables. ##
1058## ----------------- ##
1059_ASBOX
1060    echo
1061    for ac_var in $ac_subst_vars
1062    do
1063      eval ac_val=$`echo $ac_var`
1064      echo "$ac_var='"'"'$ac_val'"'"'"
1065    done | sort
1066    echo
1067
1068    if test -n "$ac_subst_files"; then
1069      cat <<\_ASBOX
1070## ------------- ##
1071## Output files. ##
1072## ------------- ##
1073_ASBOX
1074      echo
1075      for ac_var in $ac_subst_files
1076      do
1077        eval ac_val=$`echo $ac_var`
1078        echo "$ac_var='"'"'$ac_val'"'"'"
1079      done | sort
1080      echo
1081    fi
1082
1083    if test -s confdefs.h; then
1084      cat <<\_ASBOX
1085## ----------- ##
1086## confdefs.h. ##
1087## ----------- ##
1088_ASBOX
1089      echo
1090      sed "/^$/d" confdefs.h | sort
1091      echo
1092    fi
1093    test "$ac_signal" != 0 &&
1094      echo "$as_me: caught signal $ac_signal"
1095    echo "$as_me: exit $exit_status"
1096  } >&5
1097  rm -f core *.core &&
1098  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1099    exit $exit_status
1100     ' 0
1101for ac_signal in 1 2 13 15; do
1102  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1103done
1104ac_signal=0
1105
1106# confdefs.h avoids OS command line length limits that DEFS can exceed.
1107rm -rf conftest* confdefs.h
1108# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1109echo >confdefs.h
1110
1111# Predefined preprocessor variables.
1112
1113cat >>confdefs.h <<_ACEOF
1114#define PACKAGE_NAME "$PACKAGE_NAME"
1115_ACEOF
1116
1117
1118cat >>confdefs.h <<_ACEOF
1119#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1120_ACEOF
1121
1122
1123cat >>confdefs.h <<_ACEOF
1124#define PACKAGE_VERSION "$PACKAGE_VERSION"
1125_ACEOF
1126
1127
1128cat >>confdefs.h <<_ACEOF
1129#define PACKAGE_STRING "$PACKAGE_STRING"
1130_ACEOF
1131
1132
1133cat >>confdefs.h <<_ACEOF
1134#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1135_ACEOF
1136
1137
1138# Let the site file select an alternate cache file if it wants to.
1139# Prefer explicitly selected file to automatically selected ones.
1140if test -z "$CONFIG_SITE"; then
1141  if test "x$prefix" != xNONE; then
1142    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1143  else
1144    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1145  fi
1146fi
1147for ac_site_file in $CONFIG_SITE; do
1148  if test -r "$ac_site_file"; then
1149    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1150echo "$as_me: loading site script $ac_site_file" >&6;}
1151    sed 's/^/| /' "$ac_site_file" >&5
1152    . "$ac_site_file"
1153  fi
1154done
1155
1156if test -r "$cache_file"; then
1157  # Some versions of bash will fail to source /dev/null (special
1158  # files actually), so we avoid doing that.
1159  if test -f "$cache_file"; then
1160    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1161echo "$as_me: loading cache $cache_file" >&6;}
1162    case $cache_file in
1163      [\\/]* | ?:[\\/]* ) . $cache_file;;
1164      *)                      . ./$cache_file;;
1165    esac
1166  fi
1167else
1168  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1169echo "$as_me: creating cache $cache_file" >&6;}
1170  >$cache_file
1171fi
1172
1173# Check that the precious variables saved in the cache have kept the same
1174# value.
1175ac_cache_corrupted=false
1176for ac_var in `(set) 2>&1 |
1177               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1178  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1179  eval ac_new_set=\$ac_env_${ac_var}_set
1180  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1181  eval ac_new_val="\$ac_env_${ac_var}_value"
1182  case $ac_old_set,$ac_new_set in
1183    set,)
1184      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1185echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1186      ac_cache_corrupted=: ;;
1187    ,set)
1188      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1189echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1190      ac_cache_corrupted=: ;;
1191    ,);;
1192    *)
1193      if test "x$ac_old_val" != "x$ac_new_val"; then
1194        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1195echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1196        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1197echo "$as_me:   former value:  $ac_old_val" >&2;}
1198        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1199echo "$as_me:   current value: $ac_new_val" >&2;}
1200        ac_cache_corrupted=:
1201      fi;;
1202  esac
1203  # Pass precious variables to config.status.
1204  if test "$ac_new_set" = set; then
1205    case $ac_new_val in
1206    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1207      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1208    *) ac_arg=$ac_var=$ac_new_val ;;
1209    esac
1210    case " $ac_configure_args " in
1211      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1212      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1213    esac
1214  fi
1215done
1216if $ac_cache_corrupted; then
1217  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1218echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1219  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1220echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1221   { (exit 1); exit 1; }; }
1222fi
1223
1224ac_ext=c
1225ac_cpp='$CPP $CPPFLAGS'
1226ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1227ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1228ac_compiler_gnu=$ac_cv_c_compiler_gnu
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257ac_ext=c
1258ac_cpp='$CPP $CPPFLAGS'
1259ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1260ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1261ac_compiler_gnu=$ac_cv_c_compiler_gnu
1262if test -n "$ac_tool_prefix"; then
1263  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1264set dummy ${ac_tool_prefix}gcc; ac_word=$2
1265echo "$as_me:$LINENO: checking for $ac_word" >&5
1266echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1267if test "${ac_cv_prog_CC+set}" = set; then
1268  echo $ECHO_N "(cached) $ECHO_C" >&6
1269else
1270  if test -n "$CC"; then
1271  ac_cv_prog_CC="$CC" # Let the user override the test.
1272else
1273as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1274for as_dir in $PATH
1275do
1276  IFS=$as_save_IFS
1277  test -z "$as_dir" && as_dir=.
1278  for ac_exec_ext in '' $ac_executable_extensions; do
1279  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1280    ac_cv_prog_CC="${ac_tool_prefix}gcc"
1281    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1282    break 2
1283  fi
1284done
1285done
1286
1287fi
1288fi
1289CC=$ac_cv_prog_CC
1290if test -n "$CC"; then
1291  echo "$as_me:$LINENO: result: $CC" >&5
1292echo "${ECHO_T}$CC" >&6
1293else
1294  echo "$as_me:$LINENO: result: no" >&5
1295echo "${ECHO_T}no" >&6
1296fi
1297
1298fi
1299if test -z "$ac_cv_prog_CC"; then
1300  ac_ct_CC=$CC
1301  # Extract the first word of "gcc", so it can be a program name with args.
1302set dummy gcc; ac_word=$2
1303echo "$as_me:$LINENO: checking for $ac_word" >&5
1304echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1305if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1306  echo $ECHO_N "(cached) $ECHO_C" >&6
1307else
1308  if test -n "$ac_ct_CC"; then
1309  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1310else
1311as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1312for as_dir in $PATH
1313do
1314  IFS=$as_save_IFS
1315  test -z "$as_dir" && as_dir=.
1316  for ac_exec_ext in '' $ac_executable_extensions; do
1317  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1318    ac_cv_prog_ac_ct_CC="gcc"
1319    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1320    break 2
1321  fi
1322done
1323done
1324
1325fi
1326fi
1327ac_ct_CC=$ac_cv_prog_ac_ct_CC
1328if test -n "$ac_ct_CC"; then
1329  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1330echo "${ECHO_T}$ac_ct_CC" >&6
1331else
1332  echo "$as_me:$LINENO: result: no" >&5
1333echo "${ECHO_T}no" >&6
1334fi
1335
1336  CC=$ac_ct_CC
1337else
1338  CC="$ac_cv_prog_CC"
1339fi
1340
1341if test -z "$CC"; then
1342  if test -n "$ac_tool_prefix"; then
1343  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1344set dummy ${ac_tool_prefix}cc; ac_word=$2
1345echo "$as_me:$LINENO: checking for $ac_word" >&5
1346echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1347if test "${ac_cv_prog_CC+set}" = set; then
1348  echo $ECHO_N "(cached) $ECHO_C" >&6
1349else
1350  if test -n "$CC"; then
1351  ac_cv_prog_CC="$CC" # Let the user override the test.
1352else
1353as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1354for as_dir in $PATH
1355do
1356  IFS=$as_save_IFS
1357  test -z "$as_dir" && as_dir=.
1358  for ac_exec_ext in '' $ac_executable_extensions; do
1359  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1360    ac_cv_prog_CC="${ac_tool_prefix}cc"
1361    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1362    break 2
1363  fi
1364done
1365done
1366
1367fi
1368fi
1369CC=$ac_cv_prog_CC
1370if test -n "$CC"; then
1371  echo "$as_me:$LINENO: result: $CC" >&5
1372echo "${ECHO_T}$CC" >&6
1373else
1374  echo "$as_me:$LINENO: result: no" >&5
1375echo "${ECHO_T}no" >&6
1376fi
1377
1378fi
1379if test -z "$ac_cv_prog_CC"; then
1380  ac_ct_CC=$CC
1381  # Extract the first word of "cc", so it can be a program name with args.
1382set dummy cc; ac_word=$2
1383echo "$as_me:$LINENO: checking for $ac_word" >&5
1384echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1385if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1386  echo $ECHO_N "(cached) $ECHO_C" >&6
1387else
1388  if test -n "$ac_ct_CC"; then
1389  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1390else
1391as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1392for as_dir in $PATH
1393do
1394  IFS=$as_save_IFS
1395  test -z "$as_dir" && as_dir=.
1396  for ac_exec_ext in '' $ac_executable_extensions; do
1397  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1398    ac_cv_prog_ac_ct_CC="cc"
1399    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1400    break 2
1401  fi
1402done
1403done
1404
1405fi
1406fi
1407ac_ct_CC=$ac_cv_prog_ac_ct_CC
1408if test -n "$ac_ct_CC"; then
1409  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1410echo "${ECHO_T}$ac_ct_CC" >&6
1411else
1412  echo "$as_me:$LINENO: result: no" >&5
1413echo "${ECHO_T}no" >&6
1414fi
1415
1416  CC=$ac_ct_CC
1417else
1418  CC="$ac_cv_prog_CC"
1419fi
1420
1421fi
1422if test -z "$CC"; then
1423  # Extract the first word of "cc", so it can be a program name with args.
1424set dummy cc; ac_word=$2
1425echo "$as_me:$LINENO: checking for $ac_word" >&5
1426echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1427if test "${ac_cv_prog_CC+set}" = set; then
1428  echo $ECHO_N "(cached) $ECHO_C" >&6
1429else
1430  if test -n "$CC"; then
1431  ac_cv_prog_CC="$CC" # Let the user override the test.
1432else
1433  ac_prog_rejected=no
1434as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1435for as_dir in $PATH
1436do
1437  IFS=$as_save_IFS
1438  test -z "$as_dir" && as_dir=.
1439  for ac_exec_ext in '' $ac_executable_extensions; do
1440  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1441    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1442       ac_prog_rejected=yes
1443       continue
1444     fi
1445    ac_cv_prog_CC="cc"
1446    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1447    break 2
1448  fi
1449done
1450done
1451
1452if test $ac_prog_rejected = yes; then
1453  # We found a bogon in the path, so make sure we never use it.
1454  set dummy $ac_cv_prog_CC
1455  shift
1456  if test $# != 0; then
1457    # We chose a different compiler from the bogus one.
1458    # However, it has the same basename, so the bogon will be chosen
1459    # first if we set CC to just the basename; use the full file name.
1460    shift
1461    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1462  fi
1463fi
1464fi
1465fi
1466CC=$ac_cv_prog_CC
1467if test -n "$CC"; then
1468  echo "$as_me:$LINENO: result: $CC" >&5
1469echo "${ECHO_T}$CC" >&6
1470else
1471  echo "$as_me:$LINENO: result: no" >&5
1472echo "${ECHO_T}no" >&6
1473fi
1474
1475fi
1476if test -z "$CC"; then
1477  if test -n "$ac_tool_prefix"; then
1478  for ac_prog in cl
1479  do
1480    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1481set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1482echo "$as_me:$LINENO: checking for $ac_word" >&5
1483echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1484if test "${ac_cv_prog_CC+set}" = set; then
1485  echo $ECHO_N "(cached) $ECHO_C" >&6
1486else
1487  if test -n "$CC"; then
1488  ac_cv_prog_CC="$CC" # Let the user override the test.
1489else
1490as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491for as_dir in $PATH
1492do
1493  IFS=$as_save_IFS
1494  test -z "$as_dir" && as_dir=.
1495  for ac_exec_ext in '' $ac_executable_extensions; do
1496  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1497    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1498    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1499    break 2
1500  fi
1501done
1502done
1503
1504fi
1505fi
1506CC=$ac_cv_prog_CC
1507if test -n "$CC"; then
1508  echo "$as_me:$LINENO: result: $CC" >&5
1509echo "${ECHO_T}$CC" >&6
1510else
1511  echo "$as_me:$LINENO: result: no" >&5
1512echo "${ECHO_T}no" >&6
1513fi
1514
1515    test -n "$CC" && break
1516  done
1517fi
1518if test -z "$CC"; then
1519  ac_ct_CC=$CC
1520  for ac_prog in cl
1521do
1522  # Extract the first word of "$ac_prog", so it can be a program name with args.
1523set dummy $ac_prog; ac_word=$2
1524echo "$as_me:$LINENO: checking for $ac_word" >&5
1525echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1526if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1527  echo $ECHO_N "(cached) $ECHO_C" >&6
1528else
1529  if test -n "$ac_ct_CC"; then
1530  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1531else
1532as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1533for as_dir in $PATH
1534do
1535  IFS=$as_save_IFS
1536  test -z "$as_dir" && as_dir=.
1537  for ac_exec_ext in '' $ac_executable_extensions; do
1538  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1539    ac_cv_prog_ac_ct_CC="$ac_prog"
1540    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1541    break 2
1542  fi
1543done
1544done
1545
1546fi
1547fi
1548ac_ct_CC=$ac_cv_prog_ac_ct_CC
1549if test -n "$ac_ct_CC"; then
1550  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1551echo "${ECHO_T}$ac_ct_CC" >&6
1552else
1553  echo "$as_me:$LINENO: result: no" >&5
1554echo "${ECHO_T}no" >&6
1555fi
1556
1557  test -n "$ac_ct_CC" && break
1558done
1559
1560  CC=$ac_ct_CC
1561fi
1562
1563fi
1564
1565
1566test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1567See \`config.log' for more details." >&5
1568echo "$as_me: error: no acceptable C compiler found in \$PATH
1569See \`config.log' for more details." >&2;}
1570   { (exit 1); exit 1; }; }
1571
1572# Provide some information about the compiler.
1573echo "$as_me:$LINENO:" \
1574     "checking for C compiler version" >&5
1575ac_compiler=`set X $ac_compile; echo $2`
1576{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1577  (eval $ac_compiler --version </dev/null >&5) 2>&5
1578  ac_status=$?
1579  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1580  (exit $ac_status); }
1581{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1582  (eval $ac_compiler -v </dev/null >&5) 2>&5
1583  ac_status=$?
1584  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1585  (exit $ac_status); }
1586{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1587  (eval $ac_compiler -V </dev/null >&5) 2>&5
1588  ac_status=$?
1589  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1590  (exit $ac_status); }
1591
1592cat >conftest.$ac_ext <<_ACEOF
1593/* confdefs.h.  */
1594_ACEOF
1595cat confdefs.h >>conftest.$ac_ext
1596cat >>conftest.$ac_ext <<_ACEOF
1597/* end confdefs.h.  */
1598
1599int
1600main ()
1601{
1602
1603  ;
1604  return 0;
1605}
1606_ACEOF
1607ac_clean_files_save=$ac_clean_files
1608ac_clean_files="$ac_clean_files a.out a.exe b.out"
1609# Try to create an executable without -o first, disregard a.out.
1610# It will help us diagnose broken compilers, and finding out an intuition
1611# of exeext.
1612echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1613echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1614ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1615if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1616  (eval $ac_link_default) 2>&5
1617  ac_status=$?
1618  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1619  (exit $ac_status); }; then
1620  # Find the output, starting from the most likely.  This scheme is
1621# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1622# resort.
1623
1624# Be careful to initialize this variable, since it used to be cached.
1625# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1626ac_cv_exeext=
1627# b.out is created by i960 compilers.
1628for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1629do
1630  test -f "$ac_file" || continue
1631  case $ac_file in
1632    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1633        ;;
1634    conftest.$ac_ext )
1635        # This is the source file.
1636        ;;
1637    [ab].out )
1638        # We found the default executable, but exeext='' is most
1639        # certainly right.
1640        break;;
1641    *.* )
1642        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1643        # FIXME: I believe we export ac_cv_exeext for Libtool,
1644        # but it would be cool to find out if it's true.  Does anybody
1645        # maintain Libtool? --akim.
1646        export ac_cv_exeext
1647        break;;
1648    * )
1649        break;;
1650  esac
1651done
1652else
1653  echo "$as_me: failed program was:" >&5
1654sed 's/^/| /' conftest.$ac_ext >&5
1655
1656{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
1657See \`config.log' for more details." >&5
1658echo "$as_me: error: C compiler cannot create executables
1659See \`config.log' for more details." >&2;}
1660   { (exit 77); exit 77; }; }
1661fi
1662
1663ac_exeext=$ac_cv_exeext
1664echo "$as_me:$LINENO: result: $ac_file" >&5
1665echo "${ECHO_T}$ac_file" >&6
1666
1667# Check the compiler produces executables we can run.  If not, either
1668# the compiler is broken, or we cross compile.
1669echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1670echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1671# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1672# If not cross compiling, check that we can run a simple program.
1673if test "$cross_compiling" != yes; then
1674  if { ac_try='./$ac_file'
1675  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1676  (eval $ac_try) 2>&5
1677  ac_status=$?
1678  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679  (exit $ac_status); }; }; then
1680    cross_compiling=no
1681  else
1682    if test "$cross_compiling" = maybe; then
1683        cross_compiling=yes
1684    else
1685        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1686If you meant to cross compile, use \`--host'.
1687See \`config.log' for more details." >&5
1688echo "$as_me: error: cannot run C compiled programs.
1689If you meant to cross compile, use \`--host'.
1690See \`config.log' for more details." >&2;}
1691   { (exit 1); exit 1; }; }
1692    fi
1693  fi
1694fi
1695echo "$as_me:$LINENO: result: yes" >&5
1696echo "${ECHO_T}yes" >&6
1697
1698rm -f a.out a.exe conftest$ac_cv_exeext b.out
1699ac_clean_files=$ac_clean_files_save
1700# Check the compiler produces executables we can run.  If not, either
1701# the compiler is broken, or we cross compile.
1702echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1703echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1704echo "$as_me:$LINENO: result: $cross_compiling" >&5
1705echo "${ECHO_T}$cross_compiling" >&6
1706
1707echo "$as_me:$LINENO: checking for suffix of executables" >&5
1708echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1709if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1710  (eval $ac_link) 2>&5
1711  ac_status=$?
1712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1713  (exit $ac_status); }; then
1714  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1715# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1716# work properly (i.e., refer to `conftest.exe'), while it won't with
1717# `rm'.
1718for ac_file in conftest.exe conftest conftest.*; do
1719  test -f "$ac_file" || continue
1720  case $ac_file in
1721    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1722    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1723          export ac_cv_exeext
1724          break;;
1725    * ) break;;
1726  esac
1727done
1728else
1729  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1730See \`config.log' for more details." >&5
1731echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1732See \`config.log' for more details." >&2;}
1733   { (exit 1); exit 1; }; }
1734fi
1735
1736rm -f conftest$ac_cv_exeext
1737echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1738echo "${ECHO_T}$ac_cv_exeext" >&6
1739
1740rm -f conftest.$ac_ext
1741EXEEXT=$ac_cv_exeext
1742ac_exeext=$EXEEXT
1743echo "$as_me:$LINENO: checking for suffix of object files" >&5
1744echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1745if test "${ac_cv_objext+set}" = set; then
1746  echo $ECHO_N "(cached) $ECHO_C" >&6
1747else
1748  cat >conftest.$ac_ext <<_ACEOF
1749/* confdefs.h.  */
1750_ACEOF
1751cat confdefs.h >>conftest.$ac_ext
1752cat >>conftest.$ac_ext <<_ACEOF
1753/* end confdefs.h.  */
1754
1755int
1756main ()
1757{
1758
1759  ;
1760  return 0;
1761}
1762_ACEOF
1763rm -f conftest.o conftest.obj
1764if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1765  (eval $ac_compile) 2>&5
1766  ac_status=$?
1767  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1768  (exit $ac_status); }; then
1769  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1770  case $ac_file in
1771    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1772    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1773       break;;
1774  esac
1775done
1776else
1777  echo "$as_me: failed program was:" >&5
1778sed 's/^/| /' conftest.$ac_ext >&5
1779
1780{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1781See \`config.log' for more details." >&5
1782echo "$as_me: error: cannot compute suffix of object files: cannot compile
1783See \`config.log' for more details." >&2;}
1784   { (exit 1); exit 1; }; }
1785fi
1786
1787rm -f conftest.$ac_cv_objext conftest.$ac_ext
1788fi
1789echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1790echo "${ECHO_T}$ac_cv_objext" >&6
1791OBJEXT=$ac_cv_objext
1792ac_objext=$OBJEXT
1793echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1794echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1795if test "${ac_cv_c_compiler_gnu+set}" = set; then
1796  echo $ECHO_N "(cached) $ECHO_C" >&6
1797else
1798  cat >conftest.$ac_ext <<_ACEOF
1799/* confdefs.h.  */
1800_ACEOF
1801cat confdefs.h >>conftest.$ac_ext
1802cat >>conftest.$ac_ext <<_ACEOF
1803/* end confdefs.h.  */
1804
1805int
1806main ()
1807{
1808#ifndef __GNUC__
1809       choke me
1810#endif
1811
1812  ;
1813  return 0;
1814}
1815_ACEOF
1816rm -f conftest.$ac_objext
1817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1818  (eval $ac_compile) 2>conftest.er1
1819  ac_status=$?
1820  grep -v '^ *+' conftest.er1 >conftest.err
1821  rm -f conftest.er1
1822  cat conftest.err >&5
1823  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1824  (exit $ac_status); } &&
1825         { ac_try='test -z "$ac_c_werror_flag"
1826                         || test ! -s conftest.err'
1827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1828  (eval $ac_try) 2>&5
1829  ac_status=$?
1830  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1831  (exit $ac_status); }; } &&
1832         { ac_try='test -s conftest.$ac_objext'
1833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1834  (eval $ac_try) 2>&5
1835  ac_status=$?
1836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1837  (exit $ac_status); }; }; then
1838  ac_compiler_gnu=yes
1839else
1840  echo "$as_me: failed program was:" >&5
1841sed 's/^/| /' conftest.$ac_ext >&5
1842
1843ac_compiler_gnu=no
1844fi
1845rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1846ac_cv_c_compiler_gnu=$ac_compiler_gnu
1847
1848fi
1849echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1850echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1851GCC=`test $ac_compiler_gnu = yes && echo yes`
1852ac_test_CFLAGS=${CFLAGS+set}
1853ac_save_CFLAGS=$CFLAGS
1854CFLAGS="-g"
1855echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1856echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1857if test "${ac_cv_prog_cc_g+set}" = set; then
1858  echo $ECHO_N "(cached) $ECHO_C" >&6
1859else
1860  cat >conftest.$ac_ext <<_ACEOF
1861/* confdefs.h.  */
1862_ACEOF
1863cat confdefs.h >>conftest.$ac_ext
1864cat >>conftest.$ac_ext <<_ACEOF
1865/* end confdefs.h.  */
1866
1867int
1868main ()
1869{
1870
1871  ;
1872  return 0;
1873}
1874_ACEOF
1875rm -f conftest.$ac_objext
1876if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1877  (eval $ac_compile) 2>conftest.er1
1878  ac_status=$?
1879  grep -v '^ *+' conftest.er1 >conftest.err
1880  rm -f conftest.er1
1881  cat conftest.err >&5
1882  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883  (exit $ac_status); } &&
1884         { ac_try='test -z "$ac_c_werror_flag"
1885                         || test ! -s conftest.err'
1886  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1887  (eval $ac_try) 2>&5
1888  ac_status=$?
1889  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890  (exit $ac_status); }; } &&
1891         { ac_try='test -s conftest.$ac_objext'
1892  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1893  (eval $ac_try) 2>&5
1894  ac_status=$?
1895  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1896  (exit $ac_status); }; }; then
1897  ac_cv_prog_cc_g=yes
1898else
1899  echo "$as_me: failed program was:" >&5
1900sed 's/^/| /' conftest.$ac_ext >&5
1901
1902ac_cv_prog_cc_g=no
1903fi
1904rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1905fi
1906echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1907echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1908if test "$ac_test_CFLAGS" = set; then
1909  CFLAGS=$ac_save_CFLAGS
1910elif test $ac_cv_prog_cc_g = yes; then
1911  if test "$GCC" = yes; then
1912    CFLAGS="-g -O2"
1913  else
1914    CFLAGS="-g"
1915  fi
1916else
1917  if test "$GCC" = yes; then
1918    CFLAGS="-O2"
1919  else
1920    CFLAGS=
1921  fi
1922fi
1923echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1924echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1925if test "${ac_cv_prog_cc_stdc+set}" = set; then
1926  echo $ECHO_N "(cached) $ECHO_C" >&6
1927else
1928  ac_cv_prog_cc_stdc=no
1929ac_save_CC=$CC
1930cat >conftest.$ac_ext <<_ACEOF
1931/* confdefs.h.  */
1932_ACEOF
1933cat confdefs.h >>conftest.$ac_ext
1934cat >>conftest.$ac_ext <<_ACEOF
1935/* end confdefs.h.  */
1936#include <stdarg.h>
1937#include <stdio.h>
1938#include <sys/types.h>
1939#include <sys/stat.h>
1940/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
1941struct buf { int x; };
1942FILE * (*rcsopen) (struct buf *, struct stat *, int);
1943static char *e (p, i)
1944     char **p;
1945     int i;
1946{
1947  return p[i];
1948}
1949static char *f (char * (*g) (char **, int), char **p, ...)
1950{
1951  char *s;
1952  va_list v;
1953  va_start (v,p);
1954  s = g (p, va_arg (v,int));
1955  va_end (v);
1956  return s;
1957}
1958
1959/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
1960   function prototypes and stuff, but not '\xHH' hex character constants.
1961   These don't provoke an error unfortunately, instead are silently treated
1962   as 'x'.  The following induces an error, until -std1 is added to get
1963   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
1964   array size at least.  It's necessary to write '\x00'==0 to get something
1965   that's true only with -std1.  */
1966int osf4_cc_array ['\x00' == 0 ? 1 : -1];
1967
1968int test (int i, double x);
1969struct s1 {int (*f) (int a);};
1970struct s2 {int (*f) (double a);};
1971int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1972int argc;
1973char **argv;
1974int
1975main ()
1976{
1977return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
1978  ;
1979  return 0;
1980}
1981_ACEOF
1982# Don't try gcc -ansi; that turns off useful extensions and
1983# breaks some systems' header files.
1984# AIX                   -qlanglvl=ansi
1985# Ultrix and OSF/1      -std1
1986# HP-UX 10.20 and later -Ae
1987# HP-UX older versions  -Aa -D_HPUX_SOURCE
1988# SVR4                  -Xc -D__EXTENSIONS__
1989for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1990do
1991  CC="$ac_save_CC $ac_arg"
1992  rm -f conftest.$ac_objext
1993if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1994  (eval $ac_compile) 2>conftest.er1
1995  ac_status=$?
1996  grep -v '^ *+' conftest.er1 >conftest.err
1997  rm -f conftest.er1
1998  cat conftest.err >&5
1999  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000  (exit $ac_status); } &&
2001         { ac_try='test -z "$ac_c_werror_flag"
2002                         || test ! -s conftest.err'
2003  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2004  (eval $ac_try) 2>&5
2005  ac_status=$?
2006  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2007  (exit $ac_status); }; } &&
2008         { ac_try='test -s conftest.$ac_objext'
2009  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2010  (eval $ac_try) 2>&5
2011  ac_status=$?
2012  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013  (exit $ac_status); }; }; then
2014  ac_cv_prog_cc_stdc=$ac_arg
2015break
2016else
2017  echo "$as_me: failed program was:" >&5
2018sed 's/^/| /' conftest.$ac_ext >&5
2019
2020fi
2021rm -f conftest.err conftest.$ac_objext
2022done
2023rm -f conftest.$ac_ext conftest.$ac_objext
2024CC=$ac_save_CC
2025
2026fi
2027
2028case "x$ac_cv_prog_cc_stdc" in
2029  x|xno)
2030    echo "$as_me:$LINENO: result: none needed" >&5
2031echo "${ECHO_T}none needed" >&6 ;;
2032  *)
2033    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2034echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2035    CC="$CC $ac_cv_prog_cc_stdc" ;;
2036esac
2037
2038# Some people use a C++ compiler to compile C.  Since we use `exit',
2039# in C++ we need to declare it.  In case someone uses the same compiler
2040# for both compiling C and C++ we need to have the C++ compiler decide
2041# the declaration of exit, since it's the most demanding environment.
2042cat >conftest.$ac_ext <<_ACEOF
2043#ifndef __cplusplus
2044  choke me
2045#endif
2046_ACEOF
2047rm -f conftest.$ac_objext
2048if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2049  (eval $ac_compile) 2>conftest.er1
2050  ac_status=$?
2051  grep -v '^ *+' conftest.er1 >conftest.err
2052  rm -f conftest.er1
2053  cat conftest.err >&5
2054  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2055  (exit $ac_status); } &&
2056         { ac_try='test -z "$ac_c_werror_flag"
2057                         || test ! -s conftest.err'
2058  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2059  (eval $ac_try) 2>&5
2060  ac_status=$?
2061  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2062  (exit $ac_status); }; } &&
2063         { ac_try='test -s conftest.$ac_objext'
2064  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065  (eval $ac_try) 2>&5
2066  ac_status=$?
2067  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2068  (exit $ac_status); }; }; then
2069  for ac_declaration in \
2070   '' \
2071   'extern "C" void std::exit (int) throw (); using std::exit;' \
2072   'extern "C" void std::exit (int); using std::exit;' \
2073   'extern "C" void exit (int) throw ();' \
2074   'extern "C" void exit (int);' \
2075   'void exit (int);'
2076do
2077  cat >conftest.$ac_ext <<_ACEOF
2078/* confdefs.h.  */
2079_ACEOF
2080cat confdefs.h >>conftest.$ac_ext
2081cat >>conftest.$ac_ext <<_ACEOF
2082/* end confdefs.h.  */
2083$ac_declaration
2084#include <stdlib.h>
2085int
2086main ()
2087{
2088exit (42);
2089  ;
2090  return 0;
2091}
2092_ACEOF
2093rm -f conftest.$ac_objext
2094if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2095  (eval $ac_compile) 2>conftest.er1
2096  ac_status=$?
2097  grep -v '^ *+' conftest.er1 >conftest.err
2098  rm -f conftest.er1
2099  cat conftest.err >&5
2100  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101  (exit $ac_status); } &&
2102         { ac_try='test -z "$ac_c_werror_flag"
2103                         || test ! -s conftest.err'
2104  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105  (eval $ac_try) 2>&5
2106  ac_status=$?
2107  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2108  (exit $ac_status); }; } &&
2109         { ac_try='test -s conftest.$ac_objext'
2110  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2111  (eval $ac_try) 2>&5
2112  ac_status=$?
2113  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2114  (exit $ac_status); }; }; then
2115  :
2116else
2117  echo "$as_me: failed program was:" >&5
2118sed 's/^/| /' conftest.$ac_ext >&5
2119
2120continue
2121fi
2122rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2123  cat >conftest.$ac_ext <<_ACEOF
2124/* confdefs.h.  */
2125_ACEOF
2126cat confdefs.h >>conftest.$ac_ext
2127cat >>conftest.$ac_ext <<_ACEOF
2128/* end confdefs.h.  */
2129$ac_declaration
2130int
2131main ()
2132{
2133exit (42);
2134  ;
2135  return 0;
2136}
2137_ACEOF
2138rm -f conftest.$ac_objext
2139if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2140  (eval $ac_compile) 2>conftest.er1
2141  ac_status=$?
2142  grep -v '^ *+' conftest.er1 >conftest.err
2143  rm -f conftest.er1
2144  cat conftest.err >&5
2145  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2146  (exit $ac_status); } &&
2147         { ac_try='test -z "$ac_c_werror_flag"
2148                         || test ! -s conftest.err'
2149  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2150  (eval $ac_try) 2>&5
2151  ac_status=$?
2152  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153  (exit $ac_status); }; } &&
2154         { ac_try='test -s conftest.$ac_objext'
2155  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2156  (eval $ac_try) 2>&5
2157  ac_status=$?
2158  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2159  (exit $ac_status); }; }; then
2160  break
2161else
2162  echo "$as_me: failed program was:" >&5
2163sed 's/^/| /' conftest.$ac_ext >&5
2164
2165fi
2166rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2167done
2168rm -f conftest*
2169if test -n "$ac_declaration"; then
2170  echo '#ifdef __cplusplus' >>confdefs.h
2171  echo $ac_declaration      >>confdefs.h
2172  echo '#endif'             >>confdefs.h
2173fi
2174
2175else
2176  echo "$as_me: failed program was:" >&5
2177sed 's/^/| /' conftest.$ac_ext >&5
2178
2179fi
2180rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2181ac_ext=c
2182ac_cpp='$CPP $CPPFLAGS'
2183ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2184ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2185ac_compiler_gnu=$ac_cv_c_compiler_gnu
2186
2187for ac_prog in 'bison -y' byacc
2188do
2189  # Extract the first word of "$ac_prog", so it can be a program name with args.
2190set dummy $ac_prog; ac_word=$2
2191echo "$as_me:$LINENO: checking for $ac_word" >&5
2192echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2193if test "${ac_cv_prog_YACC+set}" = set; then
2194  echo $ECHO_N "(cached) $ECHO_C" >&6
2195else
2196  if test -n "$YACC"; then
2197  ac_cv_prog_YACC="$YACC" # Let the user override the test.
2198else
2199as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2200for as_dir in $PATH
2201do
2202  IFS=$as_save_IFS
2203  test -z "$as_dir" && as_dir=.
2204  for ac_exec_ext in '' $ac_executable_extensions; do
2205  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2206    ac_cv_prog_YACC="$ac_prog"
2207    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2208    break 2
2209  fi
2210done
2211done
2212
2213fi
2214fi
2215YACC=$ac_cv_prog_YACC
2216if test -n "$YACC"; then
2217  echo "$as_me:$LINENO: result: $YACC" >&5
2218echo "${ECHO_T}$YACC" >&6
2219else
2220  echo "$as_me:$LINENO: result: no" >&5
2221echo "${ECHO_T}no" >&6
2222fi
2223
2224  test -n "$YACC" && break
2225done
2226test -n "$YACC" || YACC="yacc"
2227
2228
2229if test "$ac_cv_prog_YACC" = "byacc"; then
2230        { echo "$as_me:$LINENO: WARNING: using byacc has caused inexplicable runtime behavior;" >&5
2231echo "$as_me: WARNING: using byacc has caused inexplicable runtime behavior;" >&2;}
2232        { echo "$as_me:$LINENO: WARNING: if you get incomprehensible errors when parsing" >&5
2233echo "$as_me: WARNING: if you get incomprehensible errors when parsing" >&2;}
2234        { echo "$as_me:$LINENO: WARNING: grammars, install bison and try again." >&5
2235echo "$as_me: WARNING: grammars, install bison and try again." >&2;}
2236fi
2237
2238
2239
2240
2241for ac_func in hcreate
2242do
2243as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2244echo "$as_me:$LINENO: checking for $ac_func" >&5
2245echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2246if eval "test \"\${$as_ac_var+set}\" = set"; then
2247  echo $ECHO_N "(cached) $ECHO_C" >&6
2248else
2249  cat >conftest.$ac_ext <<_ACEOF
2250/* confdefs.h.  */
2251_ACEOF
2252cat confdefs.h >>conftest.$ac_ext
2253cat >>conftest.$ac_ext <<_ACEOF
2254/* end confdefs.h.  */
2255/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
2256   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
2257#define $ac_func innocuous_$ac_func
2258
2259/* System header to define __stub macros and hopefully few prototypes,
2260    which can conflict with char $ac_func (); below.
2261    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2262    <limits.h> exists even on freestanding compilers.  */
2263
2264#ifdef __STDC__
2265# include <limits.h>
2266#else
2267# include <assert.h>
2268#endif
2269
2270#undef $ac_func
2271
2272/* Override any gcc2 internal prototype to avoid an error.  */
2273#ifdef __cplusplus
2274extern "C"
2275{
2276#endif
2277/* We use char because int might match the return type of a gcc2
2278   builtin and then its argument prototype would still apply.  */
2279char $ac_func ();
2280/* The GNU C library defines this for functions which it implements
2281    to always fail with ENOSYS.  Some functions are actually named
2282    something starting with __ and the normal name is an alias.  */
2283#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2284choke me
2285#else
2286char (*f) () = $ac_func;
2287#endif
2288#ifdef __cplusplus
2289}
2290#endif
2291
2292int
2293main ()
2294{
2295return f != $ac_func;
2296  ;
2297  return 0;
2298}
2299_ACEOF
2300rm -f conftest.$ac_objext conftest$ac_exeext
2301if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2302  (eval $ac_link) 2>conftest.er1
2303  ac_status=$?
2304  grep -v '^ *+' conftest.er1 >conftest.err
2305  rm -f conftest.er1
2306  cat conftest.err >&5
2307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2308  (exit $ac_status); } &&
2309         { ac_try='test -z "$ac_c_werror_flag"
2310                         || test ! -s conftest.err'
2311  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2312  (eval $ac_try) 2>&5
2313  ac_status=$?
2314  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2315  (exit $ac_status); }; } &&
2316         { ac_try='test -s conftest$ac_exeext'
2317  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2318  (eval $ac_try) 2>&5
2319  ac_status=$?
2320  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2321  (exit $ac_status); }; }; then
2322  eval "$as_ac_var=yes"
2323else
2324  echo "$as_me: failed program was:" >&5
2325sed 's/^/| /' conftest.$ac_ext >&5
2326
2327eval "$as_ac_var=no"
2328fi
2329rm -f conftest.err conftest.$ac_objext \
2330      conftest$ac_exeext conftest.$ac_ext
2331fi
2332echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
2333echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2334if test `eval echo '${'$as_ac_var'}'` = yes; then
2335  cat >>confdefs.h <<_ACEOF
2336#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2337_ACEOF
2338
2339else
2340  case $LIBOBJS in
2341    "$ac_func.$ac_objext"   | \
2342  *" $ac_func.$ac_objext"   | \
2343    "$ac_func.$ac_objext "* | \
2344  *" $ac_func.$ac_objext "* ) ;;
2345  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
2346esac
2347
2348fi
2349done
2350
2351
2352
2353          ac_config_headers="$ac_config_headers config.h"
2354
2355
2356          ac_config_files="$ac_config_files Makefile"
2357cat >confcache <<\_ACEOF
2358# This file is a shell script that caches the results of configure
2359# tests run on this system so they can be shared between configure
2360# scripts and configure runs, see configure's option --config-cache.
2361# It is not useful on other systems.  If it contains results you don't
2362# want to keep, you may remove or edit it.
2363#
2364# config.status only pays attention to the cache file if you give it
2365# the --recheck option to rerun configure.
2366#
2367# `ac_cv_env_foo' variables (set or unset) will be overridden when
2368# loading this file, other *unset* `ac_cv_foo' will be assigned the
2369# following values.
2370
2371_ACEOF
2372
2373# The following way of writing the cache mishandles newlines in values,
2374# but we know of no workaround that is simple, portable, and efficient.
2375# So, don't put newlines in cache variables' values.
2376# Ultrix sh set writes to stderr and can't be redirected directly,
2377# and sets the high bit in the cache file unless we assign to the vars.
2378{
2379  (set) 2>&1 |
2380    case `(ac_space=' '; set | grep ac_space) 2>&1` in
2381    *ac_space=\ *)
2382      # `set' does not quote correctly, so add quotes (double-quote
2383      # substitution turns \\\\ into \\, and sed turns \\ into \).
2384      sed -n \
2385        "s/'/'\\\\''/g;
2386          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2387      ;;
2388    *)
2389      # `set' quotes correctly as required by POSIX, so do not add quotes.
2390      sed -n \
2391        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2392      ;;
2393    esac;
2394} |
2395  sed '
2396     t clear
2397     : clear
2398     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2399     t end
2400     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2401     : end' >>confcache
2402if diff $cache_file confcache >/dev/null 2>&1; then :; else
2403  if test -w $cache_file; then
2404    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2405    cat confcache >$cache_file
2406  else
2407    echo "not updating unwritable cache $cache_file"
2408  fi
2409fi
2410rm -f confcache
2411
2412test "x$prefix" = xNONE && prefix=$ac_default_prefix
2413# Let make expand exec_prefix.
2414test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2415
2416# VPATH may cause trouble with some makes, so we remove $(srcdir),
2417# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2418# trailing colons and then remove the whole line if VPATH becomes empty
2419# (actually we leave an empty line to preserve line numbers).
2420if test "x$srcdir" = x.; then
2421  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2422s/:*\$(srcdir):*/:/;
2423s/:*\${srcdir}:*/:/;
2424s/:*@srcdir@:*/:/;
2425s/^\([^=]*=[     ]*\):*/\1/;
2426s/:*$//;
2427s/^[^=]*=[       ]*$//;
2428}'
2429fi
2430
2431DEFS=-DHAVE_CONFIG_H
2432
2433ac_libobjs=
2434ac_ltlibobjs=
2435for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2436  # 1. Remove the extension, and $U if already installed.
2437  ac_i=`echo "$ac_i" |
2438         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2439  # 2. Add them.
2440  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
2441  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
2442done
2443LIBOBJS=$ac_libobjs
2444
2445LTLIBOBJS=$ac_ltlibobjs
2446
2447
2448
2449: ${CONFIG_STATUS=./config.status}
2450ac_clean_files_save=$ac_clean_files
2451ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2452{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2453echo "$as_me: creating $CONFIG_STATUS" >&6;}
2454cat >$CONFIG_STATUS <<_ACEOF
2455#! $SHELL
2456# Generated by $as_me.
2457# Run this file to recreate the current configuration.
2458# Compiler output produced by configure, useful for debugging
2459# configure, is in config.log if it exists.
2460
2461debug=false
2462ac_cs_recheck=false
2463ac_cs_silent=false
2464SHELL=\${CONFIG_SHELL-$SHELL}
2465_ACEOF
2466
2467cat >>$CONFIG_STATUS <<\_ACEOF
2468## --------------------- ##
2469## M4sh Initialization.  ##
2470## --------------------- ##
2471
2472# Be Bourne compatible
2473if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2474  emulate sh
2475  NULLCMD=:
2476  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2477  # is contrary to our usage.  Disable this feature.
2478  alias -g '${1+"$@"}'='"$@"'
2479elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2480  set -o posix
2481fi
2482DUALCASE=1; export DUALCASE # for MKS sh
2483
2484# Support unset when possible.
2485if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2486  as_unset=unset
2487else
2488  as_unset=false
2489fi
2490
2491
2492# Work around bugs in pre-3.0 UWIN ksh.
2493$as_unset ENV MAIL MAILPATH
2494PS1='$ '
2495PS2='> '
2496PS4='+ '
2497
2498# NLS nuisances.
2499for as_var in \
2500  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2501  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2502  LC_TELEPHONE LC_TIME
2503do
2504  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2505    eval $as_var=C; export $as_var
2506  else
2507    $as_unset $as_var
2508  fi
2509done
2510
2511# Required to use basename.
2512if expr a : '\(a\)' >/dev/null 2>&1; then
2513  as_expr=expr
2514else
2515  as_expr=false
2516fi
2517
2518if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2519  as_basename=basename
2520else
2521  as_basename=false
2522fi
2523
2524
2525# Name of the executable.
2526as_me=`$as_basename "$0" ||
2527$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2528         X"$0" : 'X\(//\)$' \| \
2529         X"$0" : 'X\(/\)$' \| \
2530         .     : '\(.\)' 2>/dev/null ||
2531echo X/"$0" |
2532    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2533          /^X\/\(\/\/\)$/{ s//\1/; q; }
2534          /^X\/\(\/\).*/{ s//\1/; q; }
2535          s/.*/./; q'`
2536
2537
2538# PATH needs CR, and LINENO needs CR and PATH.
2539# Avoid depending upon Character Ranges.
2540as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2541as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2542as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2543as_cr_digits='0123456789'
2544as_cr_alnum=$as_cr_Letters$as_cr_digits
2545
2546# The user is always right.
2547if test "${PATH_SEPARATOR+set}" != set; then
2548  echo "#! /bin/sh" >conf$$.sh
2549  echo  "exit 0"   >>conf$$.sh
2550  chmod +x conf$$.sh
2551  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2552    PATH_SEPARATOR=';'
2553  else
2554    PATH_SEPARATOR=:
2555  fi
2556  rm -f conf$$.sh
2557fi
2558
2559
2560  as_lineno_1=$LINENO
2561  as_lineno_2=$LINENO
2562  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2563  test "x$as_lineno_1" != "x$as_lineno_2" &&
2564  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2565  # Find who we are.  Look in the path if we contain no path at all
2566  # relative or not.
2567  case $0 in
2568    *[\\/]* ) as_myself=$0 ;;
2569    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2570for as_dir in $PATH
2571do
2572  IFS=$as_save_IFS
2573  test -z "$as_dir" && as_dir=.
2574  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2575done
2576
2577       ;;
2578  esac
2579  # We did not find ourselves, most probably we were run as `sh COMMAND'
2580  # in which case we are not to be found in the path.
2581  if test "x$as_myself" = x; then
2582    as_myself=$0
2583  fi
2584  if test ! -f "$as_myself"; then
2585    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2586echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2587   { (exit 1); exit 1; }; }
2588  fi
2589  case $CONFIG_SHELL in
2590  '')
2591    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2593do
2594  IFS=$as_save_IFS
2595  test -z "$as_dir" && as_dir=.
2596  for as_base in sh bash ksh sh5; do
2597         case $as_dir in
2598         /*)
2599           if ("$as_dir/$as_base" -c '
2600  as_lineno_1=$LINENO
2601  as_lineno_2=$LINENO
2602  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2603  test "x$as_lineno_1" != "x$as_lineno_2" &&
2604  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2605             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2606             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2607             CONFIG_SHELL=$as_dir/$as_base
2608             export CONFIG_SHELL
2609             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2610           fi;;
2611         esac
2612       done
2613done
2614;;
2615  esac
2616
2617  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2618  # uniformly replaced by the line number.  The first 'sed' inserts a
2619  # line-number line before each line; the second 'sed' does the real
2620  # work.  The second script uses 'N' to pair each line-number line
2621  # with the numbered line, and appends trailing '-' during
2622  # substitution so that $LINENO is not a special case at line end.
2623  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2624  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2625  sed '=' <$as_myself |
2626    sed '
2627      N
2628      s,$,-,
2629      : loop
2630      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2631      t loop
2632      s,-$,,
2633      s,^['$as_cr_digits']*\n,,
2634    ' >$as_me.lineno &&
2635  chmod +x $as_me.lineno ||
2636    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2637echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2638   { (exit 1); exit 1; }; }
2639
2640  # Don't try to exec as it changes $[0], causing all sort of problems
2641  # (the dirname of $[0] is not the place where we might find the
2642  # original and so on.  Autoconf is especially sensible to this).
2643  . ./$as_me.lineno
2644  # Exit status is that of the last command.
2645  exit
2646}
2647
2648
2649case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2650  *c*,-n*) ECHO_N= ECHO_C='
2651' ECHO_T='      ' ;;
2652  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2653  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2654esac
2655
2656if expr a : '\(a\)' >/dev/null 2>&1; then
2657  as_expr=expr
2658else
2659  as_expr=false
2660fi
2661
2662rm -f conf$$ conf$$.exe conf$$.file
2663echo >conf$$.file
2664if ln -s conf$$.file conf$$ 2>/dev/null; then
2665  # We could just check for DJGPP; but this test a) works b) is more generic
2666  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2667  if test -f conf$$.exe; then
2668    # Don't use ln at all; we don't have any links
2669    as_ln_s='cp -p'
2670  else
2671    as_ln_s='ln -s'
2672  fi
2673elif ln conf$$.file conf$$ 2>/dev/null; then
2674  as_ln_s=ln
2675else
2676  as_ln_s='cp -p'
2677fi
2678rm -f conf$$ conf$$.exe conf$$.file
2679
2680if mkdir -p . 2>/dev/null; then
2681  as_mkdir_p=:
2682else
2683  test -d ./-p && rmdir ./-p
2684  as_mkdir_p=false
2685fi
2686
2687as_executable_p="test -f"
2688
2689# Sed expression to map a string onto a valid CPP name.
2690as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2691
2692# Sed expression to map a string onto a valid variable name.
2693as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2694
2695
2696# IFS
2697# We need space, tab and new line, in precisely that order.
2698as_nl='
2699'
2700IFS="   $as_nl"
2701
2702# CDPATH.
2703$as_unset CDPATH
2704
2705exec 6>&1
2706
2707# Open the log real soon, to keep \$[0] and so on meaningful, and to
2708# report actual input values of CONFIG_FILES etc. instead of their
2709# values after options handling.  Logging --version etc. is OK.
2710exec 5>>config.log
2711{
2712  echo
2713  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2714## Running $as_me. ##
2715_ASBOX
2716} >&5
2717cat >&5 <<_CSEOF
2718
2719This file was extended by bap $as_me 1.2, which was
2720generated by GNU Autoconf 2.59.  Invocation command line was
2721
2722  CONFIG_FILES    = $CONFIG_FILES
2723  CONFIG_HEADERS  = $CONFIG_HEADERS
2724  CONFIG_LINKS    = $CONFIG_LINKS
2725  CONFIG_COMMANDS = $CONFIG_COMMANDS
2726  $ $0 $@
2727
2728_CSEOF
2729echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2730echo >&5
2731_ACEOF
2732
2733# Files that config.status was made for.
2734if test -n "$ac_config_files"; then
2735  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2736fi
2737
2738if test -n "$ac_config_headers"; then
2739  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2740fi
2741
2742if test -n "$ac_config_links"; then
2743  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2744fi
2745
2746if test -n "$ac_config_commands"; then
2747  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2748fi
2749
2750cat >>$CONFIG_STATUS <<\_ACEOF
2751
2752ac_cs_usage="\
2753\`$as_me' instantiates files from templates according to the
2754current configuration.
2755
2756Usage: $0 [OPTIONS] [FILE]...
2757
2758  -h, --help       print this help, then exit
2759  -V, --version    print version number, then exit
2760  -q, --quiet      do not print progress messages
2761  -d, --debug      don't remove temporary files
2762      --recheck    update $as_me by reconfiguring in the same conditions
2763  --file=FILE[:TEMPLATE]
2764                   instantiate the configuration file FILE
2765  --header=FILE[:TEMPLATE]
2766                   instantiate the configuration header FILE
2767
2768Configuration files:
2769$config_files
2770
2771Configuration headers:
2772$config_headers
2773
2774Report bugs to <bug-autoconf@gnu.org>."
2775_ACEOF
2776
2777cat >>$CONFIG_STATUS <<_ACEOF
2778ac_cs_version="\\
2779bap config.status 1.2
2780configured by $0, generated by GNU Autoconf 2.59,
2781  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2782
2783Copyright (C) 2003 Free Software Foundation, Inc.
2784This config.status script is free software; the Free Software Foundation
2785gives unlimited permission to copy, distribute and modify it."
2786srcdir=$srcdir
2787_ACEOF
2788
2789cat >>$CONFIG_STATUS <<\_ACEOF
2790# If no file are specified by the user, then we need to provide default
2791# value.  By we need to know if files were specified by the user.
2792ac_need_defaults=:
2793while test $# != 0
2794do
2795  case $1 in
2796  --*=*)
2797    ac_option=`expr "x$1" : 'x\([^=]*\)='`
2798    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2799    ac_shift=:
2800    ;;
2801  -*)
2802    ac_option=$1
2803    ac_optarg=$2
2804    ac_shift=shift
2805    ;;
2806  *) # This is not an option, so the user has probably given explicit
2807     # arguments.
2808     ac_option=$1
2809     ac_need_defaults=false;;
2810  esac
2811
2812  case $ac_option in
2813  # Handling of the options.
2814_ACEOF
2815cat >>$CONFIG_STATUS <<\_ACEOF
2816  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2817    ac_cs_recheck=: ;;
2818  --version | --vers* | -V )
2819    echo "$ac_cs_version"; exit 0 ;;
2820  --he | --h)
2821    # Conflict between --help and --header
2822    { { echo "$as_me:$LINENO: error: ambiguous option: $1
2823Try \`$0 --help' for more information." >&5
2824echo "$as_me: error: ambiguous option: $1
2825Try \`$0 --help' for more information." >&2;}
2826   { (exit 1); exit 1; }; };;
2827  --help | --hel | -h )
2828    echo "$ac_cs_usage"; exit 0 ;;
2829  --debug | --d* | -d )
2830    debug=: ;;
2831  --file | --fil | --fi | --f )
2832    $ac_shift
2833    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
2834    ac_need_defaults=false;;
2835  --header | --heade | --head | --hea )
2836    $ac_shift
2837    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
2838    ac_need_defaults=false;;
2839  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2840  | -silent | --silent | --silen | --sile | --sil | --si | --s)
2841    ac_cs_silent=: ;;
2842
2843  # This is an error.
2844  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
2845Try \`$0 --help' for more information." >&5
2846echo "$as_me: error: unrecognized option: $1
2847Try \`$0 --help' for more information." >&2;}
2848   { (exit 1); exit 1; }; } ;;
2849
2850  *) ac_config_targets="$ac_config_targets $1" ;;
2851
2852  esac
2853  shift
2854done
2855
2856ac_configure_extra_args=
2857
2858if $ac_cs_silent; then
2859  exec 6>/dev/null
2860  ac_configure_extra_args="$ac_configure_extra_args --silent"
2861fi
2862
2863_ACEOF
2864cat >>$CONFIG_STATUS <<_ACEOF
2865if \$ac_cs_recheck; then
2866  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
2867  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2868fi
2869
2870_ACEOF
2871
2872
2873
2874
2875
2876cat >>$CONFIG_STATUS <<\_ACEOF
2877for ac_config_target in $ac_config_targets
2878do
2879  case "$ac_config_target" in
2880  # Handling of arguments.
2881  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2882  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
2883  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
2884echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
2885   { (exit 1); exit 1; }; };;
2886  esac
2887done
2888
2889# If the user did not use the arguments to specify the items to instantiate,
2890# then the envvar interface is used.  Set only those that are not.
2891# We use the long form for the default assignment because of an extremely
2892# bizarre bug on SunOS 4.1.3.
2893if $ac_need_defaults; then
2894  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2895  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
2896fi
2897
2898# Have a temporary directory for convenience.  Make it in the build tree
2899# simply because there is no reason to put it here, and in addition,
2900# creating and moving files from /tmp can sometimes cause problems.
2901# Create a temporary directory, and hook for its removal unless debugging.
2902$debug ||
2903{
2904  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2905  trap '{ (exit 1); exit 1; }' 1 2 13 15
2906}
2907
2908# Create a (secure) tmp directory for tmp files.
2909
2910{
2911  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2912  test -n "$tmp" && test -d "$tmp"
2913}  ||
2914{
2915  tmp=./confstat$$-$RANDOM
2916  (umask 077 && mkdir $tmp)
2917} ||
2918{
2919   echo "$me: cannot create a temporary directory in ." >&2
2920   { (exit 1); exit 1; }
2921}
2922
2923_ACEOF
2924
2925cat >>$CONFIG_STATUS <<_ACEOF
2926
2927#
2928# CONFIG_FILES section.
2929#
2930
2931# No need to generate the scripts if there are no CONFIG_FILES.
2932# This happens for instance when ./config.status config.h
2933if test -n "\$CONFIG_FILES"; then
2934  # Protect against being on the right side of a sed subst in config.status.
2935  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
2936   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
2937s,@SHELL@,$SHELL,;t t
2938s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
2939s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
2940s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
2941s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
2942s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
2943s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
2944s,@exec_prefix@,$exec_prefix,;t t
2945s,@prefix@,$prefix,;t t
2946s,@program_transform_name@,$program_transform_name,;t t
2947s,@bindir@,$bindir,;t t
2948s,@sbindir@,$sbindir,;t t
2949s,@libexecdir@,$libexecdir,;t t
2950s,@datadir@,$datadir,;t t
2951s,@sysconfdir@,$sysconfdir,;t t
2952s,@sharedstatedir@,$sharedstatedir,;t t
2953s,@localstatedir@,$localstatedir,;t t
2954s,@libdir@,$libdir,;t t
2955s,@includedir@,$includedir,;t t
2956s,@oldincludedir@,$oldincludedir,;t t
2957s,@infodir@,$infodir,;t t
2958s,@mandir@,$mandir,;t t
2959s,@build_alias@,$build_alias,;t t
2960s,@host_alias@,$host_alias,;t t
2961s,@target_alias@,$target_alias,;t t
2962s,@DEFS@,$DEFS,;t t
2963s,@ECHO_C@,$ECHO_C,;t t
2964s,@ECHO_N@,$ECHO_N,;t t
2965s,@ECHO_T@,$ECHO_T,;t t
2966s,@LIBS@,$LIBS,;t t
2967s,@CC@,$CC,;t t
2968s,@CFLAGS@,$CFLAGS,;t t
2969s,@LDFLAGS@,$LDFLAGS,;t t
2970s,@CPPFLAGS@,$CPPFLAGS,;t t
2971s,@ac_ct_CC@,$ac_ct_CC,;t t
2972s,@EXEEXT@,$EXEEXT,;t t
2973s,@OBJEXT@,$OBJEXT,;t t
2974s,@YACC@,$YACC,;t t
2975s,@LIBOBJS@,$LIBOBJS,;t t
2976s,@LTLIBOBJS@,$LTLIBOBJS,;t t
2977CEOF
2978
2979_ACEOF
2980
2981  cat >>$CONFIG_STATUS <<\_ACEOF
2982  # Split the substitutions into bite-sized pieces for seds with
2983  # small command number limits, like on Digital OSF/1 and HP-UX.
2984  ac_max_sed_lines=48
2985  ac_sed_frag=1 # Number of current file.
2986  ac_beg=1 # First line for current file.
2987  ac_end=$ac_max_sed_lines # Line after last line for current file.
2988  ac_more_lines=:
2989  ac_sed_cmds=
2990  while $ac_more_lines; do
2991    if test $ac_beg -gt 1; then
2992      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2993    else
2994      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
2995    fi
2996    if test ! -s $tmp/subs.frag; then
2997      ac_more_lines=false
2998    else
2999      # The purpose of the label and of the branching condition is to
3000      # speed up the sed processing (if there are no `@' at all, there
3001      # is no need to browse any of the substitutions).
3002      # These are the two extra sed commands mentioned above.
3003      (echo ':t
3004  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
3005      if test -z "$ac_sed_cmds"; then
3006        ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
3007      else
3008        ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3009      fi
3010      ac_sed_frag=`expr $ac_sed_frag + 1`
3011      ac_beg=$ac_end
3012      ac_end=`expr $ac_end + $ac_max_sed_lines`
3013    fi
3014  done
3015  if test -z "$ac_sed_cmds"; then
3016    ac_sed_cmds=cat
3017  fi
3018fi # test -n "$CONFIG_FILES"
3019
3020_ACEOF
3021cat >>$CONFIG_STATUS <<\_ACEOF
3022for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
3023  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3024  case $ac_file in
3025  - | *:- | *:-:* ) # input from stdin
3026        cat >$tmp/stdin
3027        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3028        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3029  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3030        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3031  * )   ac_file_in=$ac_file.in ;;
3032  esac
3033
3034  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3035  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3036$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3037         X"$ac_file" : 'X\(//\)[^/]' \| \
3038         X"$ac_file" : 'X\(//\)$' \| \
3039         X"$ac_file" : 'X\(/\)' \| \
3040         .     : '\(.\)' 2>/dev/null ||
3041echo X"$ac_file" |
3042    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3043          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3044          /^X\(\/\/\)$/{ s//\1/; q; }
3045          /^X\(\/\).*/{ s//\1/; q; }
3046          s/.*/./; q'`
3047  { if $as_mkdir_p; then
3048    mkdir -p "$ac_dir"
3049  else
3050    as_dir="$ac_dir"
3051    as_dirs=
3052    while test ! -d "$as_dir"; do
3053      as_dirs="$as_dir $as_dirs"
3054      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3055$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3056         X"$as_dir" : 'X\(//\)[^/]' \| \
3057         X"$as_dir" : 'X\(//\)$' \| \
3058         X"$as_dir" : 'X\(/\)' \| \
3059         .     : '\(.\)' 2>/dev/null ||
3060echo X"$as_dir" |
3061    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3062          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3063          /^X\(\/\/\)$/{ s//\1/; q; }
3064          /^X\(\/\).*/{ s//\1/; q; }
3065          s/.*/./; q'`
3066    done
3067    test ! -n "$as_dirs" || mkdir $as_dirs
3068  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3069echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3070   { (exit 1); exit 1; }; }; }
3071
3072  ac_builddir=.
3073
3074if test "$ac_dir" != .; then
3075  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3076  # A "../" for each directory in $ac_dir_suffix.
3077  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3078else
3079  ac_dir_suffix= ac_top_builddir=
3080fi
3081
3082case $srcdir in
3083  .)  # No --srcdir option.  We are building in place.
3084    ac_srcdir=.
3085    if test -z "$ac_top_builddir"; then
3086       ac_top_srcdir=.
3087    else
3088       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3089    fi ;;
3090  [\\/]* | ?:[\\/]* )  # Absolute path.
3091    ac_srcdir=$srcdir$ac_dir_suffix;
3092    ac_top_srcdir=$srcdir ;;
3093  *) # Relative path.
3094    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3095    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3096esac
3097
3098# Do not use `cd foo && pwd` to compute absolute paths, because
3099# the directories may not exist.
3100case `pwd` in
3101.) ac_abs_builddir="$ac_dir";;
3102*)
3103  case "$ac_dir" in
3104  .) ac_abs_builddir=`pwd`;;
3105  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3106  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3107  esac;;
3108esac
3109case $ac_abs_builddir in
3110.) ac_abs_top_builddir=${ac_top_builddir}.;;
3111*)
3112  case ${ac_top_builddir}. in
3113  .) ac_abs_top_builddir=$ac_abs_builddir;;
3114  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3115  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3116  esac;;
3117esac
3118case $ac_abs_builddir in
3119.) ac_abs_srcdir=$ac_srcdir;;
3120*)
3121  case $ac_srcdir in
3122  .) ac_abs_srcdir=$ac_abs_builddir;;
3123  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3124  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3125  esac;;
3126esac
3127case $ac_abs_builddir in
3128.) ac_abs_top_srcdir=$ac_top_srcdir;;
3129*)
3130  case $ac_top_srcdir in
3131  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3132  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3133  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3134  esac;;
3135esac
3136
3137
3138
3139  if test x"$ac_file" != x-; then
3140    { echo "$as_me:$LINENO: creating $ac_file" >&5
3141echo "$as_me: creating $ac_file" >&6;}
3142    rm -f "$ac_file"
3143  fi
3144  # Let's still pretend it is `configure' which instantiates (i.e., don't
3145  # use $as_me), people would be surprised to read:
3146  #    /* config.h.  Generated by config.status.  */
3147  if test x"$ac_file" = x-; then
3148    configure_input=
3149  else
3150    configure_input="$ac_file.  "
3151  fi
3152  configure_input=$configure_input"Generated from `echo $ac_file_in |
3153                                     sed 's,.*/,,'` by configure."
3154
3155  # First look for the input files in the build tree, otherwise in the
3156  # src tree.
3157  ac_file_inputs=`IFS=:
3158    for f in $ac_file_in; do
3159      case $f in
3160      -) echo $tmp/stdin ;;
3161      [\\/$]*)
3162         # Absolute (can't be DOS-style, as IFS=:)
3163         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3164echo "$as_me: error: cannot find input file: $f" >&2;}
3165   { (exit 1); exit 1; }; }
3166         echo "$f";;
3167      *) # Relative
3168         if test -f "$f"; then
3169           # Build tree
3170           echo "$f"
3171         elif test -f "$srcdir/$f"; then
3172           # Source tree
3173           echo "$srcdir/$f"
3174         else
3175           # /dev/null tree
3176           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3177echo "$as_me: error: cannot find input file: $f" >&2;}
3178   { (exit 1); exit 1; }; }
3179         fi;;
3180      esac
3181    done` || { (exit 1); exit 1; }
3182_ACEOF
3183cat >>$CONFIG_STATUS <<_ACEOF
3184  sed "$ac_vpsub
3185$extrasub
3186_ACEOF
3187cat >>$CONFIG_STATUS <<\_ACEOF
3188:t
3189/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
3190s,@configure_input@,$configure_input,;t t
3191s,@srcdir@,$ac_srcdir,;t t
3192s,@abs_srcdir@,$ac_abs_srcdir,;t t
3193s,@top_srcdir@,$ac_top_srcdir,;t t
3194s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
3195s,@builddir@,$ac_builddir,;t t
3196s,@abs_builddir@,$ac_abs_builddir,;t t
3197s,@top_builddir@,$ac_top_builddir,;t t
3198s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
3199" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
3200  rm -f $tmp/stdin
3201  if test x"$ac_file" != x-; then
3202    mv $tmp/out $ac_file
3203  else
3204    cat $tmp/out
3205    rm -f $tmp/out
3206  fi
3207
3208done
3209_ACEOF
3210cat >>$CONFIG_STATUS <<\_ACEOF
3211
3212#
3213# CONFIG_HEADER section.
3214#
3215
3216# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3217# NAME is the cpp macro being defined and VALUE is the value it is being given.
3218#
3219# ac_d sets the value in "#define NAME VALUE" lines.
3220ac_dA='s,^\([    ]*\)#\([        ]*define[       ][      ]*\)'
3221ac_dB='[         ].*$,\1#\2'
3222ac_dC=' '
3223ac_dD=',;t'
3224# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3225ac_uA='s,^\([    ]*\)#\([        ]*\)undef\([    ][      ]*\)'
3226ac_uB='$,\1#\2define\3'
3227ac_uC=' '
3228ac_uD=',;t'
3229
3230for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3231  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3232  case $ac_file in
3233  - | *:- | *:-:* ) # input from stdin
3234        cat >$tmp/stdin
3235        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3236        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3237  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3238        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3239  * )   ac_file_in=$ac_file.in ;;
3240  esac
3241
3242  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
3243echo "$as_me: creating $ac_file" >&6;}
3244
3245  # First look for the input files in the build tree, otherwise in the
3246  # src tree.
3247  ac_file_inputs=`IFS=:
3248    for f in $ac_file_in; do
3249      case $f in
3250      -) echo $tmp/stdin ;;
3251      [\\/$]*)
3252         # Absolute (can't be DOS-style, as IFS=:)
3253         test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3254echo "$as_me: error: cannot find input file: $f" >&2;}
3255   { (exit 1); exit 1; }; }
3256         # Do quote $f, to prevent DOS paths from being IFS'd.
3257         echo "$f";;
3258      *) # Relative
3259         if test -f "$f"; then
3260           # Build tree
3261           echo "$f"
3262         elif test -f "$srcdir/$f"; then
3263           # Source tree
3264           echo "$srcdir/$f"
3265         else
3266           # /dev/null tree
3267           { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
3268echo "$as_me: error: cannot find input file: $f" >&2;}
3269   { (exit 1); exit 1; }; }
3270         fi;;
3271      esac
3272    done` || { (exit 1); exit 1; }
3273  # Remove the trailing spaces.
3274  sed 's/[       ]*$//' $ac_file_inputs >$tmp/in
3275
3276_ACEOF
3277
3278# Transform confdefs.h into two sed scripts, `conftest.defines' and
3279# `conftest.undefs', that substitutes the proper values into
3280# config.h.in to produce config.h.  The first handles `#define'
3281# templates, and the second `#undef' templates.
3282# And first: Protect against being on the right side of a sed subst in
3283# config.status.  Protect against being in an unquoted here document
3284# in config.status.
3285rm -f conftest.defines conftest.undefs
3286# Using a here document instead of a string reduces the quoting nightmare.
3287# Putting comments in sed scripts is not portable.
3288#
3289# `end' is used to avoid that the second main sed command (meant for
3290# 0-ary CPP macros) applies to n-ary macro definitions.
3291# See the Autoconf documentation for `clear'.
3292cat >confdef2sed.sed <<\_ACEOF
3293s/[\\&,]/\\&/g
3294s,[\\$`],\\&,g
3295t clear
3296: clear
3297s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
3298t end
3299s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3300: end
3301_ACEOF
3302# If some macros were called several times there might be several times
3303# the same #defines, which is useless.  Nevertheless, we may not want to
3304# sort them, since we want the *last* AC-DEFINE to be honored.
3305uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3306sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3307rm -f confdef2sed.sed
3308
3309# This sed command replaces #undef with comments.  This is necessary, for
3310# example, in the case of _POSIX_SOURCE, which is predefined and required
3311# on some systems where configure will not decide to define it.
3312cat >>conftest.undefs <<\_ACEOF
3313s,^[     ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3314_ACEOF
3315
3316# Break up conftest.defines because some shells have a limit on the size
3317# of here documents, and old seds have small limits too (100 cmds).
3318echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3319echo '  if grep "^[      ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3320echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3321echo '  :' >>$CONFIG_STATUS
3322rm -f conftest.tail
3323while grep . conftest.defines >/dev/null
3324do
3325  # Write a limited-size here document to $tmp/defines.sed.
3326  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3327  # Speed up: don't consider the non `#define' lines.
3328  echo '/^[      ]*#[    ]*define/!b' >>$CONFIG_STATUS
3329  # Work around the forget-to-reset-the-flag bug.
3330  echo 't clr' >>$CONFIG_STATUS
3331  echo ': clr' >>$CONFIG_STATUS
3332  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3333  echo 'CEOF
3334  sed -f $tmp/defines.sed $tmp/in >$tmp/out
3335  rm -f $tmp/in
3336  mv $tmp/out $tmp/in
3337' >>$CONFIG_STATUS
3338  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3339  rm -f conftest.defines
3340  mv conftest.tail conftest.defines
3341done
3342rm -f conftest.defines
3343echo '  fi # grep' >>$CONFIG_STATUS
3344echo >>$CONFIG_STATUS
3345
3346# Break up conftest.undefs because some shells have a limit on the size
3347# of here documents, and old seds have small limits too (100 cmds).
3348echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
3349rm -f conftest.tail
3350while grep . conftest.undefs >/dev/null
3351do
3352  # Write a limited-size here document to $tmp/undefs.sed.
3353  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3354  # Speed up: don't consider the non `#undef'
3355  echo '/^[      ]*#[    ]*undef/!b' >>$CONFIG_STATUS
3356  # Work around the forget-to-reset-the-flag bug.
3357  echo 't clr' >>$CONFIG_STATUS
3358  echo ': clr' >>$CONFIG_STATUS
3359  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3360  echo 'CEOF
3361  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3362  rm -f $tmp/in
3363  mv $tmp/out $tmp/in
3364' >>$CONFIG_STATUS
3365  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3366  rm -f conftest.undefs
3367  mv conftest.tail conftest.undefs
3368done
3369rm -f conftest.undefs
3370
3371cat >>$CONFIG_STATUS <<\_ACEOF
3372  # Let's still pretend it is `configure' which instantiates (i.e., don't
3373  # use $as_me), people would be surprised to read:
3374  #    /* config.h.  Generated by config.status.  */
3375  if test x"$ac_file" = x-; then
3376    echo "/* Generated by configure.  */" >$tmp/config.h
3377  else
3378    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
3379  fi
3380  cat $tmp/in >>$tmp/config.h
3381  rm -f $tmp/in
3382  if test x"$ac_file" != x-; then
3383    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
3384      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
3385echo "$as_me: $ac_file is unchanged" >&6;}
3386    else
3387      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
3388$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3389         X"$ac_file" : 'X\(//\)[^/]' \| \
3390         X"$ac_file" : 'X\(//\)$' \| \
3391         X"$ac_file" : 'X\(/\)' \| \
3392         .     : '\(.\)' 2>/dev/null ||
3393echo X"$ac_file" |
3394    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3395          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3396          /^X\(\/\/\)$/{ s//\1/; q; }
3397          /^X\(\/\).*/{ s//\1/; q; }
3398          s/.*/./; q'`
3399      { if $as_mkdir_p; then
3400    mkdir -p "$ac_dir"
3401  else
3402    as_dir="$ac_dir"
3403    as_dirs=
3404    while test ! -d "$as_dir"; do
3405      as_dirs="$as_dir $as_dirs"
3406      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3407$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3408         X"$as_dir" : 'X\(//\)[^/]' \| \
3409         X"$as_dir" : 'X\(//\)$' \| \
3410         X"$as_dir" : 'X\(/\)' \| \
3411         .     : '\(.\)' 2>/dev/null ||
3412echo X"$as_dir" |
3413    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3414          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3415          /^X\(\/\/\)$/{ s//\1/; q; }
3416          /^X\(\/\).*/{ s//\1/; q; }
3417          s/.*/./; q'`
3418    done
3419    test ! -n "$as_dirs" || mkdir $as_dirs
3420  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3421echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3422   { (exit 1); exit 1; }; }; }
3423
3424      rm -f $ac_file
3425      mv $tmp/config.h $ac_file
3426    fi
3427  else
3428    cat $tmp/config.h
3429    rm -f $tmp/config.h
3430  fi
3431done
3432_ACEOF
3433
3434cat >>$CONFIG_STATUS <<\_ACEOF
3435
3436{ (exit 0); exit 0; }
3437_ACEOF
3438chmod +x $CONFIG_STATUS
3439ac_clean_files=$ac_clean_files_save
3440
3441
3442# configure is writing to config.log, and then calls config.status.
3443# config.status does its own redirection, appending to config.log.
3444# Unfortunately, on DOS this fails, as config.log is still kept open
3445# by configure, so config.status won't be able to write to it; its
3446# output is simply discarded.  So we exec the FD to /dev/null,
3447# effectively closing config.log, so it can be properly (re)opened and
3448# appended to by config.status.  When coming back to configure, we
3449# need to make the FD available again.
3450if test "$no_create" != yes; then
3451  ac_cs_success=:
3452  ac_config_status_args=
3453  test "$silent" = yes &&
3454    ac_config_status_args="$ac_config_status_args --quiet"
3455  exec 5>/dev/null
3456  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3457  exec 5>>config.log
3458  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3459  # would make configure fail if this is the last instruction.
3460  $ac_cs_success || { (exit 1); exit 1; }
3461fi
3462
Note: See TracBrowser for help on using the repository browser.