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