Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/config/configure @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

File size: 95.0 KB
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="./tools/configure.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 CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT 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_CXX_set=${CXX+set}
717ac_env_CXX_value=$CXX
718ac_cv_env_CXX_set=${CXX+set}
719ac_cv_env_CXX_value=$CXX
720ac_env_CXXFLAGS_set=${CXXFLAGS+set}
721ac_env_CXXFLAGS_value=$CXXFLAGS
722ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
723ac_cv_env_CXXFLAGS_value=$CXXFLAGS
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
732
733#
734# Report the --help message.
735#
736if test "$ac_init_help" = "long"; then
737  # Omit some internal or obsolete options to make the list less imposing.
738  # This message is too long to be a string in the A/UX 3.1 sh.
739  cat <<_ACEOF
740\`configure' configures this package to adapt to many kinds of systems.
741
742Usage: $0 [OPTION]... [VAR=VALUE]...
743
744To assign environment variables (e.g., CC, CFLAGS...), specify them as
745VAR=VALUE.  See below for descriptions of some of the useful variables.
746
747Defaults for the options are specified in brackets.
748
749Configuration:
750  -h, --help              display this help and exit
751      --help=short        display options specific to this package
752      --help=recursive    display the short help of all the included packages
753  -V, --version           display version information and exit
754  -q, --quiet, --silent   do not print \`checking...' messages
755      --cache-file=FILE   cache test results in FILE [disabled]
756  -C, --config-cache      alias for \`--cache-file=config.cache'
757  -n, --no-create         do not create output files
758      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
759
760_ACEOF
761
762  cat <<_ACEOF
763Installation directories:
764  --prefix=PREFIX         install architecture-independent files in PREFIX
765                          [$ac_default_prefix]
766  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
767                          [PREFIX]
768
769By default, \`make install' will install all the files in
770\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
771an installation prefix other than \`$ac_default_prefix' using \`--prefix',
772for instance \`--prefix=\$HOME'.
773
774For better control, use the options below.
775
776Fine tuning of the installation directories:
777  --bindir=DIR           user executables [EPREFIX/bin]
778  --sbindir=DIR          system admin executables [EPREFIX/sbin]
779  --libexecdir=DIR       program executables [EPREFIX/libexec]
780  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
781  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
782  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
783  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
784  --libdir=DIR           object code libraries [EPREFIX/lib]
785  --includedir=DIR       C header files [PREFIX/include]
786  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
787  --infodir=DIR          info documentation [PREFIX/info]
788  --mandir=DIR           man documentation [PREFIX/man]
789_ACEOF
790
791  cat <<\_ACEOF
792_ACEOF
793fi
794
795if test -n "$ac_init_help"; then
796
797  cat <<\_ACEOF
798
799Optional Features:
800  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
801  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
802--enable-test             tests current settings rather than defining new ones
803--enable-extension=<ext>
804
805Optional Packages:
806  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
807  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
808  --with-boost=DIR        path to the boost main tree
809
810Some influential environment variables:
811  CXX         C++ compiler command
812  CXXFLAGS    C++ compiler flags
813  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
814              nonstandard directory <lib dir>
815  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
816              headers in a nonstandard directory <include dir>
817
818Use these variables to override the choices made by `configure' or to help
819it to find libraries and programs with nonstandard names/locations.
820
821_ACEOF
822fi
823
824if test "$ac_init_help" = "recursive"; then
825  # If there are subdirs, report their specific --help.
826  ac_popdir=`pwd`
827  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
828    test -d $ac_dir || continue
829    ac_builddir=.
830
831if test "$ac_dir" != .; then
832  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
833  # A "../" for each directory in $ac_dir_suffix.
834  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
835else
836  ac_dir_suffix= ac_top_builddir=
837fi
838
839case $srcdir in
840  .)  # No --srcdir option.  We are building in place.
841    ac_srcdir=.
842    if test -z "$ac_top_builddir"; then
843       ac_top_srcdir=.
844    else
845       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
846    fi ;;
847  [\\/]* | ?:[\\/]* )  # Absolute path.
848    ac_srcdir=$srcdir$ac_dir_suffix;
849    ac_top_srcdir=$srcdir ;;
850  *) # Relative path.
851    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
852    ac_top_srcdir=$ac_top_builddir$srcdir ;;
853esac
854
855# Do not use `cd foo && pwd` to compute absolute paths, because
856# the directories may not exist.
857case `pwd` in
858.) ac_abs_builddir="$ac_dir";;
859*)
860  case "$ac_dir" in
861  .) ac_abs_builddir=`pwd`;;
862  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
863  *) ac_abs_builddir=`pwd`/"$ac_dir";;
864  esac;;
865esac
866case $ac_abs_builddir in
867.) ac_abs_top_builddir=${ac_top_builddir}.;;
868*)
869  case ${ac_top_builddir}. in
870  .) ac_abs_top_builddir=$ac_abs_builddir;;
871  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
872  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
873  esac;;
874esac
875case $ac_abs_builddir in
876.) ac_abs_srcdir=$ac_srcdir;;
877*)
878  case $ac_srcdir in
879  .) ac_abs_srcdir=$ac_abs_builddir;;
880  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
881  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
882  esac;;
883esac
884case $ac_abs_builddir in
885.) ac_abs_top_srcdir=$ac_top_srcdir;;
886*)
887  case $ac_top_srcdir in
888  .) ac_abs_top_srcdir=$ac_abs_builddir;;
889  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
890  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
891  esac;;
892esac
893
894    cd $ac_dir
895    # Check for guested configure; otherwise get Cygnus style configure.
896    if test -f $ac_srcdir/configure.gnu; then
897      echo
898      $SHELL $ac_srcdir/configure.gnu  --help=recursive
899    elif test -f $ac_srcdir/configure; then
900      echo
901      $SHELL $ac_srcdir/configure  --help=recursive
902    elif test -f $ac_srcdir/configure.ac ||
903           test -f $ac_srcdir/configure.in; then
904      echo
905      $ac_configure --help
906    else
907      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
908    fi
909    cd $ac_popdir
910  done
911fi
912
913test -n "$ac_init_help" && exit 0
914if $ac_init_version; then
915  cat <<\_ACEOF
916
917Copyright (C) 2003 Free Software Foundation, Inc.
918This configure script is free software; the Free Software Foundation
919gives unlimited permission to copy, distribute and modify it.
920_ACEOF
921  exit 0
922fi
923exec 5>config.log
924cat >&5 <<_ACEOF
925This file contains any messages produced by compilers while
926running configure, to aid debugging if configure makes a mistake.
927
928It was created by $as_me, which was
929generated by GNU Autoconf 2.59.  Invocation command line was
930
931  $ $0 $@
932
933_ACEOF
934{
935cat <<_ASUNAME
936## --------- ##
937## Platform. ##
938## --------- ##
939
940hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
941uname -m = `(uname -m) 2>/dev/null || echo unknown`
942uname -r = `(uname -r) 2>/dev/null || echo unknown`
943uname -s = `(uname -s) 2>/dev/null || echo unknown`
944uname -v = `(uname -v) 2>/dev/null || echo unknown`
945
946/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
947/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
948
949/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
950/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
951/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
952hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
953/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
954/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
955/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
956
957_ASUNAME
958
959as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
960for as_dir in $PATH
961do
962  IFS=$as_save_IFS
963  test -z "$as_dir" && as_dir=.
964  echo "PATH: $as_dir"
965done
966
967} >&5
968
969cat >&5 <<_ACEOF
970
971
972## ----------- ##
973## Core tests. ##
974## ----------- ##
975
976_ACEOF
977
978
979# Keep a trace of the command line.
980# Strip out --no-create and --no-recursion so they do not pile up.
981# Strip out --silent because we don't want to record it for future runs.
982# Also quote any args containing shell meta-characters.
983# Make two passes to allow for proper duplicate-argument suppression.
984ac_configure_args=
985ac_configure_args0=
986ac_configure_args1=
987ac_sep=
988ac_must_keep_next=false
989for ac_pass in 1 2
990do
991  for ac_arg
992  do
993    case $ac_arg in
994    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
995    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
996    | -silent | --silent | --silen | --sile | --sil)
997      continue ;;
998    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
999      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1000    esac
1001    case $ac_pass in
1002    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1003    2)
1004      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1005      if test $ac_must_keep_next = true; then
1006        ac_must_keep_next=false # Got value, back to normal.
1007      else
1008        case $ac_arg in
1009          *=* | --config-cache | -C | -disable-* | --disable-* \
1010          | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1011          | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1012          | -with-* | --with-* | -without-* | --without-* | --x)
1013            case "$ac_configure_args0 " in
1014              "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1015            esac
1016            ;;
1017          -* ) ac_must_keep_next=true ;;
1018        esac
1019      fi
1020      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1021      # Get rid of the leading space.
1022      ac_sep=" "
1023      ;;
1024    esac
1025  done
1026done
1027$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1028$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1029
1030# When interrupted or exit'd, cleanup temporary files, and complete
1031# config.log.  We remove comments because anyway the quotes in there
1032# would cause problems or look ugly.
1033# WARNING: Be sure not to use single quotes in there, as some shells,
1034# such as our DU 5.0 friend, will then `close' the trap.
1035trap 'exit_status=$?
1036  # Save into config.log some information that might help in debugging.
1037  {
1038    echo
1039
1040    cat <<\_ASBOX
1041## ---------------- ##
1042## Cache variables. ##
1043## ---------------- ##
1044_ASBOX
1045    echo
1046    # The following way of writing the cache mishandles newlines in values,
1047{
1048  (set) 2>&1 |
1049    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1050    *ac_space=\ *)
1051      sed -n \
1052        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1053          s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1054      ;;
1055    *)
1056      sed -n \
1057        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1058      ;;
1059    esac;
1060}
1061    echo
1062
1063    cat <<\_ASBOX
1064## ----------------- ##
1065## Output variables. ##
1066## ----------------- ##
1067_ASBOX
1068    echo
1069    for ac_var in $ac_subst_vars
1070    do
1071      eval ac_val=$`echo $ac_var`
1072      echo "$ac_var='"'"'$ac_val'"'"'"
1073    done | sort
1074    echo
1075
1076    if test -n "$ac_subst_files"; then
1077      cat <<\_ASBOX
1078## ------------- ##
1079## Output files. ##
1080## ------------- ##
1081_ASBOX
1082      echo
1083      for ac_var in $ac_subst_files
1084      do
1085        eval ac_val=$`echo $ac_var`
1086        echo "$ac_var='"'"'$ac_val'"'"'"
1087      done | sort
1088      echo
1089    fi
1090
1091    if test -s confdefs.h; then
1092      cat <<\_ASBOX
1093## ----------- ##
1094## confdefs.h. ##
1095## ----------- ##
1096_ASBOX
1097      echo
1098      sed "/^$/d" confdefs.h | sort
1099      echo
1100    fi
1101    test "$ac_signal" != 0 &&
1102      echo "$as_me: caught signal $ac_signal"
1103    echo "$as_me: exit $exit_status"
1104  } >&5
1105  rm -f core *.core &&
1106  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1107    exit $exit_status
1108     ' 0
1109for ac_signal in 1 2 13 15; do
1110  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1111done
1112ac_signal=0
1113
1114# confdefs.h avoids OS command line length limits that DEFS can exceed.
1115rm -rf conftest* confdefs.h
1116# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1117echo >confdefs.h
1118
1119# Predefined preprocessor variables.
1120
1121cat >>confdefs.h <<_ACEOF
1122#define PACKAGE_NAME "$PACKAGE_NAME"
1123_ACEOF
1124
1125
1126cat >>confdefs.h <<_ACEOF
1127#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1128_ACEOF
1129
1130
1131cat >>confdefs.h <<_ACEOF
1132#define PACKAGE_VERSION "$PACKAGE_VERSION"
1133_ACEOF
1134
1135
1136cat >>confdefs.h <<_ACEOF
1137#define PACKAGE_STRING "$PACKAGE_STRING"
1138_ACEOF
1139
1140
1141cat >>confdefs.h <<_ACEOF
1142#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1143_ACEOF
1144
1145
1146# Let the site file select an alternate cache file if it wants to.
1147# Prefer explicitly selected file to automatically selected ones.
1148if test -z "$CONFIG_SITE"; then
1149  if test "x$prefix" != xNONE; then
1150    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1151  else
1152    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1153  fi
1154fi
1155for ac_site_file in $CONFIG_SITE; do
1156  if test -r "$ac_site_file"; then
1157    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1158echo "$as_me: loading site script $ac_site_file" >&6;}
1159    sed 's/^/| /' "$ac_site_file" >&5
1160    . "$ac_site_file"
1161  fi
1162done
1163
1164
1165# Check that the precious variables saved in the cache have kept the same
1166# value.
1167ac_cache_corrupted=false
1168for ac_var in `(set) 2>&1 |
1169               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1170  eval ac_old_set=\$ac_cv_env_${ac_var}_set
1171  eval ac_new_set=\$ac_env_${ac_var}_set
1172  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1173  eval ac_new_val="\$ac_env_${ac_var}_value"
1174  case $ac_old_set,$ac_new_set in
1175    set,)
1176      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1177echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1178      ac_cache_corrupted=: ;;
1179    ,set)
1180      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1181echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1182      ac_cache_corrupted=: ;;
1183    ,);;
1184    *)
1185      if test "x$ac_old_val" != "x$ac_new_val"; then
1186        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1187echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1188        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1189echo "$as_me:   former value:  $ac_old_val" >&2;}
1190        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1191echo "$as_me:   current value: $ac_new_val" >&2;}
1192        ac_cache_corrupted=:
1193      fi;;
1194  esac
1195  # Pass precious variables to config.status.
1196  if test "$ac_new_set" = set; then
1197    case $ac_new_val in
1198    *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1199      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1200    *) ac_arg=$ac_var=$ac_new_val ;;
1201    esac
1202    case " $ac_configure_args " in
1203      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1204      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1205    esac
1206  fi
1207done
1208if $ac_cache_corrupted; then
1209  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1210echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1211  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1212echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1213   { (exit 1); exit 1; }; }
1214fi
1215
1216ac_ext=c
1217ac_cpp='$CPP $CPPFLAGS'
1218ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1219ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1220ac_compiler_gnu=$ac_cv_c_compiler_gnu
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242# Check whether --enable-test or --disable-test was given.
1243if test "${enable_test+set}" = set; then
1244  enableval="$enable_test"
1245
1246fi;
1247
1248if test "foo"$enable_test = "foo"; then
1249   enable_test="no"
1250fi
1251
1252cat << EOF
1253*** $0: boost configuration utility ***
1254
1255Please stand by while exploring compiler capabilities...
1256Be patient - this could take some time...
1257
1258Note that this test script only gives an approximate
1259configuration - you will need to test the results carefully
1260using the boost regression test suite before using the results.
1261EOF
1262
1263if test $enable_test = 'yes'; then
1264
1265cat << EOF
1266
1267This script reports only the difference between the detected
1268configuration, and the existing boost configuration.  Its
1269primary aim is to quickly report how well boost is configured
1270for one compiler.
1271
1272***
1273
1274EOF
1275
1276else
1277
1278cat << EOF
1279
1280***
1281
1282EOF
1283fi
1284
1285# Check whether --enable-extension or --disable-extension was given.
1286if test "${enable_extension+set}" = set; then
1287  enableval="$enable_extension"
1288
1289case "$enableval" in
1290   no) echo "$as_me:$LINENO: result: Info :.cpp used as extension for tests" >&5
1291echo "${ECHO_T}Info :.cpp used as extension for tests" >&6
1292       ac_ext=cpp
1293         ;;
1294    *) echo "$as_me:$LINENO: result: Argument : .$enableval used as extension" >&5
1295echo "${ECHO_T}Argument : .$enableval used as extension" >&6
1296   ac_ext=$enableval
1297esac
1298
1299else
1300  echo "$as_me:$LINENO: result: Info : .cpp used as extension for tests" >&5
1301echo "${ECHO_T}Info : .cpp used as extension for tests" >&6
1302   ac_ext=cpp
1303
1304
1305fi;
1306
1307
1308if test -f /bin/sed ; then
1309   SED=/bin/sed
1310else
1311   if test -f /usr/bin/sed ; then
1312      SED=/usr/bin/sed
1313   else
1314      SED=sed
1315   fi
1316fi
1317
1318echo "$as_me:$LINENO: checking for boost main tree" >&5
1319echo $ECHO_N "checking for boost main tree... $ECHO_C" >&6
1320boost_base=
1321
1322# Check whether --with-boost or --without-boost was given.
1323if test "${with_boost+set}" = set; then
1324  withval="$with_boost"
1325
1326  #echo "--with boost is set"
1327  if test "x$withval" != "x"; then
1328    if test "x$withval" != no; then
1329      boost_base=`echo "$withval" | $SED 's,//*,/,g' | $SED 's,/$,,'`
1330      #echo boost_base=$boost_base
1331      if test -f "$boost_base/boost/config.hpp"; then
1332        if test -f "$boost_base/libs/config/configure"; then :; else
1333          boost_base=
1334          #echo "$boost_base/libs/config/configure" not found
1335        fi
1336      else
1337        #echo "$boost_base/boost/config.hpp" not found
1338        boost_base=
1339      fi
1340    fi
1341  fi
1342
1343
1344fi;
1345if test "x$boost_base" = "x"; then
1346  #echo '$0 = ' $0
1347  boost_base=`expr "x$0" : 'x\(.*\)/[/]*' \| '.'`
1348  boost_base="$boost_base/../.."
1349  #echo boost_base=$boost_base
1350  if test -f "$boost_base/boost/config.hpp"; then
1351    if test -f "$boost_base/libs/config/configure"; then :; else
1352      boost_base=
1353    fi
1354  else
1355    boost_base=
1356  fi
1357fi
1358if test "x$boost_base" != "x"; then
1359  echo "$as_me:$LINENO: result: $boost_base" >&5
1360echo "${ECHO_T}$boost_base" >&6
1361else
1362  echo "$as_me:$LINENO: result: not found" >&5
1363echo "${ECHO_T}not found" >&6
1364  { { echo "$as_me:$LINENO: error: The boost main tree was not found.
1365  Specify its location by the --with-boost option." >&5
1366echo "$as_me: error: The boost main tree was not found.
1367  Specify its location by the --with-boost option." >&2;}
1368   { (exit 1); exit 1; }; }
1369fi
1370
1371
1372
1373# Save that, as it is being redefined several times
1374use_ac_ext=$ac_ext
1375
1376ac_ext=cc
1377ac_cpp='$CXXCPP $CPPFLAGS'
1378ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1379ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1380ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1381if test -n "$ac_tool_prefix"; then
1382  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1383  do
1384    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1385set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1386echo "$as_me:$LINENO: checking for $ac_word" >&5
1387echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1388if test "${ac_cv_prog_CXX+set}" = set; then
1389  echo $ECHO_N "(cached) $ECHO_C" >&6
1390else
1391  if test -n "$CXX"; then
1392  ac_cv_prog_CXX="$CXX" # Let the user override the test.
1393else
1394as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1395for as_dir in $PATH
1396do
1397  IFS=$as_save_IFS
1398  test -z "$as_dir" && as_dir=.
1399  for ac_exec_ext in '' $ac_executable_extensions; do
1400  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1401    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
1402    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1403    break 2
1404  fi
1405done
1406done
1407
1408fi
1409fi
1410CXX=$ac_cv_prog_CXX
1411if test -n "$CXX"; then
1412  echo "$as_me:$LINENO: result: $CXX" >&5
1413echo "${ECHO_T}$CXX" >&6
1414else
1415  echo "$as_me:$LINENO: result: no" >&5
1416echo "${ECHO_T}no" >&6
1417fi
1418
1419    test -n "$CXX" && break
1420  done
1421fi
1422if test -z "$CXX"; then
1423  ac_ct_CXX=$CXX
1424  for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
1425do
1426  # Extract the first word of "$ac_prog", so it can be a program name with args.
1427set dummy $ac_prog; ac_word=$2
1428echo "$as_me:$LINENO: checking for $ac_word" >&5
1429echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1430if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
1431  echo $ECHO_N "(cached) $ECHO_C" >&6
1432else
1433  if test -n "$ac_ct_CXX"; then
1434  ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
1435else
1436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1437for as_dir in $PATH
1438do
1439  IFS=$as_save_IFS
1440  test -z "$as_dir" && as_dir=.
1441  for ac_exec_ext in '' $ac_executable_extensions; do
1442  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1443    ac_cv_prog_ac_ct_CXX="$ac_prog"
1444    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1445    break 2
1446  fi
1447done
1448done
1449
1450fi
1451fi
1452ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
1453if test -n "$ac_ct_CXX"; then
1454  echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
1455echo "${ECHO_T}$ac_ct_CXX" >&6
1456else
1457  echo "$as_me:$LINENO: result: no" >&5
1458echo "${ECHO_T}no" >&6
1459fi
1460
1461  test -n "$ac_ct_CXX" && break
1462done
1463test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
1464
1465  CXX=$ac_ct_CXX
1466fi
1467
1468
1469# Provide some information about the compiler.
1470echo "$as_me:$LINENO:" \
1471     "checking for C++ compiler version" >&5
1472ac_compiler=`set X $ac_compile; echo $2`
1473{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1474  (eval $ac_compiler --version </dev/null >&5) 2>&5
1475  ac_status=$?
1476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1477  (exit $ac_status); }
1478{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1479  (eval $ac_compiler -v </dev/null >&5) 2>&5
1480  ac_status=$?
1481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1482  (exit $ac_status); }
1483{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1484  (eval $ac_compiler -V </dev/null >&5) 2>&5
1485  ac_status=$?
1486  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1487  (exit $ac_status); }
1488
1489cat >conftest.$ac_ext <<_ACEOF
1490/* confdefs.h.  */
1491_ACEOF
1492cat confdefs.h >>conftest.$ac_ext
1493cat >>conftest.$ac_ext <<_ACEOF
1494/* end confdefs.h.  */
1495
1496int
1497main ()
1498{
1499
1500  ;
1501  return 0;
1502}
1503_ACEOF
1504ac_clean_files_save=$ac_clean_files
1505ac_clean_files="$ac_clean_files a.out a.exe b.out"
1506# Try to create an executable without -o first, disregard a.out.
1507# It will help us diagnose broken compilers, and finding out an intuition
1508# of exeext.
1509echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
1510echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6
1511ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1512if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1513  (eval $ac_link_default) 2>&5
1514  ac_status=$?
1515  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1516  (exit $ac_status); }; then
1517  # Find the output, starting from the most likely.  This scheme is
1518# not robust to junk in `.', hence go to wildcards (a.*) only as a last
1519# resort.
1520
1521# Be careful to initialize this variable, since it used to be cached.
1522# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1523ac_cv_exeext=
1524# b.out is created by i960 compilers.
1525for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1526do
1527  test -f "$ac_file" || continue
1528  case $ac_file in
1529    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1530        ;;
1531    conftest.$ac_ext )
1532        # This is the source file.
1533        ;;
1534    [ab].out )
1535        # We found the default executable, but exeext='' is most
1536        # certainly right.
1537        break;;
1538    *.* )
1539        ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1540        # FIXME: I believe we export ac_cv_exeext for Libtool,
1541        # but it would be cool to find out if it's true.  Does anybody
1542        # maintain Libtool? --akim.
1543        export ac_cv_exeext
1544        break;;
1545    * )
1546        break;;
1547  esac
1548done
1549else
1550  echo "$as_me: failed program was:" >&5
1551sed 's/^/| /' conftest.$ac_ext >&5
1552
1553{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
1554See \`config.log' for more details." >&5
1555echo "$as_me: error: C++ compiler cannot create executables
1556See \`config.log' for more details." >&2;}
1557   { (exit 77); exit 77; }; }
1558fi
1559
1560ac_exeext=$ac_cv_exeext
1561echo "$as_me:$LINENO: result: $ac_file" >&5
1562echo "${ECHO_T}$ac_file" >&6
1563
1564# Check the compiler produces executables we can run.  If not, either
1565# the compiler is broken, or we cross compile.
1566echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
1567echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6
1568# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1569# If not cross compiling, check that we can run a simple program.
1570if test "$cross_compiling" != yes; then
1571  if { ac_try='./$ac_file'
1572  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1573  (eval $ac_try) 2>&5
1574  ac_status=$?
1575  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1576  (exit $ac_status); }; }; then
1577    cross_compiling=no
1578  else
1579    if test "$cross_compiling" = maybe; then
1580        cross_compiling=yes
1581    else
1582        { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
1583If you meant to cross compile, use \`--host'.
1584See \`config.log' for more details." >&5
1585echo "$as_me: error: cannot run C++ compiled programs.
1586If you meant to cross compile, use \`--host'.
1587See \`config.log' for more details." >&2;}
1588   { (exit 1); exit 1; }; }
1589    fi
1590  fi
1591fi
1592echo "$as_me:$LINENO: result: yes" >&5
1593echo "${ECHO_T}yes" >&6
1594
1595rm -f a.out a.exe conftest$ac_cv_exeext b.out
1596ac_clean_files=$ac_clean_files_save
1597# Check the compiler produces executables we can run.  If not, either
1598# the compiler is broken, or we cross compile.
1599echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1600echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1601echo "$as_me:$LINENO: result: $cross_compiling" >&5
1602echo "${ECHO_T}$cross_compiling" >&6
1603
1604echo "$as_me:$LINENO: checking for suffix of executables" >&5
1605echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1606if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1607  (eval $ac_link) 2>&5
1608  ac_status=$?
1609  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1610  (exit $ac_status); }; then
1611  # If both `conftest.exe' and `conftest' are `present' (well, observable)
1612# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1613# work properly (i.e., refer to `conftest.exe'), while it won't with
1614# `rm'.
1615for ac_file in conftest.exe conftest conftest.*; do
1616  test -f "$ac_file" || continue
1617  case $ac_file in
1618    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1619    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1620          export ac_cv_exeext
1621          break;;
1622    * ) break;;
1623  esac
1624done
1625else
1626  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1627See \`config.log' for more details." >&5
1628echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1629See \`config.log' for more details." >&2;}
1630   { (exit 1); exit 1; }; }
1631fi
1632
1633rm -f conftest$ac_cv_exeext
1634echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1635echo "${ECHO_T}$ac_cv_exeext" >&6
1636
1637rm -f conftest.$ac_ext
1638EXEEXT=$ac_cv_exeext
1639ac_exeext=$EXEEXT
1640echo "$as_me:$LINENO: checking for suffix of object files" >&5
1641echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1642if test "${ac_cv_objext+set}" = set; then
1643  echo $ECHO_N "(cached) $ECHO_C" >&6
1644else
1645  cat >conftest.$ac_ext <<_ACEOF
1646/* confdefs.h.  */
1647_ACEOF
1648cat confdefs.h >>conftest.$ac_ext
1649cat >>conftest.$ac_ext <<_ACEOF
1650/* end confdefs.h.  */
1651
1652int
1653main ()
1654{
1655
1656  ;
1657  return 0;
1658}
1659_ACEOF
1660rm -f conftest.o conftest.obj
1661if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1662  (eval $ac_compile) 2>&5
1663  ac_status=$?
1664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1665  (exit $ac_status); }; then
1666  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1667  case $ac_file in
1668    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
1669    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1670       break;;
1671  esac
1672done
1673else
1674  echo "$as_me: failed program was:" >&5
1675sed 's/^/| /' conftest.$ac_ext >&5
1676
1677{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1678See \`config.log' for more details." >&5
1679echo "$as_me: error: cannot compute suffix of object files: cannot compile
1680See \`config.log' for more details." >&2;}
1681   { (exit 1); exit 1; }; }
1682fi
1683
1684rm -f conftest.$ac_cv_objext conftest.$ac_ext
1685fi
1686echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1687echo "${ECHO_T}$ac_cv_objext" >&6
1688OBJEXT=$ac_cv_objext
1689ac_objext=$OBJEXT
1690echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
1691echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
1692if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
1693  echo $ECHO_N "(cached) $ECHO_C" >&6
1694else
1695  cat >conftest.$ac_ext <<_ACEOF
1696/* confdefs.h.  */
1697_ACEOF
1698cat confdefs.h >>conftest.$ac_ext
1699cat >>conftest.$ac_ext <<_ACEOF
1700/* end confdefs.h.  */
1701
1702int
1703main ()
1704{
1705#ifndef __GNUC__
1706       choke me
1707#endif
1708
1709  ;
1710  return 0;
1711}
1712_ACEOF
1713rm -f conftest.$ac_objext
1714if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1715  (eval $ac_compile) 2>conftest.er1
1716  ac_status=$?
1717  grep -v '^ *+' conftest.er1 >conftest.err
1718  rm -f conftest.er1
1719  cat conftest.err >&5
1720  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1721  (exit $ac_status); } &&
1722         { ac_try='test -z "$ac_cxx_werror_flag"
1723                         || test ! -s conftest.err'
1724  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1725  (eval $ac_try) 2>&5
1726  ac_status=$?
1727  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1728  (exit $ac_status); }; } &&
1729         { ac_try='test -s conftest.$ac_objext'
1730  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1731  (eval $ac_try) 2>&5
1732  ac_status=$?
1733  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1734  (exit $ac_status); }; }; then
1735  ac_compiler_gnu=yes
1736else
1737  echo "$as_me: failed program was:" >&5
1738sed 's/^/| /' conftest.$ac_ext >&5
1739
1740ac_compiler_gnu=no
1741fi
1742rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1743ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
1744
1745fi
1746echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
1747echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
1748GXX=`test $ac_compiler_gnu = yes && echo yes`
1749ac_test_CXXFLAGS=${CXXFLAGS+set}
1750ac_save_CXXFLAGS=$CXXFLAGS
1751CXXFLAGS="-g"
1752echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
1753echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
1754if test "${ac_cv_prog_cxx_g+set}" = set; then
1755  echo $ECHO_N "(cached) $ECHO_C" >&6
1756else
1757  cat >conftest.$ac_ext <<_ACEOF
1758/* confdefs.h.  */
1759_ACEOF
1760cat confdefs.h >>conftest.$ac_ext
1761cat >>conftest.$ac_ext <<_ACEOF
1762/* end confdefs.h.  */
1763
1764int
1765main ()
1766{
1767
1768  ;
1769  return 0;
1770}
1771_ACEOF
1772rm -f conftest.$ac_objext
1773if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1774  (eval $ac_compile) 2>conftest.er1
1775  ac_status=$?
1776  grep -v '^ *+' conftest.er1 >conftest.err
1777  rm -f conftest.er1
1778  cat conftest.err >&5
1779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1780  (exit $ac_status); } &&
1781         { ac_try='test -z "$ac_cxx_werror_flag"
1782                         || test ! -s conftest.err'
1783  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1784  (eval $ac_try) 2>&5
1785  ac_status=$?
1786  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1787  (exit $ac_status); }; } &&
1788         { ac_try='test -s conftest.$ac_objext'
1789  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1790  (eval $ac_try) 2>&5
1791  ac_status=$?
1792  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1793  (exit $ac_status); }; }; then
1794  ac_cv_prog_cxx_g=yes
1795else
1796  echo "$as_me: failed program was:" >&5
1797sed 's/^/| /' conftest.$ac_ext >&5
1798
1799ac_cv_prog_cxx_g=no
1800fi
1801rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1802fi
1803echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
1804echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
1805if test "$ac_test_CXXFLAGS" = set; then
1806  CXXFLAGS=$ac_save_CXXFLAGS
1807elif test $ac_cv_prog_cxx_g = yes; then
1808  if test "$GXX" = yes; then
1809    CXXFLAGS="-g -O2"
1810  else
1811    CXXFLAGS="-g"
1812  fi
1813else
1814  if test "$GXX" = yes; then
1815    CXXFLAGS="-O2"
1816  else
1817    CXXFLAGS=
1818  fi
1819fi
1820for ac_declaration in \
1821   '' \
1822   'extern "C" void std::exit (int) throw (); using std::exit;' \
1823   'extern "C" void std::exit (int); using std::exit;' \
1824   'extern "C" void exit (int) throw ();' \
1825   'extern "C" void exit (int);' \
1826   'void exit (int);'
1827do
1828  cat >conftest.$ac_ext <<_ACEOF
1829/* confdefs.h.  */
1830_ACEOF
1831cat confdefs.h >>conftest.$ac_ext
1832cat >>conftest.$ac_ext <<_ACEOF
1833/* end confdefs.h.  */
1834$ac_declaration
1835#include <stdlib.h>
1836int
1837main ()
1838{
1839exit (42);
1840  ;
1841  return 0;
1842}
1843_ACEOF
1844rm -f conftest.$ac_objext
1845if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1846  (eval $ac_compile) 2>conftest.er1
1847  ac_status=$?
1848  grep -v '^ *+' conftest.er1 >conftest.err
1849  rm -f conftest.er1
1850  cat conftest.err >&5
1851  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852  (exit $ac_status); } &&
1853         { ac_try='test -z "$ac_cxx_werror_flag"
1854                         || test ! -s conftest.err'
1855  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1856  (eval $ac_try) 2>&5
1857  ac_status=$?
1858  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1859  (exit $ac_status); }; } &&
1860         { ac_try='test -s conftest.$ac_objext'
1861  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1862  (eval $ac_try) 2>&5
1863  ac_status=$?
1864  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1865  (exit $ac_status); }; }; then
1866  :
1867else
1868  echo "$as_me: failed program was:" >&5
1869sed 's/^/| /' conftest.$ac_ext >&5
1870
1871continue
1872fi
1873rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1874  cat >conftest.$ac_ext <<_ACEOF
1875/* confdefs.h.  */
1876_ACEOF
1877cat confdefs.h >>conftest.$ac_ext
1878cat >>conftest.$ac_ext <<_ACEOF
1879/* end confdefs.h.  */
1880$ac_declaration
1881int
1882main ()
1883{
1884exit (42);
1885  ;
1886  return 0;
1887}
1888_ACEOF
1889rm -f conftest.$ac_objext
1890if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1891  (eval $ac_compile) 2>conftest.er1
1892  ac_status=$?
1893  grep -v '^ *+' conftest.er1 >conftest.err
1894  rm -f conftest.er1
1895  cat conftest.err >&5
1896  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1897  (exit $ac_status); } &&
1898         { ac_try='test -z "$ac_cxx_werror_flag"
1899                         || test ! -s conftest.err'
1900  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1901  (eval $ac_try) 2>&5
1902  ac_status=$?
1903  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1904  (exit $ac_status); }; } &&
1905         { ac_try='test -s conftest.$ac_objext'
1906  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1907  (eval $ac_try) 2>&5
1908  ac_status=$?
1909  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1910  (exit $ac_status); }; }; then
1911  break
1912else
1913  echo "$as_me: failed program was:" >&5
1914sed 's/^/| /' conftest.$ac_ext >&5
1915
1916fi
1917rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1918done
1919rm -f conftest*
1920if test -n "$ac_declaration"; then
1921  echo '#ifdef __cplusplus' >>confdefs.h
1922  echo $ac_declaration      >>confdefs.h
1923  echo '#endif'             >>confdefs.h
1924fi
1925
1926ac_ext=c
1927ac_cpp='$CPP $CPPFLAGS'
1928ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1929ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1930ac_compiler_gnu=$ac_cv_c_compiler_gnu
1931
1932ac_ext=$use_ac_ext
1933
1934ac_ext=cc
1935ac_cpp='$CXXCPP $CPPFLAGS'
1936ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1937ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1938ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
1939
1940
1941OLD_CXXFLAGS="$CXXFLAGS"
1942
1943
1944if test $enable_test = 'yes'; then
1945   CXXFLAGS="-I$boost_base -I$boost_base/libs/config/test $CXXFLAGS"
1946else
1947   CXXFLAGS="-I$boost_base -I$boost_base/libs/config/test $CXXFLAGS -DBOOST_NO_CONFIG"
1948fi
1949
1950# add the -AA conformance option to CXXFLAGS for HP aCC only
1951if test $CXX = 'aCC'; then
1952   CXXFLAGS="-AA $CXXFLAGS"
1953fi
1954
1955
1956
1957
1958echo "$as_me:$LINENO: checking for pthread_exit in -lpthread" >&5
1959echo $ECHO_N "checking for pthread_exit in -lpthread... $ECHO_C" >&6
1960if test "${ac_cv_lib_pthread_pthread_exit+set}" = set; then
1961  echo $ECHO_N "(cached) $ECHO_C" >&6
1962else
1963  ac_check_lib_save_LIBS=$LIBS
1964LIBS="-lpthread  $LIBS"
1965cat >conftest.$ac_ext <<_ACEOF
1966/* confdefs.h.  */
1967_ACEOF
1968cat confdefs.h >>conftest.$ac_ext
1969cat >>conftest.$ac_ext <<_ACEOF
1970/* end confdefs.h.  */
1971
1972/* Override any gcc2 internal prototype to avoid an error.  */
1973#ifdef __cplusplus
1974extern "C"
1975#endif
1976/* We use char because int might match the return type of a gcc2
1977   builtin and then its argument prototype would still apply.  */
1978char pthread_exit ();
1979int
1980main ()
1981{
1982pthread_exit ();
1983  ;
1984  return 0;
1985}
1986_ACEOF
1987rm -f conftest.$ac_objext conftest$ac_exeext
1988if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1989  (eval $ac_link) 2>conftest.er1
1990  ac_status=$?
1991  grep -v '^ *+' conftest.er1 >conftest.err
1992  rm -f conftest.er1
1993  cat conftest.err >&5
1994  echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995  (exit $ac_status); } &&
1996         { ac_try='test -z "$ac_cxx_werror_flag"
1997                         || test ! -s conftest.err'
1998  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1999  (eval $ac_try) 2>&5
2000  ac_status=$?
2001  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002  (exit $ac_status); }; } &&
2003         { ac_try='test -s conftest$ac_exeext'
2004  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2005  (eval $ac_try) 2>&5
2006  ac_status=$?
2007  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008  (exit $ac_status); }; }; then
2009  ac_cv_lib_pthread_pthread_exit=yes
2010else
2011  echo "$as_me: failed program was:" >&5
2012sed 's/^/| /' conftest.$ac_ext >&5
2013
2014ac_cv_lib_pthread_pthread_exit=no
2015fi
2016rm -f conftest.err conftest.$ac_objext \
2017      conftest$ac_exeext conftest.$ac_ext
2018LIBS=$ac_check_lib_save_LIBS
2019fi
2020echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_exit" >&5
2021echo "${ECHO_T}$ac_cv_lib_pthread_pthread_exit" >&6
2022if test $ac_cv_lib_pthread_pthread_exit = yes; then
2023  cat >>confdefs.h <<_ACEOF
2024#define HAVE_LIBPTHREAD 1
2025_ACEOF
2026
2027  LIBS="-lpthread $LIBS"
2028
2029fi
2030
2031
2032echo "$as_me:$LINENO: checking for cos in -lm" >&5
2033echo $ECHO_N "checking for cos in -lm... $ECHO_C" >&6
2034if test "${ac_cv_lib_m_cos+set}" = set; then
2035  echo $ECHO_N "(cached) $ECHO_C" >&6
2036else
2037  ac_check_lib_save_LIBS=$LIBS
2038LIBS="-lm  $LIBS"
2039cat >conftest.$ac_ext <<_ACEOF
2040/* confdefs.h.  */
2041_ACEOF
2042cat confdefs.h >>conftest.$ac_ext
2043cat >>conftest.$ac_ext <<_ACEOF
2044/* end confdefs.h.  */
2045
2046/* Override any gcc2 internal prototype to avoid an error.  */
2047#ifdef __cplusplus
2048extern "C"
2049#endif
2050/* We use char because int might match the return type of a gcc2
2051   builtin and then its argument prototype would still apply.  */
2052char cos ();
2053int
2054main ()
2055{
2056cos ();
2057  ;
2058  return 0;
2059}
2060_ACEOF
2061rm -f conftest.$ac_objext conftest$ac_exeext
2062if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2063  (eval $ac_link) 2>conftest.er1
2064  ac_status=$?
2065  grep -v '^ *+' conftest.er1 >conftest.err
2066  rm -f conftest.er1
2067  cat conftest.err >&5
2068  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2069  (exit $ac_status); } &&
2070         { ac_try='test -z "$ac_cxx_werror_flag"
2071                         || test ! -s conftest.err'
2072  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2073  (eval $ac_try) 2>&5
2074  ac_status=$?
2075  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076  (exit $ac_status); }; } &&
2077         { ac_try='test -s conftest$ac_exeext'
2078  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2079  (eval $ac_try) 2>&5
2080  ac_status=$?
2081  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2082  (exit $ac_status); }; }; then
2083  ac_cv_lib_m_cos=yes
2084else
2085  echo "$as_me: failed program was:" >&5
2086sed 's/^/| /' conftest.$ac_ext >&5
2087
2088ac_cv_lib_m_cos=no
2089fi
2090rm -f conftest.err conftest.$ac_objext \
2091      conftest$ac_exeext conftest.$ac_ext
2092LIBS=$ac_check_lib_save_LIBS
2093fi
2094echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5
2095echo "${ECHO_T}$ac_cv_lib_m_cos" >&6
2096if test $ac_cv_lib_m_cos = yes; then
2097  cat >>confdefs.h <<_ACEOF
2098#define HAVE_LIBM 1
2099_ACEOF
2100
2101  LIBS="-lm $LIBS"
2102
2103fi
2104
2105
2106echo "$as_me:$LINENO: checking for clock in -lrt" >&5
2107echo $ECHO_N "checking for clock in -lrt... $ECHO_C" >&6
2108if test "${ac_cv_lib_rt_clock+set}" = set; then
2109  echo $ECHO_N "(cached) $ECHO_C" >&6
2110else
2111  ac_check_lib_save_LIBS=$LIBS
2112LIBS="-lrt  $LIBS"
2113cat >conftest.$ac_ext <<_ACEOF
2114/* confdefs.h.  */
2115_ACEOF
2116cat confdefs.h >>conftest.$ac_ext
2117cat >>conftest.$ac_ext <<_ACEOF
2118/* end confdefs.h.  */
2119
2120/* Override any gcc2 internal prototype to avoid an error.  */
2121#ifdef __cplusplus
2122extern "C"
2123#endif
2124/* We use char because int might match the return type of a gcc2
2125   builtin and then its argument prototype would still apply.  */
2126char clock ();
2127int
2128main ()
2129{
2130clock ();
2131  ;
2132  return 0;
2133}
2134_ACEOF
2135rm -f conftest.$ac_objext conftest$ac_exeext
2136if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2137  (eval $ac_link) 2>conftest.er1
2138  ac_status=$?
2139  grep -v '^ *+' conftest.er1 >conftest.err
2140  rm -f conftest.er1
2141  cat conftest.err >&5
2142  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143  (exit $ac_status); } &&
2144         { ac_try='test -z "$ac_cxx_werror_flag"
2145                         || test ! -s conftest.err'
2146  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2147  (eval $ac_try) 2>&5
2148  ac_status=$?
2149  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2150  (exit $ac_status); }; } &&
2151         { ac_try='test -s conftest$ac_exeext'
2152  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2153  (eval $ac_try) 2>&5
2154  ac_status=$?
2155  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2156  (exit $ac_status); }; }; then
2157  ac_cv_lib_rt_clock=yes
2158else
2159  echo "$as_me: failed program was:" >&5
2160sed 's/^/| /' conftest.$ac_ext >&5
2161
2162ac_cv_lib_rt_clock=no
2163fi
2164rm -f conftest.err conftest.$ac_objext \
2165      conftest$ac_exeext conftest.$ac_ext
2166LIBS=$ac_check_lib_save_LIBS
2167fi
2168echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock" >&5
2169echo "${ECHO_T}$ac_cv_lib_rt_clock" >&6
2170if test $ac_cv_lib_rt_clock = yes; then
2171  cat >>confdefs.h <<_ACEOF
2172#define HAVE_LIBRT 1
2173_ACEOF
2174
2175  LIBS="-lrt $LIBS"
2176
2177fi
2178
2179
2180#
2181# enumerate test files and test each one:
2182#
2183for file in $boost_base/libs/config/test/boost_no*.ipp; do
2184
2185   basename=`echo $file | $SED 's/.*boost_\(.*\)\.ipp/\1/'`
2186   macroname=`cat $file | grep '^//[    ]*MACRO:' | $SED 's/.*MACRO:[   ]*\([_A-Z0-9]*\).*/\1/'`
2187   title=`cat $file | grep '^//[        ]*TITLE:' | $SED 's/.*TITLE:[   ]*\([^  ].*\)/\1/'`
2188   namespace=`echo $macroname | tr [A-Z] [a-z]`
2189
2190#echo file      = $file
2191#echo basename  = $basename
2192#echo macroname = $macroname
2193#echo title     = $title
2194#echo namespace = $namespace
2195
2196   ac_ext=$use_ac_ext
2197   if test $enable_test = 'yes'; then
2198      echo "$as_me:$LINENO: checking $title (pass expected) " >&5
2199echo $ECHO_N "checking $title (pass expected) ... $ECHO_C" >&6
2200   else
2201      echo "$as_me:$LINENO: checking $title " >&5
2202echo $ECHO_N "checking $title ... $ECHO_C" >&6
2203   fi
2204   if test "$cross_compiling" = yes; then
2205  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2206See \`config.log' for more details." >&5
2207echo "$as_me: error: cannot run test program while cross compiling
2208See \`config.log' for more details." >&2;}
2209   { (exit 1); exit 1; }; }
2210else
2211  cat >conftest.$ac_ext <<_ACEOF
2212/* confdefs.h.  */
2213_ACEOF
2214cat confdefs.h >>conftest.$ac_ext
2215cat >>conftest.$ac_ext <<_ACEOF
2216/* end confdefs.h.  */
2217
2218#include <boost/config.hpp>
2219#include "test.hpp"
2220
2221#if !defined($macroname) || defined(BOOST_NO_CONFIG)
2222#include "boost_$basename.ipp"
2223#else
2224namespace ${namespace} = empty_boost;
2225#endif
2226
2227int main(){ return ${namespace}::test(); }
2228
2229_ACEOF
2230rm -f conftest$ac_exeext
2231if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2232  (eval $ac_link) 2>&5
2233  ac_status=$?
2234  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2236  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2237  (eval $ac_try) 2>&5
2238  ac_status=$?
2239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240  (exit $ac_status); }; }; then
2241  echo "$as_me:$LINENO: result: OK" >&5
2242echo "${ECHO_T}OK" >&6
2243
2244else
2245  echo "$as_me: program exited with status $ac_status" >&5
2246echo "$as_me: failed program was:" >&5
2247sed 's/^/| /' conftest.$ac_ext >&5
2248
2249( exit $ac_status )
2250echo "$as_me:$LINENO: result: Failed" >&5
2251echo "${ECHO_T}Failed" >&6
2252   required_defs="$macroname $required_defs"
2253
2254fi
2255rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2256fi
2257
2258   if test $enable_test = 'yes'; then
2259
2260   ac_ext=$use_ac_ext
2261   echo "$as_me:$LINENO: checking $title (fail expected) " >&5
2262echo $ECHO_N "checking $title (fail expected) ... $ECHO_C" >&6
2263   if test "$cross_compiling" = yes; then
2264  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2265See \`config.log' for more details." >&5
2266echo "$as_me: error: cannot run test program while cross compiling
2267See \`config.log' for more details." >&2;}
2268   { (exit 1); exit 1; }; }
2269else
2270  cat >conftest.$ac_ext <<_ACEOF
2271/* confdefs.h.  */
2272_ACEOF
2273cat confdefs.h >>conftest.$ac_ext
2274cat >>conftest.$ac_ext <<_ACEOF
2275/* end confdefs.h.  */
2276
2277#include <boost/config.hpp>
2278#include "test.hpp"
2279
2280#ifdef $macroname
2281#include "boost_$basename.ipp"
2282#else
2283#error "this file should not compile"
2284#endif
2285
2286int main() { return ${namespace}::test(); }
2287
2288_ACEOF
2289rm -f conftest$ac_exeext
2290if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2291  (eval $ac_link) 2>&5
2292  ac_status=$?
2293  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2294  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2295  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2296  (eval $ac_try) 2>&5
2297  ac_status=$?
2298  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2299  (exit $ac_status); }; }; then
2300  echo "$as_me:$LINENO: result: failed" >&5
2301echo "${ECHO_T}failed" >&6
2302   required_undefs="$macroname $required_undefs"
2303
2304else
2305  echo "$as_me: program exited with status $ac_status" >&5
2306echo "$as_me: failed program was:" >&5
2307sed 's/^/| /' conftest.$ac_ext >&5
2308
2309( exit $ac_status )
2310echo "$as_me:$LINENO: result: OK" >&5
2311echo "${ECHO_T}OK" >&6
2312
2313fi
2314rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2315fi
2316
2317   fi
2318
2319done
2320
2321#
2322# enumerate optional test files and test each one:
2323#
2324for file in $boost_base/libs/config/test/boost_has*.ipp; do
2325
2326   basename=`echo $file | $SED 's/.*boost_\(.*\)\.ipp/\1/'`
2327   macroname=`cat $file | grep '^//[    ]*MACRO:' | $SED 's/.*MACRO:[   ]*\([_A-Z0-9]*\).*/\1/'`
2328   title=`cat $file | grep '^//[        ]*TITLE:' | $SED 's/.*TITLE:[   ]*\([^  ].*\)/\1/'`
2329   namespace=`echo $macroname | tr [A-Z] [a-z]`
2330
2331#  echo $file
2332#  echo $basename
2333#  echo $macroname
2334#  echo $title
2335
2336   ac_ext=$use_ac_ext
2337   if test $enable_test = 'yes'; then
2338   echo "$as_me:$LINENO: checking $title (pass expected) " >&5
2339echo $ECHO_N "checking $title (pass expected) ... $ECHO_C" >&6
2340   if test "$cross_compiling" = yes; then
2341  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2342See \`config.log' for more details." >&5
2343echo "$as_me: error: cannot run test program while cross compiling
2344See \`config.log' for more details." >&2;}
2345   { (exit 1); exit 1; }; }
2346else
2347  cat >conftest.$ac_ext <<_ACEOF
2348/* confdefs.h.  */
2349_ACEOF
2350cat confdefs.h >>conftest.$ac_ext
2351cat >>conftest.$ac_ext <<_ACEOF
2352/* end confdefs.h.  */
2353
2354#include <boost/config.hpp>
2355#include "test.hpp"
2356
2357#ifdef $macroname
2358#include "boost_$basename.ipp"
2359#else
2360namespace ${namespace} = empty_boost;
2361#endif
2362
2363int main(){ return ${namespace}::test(); }
2364
2365_ACEOF
2366rm -f conftest$ac_exeext
2367if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2368  (eval $ac_link) 2>&5
2369  ac_status=$?
2370  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2372  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373  (eval $ac_try) 2>&5
2374  ac_status=$?
2375  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376  (exit $ac_status); }; }; then
2377  echo "$as_me:$LINENO: result: OK" >&5
2378echo "${ECHO_T}OK" >&6
2379
2380else
2381  echo "$as_me: program exited with status $ac_status" >&5
2382echo "$as_me: failed program was:" >&5
2383sed 's/^/| /' conftest.$ac_ext >&5
2384
2385( exit $ac_status )
2386echo "$as_me:$LINENO: result: Failed" >&5
2387echo "${ECHO_T}Failed" >&6
2388   required_undefs="$macroname $required_undefs"
2389
2390fi
2391rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2392fi
2393
2394   echo "$as_me:$LINENO: checking $title (fail expected) " >&5
2395echo $ECHO_N "checking $title (fail expected) ... $ECHO_C" >&6
2396   if test "$cross_compiling" = yes; then
2397  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2398See \`config.log' for more details." >&5
2399echo "$as_me: error: cannot run test program while cross compiling
2400See \`config.log' for more details." >&2;}
2401   { (exit 1); exit 1; }; }
2402else
2403  cat >conftest.$ac_ext <<_ACEOF
2404/* confdefs.h.  */
2405_ACEOF
2406cat confdefs.h >>conftest.$ac_ext
2407cat >>conftest.$ac_ext <<_ACEOF
2408/* end confdefs.h.  */
2409
2410#include <boost/config.hpp>
2411#include "test.hpp"
2412
2413#ifndef $macroname
2414#include "boost_$basename.ipp"
2415#else
2416#error "this file should not compile"
2417#endif
2418
2419int main(){ return ${namespace}::test(); }
2420
2421_ACEOF
2422rm -f conftest$ac_exeext
2423if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2424  (eval $ac_link) 2>&5
2425  ac_status=$?
2426  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2428  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2429  (eval $ac_try) 2>&5
2430  ac_status=$?
2431  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432  (exit $ac_status); }; }; then
2433
2434   echo "$as_me:$LINENO: result: failed" >&5
2435echo "${ECHO_T}failed" >&6
2436   required_defs="$macroname $required_defs"
2437
2438
2439else
2440  echo "$as_me: program exited with status $ac_status" >&5
2441echo "$as_me: failed program was:" >&5
2442sed 's/^/| /' conftest.$ac_ext >&5
2443
2444( exit $ac_status )
2445
2446   echo "$as_me:$LINENO: result: OK" >&5
2447echo "${ECHO_T}OK" >&6
2448
2449
2450fi
2451rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2452fi
2453
2454   else
2455
2456   ac_ext=$use_ac_ext
2457   echo "$as_me:$LINENO: checking $title" >&5
2458echo $ECHO_N "checking $title... $ECHO_C" >&6
2459   if test "$cross_compiling" = yes; then
2460  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2461See \`config.log' for more details." >&5
2462echo "$as_me: error: cannot run test program while cross compiling
2463See \`config.log' for more details." >&2;}
2464   { (exit 1); exit 1; }; }
2465else
2466  cat >conftest.$ac_ext <<_ACEOF
2467/* confdefs.h.  */
2468_ACEOF
2469cat confdefs.h >>conftest.$ac_ext
2470cat >>conftest.$ac_ext <<_ACEOF
2471/* end confdefs.h.  */
2472
2473#include <boost/config.hpp>
2474#include "test.hpp"
2475
2476#include "boost_$basename.ipp"
2477
2478int main(){ return ${namespace}::test(); }
2479
2480_ACEOF
2481rm -f conftest$ac_exeext
2482if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2483  (eval $ac_link) 2>&5
2484  ac_status=$?
2485  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2486  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2487  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488  (eval $ac_try) 2>&5
2489  ac_status=$?
2490  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491  (exit $ac_status); }; }; then
2492
2493      echo "$as_me:$LINENO: result: Yes" >&5
2494echo "${ECHO_T}Yes" >&6
2495      required_defs="$macroname $required_defs"
2496
2497
2498else
2499  echo "$as_me: program exited with status $ac_status" >&5
2500echo "$as_me: failed program was:" >&5
2501sed 's/^/| /' conftest.$ac_ext >&5
2502
2503( exit $ac_status )
2504
2505      echo "$as_me:$LINENO: result: no" >&5
2506echo "${ECHO_T}no" >&6
2507
2508
2509fi
2510rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2511fi
2512
2513   fi
2514
2515done
2516
2517
2518#echo $required_defs
2519#echo $required_undefs
2520
2521if test $enable_test = 'yes'; then
2522
2523if test "$required_defs" = ""; then
2524echo no boost macros need to be defined
2525echo no boost macros need to be defined >&5
2526else
2527echo the following macros need to be defined
2528echo    $required_defs
2529echo the following macros need to be defined >&5
2530echo    $required_defs >&5
2531fi
2532if test "$required_undefs" = ""; then
2533echo no boost macros need to be undefined
2534echo no boost macros need to be undefined >&5
2535else
2536echo "the following macros need to be undef'ed"
2537echo    $required_undefs
2538echo "the following macros need to be undef'ed" >&5
2539echo    $required_undefs >&5
2540fi
2541
2542else
2543
2544date_string=`date`
2545
2546echo boost_base=$boost_base
2547
2548cat > user.hpp << EOF
2549//  (C) Copyright Boost.org 2001.
2550//  Do not check in modified versions of this file,
2551//  This file may be customised by the end user, but not by boost.
2552
2553//
2554//  Use this file to define a site and compiler specific
2555//  configuration policy, this version was auto-generated by
2556//  configure on ${date_string}
2557//  With the following options:
2558//    CXX      = ${CXX}
2559//    CXXFLAGS = ${CXXFLAGS}
2560//    LDFLAGS  = ${LDFLAGS}
2561//    LIBS     = ${LIBS}
2562//
2563
2564// define this to disable all config options,
2565// excluding the user config.  Use if your
2566// setup is fully ISO complient, and has no
2567// useful extentions, or for autoconf generated
2568// setups:
2569#ifndef BOOST_NO_CONFIG
2570#  define BOOST_NO_CONFIG
2571#endif
2572
2573
2574// define if you want to disable threading support, even
2575// when available:
2576// #define BOOST_DISABLE_THREADS
2577
2578// define if you want the regex library to use the C locale
2579// even on Win32:
2580// #define BOOST_REGEX_USE_C_LOCALE
2581
2582// define this is you want the regex library to use the C++
2583// locale:
2584// #define BOOST_REGEX_USE_CPP_LOCALE
2585
2586
2587//
2588// options added by configure:
2589//
2590EOF
2591
2592for name in $required_defs; do
2593echo '#define '"$name" >> user.hpp
2594done
2595
2596cat_conts=`cat user.hpp`
2597
2598#
2599# post configuration step:
2600#
2601echo "$as_me:$LINENO: checking original configuration " >&5
2602echo $ECHO_N "checking original configuration ... $ECHO_C" >&6
2603rm -f conftest$ac_exeext
2604$CXX -I$boost_base $OLD_CXXFLAGS -DBOOST_NO_USER_CONFIG -o conftest$ac_exeext $LDFLAGS $boost_base/libs/config/test/config_info.cpp $LIBS >&5 2>&1
2605./conftest >&5 2>&1
2606echo "$as_me:$LINENO: result: done" >&5
2607echo "${ECHO_T}done" >&6
2608echo "$as_me:$LINENO: checking new configuration " >&5
2609echo $ECHO_N "checking new configuration ... $ECHO_C" >&6
2610rm -f conftest$ac_exeext
2611$CXX -I$boost_base -I$boost_base/libs/config $OLD_CXXFLAGS -DBOOST_USER_CONFIG='"user.hpp"' -o conftest$ac_exeext $LDFLAGS $boost_base/libs/config/test/config_info.cpp $LIBS >&5 2>&1
2612./conftest >&5 2>&1
2613echo "$as_me:$LINENO: result: done" >&5
2614echo "${ECHO_T}done" >&6
2615
2616          ac_config_commands="$ac_config_commands default"
2617
2618
2619test "x$prefix" = xNONE && prefix=$ac_default_prefix
2620# Let make expand exec_prefix.
2621test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2622
2623# VPATH may cause trouble with some makes, so we remove $(srcdir),
2624# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2625# trailing colons and then remove the whole line if VPATH becomes empty
2626# (actually we leave an empty line to preserve line numbers).
2627if test "x$srcdir" = x.; then
2628  ac_vpsub='/^[  ]*VPATH[        ]*=/{
2629s/:*\$(srcdir):*/:/;
2630s/:*\${srcdir}:*/:/;
2631s/:*@srcdir@:*/:/;
2632s/^\([^=]*=[     ]*\):*/\1/;
2633s/:*$//;
2634s/^[^=]*=[       ]*$//;
2635}'
2636fi
2637
2638# Transform confdefs.h into DEFS.
2639# Protect against shell expansion while executing Makefile rules.
2640# Protect against Makefile macro expansion.
2641#
2642# If the first sed substitution is executed (which looks for macros that
2643# take arguments), then we branch to the quote section.  Otherwise,
2644# look for a macro that doesn't take arguments.
2645cat >confdef2opt.sed <<\_ACEOF
2646t clear
2647: clear
2648s,^[     ]*#[    ]*define[       ][      ]*\([^  (][^    (]*([^)]*)\)[   ]*\(.*\),-D\1=\2,g
2649t quote
2650s,^[     ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\),-D\1=\2,g
2651t quote
2652d
2653: quote
2654s,[      `~#$^&*(){}\\|;'"<>?],\\&,g
2655s,\[,\\&,g
2656s,\],\\&,g
2657s,\$,$$,g
2658p
2659_ACEOF
2660# We use echo to avoid assuming a particular line-breaking character.
2661# The extra dot is to prevent the shell from consuming trailing
2662# line-breaks from the sub-command output.  A line-break within
2663# single-quotes doesn't work because, if this script is created in a
2664# platform that uses two characters for line-breaks (e.g., DOS), tr
2665# would break.
2666ac_LF_and_DOT=`echo; echo .`
2667DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
2668rm -f confdef2opt.sed
2669
2670
2671ac_libobjs=
2672ac_ltlibobjs=
2673for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2674  # 1. Remove the extension, and $U if already installed.
2675  ac_i=`echo "$ac_i" |
2676         sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
2677  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
2678  #    will be set to the directory where LIBOBJS objects are built.
2679  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2680  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
2681done
2682LIBOBJS=$ac_libobjs
2683
2684LTLIBOBJS=$ac_ltlibobjs
2685
2686
2687
2688: ${CONFIG_STATUS=./config.status}
2689ac_clean_files_save=$ac_clean_files
2690ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2691{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
2692echo "$as_me: creating $CONFIG_STATUS" >&6;}
2693cat >$CONFIG_STATUS <<_ACEOF
2694#! $SHELL
2695# Generated by $as_me.
2696# Run this file to recreate the current configuration.
2697# Compiler output produced by configure, useful for debugging
2698# configure, is in config.log if it exists.
2699
2700debug=false
2701ac_cs_recheck=false
2702ac_cs_silent=false
2703SHELL=\${CONFIG_SHELL-$SHELL}
2704_ACEOF
2705
2706cat >>$CONFIG_STATUS <<\_ACEOF
2707## --------------------- ##
2708## M4sh Initialization.  ##
2709## --------------------- ##
2710
2711# Be Bourne compatible
2712if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2713  emulate sh
2714  NULLCMD=:
2715  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2716  # is contrary to our usage.  Disable this feature.
2717  alias -g '${1+"$@"}'='"$@"'
2718elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2719  set -o posix
2720fi
2721DUALCASE=1; export DUALCASE # for MKS sh
2722
2723# Support unset when possible.
2724if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2725  as_unset=unset
2726else
2727  as_unset=false
2728fi
2729
2730
2731# Work around bugs in pre-3.0 UWIN ksh.
2732$as_unset ENV MAIL MAILPATH
2733PS1='$ '
2734PS2='> '
2735PS4='+ '
2736
2737# NLS nuisances.
2738for as_var in \
2739  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2740  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2741  LC_TELEPHONE LC_TIME
2742do
2743  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2744    eval $as_var=C; export $as_var
2745  else
2746    $as_unset $as_var
2747  fi
2748done
2749
2750# Required to use basename.
2751if expr a : '\(a\)' >/dev/null 2>&1; then
2752  as_expr=expr
2753else
2754  as_expr=false
2755fi
2756
2757if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
2758  as_basename=basename
2759else
2760  as_basename=false
2761fi
2762
2763
2764# Name of the executable.
2765as_me=`$as_basename "$0" ||
2766$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2767         X"$0" : 'X\(//\)$' \| \
2768         X"$0" : 'X\(/\)$' \| \
2769         .     : '\(.\)' 2>/dev/null ||
2770echo X/"$0" |
2771    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
2772          /^X\/\(\/\/\)$/{ s//\1/; q; }
2773          /^X\/\(\/\).*/{ s//\1/; q; }
2774          s/.*/./; q'`
2775
2776
2777# PATH needs CR, and LINENO needs CR and PATH.
2778# Avoid depending upon Character Ranges.
2779as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2780as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2781as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2782as_cr_digits='0123456789'
2783as_cr_alnum=$as_cr_Letters$as_cr_digits
2784
2785# The user is always right.
2786if test "${PATH_SEPARATOR+set}" != set; then
2787  echo "#! /bin/sh" >conf$$.sh
2788  echo  "exit 0"   >>conf$$.sh
2789  chmod +x conf$$.sh
2790  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2791    PATH_SEPARATOR=';'
2792  else
2793    PATH_SEPARATOR=:
2794  fi
2795  rm -f conf$$.sh
2796fi
2797
2798
2799  as_lineno_1=$LINENO
2800  as_lineno_2=$LINENO
2801  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2802  test "x$as_lineno_1" != "x$as_lineno_2" &&
2803  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
2804  # Find who we are.  Look in the path if we contain no path at all
2805  # relative or not.
2806  case $0 in
2807    *[\\/]* ) as_myself=$0 ;;
2808    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2809for as_dir in $PATH
2810do
2811  IFS=$as_save_IFS
2812  test -z "$as_dir" && as_dir=.
2813  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2814done
2815
2816       ;;
2817  esac
2818  # We did not find ourselves, most probably we were run as `sh COMMAND'
2819  # in which case we are not to be found in the path.
2820  if test "x$as_myself" = x; then
2821    as_myself=$0
2822  fi
2823  if test ! -f "$as_myself"; then
2824    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
2825echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
2826   { (exit 1); exit 1; }; }
2827  fi
2828  case $CONFIG_SHELL in
2829  '')
2830    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2831for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
2832do
2833  IFS=$as_save_IFS
2834  test -z "$as_dir" && as_dir=.
2835  for as_base in sh bash ksh sh5; do
2836         case $as_dir in
2837         /*)
2838           if ("$as_dir/$as_base" -c '
2839  as_lineno_1=$LINENO
2840  as_lineno_2=$LINENO
2841  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
2842  test "x$as_lineno_1" != "x$as_lineno_2" &&
2843  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
2844             $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
2845             $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
2846             CONFIG_SHELL=$as_dir/$as_base
2847             export CONFIG_SHELL
2848             exec "$CONFIG_SHELL" "$0" ${1+"$@"}
2849           fi;;
2850         esac
2851       done
2852done
2853;;
2854  esac
2855
2856  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2857  # uniformly replaced by the line number.  The first 'sed' inserts a
2858  # line-number line before each line; the second 'sed' does the real
2859  # work.  The second script uses 'N' to pair each line-number line
2860  # with the numbered line, and appends trailing '-' during
2861  # substitution so that $LINENO is not a special case at line end.
2862  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2863  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
2864  sed '=' <$as_myself |
2865    sed '
2866      N
2867      s,$,-,
2868      : loop
2869      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
2870      t loop
2871      s,-$,,
2872      s,^['$as_cr_digits']*\n,,
2873    ' >$as_me.lineno &&
2874  chmod +x $as_me.lineno ||
2875    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
2876echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
2877   { (exit 1); exit 1; }; }
2878
2879  # Don't try to exec as it changes $[0], causing all sort of problems
2880  # (the dirname of $[0] is not the place where we might find the
2881  # original and so on.  Autoconf is especially sensible to this).
2882  . ./$as_me.lineno
2883  # Exit status is that of the last command.
2884  exit
2885}
2886
2887
2888case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
2889  *c*,-n*) ECHO_N= ECHO_C='
2890' ECHO_T='      ' ;;
2891  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
2892  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
2893esac
2894
2895if expr a : '\(a\)' >/dev/null 2>&1; then
2896  as_expr=expr
2897else
2898  as_expr=false
2899fi
2900
2901rm -f conf$$ conf$$.exe conf$$.file
2902echo >conf$$.file
2903if ln -s conf$$.file conf$$ 2>/dev/null; then
2904  # We could just check for DJGPP; but this test a) works b) is more generic
2905  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2906  if test -f conf$$.exe; then
2907    # Don't use ln at all; we don't have any links
2908    as_ln_s='cp -p'
2909  else
2910    as_ln_s='ln -s'
2911  fi
2912elif ln conf$$.file conf$$ 2>/dev/null; then
2913  as_ln_s=ln
2914else
2915  as_ln_s='cp -p'
2916fi
2917rm -f conf$$ conf$$.exe conf$$.file
2918
2919if mkdir -p . 2>/dev/null; then
2920  as_mkdir_p=:
2921else
2922  test -d ./-p && rmdir ./-p
2923  as_mkdir_p=false
2924fi
2925
2926as_executable_p="test -f"
2927
2928# Sed expression to map a string onto a valid CPP name.
2929as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2930
2931# Sed expression to map a string onto a valid variable name.
2932as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2933
2934
2935# IFS
2936# We need space, tab and new line, in precisely that order.
2937as_nl='
2938'
2939IFS="   $as_nl"
2940
2941# CDPATH.
2942$as_unset CDPATH
2943
2944exec 6>&1
2945
2946# Open the log real soon, to keep \$[0] and so on meaningful, and to
2947# report actual input values of CONFIG_FILES etc. instead of their
2948# values after options handling.  Logging --version etc. is OK.
2949exec 5>>config.log
2950{
2951  echo
2952  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2953## Running $as_me. ##
2954_ASBOX
2955} >&5
2956cat >&5 <<_CSEOF
2957
2958This file was extended by $as_me, which was
2959generated by GNU Autoconf 2.59.  Invocation command line was
2960
2961  CONFIG_FILES    = $CONFIG_FILES
2962  CONFIG_HEADERS  = $CONFIG_HEADERS
2963  CONFIG_LINKS    = $CONFIG_LINKS
2964  CONFIG_COMMANDS = $CONFIG_COMMANDS
2965  $ $0 $@
2966
2967_CSEOF
2968echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
2969echo >&5
2970_ACEOF
2971
2972# Files that config.status was made for.
2973if test -n "$ac_config_files"; then
2974  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2975fi
2976
2977if test -n "$ac_config_headers"; then
2978  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2979fi
2980
2981if test -n "$ac_config_links"; then
2982  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2983fi
2984
2985if test -n "$ac_config_commands"; then
2986  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2987fi
2988
2989cat >>$CONFIG_STATUS <<\_ACEOF
2990
2991ac_cs_usage="\
2992\`$as_me' instantiates files from templates according to the
2993current configuration.
2994
2995Usage: $0 [OPTIONS] [FILE]...
2996
2997  -h, --help       print this help, then exit
2998  -V, --version    print version number, then exit
2999  -q, --quiet      do not print progress messages
3000  -d, --debug      don't remove temporary files
3001      --recheck    update $as_me by reconfiguring in the same conditions
3002
3003Configuration commands:
3004$config_commands
3005
3006Report bugs to <bug-autoconf@gnu.org>."
3007_ACEOF
3008
3009cat >>$CONFIG_STATUS <<_ACEOF
3010ac_cs_version="\\
3011config.status
3012configured by $0, generated by GNU Autoconf 2.59,
3013  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3014
3015Copyright (C) 2003 Free Software Foundation, Inc.
3016This config.status script is free software; the Free Software Foundation
3017gives unlimited permission to copy, distribute and modify it."
3018srcdir=$srcdir
3019_ACEOF
3020
3021cat >>$CONFIG_STATUS <<\_ACEOF
3022# If no file are specified by the user, then we need to provide default
3023# value.  By we need to know if files were specified by the user.
3024ac_need_defaults=:
3025while test $# != 0
3026do
3027  case $1 in
3028  --*=*)
3029    ac_option=`expr "x$1" : 'x\([^=]*\)='`
3030    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3031    ac_shift=:
3032    ;;
3033  -*)
3034    ac_option=$1
3035    ac_optarg=$2
3036    ac_shift=shift
3037    ;;
3038  *) # This is not an option, so the user has probably given explicit
3039     # arguments.
3040     ac_option=$1
3041     ac_need_defaults=false;;
3042  esac
3043
3044  case $ac_option in
3045  # Handling of the options.
3046_ACEOF
3047cat >>$CONFIG_STATUS <<\_ACEOF
3048  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3049    ac_cs_recheck=: ;;
3050  --version | --vers* | -V )
3051    echo "$ac_cs_version"; exit 0 ;;
3052  --he | --h)
3053    # Conflict between --help and --header
3054    { { echo "$as_me:$LINENO: error: ambiguous option: $1
3055Try \`$0 --help' for more information." >&5
3056echo "$as_me: error: ambiguous option: $1
3057Try \`$0 --help' for more information." >&2;}
3058   { (exit 1); exit 1; }; };;
3059  --help | --hel | -h )
3060    echo "$ac_cs_usage"; exit 0 ;;
3061  --debug | --d* | -d )
3062    debug=: ;;
3063  --file | --fil | --fi | --f )
3064    $ac_shift
3065    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
3066    ac_need_defaults=false;;
3067  --header | --heade | --head | --hea )
3068    $ac_shift
3069    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3070    ac_need_defaults=false;;
3071  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3072  | -silent | --silent | --silen | --sile | --sil | --si | --s)
3073    ac_cs_silent=: ;;
3074
3075  # This is an error.
3076  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3077Try \`$0 --help' for more information." >&5
3078echo "$as_me: error: unrecognized option: $1
3079Try \`$0 --help' for more information." >&2;}
3080   { (exit 1); exit 1; }; } ;;
3081
3082  *) ac_config_targets="$ac_config_targets $1" ;;
3083
3084  esac
3085  shift
3086done
3087
3088ac_configure_extra_args=
3089
3090if $ac_cs_silent; then
3091  exec 6>/dev/null
3092  ac_configure_extra_args="$ac_configure_extra_args --silent"
3093fi
3094
3095_ACEOF
3096cat >>$CONFIG_STATUS <<_ACEOF
3097if \$ac_cs_recheck; then
3098  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3099  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3100fi
3101
3102_ACEOF
3103
3104cat >>$CONFIG_STATUS <<_ACEOF
3105#
3106# INIT-COMMANDS section.
3107#
3108
3109
3110cat_conts="$cat_conts"
3111
3112
3113
3114_ACEOF
3115
3116
3117
3118cat >>$CONFIG_STATUS <<\_ACEOF
3119for ac_config_target in $ac_config_targets
3120do
3121  case "$ac_config_target" in
3122  # Handling of arguments.
3123  "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
3124  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3125echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3126   { (exit 1); exit 1; }; };;
3127  esac
3128done
3129
3130# If the user did not use the arguments to specify the items to instantiate,
3131# then the envvar interface is used.  Set only those that are not.
3132# We use the long form for the default assignment because of an extremely
3133# bizarre bug on SunOS 4.1.3.
3134if $ac_need_defaults; then
3135  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
3136fi
3137
3138# Have a temporary directory for convenience.  Make it in the build tree
3139# simply because there is no reason to put it here, and in addition,
3140# creating and moving files from /tmp can sometimes cause problems.
3141# Create a temporary directory, and hook for its removal unless debugging.
3142$debug ||
3143{
3144  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3145  trap '{ (exit 1); exit 1; }' 1 2 13 15
3146}
3147
3148# Create a (secure) tmp directory for tmp files.
3149
3150{
3151  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3152  test -n "$tmp" && test -d "$tmp"
3153}  ||
3154{
3155  tmp=./confstat$$-$RANDOM
3156  (umask 077 && mkdir $tmp)
3157} ||
3158{
3159   echo "$me: cannot create a temporary directory in ." >&2
3160   { (exit 1); exit 1; }
3161}
3162
3163_ACEOF
3164
3165cat >>$CONFIG_STATUS <<\_ACEOF
3166
3167#
3168# CONFIG_COMMANDS section.
3169#
3170for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
3171  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
3172  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
3173  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
3174$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3175         X"$ac_dest" : 'X\(//\)[^/]' \| \
3176         X"$ac_dest" : 'X\(//\)$' \| \
3177         X"$ac_dest" : 'X\(/\)' \| \
3178         .     : '\(.\)' 2>/dev/null ||
3179echo X"$ac_dest" |
3180    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3181          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3182          /^X\(\/\/\)$/{ s//\1/; q; }
3183          /^X\(\/\).*/{ s//\1/; q; }
3184          s/.*/./; q'`
3185  { if $as_mkdir_p; then
3186    mkdir -p "$ac_dir"
3187  else
3188    as_dir="$ac_dir"
3189    as_dirs=
3190    while test ! -d "$as_dir"; do
3191      as_dirs="$as_dir $as_dirs"
3192      as_dir=`(dirname "$as_dir") 2>/dev/null ||
3193$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3194         X"$as_dir" : 'X\(//\)[^/]' \| \
3195         X"$as_dir" : 'X\(//\)$' \| \
3196         X"$as_dir" : 'X\(/\)' \| \
3197         .     : '\(.\)' 2>/dev/null ||
3198echo X"$as_dir" |
3199    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3200          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3201          /^X\(\/\/\)$/{ s//\1/; q; }
3202          /^X\(\/\).*/{ s//\1/; q; }
3203          s/.*/./; q'`
3204    done
3205    test ! -n "$as_dirs" || mkdir $as_dirs
3206  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
3207echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
3208   { (exit 1); exit 1; }; }; }
3209
3210  ac_builddir=.
3211
3212if test "$ac_dir" != .; then
3213  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
3214  # A "../" for each directory in $ac_dir_suffix.
3215  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
3216else
3217  ac_dir_suffix= ac_top_builddir=
3218fi
3219
3220case $srcdir in
3221  .)  # No --srcdir option.  We are building in place.
3222    ac_srcdir=.
3223    if test -z "$ac_top_builddir"; then
3224       ac_top_srcdir=.
3225    else
3226       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
3227    fi ;;
3228  [\\/]* | ?:[\\/]* )  # Absolute path.
3229    ac_srcdir=$srcdir$ac_dir_suffix;
3230    ac_top_srcdir=$srcdir ;;
3231  *) # Relative path.
3232    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
3233    ac_top_srcdir=$ac_top_builddir$srcdir ;;
3234esac
3235
3236# Do not use `cd foo && pwd` to compute absolute paths, because
3237# the directories may not exist.
3238case `pwd` in
3239.) ac_abs_builddir="$ac_dir";;
3240*)
3241  case "$ac_dir" in
3242  .) ac_abs_builddir=`pwd`;;
3243  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
3244  *) ac_abs_builddir=`pwd`/"$ac_dir";;
3245  esac;;
3246esac
3247case $ac_abs_builddir in
3248.) ac_abs_top_builddir=${ac_top_builddir}.;;
3249*)
3250  case ${ac_top_builddir}. in
3251  .) ac_abs_top_builddir=$ac_abs_builddir;;
3252  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
3253  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
3254  esac;;
3255esac
3256case $ac_abs_builddir in
3257.) ac_abs_srcdir=$ac_srcdir;;
3258*)
3259  case $ac_srcdir in
3260  .) ac_abs_srcdir=$ac_abs_builddir;;
3261  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
3262  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
3263  esac;;
3264esac
3265case $ac_abs_builddir in
3266.) ac_abs_top_srcdir=$ac_top_srcdir;;
3267*)
3268  case $ac_top_srcdir in
3269  .) ac_abs_top_srcdir=$ac_abs_builddir;;
3270  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
3271  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
3272  esac;;
3273esac
3274
3275
3276  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
3277echo "$as_me: executing $ac_dest commands" >&6;}
3278  case $ac_dest in
3279    default )
3280cat > user.hpp << EEEOF
3281${cat_conts}
3282EEEOF
3283cat << EEEOF
3284
3285Adjustments to boost configuration have been written to
3286user.hpp.  Copy this to boost/config/user.hpp to use "as is",
3287or define BOOST_SITE_CONFIG to point to its location.
3288
3289TREAT THIS FILE WITH CARE.
3290Autoconf generated options are not infallible!
3291
3292EEEOF
3293 ;;
3294  esac
3295done
3296_ACEOF
3297
3298cat >>$CONFIG_STATUS <<\_ACEOF
3299
3300{ (exit 0); exit 0; }
3301_ACEOF
3302chmod +x $CONFIG_STATUS
3303ac_clean_files=$ac_clean_files_save
3304
3305
3306# configure is writing to config.log, and then calls config.status.
3307# config.status does its own redirection, appending to config.log.
3308# Unfortunately, on DOS this fails, as config.log is still kept open
3309# by configure, so config.status won't be able to write to it; its
3310# output is simply discarded.  So we exec the FD to /dev/null,
3311# effectively closing config.log, so it can be properly (re)opened and
3312# appended to by config.status.  When coming back to configure, we
3313# need to make the FD available again.
3314if test "$no_create" != yes; then
3315  ac_cs_success=:
3316  ac_config_status_args=
3317  test "$silent" = yes &&
3318    ac_config_status_args="$ac_config_status_args --quiet"
3319  exec 5>/dev/null
3320  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3321  exec 5>>config.log
3322  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3323  # would make configure fail if this is the last instruction.
3324  $ac_cs_success || { (exit 1); exit 1; }
3325fi
3326
3327
3328fi
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
Note: See TracBrowser for help on using the repository browser.