root/tags/release-1.0-beta/configure

Revision 39, 114.3 KB (checked in by anton, 3 years ago)

1.0.0b tag added

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