Changeset 1262
- Timestamp:
- Dec 20, 2008, 11:29:32 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 39 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/configure
r1222 r1262 676 676 EGREP 677 677 CXXCPP 678 HAVE_INTTYPES_H 678 679 AR 679 680 DL_LIBS … … 707 708 MCC 708 709 MEX_ARCH 710 OCTAVE 709 711 MKOCTFILE 712 OCTAVE_VERSION 713 OCTAVE_VERSION_MAJOR 710 714 PERL 711 715 PERL_INCLUDES … … 742 746 TCL_VERSION 743 747 TK_VERSION 748 SIZEOF_INT 749 SIZEOF_LONG 750 SIZEOF_LONG_LONG 751 SIZEOF_VOID_P 744 752 CFLAGS_DEFAULT 745 753 LDFLAGS_DEFAULT … … 4411 4419 4412 4420 4421 { echo "$as_me:$LINENO: checking for main in -lm" >&5 4422 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6; } 4423 if test "${ac_cv_lib_m_main+set}" = set; then 4424 echo $ECHO_N "(cached) $ECHO_C" >&6 4425 else 4426 ac_check_lib_save_LIBS=$LIBS 4427 LIBS="-lm $LIBS" 4428 cat >conftest.$ac_ext <<_ACEOF 4429 /* confdefs.h. */ 4430 _ACEOF 4431 cat confdefs.h >>conftest.$ac_ext 4432 cat >>conftest.$ac_ext <<_ACEOF 4433 /* end confdefs.h. */ 4434 4435 4436 int 4437 main () 4438 { 4439 return main (); 4440 ; 4441 return 0; 4442 } 4443 _ACEOF 4444 rm -f conftest.$ac_objext conftest$ac_exeext 4445 if { (ac_try="$ac_link" 4446 case "(($ac_try" in 4447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 4448 *) ac_try_echo=$ac_try;; 4449 esac 4450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 4451 (eval "$ac_link") 2>conftest.er1 4452 ac_status=$? 4453 grep -v '^ *+' conftest.er1 >conftest.err 4454 rm -f conftest.er1 4455 cat conftest.err >&5 4456 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4457 (exit $ac_status); } && { 4458 test -z "$ac_cxx_werror_flag" || 4459 test ! -s conftest.err 4460 } && test -s conftest$ac_exeext && 4461 $as_test_x conftest$ac_exeext; then 4462 ac_cv_lib_m_main=yes 4463 else 4464 echo "$as_me: failed program was:" >&5 4465 sed 's/^/| /' conftest.$ac_ext >&5 4466 4467 ac_cv_lib_m_main=no 4468 fi 4469 4470 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 4471 conftest$ac_exeext conftest.$ac_ext 4472 LIBS=$ac_check_lib_save_LIBS 4473 fi 4474 { echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5 4475 echo "${ECHO_T}$ac_cv_lib_m_main" >&6; } 4476 if test $ac_cv_lib_m_main = yes; then 4477 cat >>confdefs.h <<_ACEOF 4478 #define HAVE_LIBM 1 4479 _ACEOF 4480 4481 LIBS="-lm $LIBS" 4482 4483 else 4484 { { echo "$as_me:$LINENO: error: librappture requires libm" >&5 4485 echo "$as_me: error: librappture requires libm" >&2;} 4486 { (exit 1); exit 1; }; } 4487 fi 4488 4489 4413 4490 { echo "$as_me:$LINENO: checking for main in -lstdc++" >&5 4414 4491 echo $ECHO_N "checking for main in -lstdc++... $ECHO_C" >&6; } … … 4776 4853 4777 4854 4778 for ac_header in stack4855 for ac_header in algorithm 4779 4856 do 4780 4857 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 4924 5001 4925 5002 4926 for ac_header in string5003 for ac_header in cctype 4927 5004 do 4928 5005 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5072 5149 5073 5150 5074 for ac_header in list5151 for ac_header in cfloat 5075 5152 do 5076 5153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5220 5297 5221 5298 5222 for ac_header in vector5299 for ac_header in cmath 5223 5300 do 5224 5301 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` … … 5366 5443 5367 5444 done 5445 5446 5447 for ac_header in cstdio 5448 do 5449 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5450 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5451 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5453 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5454 echo $ECHO_N "(cached) $ECHO_C" >&6 5455 fi 5456 ac_res=`eval echo '${'$as_ac_Header'}'` 5457 { echo "$as_me:$LINENO: result: $ac_res" >&5 5458 echo "${ECHO_T}$ac_res" >&6; } 5459 else 5460 # Is the header compilable? 5461 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5463 cat >conftest.$ac_ext <<_ACEOF 5464 /* confdefs.h. */ 5465 _ACEOF 5466 cat confdefs.h >>conftest.$ac_ext 5467 cat >>conftest.$ac_ext <<_ACEOF 5468 /* end confdefs.h. */ 5469 $ac_includes_default 5470 #include <$ac_header> 5471 _ACEOF 5472 rm -f conftest.$ac_objext 5473 if { (ac_try="$ac_compile" 5474 case "(($ac_try" in 5475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5476 *) ac_try_echo=$ac_try;; 5477 esac 5478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5479 (eval "$ac_compile") 2>conftest.er1 5480 ac_status=$? 5481 grep -v '^ *+' conftest.er1 >conftest.err 5482 rm -f conftest.er1 5483 cat conftest.err >&5 5484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5485 (exit $ac_status); } && { 5486 test -z "$ac_cxx_werror_flag" || 5487 test ! -s conftest.err 5488 } && test -s conftest.$ac_objext; then 5489 ac_header_compiler=yes 5490 else 5491 echo "$as_me: failed program was:" >&5 5492 sed 's/^/| /' conftest.$ac_ext >&5 5493 5494 ac_header_compiler=no 5495 fi 5496 5497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5498 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5499 echo "${ECHO_T}$ac_header_compiler" >&6; } 5500 5501 # Is the header present? 5502 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5503 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5504 cat >conftest.$ac_ext <<_ACEOF 5505 /* confdefs.h. */ 5506 _ACEOF 5507 cat confdefs.h >>conftest.$ac_ext 5508 cat >>conftest.$ac_ext <<_ACEOF 5509 /* end confdefs.h. */ 5510 #include <$ac_header> 5511 _ACEOF 5512 if { (ac_try="$ac_cpp conftest.$ac_ext" 5513 case "(($ac_try" in 5514 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5515 *) ac_try_echo=$ac_try;; 5516 esac 5517 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5518 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5519 ac_status=$? 5520 grep -v '^ *+' conftest.er1 >conftest.err 5521 rm -f conftest.er1 5522 cat conftest.err >&5 5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5524 (exit $ac_status); } >/dev/null && { 5525 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5526 test ! -s conftest.err 5527 }; then 5528 ac_header_preproc=yes 5529 else 5530 echo "$as_me: failed program was:" >&5 5531 sed 's/^/| /' conftest.$ac_ext >&5 5532 5533 ac_header_preproc=no 5534 fi 5535 5536 rm -f conftest.err conftest.$ac_ext 5537 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5538 echo "${ECHO_T}$ac_header_preproc" >&6; } 5539 5540 # So? What about this header? 5541 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5542 yes:no: ) 5543 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5544 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5545 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5546 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5547 ac_header_preproc=yes 5548 ;; 5549 no:yes:* ) 5550 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5551 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5552 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5553 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5554 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5555 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5556 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5557 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5559 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5560 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5561 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5562 ( cat <<\_ASBOX 5563 ## ----------------------------------- ## 5564 ## Report this to rappture@nanohub.org ## 5565 ## ----------------------------------- ## 5566 _ASBOX 5567 ) | sed "s/^/$as_me: WARNING: /" >&2 5568 ;; 5569 esac 5570 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5573 echo $ECHO_N "(cached) $ECHO_C" >&6 5574 else 5575 eval "$as_ac_Header=\$ac_header_preproc" 5576 fi 5577 ac_res=`eval echo '${'$as_ac_Header'}'` 5578 { echo "$as_me:$LINENO: result: $ac_res" >&5 5579 echo "${ECHO_T}$ac_res" >&6; } 5580 5581 fi 5582 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5583 cat >>confdefs.h <<_ACEOF 5584 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5585 _ACEOF 5586 5587 else 5588 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5589 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5590 fi 5591 5592 done 5593 5594 5595 for ac_header in cstdlib 5596 do 5597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5598 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5599 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5601 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5602 echo $ECHO_N "(cached) $ECHO_C" >&6 5603 fi 5604 ac_res=`eval echo '${'$as_ac_Header'}'` 5605 { echo "$as_me:$LINENO: result: $ac_res" >&5 5606 echo "${ECHO_T}$ac_res" >&6; } 5607 else 5608 # Is the header compilable? 5609 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5611 cat >conftest.$ac_ext <<_ACEOF 5612 /* confdefs.h. */ 5613 _ACEOF 5614 cat confdefs.h >>conftest.$ac_ext 5615 cat >>conftest.$ac_ext <<_ACEOF 5616 /* end confdefs.h. */ 5617 $ac_includes_default 5618 #include <$ac_header> 5619 _ACEOF 5620 rm -f conftest.$ac_objext 5621 if { (ac_try="$ac_compile" 5622 case "(($ac_try" in 5623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5624 *) ac_try_echo=$ac_try;; 5625 esac 5626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5627 (eval "$ac_compile") 2>conftest.er1 5628 ac_status=$? 5629 grep -v '^ *+' conftest.er1 >conftest.err 5630 rm -f conftest.er1 5631 cat conftest.err >&5 5632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5633 (exit $ac_status); } && { 5634 test -z "$ac_cxx_werror_flag" || 5635 test ! -s conftest.err 5636 } && test -s conftest.$ac_objext; then 5637 ac_header_compiler=yes 5638 else 5639 echo "$as_me: failed program was:" >&5 5640 sed 's/^/| /' conftest.$ac_ext >&5 5641 5642 ac_header_compiler=no 5643 fi 5644 5645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5646 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5647 echo "${ECHO_T}$ac_header_compiler" >&6; } 5648 5649 # Is the header present? 5650 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5651 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5652 cat >conftest.$ac_ext <<_ACEOF 5653 /* confdefs.h. */ 5654 _ACEOF 5655 cat confdefs.h >>conftest.$ac_ext 5656 cat >>conftest.$ac_ext <<_ACEOF 5657 /* end confdefs.h. */ 5658 #include <$ac_header> 5659 _ACEOF 5660 if { (ac_try="$ac_cpp conftest.$ac_ext" 5661 case "(($ac_try" in 5662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5663 *) ac_try_echo=$ac_try;; 5664 esac 5665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5666 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5667 ac_status=$? 5668 grep -v '^ *+' conftest.er1 >conftest.err 5669 rm -f conftest.er1 5670 cat conftest.err >&5 5671 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5672 (exit $ac_status); } >/dev/null && { 5673 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5674 test ! -s conftest.err 5675 }; then 5676 ac_header_preproc=yes 5677 else 5678 echo "$as_me: failed program was:" >&5 5679 sed 's/^/| /' conftest.$ac_ext >&5 5680 5681 ac_header_preproc=no 5682 fi 5683 5684 rm -f conftest.err conftest.$ac_ext 5685 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5686 echo "${ECHO_T}$ac_header_preproc" >&6; } 5687 5688 # So? What about this header? 5689 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5690 yes:no: ) 5691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5695 ac_header_preproc=yes 5696 ;; 5697 no:yes:* ) 5698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5710 ( cat <<\_ASBOX 5711 ## ----------------------------------- ## 5712 ## Report this to rappture@nanohub.org ## 5713 ## ----------------------------------- ## 5714 _ASBOX 5715 ) | sed "s/^/$as_me: WARNING: /" >&2 5716 ;; 5717 esac 5718 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5719 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5720 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5721 echo $ECHO_N "(cached) $ECHO_C" >&6 5722 else 5723 eval "$as_ac_Header=\$ac_header_preproc" 5724 fi 5725 ac_res=`eval echo '${'$as_ac_Header'}'` 5726 { echo "$as_me:$LINENO: result: $ac_res" >&5 5727 echo "${ECHO_T}$ac_res" >&6; } 5728 5729 fi 5730 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5731 cat >>confdefs.h <<_ACEOF 5732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5733 _ACEOF 5734 5735 else 5736 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5737 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5738 fi 5739 5740 done 5741 5742 5743 for ac_header in cstring 5744 do 5745 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5746 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5747 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5749 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5750 echo $ECHO_N "(cached) $ECHO_C" >&6 5751 fi 5752 ac_res=`eval echo '${'$as_ac_Header'}'` 5753 { echo "$as_me:$LINENO: result: $ac_res" >&5 5754 echo "${ECHO_T}$ac_res" >&6; } 5755 else 5756 # Is the header compilable? 5757 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5758 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5759 cat >conftest.$ac_ext <<_ACEOF 5760 /* confdefs.h. */ 5761 _ACEOF 5762 cat confdefs.h >>conftest.$ac_ext 5763 cat >>conftest.$ac_ext <<_ACEOF 5764 /* end confdefs.h. */ 5765 $ac_includes_default 5766 #include <$ac_header> 5767 _ACEOF 5768 rm -f conftest.$ac_objext 5769 if { (ac_try="$ac_compile" 5770 case "(($ac_try" in 5771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5772 *) ac_try_echo=$ac_try;; 5773 esac 5774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5775 (eval "$ac_compile") 2>conftest.er1 5776 ac_status=$? 5777 grep -v '^ *+' conftest.er1 >conftest.err 5778 rm -f conftest.er1 5779 cat conftest.err >&5 5780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5781 (exit $ac_status); } && { 5782 test -z "$ac_cxx_werror_flag" || 5783 test ! -s conftest.err 5784 } && test -s conftest.$ac_objext; then 5785 ac_header_compiler=yes 5786 else 5787 echo "$as_me: failed program was:" >&5 5788 sed 's/^/| /' conftest.$ac_ext >&5 5789 5790 ac_header_compiler=no 5791 fi 5792 5793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5794 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5795 echo "${ECHO_T}$ac_header_compiler" >&6; } 5796 5797 # Is the header present? 5798 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5799 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5800 cat >conftest.$ac_ext <<_ACEOF 5801 /* confdefs.h. */ 5802 _ACEOF 5803 cat confdefs.h >>conftest.$ac_ext 5804 cat >>conftest.$ac_ext <<_ACEOF 5805 /* end confdefs.h. */ 5806 #include <$ac_header> 5807 _ACEOF 5808 if { (ac_try="$ac_cpp conftest.$ac_ext" 5809 case "(($ac_try" in 5810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5811 *) ac_try_echo=$ac_try;; 5812 esac 5813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5814 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5815 ac_status=$? 5816 grep -v '^ *+' conftest.er1 >conftest.err 5817 rm -f conftest.er1 5818 cat conftest.err >&5 5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5820 (exit $ac_status); } >/dev/null && { 5821 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5822 test ! -s conftest.err 5823 }; then 5824 ac_header_preproc=yes 5825 else 5826 echo "$as_me: failed program was:" >&5 5827 sed 's/^/| /' conftest.$ac_ext >&5 5828 5829 ac_header_preproc=no 5830 fi 5831 5832 rm -f conftest.err conftest.$ac_ext 5833 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5834 echo "${ECHO_T}$ac_header_preproc" >&6; } 5835 5836 # So? What about this header? 5837 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5838 yes:no: ) 5839 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5840 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5841 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5842 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5843 ac_header_preproc=yes 5844 ;; 5845 no:yes:* ) 5846 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5847 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5848 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5849 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5850 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5851 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 5852 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 5853 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 5854 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 5855 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 5856 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 5857 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 5858 ( cat <<\_ASBOX 5859 ## ----------------------------------- ## 5860 ## Report this to rappture@nanohub.org ## 5861 ## ----------------------------------- ## 5862 _ASBOX 5863 ) | sed "s/^/$as_me: WARNING: /" >&2 5864 ;; 5865 esac 5866 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5867 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5868 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5869 echo $ECHO_N "(cached) $ECHO_C" >&6 5870 else 5871 eval "$as_ac_Header=\$ac_header_preproc" 5872 fi 5873 ac_res=`eval echo '${'$as_ac_Header'}'` 5874 { echo "$as_me:$LINENO: result: $ac_res" >&5 5875 echo "${ECHO_T}$ac_res" >&6; } 5876 5877 fi 5878 if test `eval echo '${'$as_ac_Header'}'` = yes; then 5879 cat >>confdefs.h <<_ACEOF 5880 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 5881 _ACEOF 5882 5883 else 5884 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 5885 echo "$as_me: WARNING: STL classes missing ?" >&2;} 5886 fi 5887 5888 done 5889 5890 5891 for ac_header in fstream 5892 do 5893 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5894 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5895 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5896 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5897 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5898 echo $ECHO_N "(cached) $ECHO_C" >&6 5899 fi 5900 ac_res=`eval echo '${'$as_ac_Header'}'` 5901 { echo "$as_me:$LINENO: result: $ac_res" >&5 5902 echo "${ECHO_T}$ac_res" >&6; } 5903 else 5904 # Is the header compilable? 5905 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 5906 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 5907 cat >conftest.$ac_ext <<_ACEOF 5908 /* confdefs.h. */ 5909 _ACEOF 5910 cat confdefs.h >>conftest.$ac_ext 5911 cat >>conftest.$ac_ext <<_ACEOF 5912 /* end confdefs.h. */ 5913 $ac_includes_default 5914 #include <$ac_header> 5915 _ACEOF 5916 rm -f conftest.$ac_objext 5917 if { (ac_try="$ac_compile" 5918 case "(($ac_try" in 5919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5920 *) ac_try_echo=$ac_try;; 5921 esac 5922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5923 (eval "$ac_compile") 2>conftest.er1 5924 ac_status=$? 5925 grep -v '^ *+' conftest.er1 >conftest.err 5926 rm -f conftest.er1 5927 cat conftest.err >&5 5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5929 (exit $ac_status); } && { 5930 test -z "$ac_cxx_werror_flag" || 5931 test ! -s conftest.err 5932 } && test -s conftest.$ac_objext; then 5933 ac_header_compiler=yes 5934 else 5935 echo "$as_me: failed program was:" >&5 5936 sed 's/^/| /' conftest.$ac_ext >&5 5937 5938 ac_header_compiler=no 5939 fi 5940 5941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 5942 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 5943 echo "${ECHO_T}$ac_header_compiler" >&6; } 5944 5945 # Is the header present? 5946 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 5947 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 5948 cat >conftest.$ac_ext <<_ACEOF 5949 /* confdefs.h. */ 5950 _ACEOF 5951 cat confdefs.h >>conftest.$ac_ext 5952 cat >>conftest.$ac_ext <<_ACEOF 5953 /* end confdefs.h. */ 5954 #include <$ac_header> 5955 _ACEOF 5956 if { (ac_try="$ac_cpp conftest.$ac_ext" 5957 case "(($ac_try" in 5958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 5959 *) ac_try_echo=$ac_try;; 5960 esac 5961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 5962 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 5963 ac_status=$? 5964 grep -v '^ *+' conftest.er1 >conftest.err 5965 rm -f conftest.er1 5966 cat conftest.err >&5 5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5 5968 (exit $ac_status); } >/dev/null && { 5969 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 5970 test ! -s conftest.err 5971 }; then 5972 ac_header_preproc=yes 5973 else 5974 echo "$as_me: failed program was:" >&5 5975 sed 's/^/| /' conftest.$ac_ext >&5 5976 5977 ac_header_preproc=no 5978 fi 5979 5980 rm -f conftest.err conftest.$ac_ext 5981 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 5982 echo "${ECHO_T}$ac_header_preproc" >&6; } 5983 5984 # So? What about this header? 5985 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 5986 yes:no: ) 5987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 5988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 5989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 5990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 5991 ac_header_preproc=yes 5992 ;; 5993 no:yes:* ) 5994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 5995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 5996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 5997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 5998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 5999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6006 ( cat <<\_ASBOX 6007 ## ----------------------------------- ## 6008 ## Report this to rappture@nanohub.org ## 6009 ## ----------------------------------- ## 6010 _ASBOX 6011 ) | sed "s/^/$as_me: WARNING: /" >&2 6012 ;; 6013 esac 6014 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6016 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6017 echo $ECHO_N "(cached) $ECHO_C" >&6 6018 else 6019 eval "$as_ac_Header=\$ac_header_preproc" 6020 fi 6021 ac_res=`eval echo '${'$as_ac_Header'}'` 6022 { echo "$as_me:$LINENO: result: $ac_res" >&5 6023 echo "${ECHO_T}$ac_res" >&6; } 6024 6025 fi 6026 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6027 cat >>confdefs.h <<_ACEOF 6028 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6029 _ACEOF 6030 6031 else 6032 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6033 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6034 fi 6035 6036 done 6037 6038 6039 for ac_header in list 6040 do 6041 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6042 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6043 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6045 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6046 echo $ECHO_N "(cached) $ECHO_C" >&6 6047 fi 6048 ac_res=`eval echo '${'$as_ac_Header'}'` 6049 { echo "$as_me:$LINENO: result: $ac_res" >&5 6050 echo "${ECHO_T}$ac_res" >&6; } 6051 else 6052 # Is the header compilable? 6053 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6055 cat >conftest.$ac_ext <<_ACEOF 6056 /* confdefs.h. */ 6057 _ACEOF 6058 cat confdefs.h >>conftest.$ac_ext 6059 cat >>conftest.$ac_ext <<_ACEOF 6060 /* end confdefs.h. */ 6061 $ac_includes_default 6062 #include <$ac_header> 6063 _ACEOF 6064 rm -f conftest.$ac_objext 6065 if { (ac_try="$ac_compile" 6066 case "(($ac_try" in 6067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6068 *) ac_try_echo=$ac_try;; 6069 esac 6070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6071 (eval "$ac_compile") 2>conftest.er1 6072 ac_status=$? 6073 grep -v '^ *+' conftest.er1 >conftest.err 6074 rm -f conftest.er1 6075 cat conftest.err >&5 6076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6077 (exit $ac_status); } && { 6078 test -z "$ac_cxx_werror_flag" || 6079 test ! -s conftest.err 6080 } && test -s conftest.$ac_objext; then 6081 ac_header_compiler=yes 6082 else 6083 echo "$as_me: failed program was:" >&5 6084 sed 's/^/| /' conftest.$ac_ext >&5 6085 6086 ac_header_compiler=no 6087 fi 6088 6089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6090 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6091 echo "${ECHO_T}$ac_header_compiler" >&6; } 6092 6093 # Is the header present? 6094 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6095 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6096 cat >conftest.$ac_ext <<_ACEOF 6097 /* confdefs.h. */ 6098 _ACEOF 6099 cat confdefs.h >>conftest.$ac_ext 6100 cat >>conftest.$ac_ext <<_ACEOF 6101 /* end confdefs.h. */ 6102 #include <$ac_header> 6103 _ACEOF 6104 if { (ac_try="$ac_cpp conftest.$ac_ext" 6105 case "(($ac_try" in 6106 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6107 *) ac_try_echo=$ac_try;; 6108 esac 6109 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6110 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6111 ac_status=$? 6112 grep -v '^ *+' conftest.er1 >conftest.err 6113 rm -f conftest.er1 6114 cat conftest.err >&5 6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6116 (exit $ac_status); } >/dev/null && { 6117 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6118 test ! -s conftest.err 6119 }; then 6120 ac_header_preproc=yes 6121 else 6122 echo "$as_me: failed program was:" >&5 6123 sed 's/^/| /' conftest.$ac_ext >&5 6124 6125 ac_header_preproc=no 6126 fi 6127 6128 rm -f conftest.err conftest.$ac_ext 6129 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6130 echo "${ECHO_T}$ac_header_preproc" >&6; } 6131 6132 # So? What about this header? 6133 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6134 yes:no: ) 6135 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6136 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6137 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6138 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6139 ac_header_preproc=yes 6140 ;; 6141 no:yes:* ) 6142 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6143 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6144 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6145 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6146 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6147 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6148 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6149 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6150 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6151 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6152 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6153 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6154 ( cat <<\_ASBOX 6155 ## ----------------------------------- ## 6156 ## Report this to rappture@nanohub.org ## 6157 ## ----------------------------------- ## 6158 _ASBOX 6159 ) | sed "s/^/$as_me: WARNING: /" >&2 6160 ;; 6161 esac 6162 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6164 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6165 echo $ECHO_N "(cached) $ECHO_C" >&6 6166 else 6167 eval "$as_ac_Header=\$ac_header_preproc" 6168 fi 6169 ac_res=`eval echo '${'$as_ac_Header'}'` 6170 { echo "$as_me:$LINENO: result: $ac_res" >&5 6171 echo "${ECHO_T}$ac_res" >&6; } 6172 6173 fi 6174 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6175 cat >>confdefs.h <<_ACEOF 6176 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6177 _ACEOF 6178 6179 else 6180 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6181 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6182 fi 6183 6184 done 6185 6186 6187 for ac_header in iostream 6188 do 6189 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6190 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6191 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6192 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6193 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6194 echo $ECHO_N "(cached) $ECHO_C" >&6 6195 fi 6196 ac_res=`eval echo '${'$as_ac_Header'}'` 6197 { echo "$as_me:$LINENO: result: $ac_res" >&5 6198 echo "${ECHO_T}$ac_res" >&6; } 6199 else 6200 # Is the header compilable? 6201 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6202 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6203 cat >conftest.$ac_ext <<_ACEOF 6204 /* confdefs.h. */ 6205 _ACEOF 6206 cat confdefs.h >>conftest.$ac_ext 6207 cat >>conftest.$ac_ext <<_ACEOF 6208 /* end confdefs.h. */ 6209 $ac_includes_default 6210 #include <$ac_header> 6211 _ACEOF 6212 rm -f conftest.$ac_objext 6213 if { (ac_try="$ac_compile" 6214 case "(($ac_try" in 6215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6216 *) ac_try_echo=$ac_try;; 6217 esac 6218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6219 (eval "$ac_compile") 2>conftest.er1 6220 ac_status=$? 6221 grep -v '^ *+' conftest.er1 >conftest.err 6222 rm -f conftest.er1 6223 cat conftest.err >&5 6224 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6225 (exit $ac_status); } && { 6226 test -z "$ac_cxx_werror_flag" || 6227 test ! -s conftest.err 6228 } && test -s conftest.$ac_objext; then 6229 ac_header_compiler=yes 6230 else 6231 echo "$as_me: failed program was:" >&5 6232 sed 's/^/| /' conftest.$ac_ext >&5 6233 6234 ac_header_compiler=no 6235 fi 6236 6237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6238 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6239 echo "${ECHO_T}$ac_header_compiler" >&6; } 6240 6241 # Is the header present? 6242 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6243 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6244 cat >conftest.$ac_ext <<_ACEOF 6245 /* confdefs.h. */ 6246 _ACEOF 6247 cat confdefs.h >>conftest.$ac_ext 6248 cat >>conftest.$ac_ext <<_ACEOF 6249 /* end confdefs.h. */ 6250 #include <$ac_header> 6251 _ACEOF 6252 if { (ac_try="$ac_cpp conftest.$ac_ext" 6253 case "(($ac_try" in 6254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6255 *) ac_try_echo=$ac_try;; 6256 esac 6257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6258 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6259 ac_status=$? 6260 grep -v '^ *+' conftest.er1 >conftest.err 6261 rm -f conftest.er1 6262 cat conftest.err >&5 6263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6264 (exit $ac_status); } >/dev/null && { 6265 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6266 test ! -s conftest.err 6267 }; then 6268 ac_header_preproc=yes 6269 else 6270 echo "$as_me: failed program was:" >&5 6271 sed 's/^/| /' conftest.$ac_ext >&5 6272 6273 ac_header_preproc=no 6274 fi 6275 6276 rm -f conftest.err conftest.$ac_ext 6277 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6278 echo "${ECHO_T}$ac_header_preproc" >&6; } 6279 6280 # So? What about this header? 6281 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6282 yes:no: ) 6283 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6284 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6286 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6287 ac_header_preproc=yes 6288 ;; 6289 no:yes:* ) 6290 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6291 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6292 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6293 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6294 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6295 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6296 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6297 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6299 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6300 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6301 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6302 ( cat <<\_ASBOX 6303 ## ----------------------------------- ## 6304 ## Report this to rappture@nanohub.org ## 6305 ## ----------------------------------- ## 6306 _ASBOX 6307 ) | sed "s/^/$as_me: WARNING: /" >&2 6308 ;; 6309 esac 6310 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6311 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6312 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6313 echo $ECHO_N "(cached) $ECHO_C" >&6 6314 else 6315 eval "$as_ac_Header=\$ac_header_preproc" 6316 fi 6317 ac_res=`eval echo '${'$as_ac_Header'}'` 6318 { echo "$as_me:$LINENO: result: $ac_res" >&5 6319 echo "${ECHO_T}$ac_res" >&6; } 6320 6321 fi 6322 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6323 cat >>confdefs.h <<_ACEOF 6324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6325 _ACEOF 6326 6327 else 6328 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6329 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6330 fi 6331 6332 done 6333 6334 6335 for ac_header in iterator 6336 do 6337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6338 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6339 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6341 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6342 echo $ECHO_N "(cached) $ECHO_C" >&6 6343 fi 6344 ac_res=`eval echo '${'$as_ac_Header'}'` 6345 { echo "$as_me:$LINENO: result: $ac_res" >&5 6346 echo "${ECHO_T}$ac_res" >&6; } 6347 else 6348 # Is the header compilable? 6349 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6351 cat >conftest.$ac_ext <<_ACEOF 6352 /* confdefs.h. */ 6353 _ACEOF 6354 cat confdefs.h >>conftest.$ac_ext 6355 cat >>conftest.$ac_ext <<_ACEOF 6356 /* end confdefs.h. */ 6357 $ac_includes_default 6358 #include <$ac_header> 6359 _ACEOF 6360 rm -f conftest.$ac_objext 6361 if { (ac_try="$ac_compile" 6362 case "(($ac_try" in 6363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6364 *) ac_try_echo=$ac_try;; 6365 esac 6366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6367 (eval "$ac_compile") 2>conftest.er1 6368 ac_status=$? 6369 grep -v '^ *+' conftest.er1 >conftest.err 6370 rm -f conftest.er1 6371 cat conftest.err >&5 6372 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6373 (exit $ac_status); } && { 6374 test -z "$ac_cxx_werror_flag" || 6375 test ! -s conftest.err 6376 } && test -s conftest.$ac_objext; then 6377 ac_header_compiler=yes 6378 else 6379 echo "$as_me: failed program was:" >&5 6380 sed 's/^/| /' conftest.$ac_ext >&5 6381 6382 ac_header_compiler=no 6383 fi 6384 6385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6386 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6387 echo "${ECHO_T}$ac_header_compiler" >&6; } 6388 6389 # Is the header present? 6390 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6391 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6392 cat >conftest.$ac_ext <<_ACEOF 6393 /* confdefs.h. */ 6394 _ACEOF 6395 cat confdefs.h >>conftest.$ac_ext 6396 cat >>conftest.$ac_ext <<_ACEOF 6397 /* end confdefs.h. */ 6398 #include <$ac_header> 6399 _ACEOF 6400 if { (ac_try="$ac_cpp conftest.$ac_ext" 6401 case "(($ac_try" in 6402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6403 *) ac_try_echo=$ac_try;; 6404 esac 6405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6406 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6407 ac_status=$? 6408 grep -v '^ *+' conftest.er1 >conftest.err 6409 rm -f conftest.er1 6410 cat conftest.err >&5 6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6412 (exit $ac_status); } >/dev/null && { 6413 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6414 test ! -s conftest.err 6415 }; then 6416 ac_header_preproc=yes 6417 else 6418 echo "$as_me: failed program was:" >&5 6419 sed 's/^/| /' conftest.$ac_ext >&5 6420 6421 ac_header_preproc=no 6422 fi 6423 6424 rm -f conftest.err conftest.$ac_ext 6425 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6426 echo "${ECHO_T}$ac_header_preproc" >&6; } 6427 6428 # So? What about this header? 6429 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6430 yes:no: ) 6431 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6432 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6434 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6435 ac_header_preproc=yes 6436 ;; 6437 no:yes:* ) 6438 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6439 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6440 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6441 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6442 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6443 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6444 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6445 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6446 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6447 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6448 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6449 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6450 ( cat <<\_ASBOX 6451 ## ----------------------------------- ## 6452 ## Report this to rappture@nanohub.org ## 6453 ## ----------------------------------- ## 6454 _ASBOX 6455 ) | sed "s/^/$as_me: WARNING: /" >&2 6456 ;; 6457 esac 6458 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6459 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6460 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6461 echo $ECHO_N "(cached) $ECHO_C" >&6 6462 else 6463 eval "$as_ac_Header=\$ac_header_preproc" 6464 fi 6465 ac_res=`eval echo '${'$as_ac_Header'}'` 6466 { echo "$as_me:$LINENO: result: $ac_res" >&5 6467 echo "${ECHO_T}$ac_res" >&6; } 6468 6469 fi 6470 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6471 cat >>confdefs.h <<_ACEOF 6472 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6473 _ACEOF 6474 6475 else 6476 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6477 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6478 fi 6479 6480 done 6481 6482 6483 for ac_header in sstream 6484 do 6485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6486 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6487 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6489 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6490 echo $ECHO_N "(cached) $ECHO_C" >&6 6491 fi 6492 ac_res=`eval echo '${'$as_ac_Header'}'` 6493 { echo "$as_me:$LINENO: result: $ac_res" >&5 6494 echo "${ECHO_T}$ac_res" >&6; } 6495 else 6496 # Is the header compilable? 6497 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6498 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6499 cat >conftest.$ac_ext <<_ACEOF 6500 /* confdefs.h. */ 6501 _ACEOF 6502 cat confdefs.h >>conftest.$ac_ext 6503 cat >>conftest.$ac_ext <<_ACEOF 6504 /* end confdefs.h. */ 6505 $ac_includes_default 6506 #include <$ac_header> 6507 _ACEOF 6508 rm -f conftest.$ac_objext 6509 if { (ac_try="$ac_compile" 6510 case "(($ac_try" in 6511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6512 *) ac_try_echo=$ac_try;; 6513 esac 6514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6515 (eval "$ac_compile") 2>conftest.er1 6516 ac_status=$? 6517 grep -v '^ *+' conftest.er1 >conftest.err 6518 rm -f conftest.er1 6519 cat conftest.err >&5 6520 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6521 (exit $ac_status); } && { 6522 test -z "$ac_cxx_werror_flag" || 6523 test ! -s conftest.err 6524 } && test -s conftest.$ac_objext; then 6525 ac_header_compiler=yes 6526 else 6527 echo "$as_me: failed program was:" >&5 6528 sed 's/^/| /' conftest.$ac_ext >&5 6529 6530 ac_header_compiler=no 6531 fi 6532 6533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6534 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6535 echo "${ECHO_T}$ac_header_compiler" >&6; } 6536 6537 # Is the header present? 6538 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6539 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6540 cat >conftest.$ac_ext <<_ACEOF 6541 /* confdefs.h. */ 6542 _ACEOF 6543 cat confdefs.h >>conftest.$ac_ext 6544 cat >>conftest.$ac_ext <<_ACEOF 6545 /* end confdefs.h. */ 6546 #include <$ac_header> 6547 _ACEOF 6548 if { (ac_try="$ac_cpp conftest.$ac_ext" 6549 case "(($ac_try" in 6550 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6551 *) ac_try_echo=$ac_try;; 6552 esac 6553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6554 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6555 ac_status=$? 6556 grep -v '^ *+' conftest.er1 >conftest.err 6557 rm -f conftest.er1 6558 cat conftest.err >&5 6559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6560 (exit $ac_status); } >/dev/null && { 6561 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6562 test ! -s conftest.err 6563 }; then 6564 ac_header_preproc=yes 6565 else 6566 echo "$as_me: failed program was:" >&5 6567 sed 's/^/| /' conftest.$ac_ext >&5 6568 6569 ac_header_preproc=no 6570 fi 6571 6572 rm -f conftest.err conftest.$ac_ext 6573 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6574 echo "${ECHO_T}$ac_header_preproc" >&6; } 6575 6576 # So? What about this header? 6577 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6578 yes:no: ) 6579 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6580 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6581 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6582 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6583 ac_header_preproc=yes 6584 ;; 6585 no:yes:* ) 6586 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6587 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6588 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6589 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6590 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6591 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6592 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6593 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6594 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6595 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6596 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6597 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6598 ( cat <<\_ASBOX 6599 ## ----------------------------------- ## 6600 ## Report this to rappture@nanohub.org ## 6601 ## ----------------------------------- ## 6602 _ASBOX 6603 ) | sed "s/^/$as_me: WARNING: /" >&2 6604 ;; 6605 esac 6606 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6607 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6608 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6609 echo $ECHO_N "(cached) $ECHO_C" >&6 6610 else 6611 eval "$as_ac_Header=\$ac_header_preproc" 6612 fi 6613 ac_res=`eval echo '${'$as_ac_Header'}'` 6614 { echo "$as_me:$LINENO: result: $ac_res" >&5 6615 echo "${ECHO_T}$ac_res" >&6; } 6616 6617 fi 6618 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6619 cat >>confdefs.h <<_ACEOF 6620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6621 _ACEOF 6622 6623 else 6624 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6625 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6626 fi 6627 6628 done 6629 6630 6631 for ac_header in stack 6632 do 6633 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6634 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6635 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6637 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6638 echo $ECHO_N "(cached) $ECHO_C" >&6 6639 fi 6640 ac_res=`eval echo '${'$as_ac_Header'}'` 6641 { echo "$as_me:$LINENO: result: $ac_res" >&5 6642 echo "${ECHO_T}$ac_res" >&6; } 6643 else 6644 # Is the header compilable? 6645 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6647 cat >conftest.$ac_ext <<_ACEOF 6648 /* confdefs.h. */ 6649 _ACEOF 6650 cat confdefs.h >>conftest.$ac_ext 6651 cat >>conftest.$ac_ext <<_ACEOF 6652 /* end confdefs.h. */ 6653 $ac_includes_default 6654 #include <$ac_header> 6655 _ACEOF 6656 rm -f conftest.$ac_objext 6657 if { (ac_try="$ac_compile" 6658 case "(($ac_try" in 6659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6660 *) ac_try_echo=$ac_try;; 6661 esac 6662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6663 (eval "$ac_compile") 2>conftest.er1 6664 ac_status=$? 6665 grep -v '^ *+' conftest.er1 >conftest.err 6666 rm -f conftest.er1 6667 cat conftest.err >&5 6668 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6669 (exit $ac_status); } && { 6670 test -z "$ac_cxx_werror_flag" || 6671 test ! -s conftest.err 6672 } && test -s conftest.$ac_objext; then 6673 ac_header_compiler=yes 6674 else 6675 echo "$as_me: failed program was:" >&5 6676 sed 's/^/| /' conftest.$ac_ext >&5 6677 6678 ac_header_compiler=no 6679 fi 6680 6681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6682 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6683 echo "${ECHO_T}$ac_header_compiler" >&6; } 6684 6685 # Is the header present? 6686 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6687 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6688 cat >conftest.$ac_ext <<_ACEOF 6689 /* confdefs.h. */ 6690 _ACEOF 6691 cat confdefs.h >>conftest.$ac_ext 6692 cat >>conftest.$ac_ext <<_ACEOF 6693 /* end confdefs.h. */ 6694 #include <$ac_header> 6695 _ACEOF 6696 if { (ac_try="$ac_cpp conftest.$ac_ext" 6697 case "(($ac_try" in 6698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6699 *) ac_try_echo=$ac_try;; 6700 esac 6701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6703 ac_status=$? 6704 grep -v '^ *+' conftest.er1 >conftest.err 6705 rm -f conftest.er1 6706 cat conftest.err >&5 6707 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6708 (exit $ac_status); } >/dev/null && { 6709 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6710 test ! -s conftest.err 6711 }; then 6712 ac_header_preproc=yes 6713 else 6714 echo "$as_me: failed program was:" >&5 6715 sed 's/^/| /' conftest.$ac_ext >&5 6716 6717 ac_header_preproc=no 6718 fi 6719 6720 rm -f conftest.err conftest.$ac_ext 6721 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6722 echo "${ECHO_T}$ac_header_preproc" >&6; } 6723 6724 # So? What about this header? 6725 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6726 yes:no: ) 6727 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6728 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6729 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6730 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6731 ac_header_preproc=yes 6732 ;; 6733 no:yes:* ) 6734 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6735 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6736 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6737 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6738 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6739 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6740 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6741 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6743 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6744 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6745 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6746 ( cat <<\_ASBOX 6747 ## ----------------------------------- ## 6748 ## Report this to rappture@nanohub.org ## 6749 ## ----------------------------------- ## 6750 _ASBOX 6751 ) | sed "s/^/$as_me: WARNING: /" >&2 6752 ;; 6753 esac 6754 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6755 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6756 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6757 echo $ECHO_N "(cached) $ECHO_C" >&6 6758 else 6759 eval "$as_ac_Header=\$ac_header_preproc" 6760 fi 6761 ac_res=`eval echo '${'$as_ac_Header'}'` 6762 { echo "$as_me:$LINENO: result: $ac_res" >&5 6763 echo "${ECHO_T}$ac_res" >&6; } 6764 6765 fi 6766 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6767 cat >>confdefs.h <<_ACEOF 6768 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6769 _ACEOF 6770 6771 else 6772 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6773 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6774 fi 6775 6776 done 6777 6778 6779 for ac_header in string 6780 do 6781 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6782 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6783 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6785 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6786 echo $ECHO_N "(cached) $ECHO_C" >&6 6787 fi 6788 ac_res=`eval echo '${'$as_ac_Header'}'` 6789 { echo "$as_me:$LINENO: result: $ac_res" >&5 6790 echo "${ECHO_T}$ac_res" >&6; } 6791 else 6792 # Is the header compilable? 6793 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6795 cat >conftest.$ac_ext <<_ACEOF 6796 /* confdefs.h. */ 6797 _ACEOF 6798 cat confdefs.h >>conftest.$ac_ext 6799 cat >>conftest.$ac_ext <<_ACEOF 6800 /* end confdefs.h. */ 6801 $ac_includes_default 6802 #include <$ac_header> 6803 _ACEOF 6804 rm -f conftest.$ac_objext 6805 if { (ac_try="$ac_compile" 6806 case "(($ac_try" in 6807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6808 *) ac_try_echo=$ac_try;; 6809 esac 6810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6811 (eval "$ac_compile") 2>conftest.er1 6812 ac_status=$? 6813 grep -v '^ *+' conftest.er1 >conftest.err 6814 rm -f conftest.er1 6815 cat conftest.err >&5 6816 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6817 (exit $ac_status); } && { 6818 test -z "$ac_cxx_werror_flag" || 6819 test ! -s conftest.err 6820 } && test -s conftest.$ac_objext; then 6821 ac_header_compiler=yes 6822 else 6823 echo "$as_me: failed program was:" >&5 6824 sed 's/^/| /' conftest.$ac_ext >&5 6825 6826 ac_header_compiler=no 6827 fi 6828 6829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6830 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6831 echo "${ECHO_T}$ac_header_compiler" >&6; } 6832 6833 # Is the header present? 6834 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6836 cat >conftest.$ac_ext <<_ACEOF 6837 /* confdefs.h. */ 6838 _ACEOF 6839 cat confdefs.h >>conftest.$ac_ext 6840 cat >>conftest.$ac_ext <<_ACEOF 6841 /* end confdefs.h. */ 6842 #include <$ac_header> 6843 _ACEOF 6844 if { (ac_try="$ac_cpp conftest.$ac_ext" 6845 case "(($ac_try" in 6846 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6847 *) ac_try_echo=$ac_try;; 6848 esac 6849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6850 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6851 ac_status=$? 6852 grep -v '^ *+' conftest.er1 >conftest.err 6853 rm -f conftest.er1 6854 cat conftest.err >&5 6855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6856 (exit $ac_status); } >/dev/null && { 6857 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 6858 test ! -s conftest.err 6859 }; then 6860 ac_header_preproc=yes 6861 else 6862 echo "$as_me: failed program was:" >&5 6863 sed 's/^/| /' conftest.$ac_ext >&5 6864 6865 ac_header_preproc=no 6866 fi 6867 6868 rm -f conftest.err conftest.$ac_ext 6869 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 6870 echo "${ECHO_T}$ac_header_preproc" >&6; } 6871 6872 # So? What about this header? 6873 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 6874 yes:no: ) 6875 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 6876 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 6877 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 6878 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 6879 ac_header_preproc=yes 6880 ;; 6881 no:yes:* ) 6882 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 6883 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 6884 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 6885 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 6886 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 6887 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 6888 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 6889 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 6890 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 6891 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 6892 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 6893 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 6894 ( cat <<\_ASBOX 6895 ## ----------------------------------- ## 6896 ## Report this to rappture@nanohub.org ## 6897 ## ----------------------------------- ## 6898 _ASBOX 6899 ) | sed "s/^/$as_me: WARNING: /" >&2 6900 ;; 6901 esac 6902 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6904 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6905 echo $ECHO_N "(cached) $ECHO_C" >&6 6906 else 6907 eval "$as_ac_Header=\$ac_header_preproc" 6908 fi 6909 ac_res=`eval echo '${'$as_ac_Header'}'` 6910 { echo "$as_me:$LINENO: result: $ac_res" >&5 6911 echo "${ECHO_T}$ac_res" >&6; } 6912 6913 fi 6914 if test `eval echo '${'$as_ac_Header'}'` = yes; then 6915 cat >>confdefs.h <<_ACEOF 6916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 6917 _ACEOF 6918 6919 else 6920 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 6921 echo "$as_me: WARNING: STL classes missing ?" >&2;} 6922 fi 6923 6924 done 6925 6926 6927 for ac_header in vector 6928 do 6929 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 6930 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6931 { echo "$as_me:$LINENO: checking for $ac_header" >&5 6932 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 6933 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6934 echo $ECHO_N "(cached) $ECHO_C" >&6 6935 fi 6936 ac_res=`eval echo '${'$as_ac_Header'}'` 6937 { echo "$as_me:$LINENO: result: $ac_res" >&5 6938 echo "${ECHO_T}$ac_res" >&6; } 6939 else 6940 # Is the header compilable? 6941 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 6942 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 6943 cat >conftest.$ac_ext <<_ACEOF 6944 /* confdefs.h. */ 6945 _ACEOF 6946 cat confdefs.h >>conftest.$ac_ext 6947 cat >>conftest.$ac_ext <<_ACEOF 6948 /* end confdefs.h. */ 6949 $ac_includes_default 6950 #include <$ac_header> 6951 _ACEOF 6952 rm -f conftest.$ac_objext 6953 if { (ac_try="$ac_compile" 6954 case "(($ac_try" in 6955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6956 *) ac_try_echo=$ac_try;; 6957 esac 6958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6959 (eval "$ac_compile") 2>conftest.er1 6960 ac_status=$? 6961 grep -v '^ *+' conftest.er1 >conftest.err 6962 rm -f conftest.er1 6963 cat conftest.err >&5 6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5 6965 (exit $ac_status); } && { 6966 test -z "$ac_cxx_werror_flag" || 6967 test ! -s conftest.err 6968 } && test -s conftest.$ac_objext; then 6969 ac_header_compiler=yes 6970 else 6971 echo "$as_me: failed program was:" >&5 6972 sed 's/^/| /' conftest.$ac_ext >&5 6973 6974 ac_header_compiler=no 6975 fi 6976 6977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 6978 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 6979 echo "${ECHO_T}$ac_header_compiler" >&6; } 6980 6981 # Is the header present? 6982 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 6983 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 6984 cat >conftest.$ac_ext <<_ACEOF 6985 /* confdefs.h. */ 6986 _ACEOF 6987 cat confdefs.h >>conftest.$ac_ext 6988 cat >>conftest.$ac_ext <<_ACEOF 6989 /* end confdefs.h. */ 6990 #include <$ac_header> 6991 _ACEOF 6992 if { (ac_try="$ac_cpp conftest.$ac_ext" 6993 case "(($ac_try" in 6994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 6995 *) ac_try_echo=$ac_try;; 6996 esac 6997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 6998 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 6999 ac_status=$? 7000 grep -v '^ *+' conftest.er1 >conftest.err 7001 rm -f conftest.er1 7002 cat conftest.err >&5 7003 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7004 (exit $ac_status); } >/dev/null && { 7005 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7006 test ! -s conftest.err 7007 }; then 7008 ac_header_preproc=yes 7009 else 7010 echo "$as_me: failed program was:" >&5 7011 sed 's/^/| /' conftest.$ac_ext >&5 7012 7013 ac_header_preproc=no 7014 fi 7015 7016 rm -f conftest.err conftest.$ac_ext 7017 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7018 echo "${ECHO_T}$ac_header_preproc" >&6; } 7019 7020 # So? What about this header? 7021 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7022 yes:no: ) 7023 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7024 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7025 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7026 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7027 ac_header_preproc=yes 7028 ;; 7029 no:yes:* ) 7030 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7031 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7032 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7033 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7034 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7035 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7036 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7037 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7038 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7039 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7040 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7041 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7042 ( cat <<\_ASBOX 7043 ## ----------------------------------- ## 7044 ## Report this to rappture@nanohub.org ## 7045 ## ----------------------------------- ## 7046 _ASBOX 7047 ) | sed "s/^/$as_me: WARNING: /" >&2 7048 ;; 7049 esac 7050 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7051 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7052 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7053 echo $ECHO_N "(cached) $ECHO_C" >&6 7054 else 7055 eval "$as_ac_Header=\$ac_header_preproc" 7056 fi 7057 ac_res=`eval echo '${'$as_ac_Header'}'` 7058 { echo "$as_me:$LINENO: result: $ac_res" >&5 7059 echo "${ECHO_T}$ac_res" >&6; } 7060 7061 fi 7062 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7063 cat >>confdefs.h <<_ACEOF 7064 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7065 _ACEOF 7066 7067 else 7068 { echo "$as_me:$LINENO: WARNING: STL classes missing ?" >&5 7069 echo "$as_me: WARNING: STL classes missing ?" >&2;} 7070 fi 7071 7072 done 7073 7074 7075 7076 for ac_header in assert.h 7077 do 7078 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7079 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7080 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7082 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7083 echo $ECHO_N "(cached) $ECHO_C" >&6 7084 fi 7085 ac_res=`eval echo '${'$as_ac_Header'}'` 7086 { echo "$as_me:$LINENO: result: $ac_res" >&5 7087 echo "${ECHO_T}$ac_res" >&6; } 7088 else 7089 # Is the header compilable? 7090 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7091 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7092 cat >conftest.$ac_ext <<_ACEOF 7093 /* confdefs.h. */ 7094 _ACEOF 7095 cat confdefs.h >>conftest.$ac_ext 7096 cat >>conftest.$ac_ext <<_ACEOF 7097 /* end confdefs.h. */ 7098 $ac_includes_default 7099 #include <$ac_header> 7100 _ACEOF 7101 rm -f conftest.$ac_objext 7102 if { (ac_try="$ac_compile" 7103 case "(($ac_try" in 7104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7105 *) ac_try_echo=$ac_try;; 7106 esac 7107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7108 (eval "$ac_compile") 2>conftest.er1 7109 ac_status=$? 7110 grep -v '^ *+' conftest.er1 >conftest.err 7111 rm -f conftest.er1 7112 cat conftest.err >&5 7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7114 (exit $ac_status); } && { 7115 test -z "$ac_cxx_werror_flag" || 7116 test ! -s conftest.err 7117 } && test -s conftest.$ac_objext; then 7118 ac_header_compiler=yes 7119 else 7120 echo "$as_me: failed program was:" >&5 7121 sed 's/^/| /' conftest.$ac_ext >&5 7122 7123 ac_header_compiler=no 7124 fi 7125 7126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7127 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7128 echo "${ECHO_T}$ac_header_compiler" >&6; } 7129 7130 # Is the header present? 7131 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7133 cat >conftest.$ac_ext <<_ACEOF 7134 /* confdefs.h. */ 7135 _ACEOF 7136 cat confdefs.h >>conftest.$ac_ext 7137 cat >>conftest.$ac_ext <<_ACEOF 7138 /* end confdefs.h. */ 7139 #include <$ac_header> 7140 _ACEOF 7141 if { (ac_try="$ac_cpp conftest.$ac_ext" 7142 case "(($ac_try" in 7143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7144 *) ac_try_echo=$ac_try;; 7145 esac 7146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7147 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7148 ac_status=$? 7149 grep -v '^ *+' conftest.er1 >conftest.err 7150 rm -f conftest.er1 7151 cat conftest.err >&5 7152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7153 (exit $ac_status); } >/dev/null && { 7154 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7155 test ! -s conftest.err 7156 }; then 7157 ac_header_preproc=yes 7158 else 7159 echo "$as_me: failed program was:" >&5 7160 sed 's/^/| /' conftest.$ac_ext >&5 7161 7162 ac_header_preproc=no 7163 fi 7164 7165 rm -f conftest.err conftest.$ac_ext 7166 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7167 echo "${ECHO_T}$ac_header_preproc" >&6; } 7168 7169 # So? What about this header? 7170 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7171 yes:no: ) 7172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7176 ac_header_preproc=yes 7177 ;; 7178 no:yes:* ) 7179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7191 ( cat <<\_ASBOX 7192 ## ----------------------------------- ## 7193 ## Report this to rappture@nanohub.org ## 7194 ## ----------------------------------- ## 7195 _ASBOX 7196 ) | sed "s/^/$as_me: WARNING: /" >&2 7197 ;; 7198 esac 7199 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7200 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7202 echo $ECHO_N "(cached) $ECHO_C" >&6 7203 else 7204 eval "$as_ac_Header=\$ac_header_preproc" 7205 fi 7206 ac_res=`eval echo '${'$as_ac_Header'}'` 7207 { echo "$as_me:$LINENO: result: $ac_res" >&5 7208 echo "${ECHO_T}$ac_res" >&6; } 7209 7210 fi 7211 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7212 cat >>confdefs.h <<_ACEOF 7213 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7214 _ACEOF 7215 7216 else 7217 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7218 echo "$as_me: WARNING: C headers missing ?" >&2;} 7219 fi 7220 7221 done 7222 7223 7224 for ac_header in ctype.h 7225 do 7226 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7227 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7228 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7230 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7231 echo $ECHO_N "(cached) $ECHO_C" >&6 7232 fi 7233 ac_res=`eval echo '${'$as_ac_Header'}'` 7234 { echo "$as_me:$LINENO: result: $ac_res" >&5 7235 echo "${ECHO_T}$ac_res" >&6; } 7236 else 7237 # Is the header compilable? 7238 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7239 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7240 cat >conftest.$ac_ext <<_ACEOF 7241 /* confdefs.h. */ 7242 _ACEOF 7243 cat confdefs.h >>conftest.$ac_ext 7244 cat >>conftest.$ac_ext <<_ACEOF 7245 /* end confdefs.h. */ 7246 $ac_includes_default 7247 #include <$ac_header> 7248 _ACEOF 7249 rm -f conftest.$ac_objext 7250 if { (ac_try="$ac_compile" 7251 case "(($ac_try" in 7252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7253 *) ac_try_echo=$ac_try;; 7254 esac 7255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7256 (eval "$ac_compile") 2>conftest.er1 7257 ac_status=$? 7258 grep -v '^ *+' conftest.er1 >conftest.err 7259 rm -f conftest.er1 7260 cat conftest.err >&5 7261 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7262 (exit $ac_status); } && { 7263 test -z "$ac_cxx_werror_flag" || 7264 test ! -s conftest.err 7265 } && test -s conftest.$ac_objext; then 7266 ac_header_compiler=yes 7267 else 7268 echo "$as_me: failed program was:" >&5 7269 sed 's/^/| /' conftest.$ac_ext >&5 7270 7271 ac_header_compiler=no 7272 fi 7273 7274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7275 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7276 echo "${ECHO_T}$ac_header_compiler" >&6; } 7277 7278 # Is the header present? 7279 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7280 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7281 cat >conftest.$ac_ext <<_ACEOF 7282 /* confdefs.h. */ 7283 _ACEOF 7284 cat confdefs.h >>conftest.$ac_ext 7285 cat >>conftest.$ac_ext <<_ACEOF 7286 /* end confdefs.h. */ 7287 #include <$ac_header> 7288 _ACEOF 7289 if { (ac_try="$ac_cpp conftest.$ac_ext" 7290 case "(($ac_try" in 7291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7292 *) ac_try_echo=$ac_try;; 7293 esac 7294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7295 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7296 ac_status=$? 7297 grep -v '^ *+' conftest.er1 >conftest.err 7298 rm -f conftest.er1 7299 cat conftest.err >&5 7300 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7301 (exit $ac_status); } >/dev/null && { 7302 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7303 test ! -s conftest.err 7304 }; then 7305 ac_header_preproc=yes 7306 else 7307 echo "$as_me: failed program was:" >&5 7308 sed 's/^/| /' conftest.$ac_ext >&5 7309 7310 ac_header_preproc=no 7311 fi 7312 7313 rm -f conftest.err conftest.$ac_ext 7314 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7315 echo "${ECHO_T}$ac_header_preproc" >&6; } 7316 7317 # So? What about this header? 7318 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7319 yes:no: ) 7320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7323 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7324 ac_header_preproc=yes 7325 ;; 7326 no:yes:* ) 7327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7331 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7332 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7333 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7334 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7337 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7338 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7339 ( cat <<\_ASBOX 7340 ## ----------------------------------- ## 7341 ## Report this to rappture@nanohub.org ## 7342 ## ----------------------------------- ## 7343 _ASBOX 7344 ) | sed "s/^/$as_me: WARNING: /" >&2 7345 ;; 7346 esac 7347 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7348 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7350 echo $ECHO_N "(cached) $ECHO_C" >&6 7351 else 7352 eval "$as_ac_Header=\$ac_header_preproc" 7353 fi 7354 ac_res=`eval echo '${'$as_ac_Header'}'` 7355 { echo "$as_me:$LINENO: result: $ac_res" >&5 7356 echo "${ECHO_T}$ac_res" >&6; } 7357 7358 fi 7359 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7360 cat >>confdefs.h <<_ACEOF 7361 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7362 _ACEOF 7363 7364 else 7365 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7366 echo "$as_me: WARNING: C headers missing ?" >&2;} 7367 fi 7368 7369 done 7370 7371 7372 for ac_header in errno.h 7373 do 7374 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7375 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7376 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7378 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7379 echo $ECHO_N "(cached) $ECHO_C" >&6 7380 fi 7381 ac_res=`eval echo '${'$as_ac_Header'}'` 7382 { echo "$as_me:$LINENO: result: $ac_res" >&5 7383 echo "${ECHO_T}$ac_res" >&6; } 7384 else 7385 # Is the header compilable? 7386 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7387 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7388 cat >conftest.$ac_ext <<_ACEOF 7389 /* confdefs.h. */ 7390 _ACEOF 7391 cat confdefs.h >>conftest.$ac_ext 7392 cat >>conftest.$ac_ext <<_ACEOF 7393 /* end confdefs.h. */ 7394 $ac_includes_default 7395 #include <$ac_header> 7396 _ACEOF 7397 rm -f conftest.$ac_objext 7398 if { (ac_try="$ac_compile" 7399 case "(($ac_try" in 7400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7401 *) ac_try_echo=$ac_try;; 7402 esac 7403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7404 (eval "$ac_compile") 2>conftest.er1 7405 ac_status=$? 7406 grep -v '^ *+' conftest.er1 >conftest.err 7407 rm -f conftest.er1 7408 cat conftest.err >&5 7409 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7410 (exit $ac_status); } && { 7411 test -z "$ac_cxx_werror_flag" || 7412 test ! -s conftest.err 7413 } && test -s conftest.$ac_objext; then 7414 ac_header_compiler=yes 7415 else 7416 echo "$as_me: failed program was:" >&5 7417 sed 's/^/| /' conftest.$ac_ext >&5 7418 7419 ac_header_compiler=no 7420 fi 7421 7422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7423 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7424 echo "${ECHO_T}$ac_header_compiler" >&6; } 7425 7426 # Is the header present? 7427 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7429 cat >conftest.$ac_ext <<_ACEOF 7430 /* confdefs.h. */ 7431 _ACEOF 7432 cat confdefs.h >>conftest.$ac_ext 7433 cat >>conftest.$ac_ext <<_ACEOF 7434 /* end confdefs.h. */ 7435 #include <$ac_header> 7436 _ACEOF 7437 if { (ac_try="$ac_cpp conftest.$ac_ext" 7438 case "(($ac_try" in 7439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7440 *) ac_try_echo=$ac_try;; 7441 esac 7442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7443 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7444 ac_status=$? 7445 grep -v '^ *+' conftest.er1 >conftest.err 7446 rm -f conftest.er1 7447 cat conftest.err >&5 7448 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7449 (exit $ac_status); } >/dev/null && { 7450 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7451 test ! -s conftest.err 7452 }; then 7453 ac_header_preproc=yes 7454 else 7455 echo "$as_me: failed program was:" >&5 7456 sed 's/^/| /' conftest.$ac_ext >&5 7457 7458 ac_header_preproc=no 7459 fi 7460 7461 rm -f conftest.err conftest.$ac_ext 7462 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7463 echo "${ECHO_T}$ac_header_preproc" >&6; } 7464 7465 # So? What about this header? 7466 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7467 yes:no: ) 7468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7471 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7472 ac_header_preproc=yes 7473 ;; 7474 no:yes:* ) 7475 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7476 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7477 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7478 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7479 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7480 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7481 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7482 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7483 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7484 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7485 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7486 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7487 ( cat <<\_ASBOX 7488 ## ----------------------------------- ## 7489 ## Report this to rappture@nanohub.org ## 7490 ## ----------------------------------- ## 7491 _ASBOX 7492 ) | sed "s/^/$as_me: WARNING: /" >&2 7493 ;; 7494 esac 7495 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7497 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7498 echo $ECHO_N "(cached) $ECHO_C" >&6 7499 else 7500 eval "$as_ac_Header=\$ac_header_preproc" 7501 fi 7502 ac_res=`eval echo '${'$as_ac_Header'}'` 7503 { echo "$as_me:$LINENO: result: $ac_res" >&5 7504 echo "${ECHO_T}$ac_res" >&6; } 7505 7506 fi 7507 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7508 cat >>confdefs.h <<_ACEOF 7509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7510 _ACEOF 7511 7512 else 7513 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7514 echo "$as_me: WARNING: C headers missing ?" >&2;} 7515 fi 7516 7517 done 7518 7519 7520 for ac_header in limits.h 7521 do 7522 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7523 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7524 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7525 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7526 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7527 echo $ECHO_N "(cached) $ECHO_C" >&6 7528 fi 7529 ac_res=`eval echo '${'$as_ac_Header'}'` 7530 { echo "$as_me:$LINENO: result: $ac_res" >&5 7531 echo "${ECHO_T}$ac_res" >&6; } 7532 else 7533 # Is the header compilable? 7534 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7535 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7536 cat >conftest.$ac_ext <<_ACEOF 7537 /* confdefs.h. */ 7538 _ACEOF 7539 cat confdefs.h >>conftest.$ac_ext 7540 cat >>conftest.$ac_ext <<_ACEOF 7541 /* end confdefs.h. */ 7542 $ac_includes_default 7543 #include <$ac_header> 7544 _ACEOF 7545 rm -f conftest.$ac_objext 7546 if { (ac_try="$ac_compile" 7547 case "(($ac_try" in 7548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7549 *) ac_try_echo=$ac_try;; 7550 esac 7551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7552 (eval "$ac_compile") 2>conftest.er1 7553 ac_status=$? 7554 grep -v '^ *+' conftest.er1 >conftest.err 7555 rm -f conftest.er1 7556 cat conftest.err >&5 7557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7558 (exit $ac_status); } && { 7559 test -z "$ac_cxx_werror_flag" || 7560 test ! -s conftest.err 7561 } && test -s conftest.$ac_objext; then 7562 ac_header_compiler=yes 7563 else 7564 echo "$as_me: failed program was:" >&5 7565 sed 's/^/| /' conftest.$ac_ext >&5 7566 7567 ac_header_compiler=no 7568 fi 7569 7570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7571 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7572 echo "${ECHO_T}$ac_header_compiler" >&6; } 7573 7574 # Is the header present? 7575 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7576 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7577 cat >conftest.$ac_ext <<_ACEOF 7578 /* confdefs.h. */ 7579 _ACEOF 7580 cat confdefs.h >>conftest.$ac_ext 7581 cat >>conftest.$ac_ext <<_ACEOF 7582 /* end confdefs.h. */ 7583 #include <$ac_header> 7584 _ACEOF 7585 if { (ac_try="$ac_cpp conftest.$ac_ext" 7586 case "(($ac_try" in 7587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7588 *) ac_try_echo=$ac_try;; 7589 esac 7590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7591 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7592 ac_status=$? 7593 grep -v '^ *+' conftest.er1 >conftest.err 7594 rm -f conftest.er1 7595 cat conftest.err >&5 7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7597 (exit $ac_status); } >/dev/null && { 7598 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7599 test ! -s conftest.err 7600 }; then 7601 ac_header_preproc=yes 7602 else 7603 echo "$as_me: failed program was:" >&5 7604 sed 's/^/| /' conftest.$ac_ext >&5 7605 7606 ac_header_preproc=no 7607 fi 7608 7609 rm -f conftest.err conftest.$ac_ext 7610 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7611 echo "${ECHO_T}$ac_header_preproc" >&6; } 7612 7613 # So? What about this header? 7614 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7615 yes:no: ) 7616 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7617 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7618 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7619 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7620 ac_header_preproc=yes 7621 ;; 7622 no:yes:* ) 7623 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7624 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7625 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7626 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7627 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7628 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7629 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7630 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7632 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7633 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7634 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7635 ( cat <<\_ASBOX 7636 ## ----------------------------------- ## 7637 ## Report this to rappture@nanohub.org ## 7638 ## ----------------------------------- ## 7639 _ASBOX 7640 ) | sed "s/^/$as_me: WARNING: /" >&2 7641 ;; 7642 esac 7643 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7644 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7645 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7646 echo $ECHO_N "(cached) $ECHO_C" >&6 7647 else 7648 eval "$as_ac_Header=\$ac_header_preproc" 7649 fi 7650 ac_res=`eval echo '${'$as_ac_Header'}'` 7651 { echo "$as_me:$LINENO: result: $ac_res" >&5 7652 echo "${ECHO_T}$ac_res" >&6; } 7653 7654 fi 7655 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7656 cat >>confdefs.h <<_ACEOF 7657 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7658 _ACEOF 7659 7660 else 7661 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7662 echo "$as_me: WARNING: C headers missing ?" >&2;} 7663 fi 7664 7665 done 7666 7667 7668 for ac_header in string.h 7669 do 7670 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7671 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7672 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7674 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7675 echo $ECHO_N "(cached) $ECHO_C" >&6 7676 fi 7677 ac_res=`eval echo '${'$as_ac_Header'}'` 7678 { echo "$as_me:$LINENO: result: $ac_res" >&5 7679 echo "${ECHO_T}$ac_res" >&6; } 7680 else 7681 # Is the header compilable? 7682 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7683 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7684 cat >conftest.$ac_ext <<_ACEOF 7685 /* confdefs.h. */ 7686 _ACEOF 7687 cat confdefs.h >>conftest.$ac_ext 7688 cat >>conftest.$ac_ext <<_ACEOF 7689 /* end confdefs.h. */ 7690 $ac_includes_default 7691 #include <$ac_header> 7692 _ACEOF 7693 rm -f conftest.$ac_objext 7694 if { (ac_try="$ac_compile" 7695 case "(($ac_try" in 7696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7697 *) ac_try_echo=$ac_try;; 7698 esac 7699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7700 (eval "$ac_compile") 2>conftest.er1 7701 ac_status=$? 7702 grep -v '^ *+' conftest.er1 >conftest.err 7703 rm -f conftest.er1 7704 cat conftest.err >&5 7705 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7706 (exit $ac_status); } && { 7707 test -z "$ac_cxx_werror_flag" || 7708 test ! -s conftest.err 7709 } && test -s conftest.$ac_objext; then 7710 ac_header_compiler=yes 7711 else 7712 echo "$as_me: failed program was:" >&5 7713 sed 's/^/| /' conftest.$ac_ext >&5 7714 7715 ac_header_compiler=no 7716 fi 7717 7718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7719 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7720 echo "${ECHO_T}$ac_header_compiler" >&6; } 7721 7722 # Is the header present? 7723 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7725 cat >conftest.$ac_ext <<_ACEOF 7726 /* confdefs.h. */ 7727 _ACEOF 7728 cat confdefs.h >>conftest.$ac_ext 7729 cat >>conftest.$ac_ext <<_ACEOF 7730 /* end confdefs.h. */ 7731 #include <$ac_header> 7732 _ACEOF 7733 if { (ac_try="$ac_cpp conftest.$ac_ext" 7734 case "(($ac_try" in 7735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7736 *) ac_try_echo=$ac_try;; 7737 esac 7738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7740 ac_status=$? 7741 grep -v '^ *+' conftest.er1 >conftest.err 7742 rm -f conftest.er1 7743 cat conftest.err >&5 7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7745 (exit $ac_status); } >/dev/null && { 7746 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7747 test ! -s conftest.err 7748 }; then 7749 ac_header_preproc=yes 7750 else 7751 echo "$as_me: failed program was:" >&5 7752 sed 's/^/| /' conftest.$ac_ext >&5 7753 7754 ac_header_preproc=no 7755 fi 7756 7757 rm -f conftest.err conftest.$ac_ext 7758 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7759 echo "${ECHO_T}$ac_header_preproc" >&6; } 7760 7761 # So? What about this header? 7762 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7763 yes:no: ) 7764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7765 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7767 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7768 ac_header_preproc=yes 7769 ;; 7770 no:yes:* ) 7771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7772 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7774 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7775 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7776 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7777 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7778 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7781 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7782 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7783 ( cat <<\_ASBOX 7784 ## ----------------------------------- ## 7785 ## Report this to rappture@nanohub.org ## 7786 ## ----------------------------------- ## 7787 _ASBOX 7788 ) | sed "s/^/$as_me: WARNING: /" >&2 7789 ;; 7790 esac 7791 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7794 echo $ECHO_N "(cached) $ECHO_C" >&6 7795 else 7796 eval "$as_ac_Header=\$ac_header_preproc" 7797 fi 7798 ac_res=`eval echo '${'$as_ac_Header'}'` 7799 { echo "$as_me:$LINENO: result: $ac_res" >&5 7800 echo "${ECHO_T}$ac_res" >&6; } 7801 7802 fi 7803 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7804 cat >>confdefs.h <<_ACEOF 7805 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7806 _ACEOF 7807 7808 else 7809 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7810 echo "$as_me: WARNING: C headers missing ?" >&2;} 7811 fi 7812 7813 done 7814 7815 7816 for ac_header in stdlib.h 7817 do 7818 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7819 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7820 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7821 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7823 echo $ECHO_N "(cached) $ECHO_C" >&6 7824 fi 7825 ac_res=`eval echo '${'$as_ac_Header'}'` 7826 { echo "$as_me:$LINENO: result: $ac_res" >&5 7827 echo "${ECHO_T}$ac_res" >&6; } 7828 else 7829 # Is the header compilable? 7830 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7831 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7832 cat >conftest.$ac_ext <<_ACEOF 7833 /* confdefs.h. */ 7834 _ACEOF 7835 cat confdefs.h >>conftest.$ac_ext 7836 cat >>conftest.$ac_ext <<_ACEOF 7837 /* end confdefs.h. */ 7838 $ac_includes_default 7839 #include <$ac_header> 7840 _ACEOF 7841 rm -f conftest.$ac_objext 7842 if { (ac_try="$ac_compile" 7843 case "(($ac_try" in 7844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7845 *) ac_try_echo=$ac_try;; 7846 esac 7847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7848 (eval "$ac_compile") 2>conftest.er1 7849 ac_status=$? 7850 grep -v '^ *+' conftest.er1 >conftest.err 7851 rm -f conftest.er1 7852 cat conftest.err >&5 7853 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7854 (exit $ac_status); } && { 7855 test -z "$ac_cxx_werror_flag" || 7856 test ! -s conftest.err 7857 } && test -s conftest.$ac_objext; then 7858 ac_header_compiler=yes 7859 else 7860 echo "$as_me: failed program was:" >&5 7861 sed 's/^/| /' conftest.$ac_ext >&5 7862 7863 ac_header_compiler=no 7864 fi 7865 7866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7867 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 7868 echo "${ECHO_T}$ac_header_compiler" >&6; } 7869 7870 # Is the header present? 7871 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 7872 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 7873 cat >conftest.$ac_ext <<_ACEOF 7874 /* confdefs.h. */ 7875 _ACEOF 7876 cat confdefs.h >>conftest.$ac_ext 7877 cat >>conftest.$ac_ext <<_ACEOF 7878 /* end confdefs.h. */ 7879 #include <$ac_header> 7880 _ACEOF 7881 if { (ac_try="$ac_cpp conftest.$ac_ext" 7882 case "(($ac_try" in 7883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7884 *) ac_try_echo=$ac_try;; 7885 esac 7886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 7888 ac_status=$? 7889 grep -v '^ *+' conftest.er1 >conftest.err 7890 rm -f conftest.er1 7891 cat conftest.err >&5 7892 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7893 (exit $ac_status); } >/dev/null && { 7894 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 7895 test ! -s conftest.err 7896 }; then 7897 ac_header_preproc=yes 7898 else 7899 echo "$as_me: failed program was:" >&5 7900 sed 's/^/| /' conftest.$ac_ext >&5 7901 7902 ac_header_preproc=no 7903 fi 7904 7905 rm -f conftest.err conftest.$ac_ext 7906 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 7907 echo "${ECHO_T}$ac_header_preproc" >&6; } 7908 7909 # So? What about this header? 7910 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 7911 yes:no: ) 7912 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 7913 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 7914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 7915 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 7916 ac_header_preproc=yes 7917 ;; 7918 no:yes:* ) 7919 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 7920 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 7921 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 7922 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 7923 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 7924 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 7925 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 7926 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 7927 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 7928 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 7929 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 7930 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 7931 ( cat <<\_ASBOX 7932 ## ----------------------------------- ## 7933 ## Report this to rappture@nanohub.org ## 7934 ## ----------------------------------- ## 7935 _ASBOX 7936 ) | sed "s/^/$as_me: WARNING: /" >&2 7937 ;; 7938 esac 7939 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7941 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7942 echo $ECHO_N "(cached) $ECHO_C" >&6 7943 else 7944 eval "$as_ac_Header=\$ac_header_preproc" 7945 fi 7946 ac_res=`eval echo '${'$as_ac_Header'}'` 7947 { echo "$as_me:$LINENO: result: $ac_res" >&5 7948 echo "${ECHO_T}$ac_res" >&6; } 7949 7950 fi 7951 if test `eval echo '${'$as_ac_Header'}'` = yes; then 7952 cat >>confdefs.h <<_ACEOF 7953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 7954 _ACEOF 7955 7956 else 7957 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 7958 echo "$as_me: WARNING: C headers missing ?" >&2;} 7959 fi 7960 7961 done 7962 7963 7964 for ac_header in stddef.h 7965 do 7966 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7967 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7968 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 7970 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7971 echo $ECHO_N "(cached) $ECHO_C" >&6 7972 fi 7973 ac_res=`eval echo '${'$as_ac_Header'}'` 7974 { echo "$as_me:$LINENO: result: $ac_res" >&5 7975 echo "${ECHO_T}$ac_res" >&6; } 7976 else 7977 # Is the header compilable? 7978 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 7979 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 7980 cat >conftest.$ac_ext <<_ACEOF 7981 /* confdefs.h. */ 7982 _ACEOF 7983 cat confdefs.h >>conftest.$ac_ext 7984 cat >>conftest.$ac_ext <<_ACEOF 7985 /* end confdefs.h. */ 7986 $ac_includes_default 7987 #include <$ac_header> 7988 _ACEOF 7989 rm -f conftest.$ac_objext 7990 if { (ac_try="$ac_compile" 7991 case "(($ac_try" in 7992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 7993 *) ac_try_echo=$ac_try;; 7994 esac 7995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 7996 (eval "$ac_compile") 2>conftest.er1 7997 ac_status=$? 7998 grep -v '^ *+' conftest.er1 >conftest.err 7999 rm -f conftest.er1 8000 cat conftest.err >&5 8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8002 (exit $ac_status); } && { 8003 test -z "$ac_cxx_werror_flag" || 8004 test ! -s conftest.err 8005 } && test -s conftest.$ac_objext; then 8006 ac_header_compiler=yes 8007 else 8008 echo "$as_me: failed program was:" >&5 8009 sed 's/^/| /' conftest.$ac_ext >&5 8010 8011 ac_header_compiler=no 8012 fi 8013 8014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8015 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8016 echo "${ECHO_T}$ac_header_compiler" >&6; } 8017 8018 # Is the header present? 8019 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8021 cat >conftest.$ac_ext <<_ACEOF 8022 /* confdefs.h. */ 8023 _ACEOF 8024 cat confdefs.h >>conftest.$ac_ext 8025 cat >>conftest.$ac_ext <<_ACEOF 8026 /* end confdefs.h. */ 8027 #include <$ac_header> 8028 _ACEOF 8029 if { (ac_try="$ac_cpp conftest.$ac_ext" 8030 case "(($ac_try" in 8031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8032 *) ac_try_echo=$ac_try;; 8033 esac 8034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8036 ac_status=$? 8037 grep -v '^ *+' conftest.er1 >conftest.err 8038 rm -f conftest.er1 8039 cat conftest.err >&5 8040 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8041 (exit $ac_status); } >/dev/null && { 8042 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8043 test ! -s conftest.err 8044 }; then 8045 ac_header_preproc=yes 8046 else 8047 echo "$as_me: failed program was:" >&5 8048 sed 's/^/| /' conftest.$ac_ext >&5 8049 8050 ac_header_preproc=no 8051 fi 8052 8053 rm -f conftest.err conftest.$ac_ext 8054 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8055 echo "${ECHO_T}$ac_header_preproc" >&6; } 8056 8057 # So? What about this header? 8058 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8059 yes:no: ) 8060 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8061 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8062 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8063 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8064 ac_header_preproc=yes 8065 ;; 8066 no:yes:* ) 8067 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8068 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8069 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8070 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8071 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8072 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8073 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8074 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8075 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8076 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8077 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8078 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8079 ( cat <<\_ASBOX 8080 ## ----------------------------------- ## 8081 ## Report this to rappture@nanohub.org ## 8082 ## ----------------------------------- ## 8083 _ASBOX 8084 ) | sed "s/^/$as_me: WARNING: /" >&2 8085 ;; 8086 esac 8087 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8088 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8089 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8090 echo $ECHO_N "(cached) $ECHO_C" >&6 8091 else 8092 eval "$as_ac_Header=\$ac_header_preproc" 8093 fi 8094 ac_res=`eval echo '${'$as_ac_Header'}'` 8095 { echo "$as_me:$LINENO: result: $ac_res" >&5 8096 echo "${ECHO_T}$ac_res" >&6; } 8097 8098 fi 8099 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8100 cat >>confdefs.h <<_ACEOF 8101 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8102 _ACEOF 8103 8104 else 8105 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8106 echo "$as_me: WARNING: C headers missing ?" >&2;} 8107 fi 8108 8109 done 8110 8111 8112 for ac_header in float.h 8113 do 8114 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8115 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8116 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8118 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8119 echo $ECHO_N "(cached) $ECHO_C" >&6 8120 fi 8121 ac_res=`eval echo '${'$as_ac_Header'}'` 8122 { echo "$as_me:$LINENO: result: $ac_res" >&5 8123 echo "${ECHO_T}$ac_res" >&6; } 8124 else 8125 # Is the header compilable? 8126 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8127 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8128 cat >conftest.$ac_ext <<_ACEOF 8129 /* confdefs.h. */ 8130 _ACEOF 8131 cat confdefs.h >>conftest.$ac_ext 8132 cat >>conftest.$ac_ext <<_ACEOF 8133 /* end confdefs.h. */ 8134 $ac_includes_default 8135 #include <$ac_header> 8136 _ACEOF 8137 rm -f conftest.$ac_objext 8138 if { (ac_try="$ac_compile" 8139 case "(($ac_try" in 8140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8141 *) ac_try_echo=$ac_try;; 8142 esac 8143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8144 (eval "$ac_compile") 2>conftest.er1 8145 ac_status=$? 8146 grep -v '^ *+' conftest.er1 >conftest.err 8147 rm -f conftest.er1 8148 cat conftest.err >&5 8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8150 (exit $ac_status); } && { 8151 test -z "$ac_cxx_werror_flag" || 8152 test ! -s conftest.err 8153 } && test -s conftest.$ac_objext; then 8154 ac_header_compiler=yes 8155 else 8156 echo "$as_me: failed program was:" >&5 8157 sed 's/^/| /' conftest.$ac_ext >&5 8158 8159 ac_header_compiler=no 8160 fi 8161 8162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8163 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8164 echo "${ECHO_T}$ac_header_compiler" >&6; } 8165 8166 # Is the header present? 8167 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8168 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8169 cat >conftest.$ac_ext <<_ACEOF 8170 /* confdefs.h. */ 8171 _ACEOF 8172 cat confdefs.h >>conftest.$ac_ext 8173 cat >>conftest.$ac_ext <<_ACEOF 8174 /* end confdefs.h. */ 8175 #include <$ac_header> 8176 _ACEOF 8177 if { (ac_try="$ac_cpp conftest.$ac_ext" 8178 case "(($ac_try" in 8179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8180 *) ac_try_echo=$ac_try;; 8181 esac 8182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8183 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8184 ac_status=$? 8185 grep -v '^ *+' conftest.er1 >conftest.err 8186 rm -f conftest.er1 8187 cat conftest.err >&5 8188 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8189 (exit $ac_status); } >/dev/null && { 8190 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8191 test ! -s conftest.err 8192 }; then 8193 ac_header_preproc=yes 8194 else 8195 echo "$as_me: failed program was:" >&5 8196 sed 's/^/| /' conftest.$ac_ext >&5 8197 8198 ac_header_preproc=no 8199 fi 8200 8201 rm -f conftest.err conftest.$ac_ext 8202 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8203 echo "${ECHO_T}$ac_header_preproc" >&6; } 8204 8205 # So? What about this header? 8206 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8207 yes:no: ) 8208 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8209 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8210 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8211 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8212 ac_header_preproc=yes 8213 ;; 8214 no:yes:* ) 8215 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8216 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8217 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8218 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8219 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8220 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8221 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8222 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8223 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8224 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8225 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8226 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8227 ( cat <<\_ASBOX 8228 ## ----------------------------------- ## 8229 ## Report this to rappture@nanohub.org ## 8230 ## ----------------------------------- ## 8231 _ASBOX 8232 ) | sed "s/^/$as_me: WARNING: /" >&2 8233 ;; 8234 esac 8235 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8237 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8238 echo $ECHO_N "(cached) $ECHO_C" >&6 8239 else 8240 eval "$as_ac_Header=\$ac_header_preproc" 8241 fi 8242 ac_res=`eval echo '${'$as_ac_Header'}'` 8243 { echo "$as_me:$LINENO: result: $ac_res" >&5 8244 echo "${ECHO_T}$ac_res" >&6; } 8245 8246 fi 8247 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8248 cat >>confdefs.h <<_ACEOF 8249 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8250 _ACEOF 8251 8252 else 8253 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8254 echo "$as_me: WARNING: C headers missing ?" >&2;} 8255 fi 8256 8257 done 8258 8259 8260 for ac_header in math.h 8261 do 8262 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8263 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8264 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8265 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8266 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8267 echo $ECHO_N "(cached) $ECHO_C" >&6 8268 fi 8269 ac_res=`eval echo '${'$as_ac_Header'}'` 8270 { echo "$as_me:$LINENO: result: $ac_res" >&5 8271 echo "${ECHO_T}$ac_res" >&6; } 8272 else 8273 # Is the header compilable? 8274 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8276 cat >conftest.$ac_ext <<_ACEOF 8277 /* confdefs.h. */ 8278 _ACEOF 8279 cat confdefs.h >>conftest.$ac_ext 8280 cat >>conftest.$ac_ext <<_ACEOF 8281 /* end confdefs.h. */ 8282 $ac_includes_default 8283 #include <$ac_header> 8284 _ACEOF 8285 rm -f conftest.$ac_objext 8286 if { (ac_try="$ac_compile" 8287 case "(($ac_try" in 8288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8289 *) ac_try_echo=$ac_try;; 8290 esac 8291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8292 (eval "$ac_compile") 2>conftest.er1 8293 ac_status=$? 8294 grep -v '^ *+' conftest.er1 >conftest.err 8295 rm -f conftest.er1 8296 cat conftest.err >&5 8297 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8298 (exit $ac_status); } && { 8299 test -z "$ac_cxx_werror_flag" || 8300 test ! -s conftest.err 8301 } && test -s conftest.$ac_objext; then 8302 ac_header_compiler=yes 8303 else 8304 echo "$as_me: failed program was:" >&5 8305 sed 's/^/| /' conftest.$ac_ext >&5 8306 8307 ac_header_compiler=no 8308 fi 8309 8310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8311 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8312 echo "${ECHO_T}$ac_header_compiler" >&6; } 8313 8314 # Is the header present? 8315 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8316 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8317 cat >conftest.$ac_ext <<_ACEOF 8318 /* confdefs.h. */ 8319 _ACEOF 8320 cat confdefs.h >>conftest.$ac_ext 8321 cat >>conftest.$ac_ext <<_ACEOF 8322 /* end confdefs.h. */ 8323 #include <$ac_header> 8324 _ACEOF 8325 if { (ac_try="$ac_cpp conftest.$ac_ext" 8326 case "(($ac_try" in 8327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8328 *) ac_try_echo=$ac_try;; 8329 esac 8330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8331 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8332 ac_status=$? 8333 grep -v '^ *+' conftest.er1 >conftest.err 8334 rm -f conftest.er1 8335 cat conftest.err >&5 8336 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8337 (exit $ac_status); } >/dev/null && { 8338 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8339 test ! -s conftest.err 8340 }; then 8341 ac_header_preproc=yes 8342 else 8343 echo "$as_me: failed program was:" >&5 8344 sed 's/^/| /' conftest.$ac_ext >&5 8345 8346 ac_header_preproc=no 8347 fi 8348 8349 rm -f conftest.err conftest.$ac_ext 8350 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8351 echo "${ECHO_T}$ac_header_preproc" >&6; } 8352 8353 # So? What about this header? 8354 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8355 yes:no: ) 8356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8360 ac_header_preproc=yes 8361 ;; 8362 no:yes:* ) 8363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8375 ( cat <<\_ASBOX 8376 ## ----------------------------------- ## 8377 ## Report this to rappture@nanohub.org ## 8378 ## ----------------------------------- ## 8379 _ASBOX 8380 ) | sed "s/^/$as_me: WARNING: /" >&2 8381 ;; 8382 esac 8383 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8384 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8386 echo $ECHO_N "(cached) $ECHO_C" >&6 8387 else 8388 eval "$as_ac_Header=\$ac_header_preproc" 8389 fi 8390 ac_res=`eval echo '${'$as_ac_Header'}'` 8391 { echo "$as_me:$LINENO: result: $ac_res" >&5 8392 echo "${ECHO_T}$ac_res" >&6; } 8393 8394 fi 8395 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8396 cat >>confdefs.h <<_ACEOF 8397 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8398 _ACEOF 8399 8400 else 8401 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8402 echo "$as_me: WARNING: C headers missing ?" >&2;} 8403 fi 8404 8405 done 8406 8407 8408 for ac_header in malloc.h 8409 do 8410 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8411 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8412 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8413 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8414 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8415 echo $ECHO_N "(cached) $ECHO_C" >&6 8416 fi 8417 ac_res=`eval echo '${'$as_ac_Header'}'` 8418 { echo "$as_me:$LINENO: result: $ac_res" >&5 8419 echo "${ECHO_T}$ac_res" >&6; } 8420 else 8421 # Is the header compilable? 8422 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8423 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8424 cat >conftest.$ac_ext <<_ACEOF 8425 /* confdefs.h. */ 8426 _ACEOF 8427 cat confdefs.h >>conftest.$ac_ext 8428 cat >>conftest.$ac_ext <<_ACEOF 8429 /* end confdefs.h. */ 8430 $ac_includes_default 8431 #include <$ac_header> 8432 _ACEOF 8433 rm -f conftest.$ac_objext 8434 if { (ac_try="$ac_compile" 8435 case "(($ac_try" in 8436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8437 *) ac_try_echo=$ac_try;; 8438 esac 8439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8440 (eval "$ac_compile") 2>conftest.er1 8441 ac_status=$? 8442 grep -v '^ *+' conftest.er1 >conftest.err 8443 rm -f conftest.er1 8444 cat conftest.err >&5 8445 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8446 (exit $ac_status); } && { 8447 test -z "$ac_cxx_werror_flag" || 8448 test ! -s conftest.err 8449 } && test -s conftest.$ac_objext; then 8450 ac_header_compiler=yes 8451 else 8452 echo "$as_me: failed program was:" >&5 8453 sed 's/^/| /' conftest.$ac_ext >&5 8454 8455 ac_header_compiler=no 8456 fi 8457 8458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8459 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8460 echo "${ECHO_T}$ac_header_compiler" >&6; } 8461 8462 # Is the header present? 8463 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8464 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8465 cat >conftest.$ac_ext <<_ACEOF 8466 /* confdefs.h. */ 8467 _ACEOF 8468 cat confdefs.h >>conftest.$ac_ext 8469 cat >>conftest.$ac_ext <<_ACEOF 8470 /* end confdefs.h. */ 8471 #include <$ac_header> 8472 _ACEOF 8473 if { (ac_try="$ac_cpp conftest.$ac_ext" 8474 case "(($ac_try" in 8475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8476 *) ac_try_echo=$ac_try;; 8477 esac 8478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8479 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8480 ac_status=$? 8481 grep -v '^ *+' conftest.er1 >conftest.err 8482 rm -f conftest.er1 8483 cat conftest.err >&5 8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8485 (exit $ac_status); } >/dev/null && { 8486 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8487 test ! -s conftest.err 8488 }; then 8489 ac_header_preproc=yes 8490 else 8491 echo "$as_me: failed program was:" >&5 8492 sed 's/^/| /' conftest.$ac_ext >&5 8493 8494 ac_header_preproc=no 8495 fi 8496 8497 rm -f conftest.err conftest.$ac_ext 8498 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8499 echo "${ECHO_T}$ac_header_preproc" >&6; } 8500 8501 # So? What about this header? 8502 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8503 yes:no: ) 8504 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8505 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8506 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8507 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8508 ac_header_preproc=yes 8509 ;; 8510 no:yes:* ) 8511 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8512 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8513 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8514 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8515 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8516 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8517 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8518 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8519 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8520 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8521 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8522 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8523 ( cat <<\_ASBOX 8524 ## ----------------------------------- ## 8525 ## Report this to rappture@nanohub.org ## 8526 ## ----------------------------------- ## 8527 _ASBOX 8528 ) | sed "s/^/$as_me: WARNING: /" >&2 8529 ;; 8530 esac 8531 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8533 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8534 echo $ECHO_N "(cached) $ECHO_C" >&6 8535 else 8536 eval "$as_ac_Header=\$ac_header_preproc" 8537 fi 8538 ac_res=`eval echo '${'$as_ac_Header'}'` 8539 { echo "$as_me:$LINENO: result: $ac_res" >&5 8540 echo "${ECHO_T}$ac_res" >&6; } 8541 8542 fi 8543 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8544 cat >>confdefs.h <<_ACEOF 8545 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8546 _ACEOF 8547 8548 else 8549 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8550 echo "$as_me: WARNING: C headers missing ?" >&2;} 8551 fi 8552 8553 done 8554 8555 8556 for ac_header in memory.h 8557 do 8558 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8559 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8560 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8562 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8563 echo $ECHO_N "(cached) $ECHO_C" >&6 8564 fi 8565 ac_res=`eval echo '${'$as_ac_Header'}'` 8566 { echo "$as_me:$LINENO: result: $ac_res" >&5 8567 echo "${ECHO_T}$ac_res" >&6; } 8568 else 8569 # Is the header compilable? 8570 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8571 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8572 cat >conftest.$ac_ext <<_ACEOF 8573 /* confdefs.h. */ 8574 _ACEOF 8575 cat confdefs.h >>conftest.$ac_ext 8576 cat >>conftest.$ac_ext <<_ACEOF 8577 /* end confdefs.h. */ 8578 $ac_includes_default 8579 #include <$ac_header> 8580 _ACEOF 8581 rm -f conftest.$ac_objext 8582 if { (ac_try="$ac_compile" 8583 case "(($ac_try" in 8584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8585 *) ac_try_echo=$ac_try;; 8586 esac 8587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8588 (eval "$ac_compile") 2>conftest.er1 8589 ac_status=$? 8590 grep -v '^ *+' conftest.er1 >conftest.err 8591 rm -f conftest.er1 8592 cat conftest.err >&5 8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8594 (exit $ac_status); } && { 8595 test -z "$ac_cxx_werror_flag" || 8596 test ! -s conftest.err 8597 } && test -s conftest.$ac_objext; then 8598 ac_header_compiler=yes 8599 else 8600 echo "$as_me: failed program was:" >&5 8601 sed 's/^/| /' conftest.$ac_ext >&5 8602 8603 ac_header_compiler=no 8604 fi 8605 8606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8607 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8608 echo "${ECHO_T}$ac_header_compiler" >&6; } 8609 8610 # Is the header present? 8611 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8612 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8613 cat >conftest.$ac_ext <<_ACEOF 8614 /* confdefs.h. */ 8615 _ACEOF 8616 cat confdefs.h >>conftest.$ac_ext 8617 cat >>conftest.$ac_ext <<_ACEOF 8618 /* end confdefs.h. */ 8619 #include <$ac_header> 8620 _ACEOF 8621 if { (ac_try="$ac_cpp conftest.$ac_ext" 8622 case "(($ac_try" in 8623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8624 *) ac_try_echo=$ac_try;; 8625 esac 8626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8627 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8628 ac_status=$? 8629 grep -v '^ *+' conftest.er1 >conftest.err 8630 rm -f conftest.er1 8631 cat conftest.err >&5 8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8633 (exit $ac_status); } >/dev/null && { 8634 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8635 test ! -s conftest.err 8636 }; then 8637 ac_header_preproc=yes 8638 else 8639 echo "$as_me: failed program was:" >&5 8640 sed 's/^/| /' conftest.$ac_ext >&5 8641 8642 ac_header_preproc=no 8643 fi 8644 8645 rm -f conftest.err conftest.$ac_ext 8646 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8647 echo "${ECHO_T}$ac_header_preproc" >&6; } 8648 8649 # So? What about this header? 8650 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8651 yes:no: ) 8652 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8653 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8655 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8656 ac_header_preproc=yes 8657 ;; 8658 no:yes:* ) 8659 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8660 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8661 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8662 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8663 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8664 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8665 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8666 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8667 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8668 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8669 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8670 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8671 ( cat <<\_ASBOX 8672 ## ----------------------------------- ## 8673 ## Report this to rappture@nanohub.org ## 8674 ## ----------------------------------- ## 8675 _ASBOX 8676 ) | sed "s/^/$as_me: WARNING: /" >&2 8677 ;; 8678 esac 8679 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8680 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8681 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8682 echo $ECHO_N "(cached) $ECHO_C" >&6 8683 else 8684 eval "$as_ac_Header=\$ac_header_preproc" 8685 fi 8686 ac_res=`eval echo '${'$as_ac_Header'}'` 8687 { echo "$as_me:$LINENO: result: $ac_res" >&5 8688 echo "${ECHO_T}$ac_res" >&6; } 8689 8690 fi 8691 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8692 cat >>confdefs.h <<_ACEOF 8693 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8694 _ACEOF 8695 8696 else 8697 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8698 echo "$as_me: WARNING: C headers missing ?" >&2;} 8699 fi 8700 8701 done 8702 8703 8704 for ac_header in unistd.h 8705 do 8706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8707 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8708 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8710 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8711 echo $ECHO_N "(cached) $ECHO_C" >&6 8712 fi 8713 ac_res=`eval echo '${'$as_ac_Header'}'` 8714 { echo "$as_me:$LINENO: result: $ac_res" >&5 8715 echo "${ECHO_T}$ac_res" >&6; } 8716 else 8717 # Is the header compilable? 8718 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8719 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8720 cat >conftest.$ac_ext <<_ACEOF 8721 /* confdefs.h. */ 8722 _ACEOF 8723 cat confdefs.h >>conftest.$ac_ext 8724 cat >>conftest.$ac_ext <<_ACEOF 8725 /* end confdefs.h. */ 8726 $ac_includes_default 8727 #include <$ac_header> 8728 _ACEOF 8729 rm -f conftest.$ac_objext 8730 if { (ac_try="$ac_compile" 8731 case "(($ac_try" in 8732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8733 *) ac_try_echo=$ac_try;; 8734 esac 8735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8736 (eval "$ac_compile") 2>conftest.er1 8737 ac_status=$? 8738 grep -v '^ *+' conftest.er1 >conftest.err 8739 rm -f conftest.er1 8740 cat conftest.err >&5 8741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8742 (exit $ac_status); } && { 8743 test -z "$ac_cxx_werror_flag" || 8744 test ! -s conftest.err 8745 } && test -s conftest.$ac_objext; then 8746 ac_header_compiler=yes 8747 else 8748 echo "$as_me: failed program was:" >&5 8749 sed 's/^/| /' conftest.$ac_ext >&5 8750 8751 ac_header_compiler=no 8752 fi 8753 8754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8755 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8756 echo "${ECHO_T}$ac_header_compiler" >&6; } 8757 8758 # Is the header present? 8759 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8760 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8761 cat >conftest.$ac_ext <<_ACEOF 8762 /* confdefs.h. */ 8763 _ACEOF 8764 cat confdefs.h >>conftest.$ac_ext 8765 cat >>conftest.$ac_ext <<_ACEOF 8766 /* end confdefs.h. */ 8767 #include <$ac_header> 8768 _ACEOF 8769 if { (ac_try="$ac_cpp conftest.$ac_ext" 8770 case "(($ac_try" in 8771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8772 *) ac_try_echo=$ac_try;; 8773 esac 8774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8775 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8776 ac_status=$? 8777 grep -v '^ *+' conftest.er1 >conftest.err 8778 rm -f conftest.er1 8779 cat conftest.err >&5 8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8781 (exit $ac_status); } >/dev/null && { 8782 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8783 test ! -s conftest.err 8784 }; then 8785 ac_header_preproc=yes 8786 else 8787 echo "$as_me: failed program was:" >&5 8788 sed 's/^/| /' conftest.$ac_ext >&5 8789 8790 ac_header_preproc=no 8791 fi 8792 8793 rm -f conftest.err conftest.$ac_ext 8794 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8795 echo "${ECHO_T}$ac_header_preproc" >&6; } 8796 8797 # So? What about this header? 8798 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8799 yes:no: ) 8800 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8801 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8803 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8804 ac_header_preproc=yes 8805 ;; 8806 no:yes:* ) 8807 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8808 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8809 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8810 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8811 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8812 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8813 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8814 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8815 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8816 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8817 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8818 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8819 ( cat <<\_ASBOX 8820 ## ----------------------------------- ## 8821 ## Report this to rappture@nanohub.org ## 8822 ## ----------------------------------- ## 8823 _ASBOX 8824 ) | sed "s/^/$as_me: WARNING: /" >&2 8825 ;; 8826 esac 8827 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8828 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8829 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8830 echo $ECHO_N "(cached) $ECHO_C" >&6 8831 else 8832 eval "$as_ac_Header=\$ac_header_preproc" 8833 fi 8834 ac_res=`eval echo '${'$as_ac_Header'}'` 8835 { echo "$as_me:$LINENO: result: $ac_res" >&5 8836 echo "${ECHO_T}$ac_res" >&6; } 8837 8838 fi 8839 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8840 cat >>confdefs.h <<_ACEOF 8841 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8842 _ACEOF 8843 8844 else 8845 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8846 echo "$as_me: WARNING: C headers missing ?" >&2;} 8847 fi 8848 8849 done 8850 8851 8852 8853 for ac_header in inttypes.h 8854 do 8855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8856 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8857 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8859 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8860 echo $ECHO_N "(cached) $ECHO_C" >&6 8861 fi 8862 ac_res=`eval echo '${'$as_ac_Header'}'` 8863 { echo "$as_me:$LINENO: result: $ac_res" >&5 8864 echo "${ECHO_T}$ac_res" >&6; } 8865 else 8866 # Is the header compilable? 8867 { echo "$as_me:$LINENO: checking $ac_header usability" >&5 8868 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8869 cat >conftest.$ac_ext <<_ACEOF 8870 /* confdefs.h. */ 8871 _ACEOF 8872 cat confdefs.h >>conftest.$ac_ext 8873 cat >>conftest.$ac_ext <<_ACEOF 8874 /* end confdefs.h. */ 8875 $ac_includes_default 8876 #include <$ac_header> 8877 _ACEOF 8878 rm -f conftest.$ac_objext 8879 if { (ac_try="$ac_compile" 8880 case "(($ac_try" in 8881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8882 *) ac_try_echo=$ac_try;; 8883 esac 8884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8885 (eval "$ac_compile") 2>conftest.er1 8886 ac_status=$? 8887 grep -v '^ *+' conftest.er1 >conftest.err 8888 rm -f conftest.er1 8889 cat conftest.err >&5 8890 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8891 (exit $ac_status); } && { 8892 test -z "$ac_cxx_werror_flag" || 8893 test ! -s conftest.err 8894 } && test -s conftest.$ac_objext; then 8895 ac_header_compiler=yes 8896 else 8897 echo "$as_me: failed program was:" >&5 8898 sed 's/^/| /' conftest.$ac_ext >&5 8899 8900 ac_header_compiler=no 8901 fi 8902 8903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8904 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8905 echo "${ECHO_T}$ac_header_compiler" >&6; } 8906 8907 # Is the header present? 8908 { echo "$as_me:$LINENO: checking $ac_header presence" >&5 8909 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8910 cat >conftest.$ac_ext <<_ACEOF 8911 /* confdefs.h. */ 8912 _ACEOF 8913 cat confdefs.h >>conftest.$ac_ext 8914 cat >>conftest.$ac_ext <<_ACEOF 8915 /* end confdefs.h. */ 8916 #include <$ac_header> 8917 _ACEOF 8918 if { (ac_try="$ac_cpp conftest.$ac_ext" 8919 case "(($ac_try" in 8920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8921 *) ac_try_echo=$ac_try;; 8922 esac 8923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 8924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 8925 ac_status=$? 8926 grep -v '^ *+' conftest.er1 >conftest.err 8927 rm -f conftest.er1 8928 cat conftest.err >&5 8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5 8930 (exit $ac_status); } >/dev/null && { 8931 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || 8932 test ! -s conftest.err 8933 }; then 8934 ac_header_preproc=yes 8935 else 8936 echo "$as_me: failed program was:" >&5 8937 sed 's/^/| /' conftest.$ac_ext >&5 8938 8939 ac_header_preproc=no 8940 fi 8941 8942 rm -f conftest.err conftest.$ac_ext 8943 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 8944 echo "${ECHO_T}$ac_header_preproc" >&6; } 8945 8946 # So? What about this header? 8947 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8948 yes:no: ) 8949 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8950 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8951 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8952 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8953 ac_header_preproc=yes 8954 ;; 8955 no:yes:* ) 8956 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8957 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8958 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8959 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8960 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8961 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8962 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8963 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8964 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8965 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8966 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8967 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8968 ( cat <<\_ASBOX 8969 ## ----------------------------------- ## 8970 ## Report this to rappture@nanohub.org ## 8971 ## ----------------------------------- ## 8972 _ASBOX 8973 ) | sed "s/^/$as_me: WARNING: /" >&2 8974 ;; 8975 esac 8976 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8978 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8979 echo $ECHO_N "(cached) $ECHO_C" >&6 8980 else 8981 eval "$as_ac_Header=\$ac_header_preproc" 8982 fi 8983 ac_res=`eval echo '${'$as_ac_Header'}'` 8984 { echo "$as_me:$LINENO: result: $ac_res" >&5 8985 echo "${ECHO_T}$ac_res" >&6; } 8986 8987 fi 8988 if test `eval echo '${'$as_ac_Header'}'` = yes; then 8989 cat >>confdefs.h <<_ACEOF 8990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 8991 _ACEOF 8992 8993 else 8994 { echo "$as_me:$LINENO: WARNING: C headers missing ?" >&5 8995 echo "$as_me: WARNING: C headers missing ?" >&2;} 8996 fi 8997 8998 done 8999 9000 if test "${ac_cv_header_inttypes_h}" = "yes" ; then 9001 HAVE_INTTYPES_H=1 9002 else 9003 HAVE_INTTYPES_H=0 9004 fi 5368 9005 5369 9006 … … 8370 12007 8371 12008 12009 OCTAVE= 12010 OCTAVE_VERSION= 12011 OCTAVE_VERSION_MAJOR= 8372 12012 MKOCTFILE= 8373 12013 if test "$with_octave" != "no" ; then 12014 { echo "$as_me:$LINENO: checking for octave and mkoctfile" >&5 12015 echo $ECHO_N "checking for octave and mkoctfile... $ECHO_C" >&6; } 8374 12016 if test "$with_octave" = "yes" ; then 12017 # Extract the first word of "octave", so it can be a program name with args. 12018 set dummy octave; ac_word=$2 12019 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12020 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12021 if test "${ac_cv_path_OCTAVE+set}" = set; then 12022 echo $ECHO_N "(cached) $ECHO_C" >&6 12023 else 12024 case $OCTAVE in 12025 [\\/]* | ?:[\\/]*) 12026 ac_cv_path_OCTAVE="$OCTAVE" # Let the user override the test with a path. 12027 ;; 12028 *) 12029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12030 for as_dir in $PATH 12031 do 12032 IFS=$as_save_IFS 12033 test -z "$as_dir" && as_dir=. 12034 for ac_exec_ext in '' $ac_executable_extensions; do 12035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12036 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12038 break 2 12039 fi 12040 done 12041 done 12042 IFS=$as_save_IFS 12043 12044 ;; 12045 esac 12046 fi 12047 OCTAVE=$ac_cv_path_OCTAVE 12048 if test -n "$OCTAVE"; then 12049 { echo "$as_me:$LINENO: result: $OCTAVE" >&5 12050 echo "${ECHO_T}$OCTAVE" >&6; } 12051 else 12052 { echo "$as_me:$LINENO: result: no" >&5 12053 echo "${ECHO_T}no" >&6; } 12054 fi 12055 12056 8375 12057 # Extract the first word of "mkoctfile", so it can be a program name with args. 8376 12058 set dummy mkoctfile; ac_word=$2 … … 8414 12096 8415 12097 else 12098 # Extract the first word of "octave", so it can be a program name with args. 12099 set dummy octave; ac_word=$2 12100 { echo "$as_me:$LINENO: checking for $ac_word" >&5 12101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 12102 if test "${ac_cv_path_OCTAVE+set}" = set; then 12103 echo $ECHO_N "(cached) $ECHO_C" >&6 12104 else 12105 case $OCTAVE in 12106 [\\/]* | ?:[\\/]*) 12107 ac_cv_path_OCTAVE="$OCTAVE" # Let the user override the test with a path. 12108 ;; 12109 *) 12110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 12111 for as_dir in $PATH 12112 do 12113 IFS=$as_save_IFS 12114 test -z "$as_dir" && as_dir=. 12115 for ac_exec_ext in '' $ac_executable_extensions; do 12116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then 12117 ac_cv_path_OCTAVE="$as_dir/$ac_word$ac_exec_ext" 12118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 12119 break 2 12120 fi 12121 done 12122 done 12123 IFS=$as_save_IFS 12124 12125 test -z "$ac_cv_path_OCTAVE" && ac_cv_path_OCTAVE="$with_octave/bin:$with_octave" 12126 ;; 12127 esac 12128 fi 12129 OCTAVE=$ac_cv_path_OCTAVE 12130 if test -n "$OCTAVE"; then 12131 { echo "$as_me:$LINENO: result: $OCTAVE" >&5 12132 echo "${ECHO_T}$OCTAVE" >&6; } 12133 else 12134 { echo "$as_me:$LINENO: result: no" >&5 12135 echo "${ECHO_T}no" >&6; } 12136 fi 12137 12138 8416 12139 # Extract the first word of "mkoctfile", so it can be a program name with args. 8417 12140 set dummy mkoctfile; ac_word=$2 … … 8456 12179 8457 12180 fi 8458 fi 12181 if test "x${OCTAVE}" != "x" ; then 12182 OCTAVE_VERSION=`${OCTAVE} -v | grep version | cut -d' ' -f4` 12183 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1` 12184 fi 12185 fi 12186 12187 12188 8459 12189 8460 12190 … … 9273 13003 9274 13004 13005 # ----------------------------------------------------------------------- 13006 # 13007 # Compiler characteristics: 13008 # Check for existence of types of size_t and pid_t 13009 # 13010 # ----------------------------------------------------------------------- 13011 13012 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 13013 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; } 13014 if test "${ac_cv_c_bigendian+set}" = set; then 13015 echo $ECHO_N "(cached) $ECHO_C" >&6 13016 else 13017 # See if sys/param.h defines the BYTE_ORDER macro. 13018 cat >conftest.$ac_ext <<_ACEOF 13019 /* confdefs.h. */ 13020 _ACEOF 13021 cat confdefs.h >>conftest.$ac_ext 13022 cat >>conftest.$ac_ext <<_ACEOF 13023 /* end confdefs.h. */ 13024 #include <sys/types.h> 13025 #include <sys/param.h> 13026 13027 int 13028 main () 13029 { 13030 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \ 13031 && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN) 13032 bogus endian macros 13033 #endif 13034 13035 ; 13036 return 0; 13037 } 13038 _ACEOF 13039 rm -f conftest.$ac_objext 13040 if { (ac_try="$ac_compile" 13041 case "(($ac_try" in 13042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13043 *) ac_try_echo=$ac_try;; 13044 esac 13045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13046 (eval "$ac_compile") 2>conftest.er1 13047 ac_status=$? 13048 grep -v '^ *+' conftest.er1 >conftest.err 13049 rm -f conftest.er1 13050 cat conftest.err >&5 13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13052 (exit $ac_status); } && { 13053 test -z "$ac_cxx_werror_flag" || 13054 test ! -s conftest.err 13055 } && test -s conftest.$ac_objext; then 13056 # It does; now see whether it defined to BIG_ENDIAN or not. 13057 cat >conftest.$ac_ext <<_ACEOF 13058 /* confdefs.h. */ 13059 _ACEOF 13060 cat confdefs.h >>conftest.$ac_ext 13061 cat >>conftest.$ac_ext <<_ACEOF 13062 /* end confdefs.h. */ 13063 #include <sys/types.h> 13064 #include <sys/param.h> 13065 13066 int 13067 main () 13068 { 13069 #if BYTE_ORDER != BIG_ENDIAN 13070 not big endian 13071 #endif 13072 13073 ; 13074 return 0; 13075 } 13076 _ACEOF 13077 rm -f conftest.$ac_objext 13078 if { (ac_try="$ac_compile" 13079 case "(($ac_try" in 13080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13081 *) ac_try_echo=$ac_try;; 13082 esac 13083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13084 (eval "$ac_compile") 2>conftest.er1 13085 ac_status=$? 13086 grep -v '^ *+' conftest.er1 >conftest.err 13087 rm -f conftest.er1 13088 cat conftest.err >&5 13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13090 (exit $ac_status); } && { 13091 test -z "$ac_cxx_werror_flag" || 13092 test ! -s conftest.err 13093 } && test -s conftest.$ac_objext; then 13094 ac_cv_c_bigendian=yes 13095 else 13096 echo "$as_me: failed program was:" >&5 13097 sed 's/^/| /' conftest.$ac_ext >&5 13098 13099 ac_cv_c_bigendian=no 13100 fi 13101 13102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13103 else 13104 echo "$as_me: failed program was:" >&5 13105 sed 's/^/| /' conftest.$ac_ext >&5 13106 13107 # It does not; compile a test program. 13108 if test "$cross_compiling" = yes; then 13109 # try to guess the endianness by grepping values into an object file 13110 ac_cv_c_bigendian=unknown 13111 cat >conftest.$ac_ext <<_ACEOF 13112 /* confdefs.h. */ 13113 _ACEOF 13114 cat confdefs.h >>conftest.$ac_ext 13115 cat >>conftest.$ac_ext <<_ACEOF 13116 /* end confdefs.h. */ 13117 short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; 13118 short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 }; 13119 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; } 13120 short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 }; 13121 short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 }; 13122 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; } 13123 int 13124 main () 13125 { 13126 _ascii (); _ebcdic (); 13127 ; 13128 return 0; 13129 } 13130 _ACEOF 13131 rm -f conftest.$ac_objext 13132 if { (ac_try="$ac_compile" 13133 case "(($ac_try" in 13134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13135 *) ac_try_echo=$ac_try;; 13136 esac 13137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13138 (eval "$ac_compile") 2>conftest.er1 13139 ac_status=$? 13140 grep -v '^ *+' conftest.er1 >conftest.err 13141 rm -f conftest.er1 13142 cat conftest.err >&5 13143 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13144 (exit $ac_status); } && { 13145 test -z "$ac_cxx_werror_flag" || 13146 test ! -s conftest.err 13147 } && test -s conftest.$ac_objext; then 13148 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then 13149 ac_cv_c_bigendian=yes 13150 fi 13151 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then 13152 if test "$ac_cv_c_bigendian" = unknown; then 13153 ac_cv_c_bigendian=no 13154 else 13155 # finding both strings is unlikely to happen, but who knows? 13156 ac_cv_c_bigendian=unknown 13157 fi 13158 fi 13159 else 13160 echo "$as_me: failed program was:" >&5 13161 sed 's/^/| /' conftest.$ac_ext >&5 13162 13163 13164 fi 13165 13166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13167 else 13168 cat >conftest.$ac_ext <<_ACEOF 13169 /* confdefs.h. */ 13170 _ACEOF 13171 cat confdefs.h >>conftest.$ac_ext 13172 cat >>conftest.$ac_ext <<_ACEOF 13173 /* end confdefs.h. */ 13174 $ac_includes_default 13175 int 13176 main () 13177 { 13178 13179 /* Are we little or big endian? From Harbison&Steele. */ 13180 union 13181 { 13182 long int l; 13183 char c[sizeof (long int)]; 13184 } u; 13185 u.l = 1; 13186 return u.c[sizeof (long int) - 1] == 1; 13187 13188 ; 13189 return 0; 13190 } 13191 _ACEOF 13192 rm -f conftest$ac_exeext 13193 if { (ac_try="$ac_link" 13194 case "(($ac_try" in 13195 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13196 *) ac_try_echo=$ac_try;; 13197 esac 13198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13199 (eval "$ac_link") 2>&5 13200 ac_status=$? 13201 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13202 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13203 { (case "(($ac_try" in 13204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13205 *) ac_try_echo=$ac_try;; 13206 esac 13207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13208 (eval "$ac_try") 2>&5 13209 ac_status=$? 13210 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13211 (exit $ac_status); }; }; then 13212 ac_cv_c_bigendian=no 13213 else 13214 echo "$as_me: program exited with status $ac_status" >&5 13215 echo "$as_me: failed program was:" >&5 13216 sed 's/^/| /' conftest.$ac_ext >&5 13217 13218 ( exit $ac_status ) 13219 ac_cv_c_bigendian=yes 13220 fi 13221 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13222 fi 13223 13224 13225 fi 13226 13227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13228 fi 13229 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 13230 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; } 13231 case $ac_cv_c_bigendian in 13232 yes) 13233 13234 cat >>confdefs.h <<\_ACEOF 13235 #define WORDS_BIGENDIAN 1 13236 _ACEOF 13237 ;; 13238 no) 13239 ;; 13240 *) 13241 { { echo "$as_me:$LINENO: error: unknown endianness 13242 presetting ac_cv_c_bigendian=no (or yes) will help" >&5 13243 echo "$as_me: error: unknown endianness 13244 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} 13245 { (exit 1); exit 1; }; } ;; 13246 esac 13247 13248 { echo "$as_me:$LINENO: checking for int" >&5 13249 echo $ECHO_N "checking for int... $ECHO_C" >&6; } 13250 if test "${ac_cv_type_int+set}" = set; then 13251 echo $ECHO_N "(cached) $ECHO_C" >&6 13252 else 13253 cat >conftest.$ac_ext <<_ACEOF 13254 /* confdefs.h. */ 13255 _ACEOF 13256 cat confdefs.h >>conftest.$ac_ext 13257 cat >>conftest.$ac_ext <<_ACEOF 13258 /* end confdefs.h. */ 13259 $ac_includes_default 13260 typedef int ac__type_new_; 13261 int 13262 main () 13263 { 13264 if ((ac__type_new_ *) 0) 13265 return 0; 13266 if (sizeof (ac__type_new_)) 13267 return 0; 13268 ; 13269 return 0; 13270 } 13271 _ACEOF 13272 rm -f conftest.$ac_objext 13273 if { (ac_try="$ac_compile" 13274 case "(($ac_try" in 13275 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13276 *) ac_try_echo=$ac_try;; 13277 esac 13278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13279 (eval "$ac_compile") 2>conftest.er1 13280 ac_status=$? 13281 grep -v '^ *+' conftest.er1 >conftest.err 13282 rm -f conftest.er1 13283 cat conftest.err >&5 13284 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13285 (exit $ac_status); } && { 13286 test -z "$ac_cxx_werror_flag" || 13287 test ! -s conftest.err 13288 } && test -s conftest.$ac_objext; then 13289 ac_cv_type_int=yes 13290 else 13291 echo "$as_me: failed program was:" >&5 13292 sed 's/^/| /' conftest.$ac_ext >&5 13293 13294 ac_cv_type_int=no 13295 fi 13296 13297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13298 fi 13299 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 13300 echo "${ECHO_T}$ac_cv_type_int" >&6; } 13301 13302 # The cast to long int works around a bug in the HP C Compiler 13303 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13304 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13305 # This bug is HP SR number 8606223364. 13306 { echo "$as_me:$LINENO: checking size of int" >&5 13307 echo $ECHO_N "checking size of int... $ECHO_C" >&6; } 13308 if test "${ac_cv_sizeof_int+set}" = set; then 13309 echo $ECHO_N "(cached) $ECHO_C" >&6 13310 else 13311 if test "$cross_compiling" = yes; then 13312 # Depending upon the size, compute the lo and hi bounds. 13313 cat >conftest.$ac_ext <<_ACEOF 13314 /* confdefs.h. */ 13315 _ACEOF 13316 cat confdefs.h >>conftest.$ac_ext 13317 cat >>conftest.$ac_ext <<_ACEOF 13318 /* end confdefs.h. */ 13319 $ac_includes_default 13320 typedef int ac__type_sizeof_; 13321 int 13322 main () 13323 { 13324 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 13325 test_array [0] = 0 13326 13327 ; 13328 return 0; 13329 } 13330 _ACEOF 13331 rm -f conftest.$ac_objext 13332 if { (ac_try="$ac_compile" 13333 case "(($ac_try" in 13334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13335 *) ac_try_echo=$ac_try;; 13336 esac 13337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13338 (eval "$ac_compile") 2>conftest.er1 13339 ac_status=$? 13340 grep -v '^ *+' conftest.er1 >conftest.err 13341 rm -f conftest.er1 13342 cat conftest.err >&5 13343 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13344 (exit $ac_status); } && { 13345 test -z "$ac_cxx_werror_flag" || 13346 test ! -s conftest.err 13347 } && test -s conftest.$ac_objext; then 13348 ac_lo=0 ac_mid=0 13349 while :; do 13350 cat >conftest.$ac_ext <<_ACEOF 13351 /* confdefs.h. */ 13352 _ACEOF 13353 cat confdefs.h >>conftest.$ac_ext 13354 cat >>conftest.$ac_ext <<_ACEOF 13355 /* end confdefs.h. */ 13356 $ac_includes_default 13357 typedef int ac__type_sizeof_; 13358 int 13359 main () 13360 { 13361 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13362 test_array [0] = 0 13363 13364 ; 13365 return 0; 13366 } 13367 _ACEOF 13368 rm -f conftest.$ac_objext 13369 if { (ac_try="$ac_compile" 13370 case "(($ac_try" in 13371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13372 *) ac_try_echo=$ac_try;; 13373 esac 13374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13375 (eval "$ac_compile") 2>conftest.er1 13376 ac_status=$? 13377 grep -v '^ *+' conftest.er1 >conftest.err 13378 rm -f conftest.er1 13379 cat conftest.err >&5 13380 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13381 (exit $ac_status); } && { 13382 test -z "$ac_cxx_werror_flag" || 13383 test ! -s conftest.err 13384 } && test -s conftest.$ac_objext; then 13385 ac_hi=$ac_mid; break 13386 else 13387 echo "$as_me: failed program was:" >&5 13388 sed 's/^/| /' conftest.$ac_ext >&5 13389 13390 ac_lo=`expr $ac_mid + 1` 13391 if test $ac_lo -le $ac_mid; then 13392 ac_lo= ac_hi= 13393 break 13394 fi 13395 ac_mid=`expr 2 '*' $ac_mid + 1` 13396 fi 13397 13398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13399 done 13400 else 13401 echo "$as_me: failed program was:" >&5 13402 sed 's/^/| /' conftest.$ac_ext >&5 13403 13404 cat >conftest.$ac_ext <<_ACEOF 13405 /* confdefs.h. */ 13406 _ACEOF 13407 cat confdefs.h >>conftest.$ac_ext 13408 cat >>conftest.$ac_ext <<_ACEOF 13409 /* end confdefs.h. */ 13410 $ac_includes_default 13411 typedef int ac__type_sizeof_; 13412 int 13413 main () 13414 { 13415 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 13416 test_array [0] = 0 13417 13418 ; 13419 return 0; 13420 } 13421 _ACEOF 13422 rm -f conftest.$ac_objext 13423 if { (ac_try="$ac_compile" 13424 case "(($ac_try" in 13425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13426 *) ac_try_echo=$ac_try;; 13427 esac 13428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13429 (eval "$ac_compile") 2>conftest.er1 13430 ac_status=$? 13431 grep -v '^ *+' conftest.er1 >conftest.err 13432 rm -f conftest.er1 13433 cat conftest.err >&5 13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13435 (exit $ac_status); } && { 13436 test -z "$ac_cxx_werror_flag" || 13437 test ! -s conftest.err 13438 } && test -s conftest.$ac_objext; then 13439 ac_hi=-1 ac_mid=-1 13440 while :; do 13441 cat >conftest.$ac_ext <<_ACEOF 13442 /* confdefs.h. */ 13443 _ACEOF 13444 cat confdefs.h >>conftest.$ac_ext 13445 cat >>conftest.$ac_ext <<_ACEOF 13446 /* end confdefs.h. */ 13447 $ac_includes_default 13448 typedef int ac__type_sizeof_; 13449 int 13450 main () 13451 { 13452 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 13453 test_array [0] = 0 13454 13455 ; 13456 return 0; 13457 } 13458 _ACEOF 13459 rm -f conftest.$ac_objext 13460 if { (ac_try="$ac_compile" 13461 case "(($ac_try" in 13462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13463 *) ac_try_echo=$ac_try;; 13464 esac 13465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13466 (eval "$ac_compile") 2>conftest.er1 13467 ac_status=$? 13468 grep -v '^ *+' conftest.er1 >conftest.err 13469 rm -f conftest.er1 13470 cat conftest.err >&5 13471 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13472 (exit $ac_status); } && { 13473 test -z "$ac_cxx_werror_flag" || 13474 test ! -s conftest.err 13475 } && test -s conftest.$ac_objext; then 13476 ac_lo=$ac_mid; break 13477 else 13478 echo "$as_me: failed program was:" >&5 13479 sed 's/^/| /' conftest.$ac_ext >&5 13480 13481 ac_hi=`expr '(' $ac_mid ')' - 1` 13482 if test $ac_mid -le $ac_hi; then 13483 ac_lo= ac_hi= 13484 break 13485 fi 13486 ac_mid=`expr 2 '*' $ac_mid` 13487 fi 13488 13489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13490 done 13491 else 13492 echo "$as_me: failed program was:" >&5 13493 sed 's/^/| /' conftest.$ac_ext >&5 13494 13495 ac_lo= ac_hi= 13496 fi 13497 13498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13499 fi 13500 13501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13502 # Binary search between lo and hi bounds. 13503 while test "x$ac_lo" != "x$ac_hi"; do 13504 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 13505 cat >conftest.$ac_ext <<_ACEOF 13506 /* confdefs.h. */ 13507 _ACEOF 13508 cat confdefs.h >>conftest.$ac_ext 13509 cat >>conftest.$ac_ext <<_ACEOF 13510 /* end confdefs.h. */ 13511 $ac_includes_default 13512 typedef int ac__type_sizeof_; 13513 int 13514 main () 13515 { 13516 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13517 test_array [0] = 0 13518 13519 ; 13520 return 0; 13521 } 13522 _ACEOF 13523 rm -f conftest.$ac_objext 13524 if { (ac_try="$ac_compile" 13525 case "(($ac_try" in 13526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13527 *) ac_try_echo=$ac_try;; 13528 esac 13529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13530 (eval "$ac_compile") 2>conftest.er1 13531 ac_status=$? 13532 grep -v '^ *+' conftest.er1 >conftest.err 13533 rm -f conftest.er1 13534 cat conftest.err >&5 13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13536 (exit $ac_status); } && { 13537 test -z "$ac_cxx_werror_flag" || 13538 test ! -s conftest.err 13539 } && test -s conftest.$ac_objext; then 13540 ac_hi=$ac_mid 13541 else 13542 echo "$as_me: failed program was:" >&5 13543 sed 's/^/| /' conftest.$ac_ext >&5 13544 13545 ac_lo=`expr '(' $ac_mid ')' + 1` 13546 fi 13547 13548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13549 done 13550 case $ac_lo in 13551 ?*) ac_cv_sizeof_int=$ac_lo;; 13552 '') if test "$ac_cv_type_int" = yes; then 13553 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 13554 See \`config.log' for more details." >&5 13555 echo "$as_me: error: cannot compute sizeof (int) 13556 See \`config.log' for more details." >&2;} 13557 { (exit 77); exit 77; }; } 13558 else 13559 ac_cv_sizeof_int=0 13560 fi ;; 13561 esac 13562 else 13563 cat >conftest.$ac_ext <<_ACEOF 13564 /* confdefs.h. */ 13565 _ACEOF 13566 cat confdefs.h >>conftest.$ac_ext 13567 cat >>conftest.$ac_ext <<_ACEOF 13568 /* end confdefs.h. */ 13569 $ac_includes_default 13570 typedef int ac__type_sizeof_; 13571 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 13572 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 13573 #include <stdio.h> 13574 #include <stdlib.h> 13575 int 13576 main () 13577 { 13578 13579 FILE *f = fopen ("conftest.val", "w"); 13580 if (! f) 13581 return 1; 13582 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 13583 { 13584 long int i = longval (); 13585 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13586 return 1; 13587 fprintf (f, "%ld\n", i); 13588 } 13589 else 13590 { 13591 unsigned long int i = ulongval (); 13592 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13593 return 1; 13594 fprintf (f, "%lu\n", i); 13595 } 13596 return ferror (f) || fclose (f) != 0; 13597 13598 ; 13599 return 0; 13600 } 13601 _ACEOF 13602 rm -f conftest$ac_exeext 13603 if { (ac_try="$ac_link" 13604 case "(($ac_try" in 13605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13606 *) ac_try_echo=$ac_try;; 13607 esac 13608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13609 (eval "$ac_link") 2>&5 13610 ac_status=$? 13611 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13612 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 13613 { (case "(($ac_try" in 13614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13615 *) ac_try_echo=$ac_try;; 13616 esac 13617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13618 (eval "$ac_try") 2>&5 13619 ac_status=$? 13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13621 (exit $ac_status); }; }; then 13622 ac_cv_sizeof_int=`cat conftest.val` 13623 else 13624 echo "$as_me: program exited with status $ac_status" >&5 13625 echo "$as_me: failed program was:" >&5 13626 sed 's/^/| /' conftest.$ac_ext >&5 13627 13628 ( exit $ac_status ) 13629 if test "$ac_cv_type_int" = yes; then 13630 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) 13631 See \`config.log' for more details." >&5 13632 echo "$as_me: error: cannot compute sizeof (int) 13633 See \`config.log' for more details." >&2;} 13634 { (exit 77); exit 77; }; } 13635 else 13636 ac_cv_sizeof_int=0 13637 fi 13638 fi 13639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 13640 fi 13641 rm -f conftest.val 13642 fi 13643 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 13644 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } 13645 13646 13647 13648 cat >>confdefs.h <<_ACEOF 13649 #define SIZEOF_INT $ac_cv_sizeof_int 13650 _ACEOF 13651 13652 13653 { echo "$as_me:$LINENO: checking for long" >&5 13654 echo $ECHO_N "checking for long... $ECHO_C" >&6; } 13655 if test "${ac_cv_type_long+set}" = set; then 13656 echo $ECHO_N "(cached) $ECHO_C" >&6 13657 else 13658 cat >conftest.$ac_ext <<_ACEOF 13659 /* confdefs.h. */ 13660 _ACEOF 13661 cat confdefs.h >>conftest.$ac_ext 13662 cat >>conftest.$ac_ext <<_ACEOF 13663 /* end confdefs.h. */ 13664 $ac_includes_default 13665 typedef long ac__type_new_; 13666 int 13667 main () 13668 { 13669 if ((ac__type_new_ *) 0) 13670 return 0; 13671 if (sizeof (ac__type_new_)) 13672 return 0; 13673 ; 13674 return 0; 13675 } 13676 _ACEOF 13677 rm -f conftest.$ac_objext 13678 if { (ac_try="$ac_compile" 13679 case "(($ac_try" in 13680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13681 *) ac_try_echo=$ac_try;; 13682 esac 13683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13684 (eval "$ac_compile") 2>conftest.er1 13685 ac_status=$? 13686 grep -v '^ *+' conftest.er1 >conftest.err 13687 rm -f conftest.er1 13688 cat conftest.err >&5 13689 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13690 (exit $ac_status); } && { 13691 test -z "$ac_cxx_werror_flag" || 13692 test ! -s conftest.err 13693 } && test -s conftest.$ac_objext; then 13694 ac_cv_type_long=yes 13695 else 13696 echo "$as_me: failed program was:" >&5 13697 sed 's/^/| /' conftest.$ac_ext >&5 13698 13699 ac_cv_type_long=no 13700 fi 13701 13702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13703 fi 13704 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5 13705 echo "${ECHO_T}$ac_cv_type_long" >&6; } 13706 13707 # The cast to long int works around a bug in the HP C Compiler 13708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 13709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 13710 # This bug is HP SR number 8606223364. 13711 { echo "$as_me:$LINENO: checking size of long" >&5 13712 echo $ECHO_N "checking size of long... $ECHO_C" >&6; } 13713 if test "${ac_cv_sizeof_long+set}" = set; then 13714 echo $ECHO_N "(cached) $ECHO_C" >&6 13715 else 13716 if test "$cross_compiling" = yes; then 13717 # Depending upon the size, compute the lo and hi bounds. 13718 cat >conftest.$ac_ext <<_ACEOF 13719 /* confdefs.h. */ 13720 _ACEOF 13721 cat confdefs.h >>conftest.$ac_ext 13722 cat >>conftest.$ac_ext <<_ACEOF 13723 /* end confdefs.h. */ 13724 $ac_includes_default 13725 typedef long ac__type_sizeof_; 13726 int 13727 main () 13728 { 13729 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 13730 test_array [0] = 0 13731 13732 ; 13733 return 0; 13734 } 13735 _ACEOF 13736 rm -f conftest.$ac_objext 13737 if { (ac_try="$ac_compile" 13738 case "(($ac_try" in 13739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13740 *) ac_try_echo=$ac_try;; 13741 esac 13742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13743 (eval "$ac_compile") 2>conftest.er1 13744 ac_status=$? 13745 grep -v '^ *+' conftest.er1 >conftest.err 13746 rm -f conftest.er1 13747 cat conftest.err >&5 13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13749 (exit $ac_status); } && { 13750 test -z "$ac_cxx_werror_flag" || 13751 test ! -s conftest.err 13752 } && test -s conftest.$ac_objext; then 13753 ac_lo=0 ac_mid=0 13754 while :; do 13755 cat >conftest.$ac_ext <<_ACEOF 13756 /* confdefs.h. */ 13757 _ACEOF 13758 cat confdefs.h >>conftest.$ac_ext 13759 cat >>conftest.$ac_ext <<_ACEOF 13760 /* end confdefs.h. */ 13761 $ac_includes_default 13762 typedef long ac__type_sizeof_; 13763 int 13764 main () 13765 { 13766 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13767 test_array [0] = 0 13768 13769 ; 13770 return 0; 13771 } 13772 _ACEOF 13773 rm -f conftest.$ac_objext 13774 if { (ac_try="$ac_compile" 13775 case "(($ac_try" in 13776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13777 *) ac_try_echo=$ac_try;; 13778 esac 13779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13780 (eval "$ac_compile") 2>conftest.er1 13781 ac_status=$? 13782 grep -v '^ *+' conftest.er1 >conftest.err 13783 rm -f conftest.er1 13784 cat conftest.err >&5 13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13786 (exit $ac_status); } && { 13787 test -z "$ac_cxx_werror_flag" || 13788 test ! -s conftest.err 13789 } && test -s conftest.$ac_objext; then 13790 ac_hi=$ac_mid; break 13791 else 13792 echo "$as_me: failed program was:" >&5 13793 sed 's/^/| /' conftest.$ac_ext >&5 13794 13795 ac_lo=`expr $ac_mid + 1` 13796 if test $ac_lo -le $ac_mid; then 13797 ac_lo= ac_hi= 13798 break 13799 fi 13800 ac_mid=`expr 2 '*' $ac_mid + 1` 13801 fi 13802 13803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13804 done 13805 else 13806 echo "$as_me: failed program was:" >&5 13807 sed 's/^/| /' conftest.$ac_ext >&5 13808 13809 cat >conftest.$ac_ext <<_ACEOF 13810 /* confdefs.h. */ 13811 _ACEOF 13812 cat confdefs.h >>conftest.$ac_ext 13813 cat >>conftest.$ac_ext <<_ACEOF 13814 /* end confdefs.h. */ 13815 $ac_includes_default 13816 typedef long ac__type_sizeof_; 13817 int 13818 main () 13819 { 13820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 13821 test_array [0] = 0 13822 13823 ; 13824 return 0; 13825 } 13826 _ACEOF 13827 rm -f conftest.$ac_objext 13828 if { (ac_try="$ac_compile" 13829 case "(($ac_try" in 13830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13831 *) ac_try_echo=$ac_try;; 13832 esac 13833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13834 (eval "$ac_compile") 2>conftest.er1 13835 ac_status=$? 13836 grep -v '^ *+' conftest.er1 >conftest.err 13837 rm -f conftest.er1 13838 cat conftest.err >&5 13839 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13840 (exit $ac_status); } && { 13841 test -z "$ac_cxx_werror_flag" || 13842 test ! -s conftest.err 13843 } && test -s conftest.$ac_objext; then 13844 ac_hi=-1 ac_mid=-1 13845 while :; do 13846 cat >conftest.$ac_ext <<_ACEOF 13847 /* confdefs.h. */ 13848 _ACEOF 13849 cat confdefs.h >>conftest.$ac_ext 13850 cat >>conftest.$ac_ext <<_ACEOF 13851 /* end confdefs.h. */ 13852 $ac_includes_default 13853 typedef long ac__type_sizeof_; 13854 int 13855 main () 13856 { 13857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 13858 test_array [0] = 0 13859 13860 ; 13861 return 0; 13862 } 13863 _ACEOF 13864 rm -f conftest.$ac_objext 13865 if { (ac_try="$ac_compile" 13866 case "(($ac_try" in 13867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13868 *) ac_try_echo=$ac_try;; 13869 esac 13870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13871 (eval "$ac_compile") 2>conftest.er1 13872 ac_status=$? 13873 grep -v '^ *+' conftest.er1 >conftest.err 13874 rm -f conftest.er1 13875 cat conftest.err >&5 13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13877 (exit $ac_status); } && { 13878 test -z "$ac_cxx_werror_flag" || 13879 test ! -s conftest.err 13880 } && test -s conftest.$ac_objext; then 13881 ac_lo=$ac_mid; break 13882 else 13883 echo "$as_me: failed program was:" >&5 13884 sed 's/^/| /' conftest.$ac_ext >&5 13885 13886 ac_hi=`expr '(' $ac_mid ')' - 1` 13887 if test $ac_mid -le $ac_hi; then 13888 ac_lo= ac_hi= 13889 break 13890 fi 13891 ac_mid=`expr 2 '*' $ac_mid` 13892 fi 13893 13894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13895 done 13896 else 13897 echo "$as_me: failed program was:" >&5 13898 sed 's/^/| /' conftest.$ac_ext >&5 13899 13900 ac_lo= ac_hi= 13901 fi 13902 13903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13904 fi 13905 13906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13907 # Binary search between lo and hi bounds. 13908 while test "x$ac_lo" != "x$ac_hi"; do 13909 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 13910 cat >conftest.$ac_ext <<_ACEOF 13911 /* confdefs.h. */ 13912 _ACEOF 13913 cat confdefs.h >>conftest.$ac_ext 13914 cat >>conftest.$ac_ext <<_ACEOF 13915 /* end confdefs.h. */ 13916 $ac_includes_default 13917 typedef long ac__type_sizeof_; 13918 int 13919 main () 13920 { 13921 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 13922 test_array [0] = 0 13923 13924 ; 13925 return 0; 13926 } 13927 _ACEOF 13928 rm -f conftest.$ac_objext 13929 if { (ac_try="$ac_compile" 13930 case "(($ac_try" in 13931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 13932 *) ac_try_echo=$ac_try;; 13933 esac 13934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 13935 (eval "$ac_compile") 2>conftest.er1 13936 ac_status=$? 13937 grep -v '^ *+' conftest.er1 >conftest.err 13938 rm -f conftest.er1 13939 cat conftest.err >&5 13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5 13941 (exit $ac_status); } && { 13942 test -z "$ac_cxx_werror_flag" || 13943 test ! -s conftest.err 13944 } && test -s conftest.$ac_objext; then 13945 ac_hi=$ac_mid 13946 else 13947 echo "$as_me: failed program was:" >&5 13948 sed 's/^/| /' conftest.$ac_ext >&5 13949 13950 ac_lo=`expr '(' $ac_mid ')' + 1` 13951 fi 13952 13953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 13954 done 13955 case $ac_lo in 13956 ?*) ac_cv_sizeof_long=$ac_lo;; 13957 '') if test "$ac_cv_type_long" = yes; then 13958 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 13959 See \`config.log' for more details." >&5 13960 echo "$as_me: error: cannot compute sizeof (long) 13961 See \`config.log' for more details." >&2;} 13962 { (exit 77); exit 77; }; } 13963 else 13964 ac_cv_sizeof_long=0 13965 fi ;; 13966 esac 13967 else 13968 cat >conftest.$ac_ext <<_ACEOF 13969 /* confdefs.h. */ 13970 _ACEOF 13971 cat confdefs.h >>conftest.$ac_ext 13972 cat >>conftest.$ac_ext <<_ACEOF 13973 /* end confdefs.h. */ 13974 $ac_includes_default 13975 typedef long ac__type_sizeof_; 13976 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 13977 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 13978 #include <stdio.h> 13979 #include <stdlib.h> 13980 int 13981 main () 13982 { 13983 13984 FILE *f = fopen ("conftest.val", "w"); 13985 if (! f) 13986 return 1; 13987 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 13988 { 13989 long int i = longval (); 13990 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13991 return 1; 13992 fprintf (f, "%ld\n", i); 13993 } 13994 else 13995 { 13996 unsigned long int i = ulongval (); 13997 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 13998 return 1; 13999 fprintf (f, "%lu\n", i); 14000 } 14001 return ferror (f) || fclose (f) != 0; 14002 14003 ; 14004 return 0; 14005 } 14006 _ACEOF 14007 rm -f conftest$ac_exeext 14008 if { (ac_try="$ac_link" 14009 case "(($ac_try" in 14010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14011 *) ac_try_echo=$ac_try;; 14012 esac 14013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14014 (eval "$ac_link") 2>&5 14015 ac_status=$? 14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14018 { (case "(($ac_try" in 14019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14020 *) ac_try_echo=$ac_try;; 14021 esac 14022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14023 (eval "$ac_try") 2>&5 14024 ac_status=$? 14025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14026 (exit $ac_status); }; }; then 14027 ac_cv_sizeof_long=`cat conftest.val` 14028 else 14029 echo "$as_me: program exited with status $ac_status" >&5 14030 echo "$as_me: failed program was:" >&5 14031 sed 's/^/| /' conftest.$ac_ext >&5 14032 14033 ( exit $ac_status ) 14034 if test "$ac_cv_type_long" = yes; then 14035 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long) 14036 See \`config.log' for more details." >&5 14037 echo "$as_me: error: cannot compute sizeof (long) 14038 See \`config.log' for more details." >&2;} 14039 { (exit 77); exit 77; }; } 14040 else 14041 ac_cv_sizeof_long=0 14042 fi 14043 fi 14044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14045 fi 14046 rm -f conftest.val 14047 fi 14048 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 14049 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; } 14050 14051 14052 14053 cat >>confdefs.h <<_ACEOF 14054 #define SIZEOF_LONG $ac_cv_sizeof_long 14055 _ACEOF 14056 14057 14058 { echo "$as_me:$LINENO: checking for long long" >&5 14059 echo $ECHO_N "checking for long long... $ECHO_C" >&6; } 14060 if test "${ac_cv_type_long_long+set}" = set; then 14061 echo $ECHO_N "(cached) $ECHO_C" >&6 14062 else 14063 cat >conftest.$ac_ext <<_ACEOF 14064 /* confdefs.h. */ 14065 _ACEOF 14066 cat confdefs.h >>conftest.$ac_ext 14067 cat >>conftest.$ac_ext <<_ACEOF 14068 /* end confdefs.h. */ 14069 $ac_includes_default 14070 typedef long long ac__type_new_; 14071 int 14072 main () 14073 { 14074 if ((ac__type_new_ *) 0) 14075 return 0; 14076 if (sizeof (ac__type_new_)) 14077 return 0; 14078 ; 14079 return 0; 14080 } 14081 _ACEOF 14082 rm -f conftest.$ac_objext 14083 if { (ac_try="$ac_compile" 14084 case "(($ac_try" in 14085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14086 *) ac_try_echo=$ac_try;; 14087 esac 14088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14089 (eval "$ac_compile") 2>conftest.er1 14090 ac_status=$? 14091 grep -v '^ *+' conftest.er1 >conftest.err 14092 rm -f conftest.er1 14093 cat conftest.err >&5 14094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14095 (exit $ac_status); } && { 14096 test -z "$ac_cxx_werror_flag" || 14097 test ! -s conftest.err 14098 } && test -s conftest.$ac_objext; then 14099 ac_cv_type_long_long=yes 14100 else 14101 echo "$as_me: failed program was:" >&5 14102 sed 's/^/| /' conftest.$ac_ext >&5 14103 14104 ac_cv_type_long_long=no 14105 fi 14106 14107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14108 fi 14109 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 14110 echo "${ECHO_T}$ac_cv_type_long_long" >&6; } 14111 14112 # The cast to long int works around a bug in the HP C Compiler 14113 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14114 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14115 # This bug is HP SR number 8606223364. 14116 { echo "$as_me:$LINENO: checking size of long long" >&5 14117 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } 14118 if test "${ac_cv_sizeof_long_long+set}" = set; then 14119 echo $ECHO_N "(cached) $ECHO_C" >&6 14120 else 14121 if test "$cross_compiling" = yes; then 14122 # Depending upon the size, compute the lo and hi bounds. 14123 cat >conftest.$ac_ext <<_ACEOF 14124 /* confdefs.h. */ 14125 _ACEOF 14126 cat confdefs.h >>conftest.$ac_ext 14127 cat >>conftest.$ac_ext <<_ACEOF 14128 /* end confdefs.h. */ 14129 $ac_includes_default 14130 typedef long long ac__type_sizeof_; 14131 int 14132 main () 14133 { 14134 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14135 test_array [0] = 0 14136 14137 ; 14138 return 0; 14139 } 14140 _ACEOF 14141 rm -f conftest.$ac_objext 14142 if { (ac_try="$ac_compile" 14143 case "(($ac_try" in 14144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14145 *) ac_try_echo=$ac_try;; 14146 esac 14147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14148 (eval "$ac_compile") 2>conftest.er1 14149 ac_status=$? 14150 grep -v '^ *+' conftest.er1 >conftest.err 14151 rm -f conftest.er1 14152 cat conftest.err >&5 14153 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14154 (exit $ac_status); } && { 14155 test -z "$ac_cxx_werror_flag" || 14156 test ! -s conftest.err 14157 } && test -s conftest.$ac_objext; then 14158 ac_lo=0 ac_mid=0 14159 while :; do 14160 cat >conftest.$ac_ext <<_ACEOF 14161 /* confdefs.h. */ 14162 _ACEOF 14163 cat confdefs.h >>conftest.$ac_ext 14164 cat >>conftest.$ac_ext <<_ACEOF 14165 /* end confdefs.h. */ 14166 $ac_includes_default 14167 typedef long long ac__type_sizeof_; 14168 int 14169 main () 14170 { 14171 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14172 test_array [0] = 0 14173 14174 ; 14175 return 0; 14176 } 14177 _ACEOF 14178 rm -f conftest.$ac_objext 14179 if { (ac_try="$ac_compile" 14180 case "(($ac_try" in 14181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14182 *) ac_try_echo=$ac_try;; 14183 esac 14184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14185 (eval "$ac_compile") 2>conftest.er1 14186 ac_status=$? 14187 grep -v '^ *+' conftest.er1 >conftest.err 14188 rm -f conftest.er1 14189 cat conftest.err >&5 14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14191 (exit $ac_status); } && { 14192 test -z "$ac_cxx_werror_flag" || 14193 test ! -s conftest.err 14194 } && test -s conftest.$ac_objext; then 14195 ac_hi=$ac_mid; break 14196 else 14197 echo "$as_me: failed program was:" >&5 14198 sed 's/^/| /' conftest.$ac_ext >&5 14199 14200 ac_lo=`expr $ac_mid + 1` 14201 if test $ac_lo -le $ac_mid; then 14202 ac_lo= ac_hi= 14203 break 14204 fi 14205 ac_mid=`expr 2 '*' $ac_mid + 1` 14206 fi 14207 14208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14209 done 14210 else 14211 echo "$as_me: failed program was:" >&5 14212 sed 's/^/| /' conftest.$ac_ext >&5 14213 14214 cat >conftest.$ac_ext <<_ACEOF 14215 /* confdefs.h. */ 14216 _ACEOF 14217 cat confdefs.h >>conftest.$ac_ext 14218 cat >>conftest.$ac_ext <<_ACEOF 14219 /* end confdefs.h. */ 14220 $ac_includes_default 14221 typedef long long ac__type_sizeof_; 14222 int 14223 main () 14224 { 14225 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14226 test_array [0] = 0 14227 14228 ; 14229 return 0; 14230 } 14231 _ACEOF 14232 rm -f conftest.$ac_objext 14233 if { (ac_try="$ac_compile" 14234 case "(($ac_try" in 14235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14236 *) ac_try_echo=$ac_try;; 14237 esac 14238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14239 (eval "$ac_compile") 2>conftest.er1 14240 ac_status=$? 14241 grep -v '^ *+' conftest.er1 >conftest.err 14242 rm -f conftest.er1 14243 cat conftest.err >&5 14244 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14245 (exit $ac_status); } && { 14246 test -z "$ac_cxx_werror_flag" || 14247 test ! -s conftest.err 14248 } && test -s conftest.$ac_objext; then 14249 ac_hi=-1 ac_mid=-1 14250 while :; do 14251 cat >conftest.$ac_ext <<_ACEOF 14252 /* confdefs.h. */ 14253 _ACEOF 14254 cat confdefs.h >>conftest.$ac_ext 14255 cat >>conftest.$ac_ext <<_ACEOF 14256 /* end confdefs.h. */ 14257 $ac_includes_default 14258 typedef long long ac__type_sizeof_; 14259 int 14260 main () 14261 { 14262 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14263 test_array [0] = 0 14264 14265 ; 14266 return 0; 14267 } 14268 _ACEOF 14269 rm -f conftest.$ac_objext 14270 if { (ac_try="$ac_compile" 14271 case "(($ac_try" in 14272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14273 *) ac_try_echo=$ac_try;; 14274 esac 14275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14276 (eval "$ac_compile") 2>conftest.er1 14277 ac_status=$? 14278 grep -v '^ *+' conftest.er1 >conftest.err 14279 rm -f conftest.er1 14280 cat conftest.err >&5 14281 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14282 (exit $ac_status); } && { 14283 test -z "$ac_cxx_werror_flag" || 14284 test ! -s conftest.err 14285 } && test -s conftest.$ac_objext; then 14286 ac_lo=$ac_mid; break 14287 else 14288 echo "$as_me: failed program was:" >&5 14289 sed 's/^/| /' conftest.$ac_ext >&5 14290 14291 ac_hi=`expr '(' $ac_mid ')' - 1` 14292 if test $ac_mid -le $ac_hi; then 14293 ac_lo= ac_hi= 14294 break 14295 fi 14296 ac_mid=`expr 2 '*' $ac_mid` 14297 fi 14298 14299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14300 done 14301 else 14302 echo "$as_me: failed program was:" >&5 14303 sed 's/^/| /' conftest.$ac_ext >&5 14304 14305 ac_lo= ac_hi= 14306 fi 14307 14308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14309 fi 14310 14311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14312 # Binary search between lo and hi bounds. 14313 while test "x$ac_lo" != "x$ac_hi"; do 14314 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14315 cat >conftest.$ac_ext <<_ACEOF 14316 /* confdefs.h. */ 14317 _ACEOF 14318 cat confdefs.h >>conftest.$ac_ext 14319 cat >>conftest.$ac_ext <<_ACEOF 14320 /* end confdefs.h. */ 14321 $ac_includes_default 14322 typedef long long ac__type_sizeof_; 14323 int 14324 main () 14325 { 14326 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14327 test_array [0] = 0 14328 14329 ; 14330 return 0; 14331 } 14332 _ACEOF 14333 rm -f conftest.$ac_objext 14334 if { (ac_try="$ac_compile" 14335 case "(($ac_try" in 14336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14337 *) ac_try_echo=$ac_try;; 14338 esac 14339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14340 (eval "$ac_compile") 2>conftest.er1 14341 ac_status=$? 14342 grep -v '^ *+' conftest.er1 >conftest.err 14343 rm -f conftest.er1 14344 cat conftest.err >&5 14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14346 (exit $ac_status); } && { 14347 test -z "$ac_cxx_werror_flag" || 14348 test ! -s conftest.err 14349 } && test -s conftest.$ac_objext; then 14350 ac_hi=$ac_mid 14351 else 14352 echo "$as_me: failed program was:" >&5 14353 sed 's/^/| /' conftest.$ac_ext >&5 14354 14355 ac_lo=`expr '(' $ac_mid ')' + 1` 14356 fi 14357 14358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14359 done 14360 case $ac_lo in 14361 ?*) ac_cv_sizeof_long_long=$ac_lo;; 14362 '') if test "$ac_cv_type_long_long" = yes; then 14363 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 14364 See \`config.log' for more details." >&5 14365 echo "$as_me: error: cannot compute sizeof (long long) 14366 See \`config.log' for more details." >&2;} 14367 { (exit 77); exit 77; }; } 14368 else 14369 ac_cv_sizeof_long_long=0 14370 fi ;; 14371 esac 14372 else 14373 cat >conftest.$ac_ext <<_ACEOF 14374 /* confdefs.h. */ 14375 _ACEOF 14376 cat confdefs.h >>conftest.$ac_ext 14377 cat >>conftest.$ac_ext <<_ACEOF 14378 /* end confdefs.h. */ 14379 $ac_includes_default 14380 typedef long long ac__type_sizeof_; 14381 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14382 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14383 #include <stdio.h> 14384 #include <stdlib.h> 14385 int 14386 main () 14387 { 14388 14389 FILE *f = fopen ("conftest.val", "w"); 14390 if (! f) 14391 return 1; 14392 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14393 { 14394 long int i = longval (); 14395 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14396 return 1; 14397 fprintf (f, "%ld\n", i); 14398 } 14399 else 14400 { 14401 unsigned long int i = ulongval (); 14402 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14403 return 1; 14404 fprintf (f, "%lu\n", i); 14405 } 14406 return ferror (f) || fclose (f) != 0; 14407 14408 ; 14409 return 0; 14410 } 14411 _ACEOF 14412 rm -f conftest$ac_exeext 14413 if { (ac_try="$ac_link" 14414 case "(($ac_try" in 14415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14416 *) ac_try_echo=$ac_try;; 14417 esac 14418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14419 (eval "$ac_link") 2>&5 14420 ac_status=$? 14421 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14422 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14423 { (case "(($ac_try" in 14424 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14425 *) ac_try_echo=$ac_try;; 14426 esac 14427 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14428 (eval "$ac_try") 2>&5 14429 ac_status=$? 14430 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14431 (exit $ac_status); }; }; then 14432 ac_cv_sizeof_long_long=`cat conftest.val` 14433 else 14434 echo "$as_me: program exited with status $ac_status" >&5 14435 echo "$as_me: failed program was:" >&5 14436 sed 's/^/| /' conftest.$ac_ext >&5 14437 14438 ( exit $ac_status ) 14439 if test "$ac_cv_type_long_long" = yes; then 14440 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) 14441 See \`config.log' for more details." >&5 14442 echo "$as_me: error: cannot compute sizeof (long long) 14443 See \`config.log' for more details." >&2;} 14444 { (exit 77); exit 77; }; } 14445 else 14446 ac_cv_sizeof_long_long=0 14447 fi 14448 fi 14449 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14450 fi 14451 rm -f conftest.val 14452 fi 14453 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 14454 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } 14455 14456 14457 14458 cat >>confdefs.h <<_ACEOF 14459 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long 14460 _ACEOF 14461 14462 14463 { echo "$as_me:$LINENO: checking for void *" >&5 14464 echo $ECHO_N "checking for void *... $ECHO_C" >&6; } 14465 if test "${ac_cv_type_void_p+set}" = set; then 14466 echo $ECHO_N "(cached) $ECHO_C" >&6 14467 else 14468 cat >conftest.$ac_ext <<_ACEOF 14469 /* confdefs.h. */ 14470 _ACEOF 14471 cat confdefs.h >>conftest.$ac_ext 14472 cat >>conftest.$ac_ext <<_ACEOF 14473 /* end confdefs.h. */ 14474 $ac_includes_default 14475 typedef void * ac__type_new_; 14476 int 14477 main () 14478 { 14479 if ((ac__type_new_ *) 0) 14480 return 0; 14481 if (sizeof (ac__type_new_)) 14482 return 0; 14483 ; 14484 return 0; 14485 } 14486 _ACEOF 14487 rm -f conftest.$ac_objext 14488 if { (ac_try="$ac_compile" 14489 case "(($ac_try" in 14490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14491 *) ac_try_echo=$ac_try;; 14492 esac 14493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14494 (eval "$ac_compile") 2>conftest.er1 14495 ac_status=$? 14496 grep -v '^ *+' conftest.er1 >conftest.err 14497 rm -f conftest.er1 14498 cat conftest.err >&5 14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14500 (exit $ac_status); } && { 14501 test -z "$ac_cxx_werror_flag" || 14502 test ! -s conftest.err 14503 } && test -s conftest.$ac_objext; then 14504 ac_cv_type_void_p=yes 14505 else 14506 echo "$as_me: failed program was:" >&5 14507 sed 's/^/| /' conftest.$ac_ext >&5 14508 14509 ac_cv_type_void_p=no 14510 fi 14511 14512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14513 fi 14514 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5 14515 echo "${ECHO_T}$ac_cv_type_void_p" >&6; } 14516 14517 # The cast to long int works around a bug in the HP C Compiler 14518 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects 14519 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. 14520 # This bug is HP SR number 8606223364. 14521 { echo "$as_me:$LINENO: checking size of void *" >&5 14522 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; } 14523 if test "${ac_cv_sizeof_void_p+set}" = set; then 14524 echo $ECHO_N "(cached) $ECHO_C" >&6 14525 else 14526 if test "$cross_compiling" = yes; then 14527 # Depending upon the size, compute the lo and hi bounds. 14528 cat >conftest.$ac_ext <<_ACEOF 14529 /* confdefs.h. */ 14530 _ACEOF 14531 cat confdefs.h >>conftest.$ac_ext 14532 cat >>conftest.$ac_ext <<_ACEOF 14533 /* end confdefs.h. */ 14534 $ac_includes_default 14535 typedef void * ac__type_sizeof_; 14536 int 14537 main () 14538 { 14539 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; 14540 test_array [0] = 0 14541 14542 ; 14543 return 0; 14544 } 14545 _ACEOF 14546 rm -f conftest.$ac_objext 14547 if { (ac_try="$ac_compile" 14548 case "(($ac_try" in 14549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14550 *) ac_try_echo=$ac_try;; 14551 esac 14552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14553 (eval "$ac_compile") 2>conftest.er1 14554 ac_status=$? 14555 grep -v '^ *+' conftest.er1 >conftest.err 14556 rm -f conftest.er1 14557 cat conftest.err >&5 14558 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14559 (exit $ac_status); } && { 14560 test -z "$ac_cxx_werror_flag" || 14561 test ! -s conftest.err 14562 } && test -s conftest.$ac_objext; then 14563 ac_lo=0 ac_mid=0 14564 while :; do 14565 cat >conftest.$ac_ext <<_ACEOF 14566 /* confdefs.h. */ 14567 _ACEOF 14568 cat confdefs.h >>conftest.$ac_ext 14569 cat >>conftest.$ac_ext <<_ACEOF 14570 /* end confdefs.h. */ 14571 $ac_includes_default 14572 typedef void * ac__type_sizeof_; 14573 int 14574 main () 14575 { 14576 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14577 test_array [0] = 0 14578 14579 ; 14580 return 0; 14581 } 14582 _ACEOF 14583 rm -f conftest.$ac_objext 14584 if { (ac_try="$ac_compile" 14585 case "(($ac_try" in 14586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14587 *) ac_try_echo=$ac_try;; 14588 esac 14589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14590 (eval "$ac_compile") 2>conftest.er1 14591 ac_status=$? 14592 grep -v '^ *+' conftest.er1 >conftest.err 14593 rm -f conftest.er1 14594 cat conftest.err >&5 14595 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14596 (exit $ac_status); } && { 14597 test -z "$ac_cxx_werror_flag" || 14598 test ! -s conftest.err 14599 } && test -s conftest.$ac_objext; then 14600 ac_hi=$ac_mid; break 14601 else 14602 echo "$as_me: failed program was:" >&5 14603 sed 's/^/| /' conftest.$ac_ext >&5 14604 14605 ac_lo=`expr $ac_mid + 1` 14606 if test $ac_lo -le $ac_mid; then 14607 ac_lo= ac_hi= 14608 break 14609 fi 14610 ac_mid=`expr 2 '*' $ac_mid + 1` 14611 fi 14612 14613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14614 done 14615 else 14616 echo "$as_me: failed program was:" >&5 14617 sed 's/^/| /' conftest.$ac_ext >&5 14618 14619 cat >conftest.$ac_ext <<_ACEOF 14620 /* confdefs.h. */ 14621 _ACEOF 14622 cat confdefs.h >>conftest.$ac_ext 14623 cat >>conftest.$ac_ext <<_ACEOF 14624 /* end confdefs.h. */ 14625 $ac_includes_default 14626 typedef void * ac__type_sizeof_; 14627 int 14628 main () 14629 { 14630 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; 14631 test_array [0] = 0 14632 14633 ; 14634 return 0; 14635 } 14636 _ACEOF 14637 rm -f conftest.$ac_objext 14638 if { (ac_try="$ac_compile" 14639 case "(($ac_try" in 14640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14641 *) ac_try_echo=$ac_try;; 14642 esac 14643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14644 (eval "$ac_compile") 2>conftest.er1 14645 ac_status=$? 14646 grep -v '^ *+' conftest.er1 >conftest.err 14647 rm -f conftest.er1 14648 cat conftest.err >&5 14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14650 (exit $ac_status); } && { 14651 test -z "$ac_cxx_werror_flag" || 14652 test ! -s conftest.err 14653 } && test -s conftest.$ac_objext; then 14654 ac_hi=-1 ac_mid=-1 14655 while :; do 14656 cat >conftest.$ac_ext <<_ACEOF 14657 /* confdefs.h. */ 14658 _ACEOF 14659 cat confdefs.h >>conftest.$ac_ext 14660 cat >>conftest.$ac_ext <<_ACEOF 14661 /* end confdefs.h. */ 14662 $ac_includes_default 14663 typedef void * ac__type_sizeof_; 14664 int 14665 main () 14666 { 14667 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; 14668 test_array [0] = 0 14669 14670 ; 14671 return 0; 14672 } 14673 _ACEOF 14674 rm -f conftest.$ac_objext 14675 if { (ac_try="$ac_compile" 14676 case "(($ac_try" in 14677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14678 *) ac_try_echo=$ac_try;; 14679 esac 14680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14681 (eval "$ac_compile") 2>conftest.er1 14682 ac_status=$? 14683 grep -v '^ *+' conftest.er1 >conftest.err 14684 rm -f conftest.er1 14685 cat conftest.err >&5 14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14687 (exit $ac_status); } && { 14688 test -z "$ac_cxx_werror_flag" || 14689 test ! -s conftest.err 14690 } && test -s conftest.$ac_objext; then 14691 ac_lo=$ac_mid; break 14692 else 14693 echo "$as_me: failed program was:" >&5 14694 sed 's/^/| /' conftest.$ac_ext >&5 14695 14696 ac_hi=`expr '(' $ac_mid ')' - 1` 14697 if test $ac_mid -le $ac_hi; then 14698 ac_lo= ac_hi= 14699 break 14700 fi 14701 ac_mid=`expr 2 '*' $ac_mid` 14702 fi 14703 14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14705 done 14706 else 14707 echo "$as_me: failed program was:" >&5 14708 sed 's/^/| /' conftest.$ac_ext >&5 14709 14710 ac_lo= ac_hi= 14711 fi 14712 14713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14714 fi 14715 14716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14717 # Binary search between lo and hi bounds. 14718 while test "x$ac_lo" != "x$ac_hi"; do 14719 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` 14720 cat >conftest.$ac_ext <<_ACEOF 14721 /* confdefs.h. */ 14722 _ACEOF 14723 cat confdefs.h >>conftest.$ac_ext 14724 cat >>conftest.$ac_ext <<_ACEOF 14725 /* end confdefs.h. */ 14726 $ac_includes_default 14727 typedef void * ac__type_sizeof_; 14728 int 14729 main () 14730 { 14731 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; 14732 test_array [0] = 0 14733 14734 ; 14735 return 0; 14736 } 14737 _ACEOF 14738 rm -f conftest.$ac_objext 14739 if { (ac_try="$ac_compile" 14740 case "(($ac_try" in 14741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14742 *) ac_try_echo=$ac_try;; 14743 esac 14744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14745 (eval "$ac_compile") 2>conftest.er1 14746 ac_status=$? 14747 grep -v '^ *+' conftest.er1 >conftest.err 14748 rm -f conftest.er1 14749 cat conftest.err >&5 14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14751 (exit $ac_status); } && { 14752 test -z "$ac_cxx_werror_flag" || 14753 test ! -s conftest.err 14754 } && test -s conftest.$ac_objext; then 14755 ac_hi=$ac_mid 14756 else 14757 echo "$as_me: failed program was:" >&5 14758 sed 's/^/| /' conftest.$ac_ext >&5 14759 14760 ac_lo=`expr '(' $ac_mid ')' + 1` 14761 fi 14762 14763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 14764 done 14765 case $ac_lo in 14766 ?*) ac_cv_sizeof_void_p=$ac_lo;; 14767 '') if test "$ac_cv_type_void_p" = yes; then 14768 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 14769 See \`config.log' for more details." >&5 14770 echo "$as_me: error: cannot compute sizeof (void *) 14771 See \`config.log' for more details." >&2;} 14772 { (exit 77); exit 77; }; } 14773 else 14774 ac_cv_sizeof_void_p=0 14775 fi ;; 14776 esac 14777 else 14778 cat >conftest.$ac_ext <<_ACEOF 14779 /* confdefs.h. */ 14780 _ACEOF 14781 cat confdefs.h >>conftest.$ac_ext 14782 cat >>conftest.$ac_ext <<_ACEOF 14783 /* end confdefs.h. */ 14784 $ac_includes_default 14785 typedef void * ac__type_sizeof_; 14786 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } 14787 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } 14788 #include <stdio.h> 14789 #include <stdlib.h> 14790 int 14791 main () 14792 { 14793 14794 FILE *f = fopen ("conftest.val", "w"); 14795 if (! f) 14796 return 1; 14797 if (((long int) (sizeof (ac__type_sizeof_))) < 0) 14798 { 14799 long int i = longval (); 14800 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14801 return 1; 14802 fprintf (f, "%ld\n", i); 14803 } 14804 else 14805 { 14806 unsigned long int i = ulongval (); 14807 if (i != ((long int) (sizeof (ac__type_sizeof_)))) 14808 return 1; 14809 fprintf (f, "%lu\n", i); 14810 } 14811 return ferror (f) || fclose (f) != 0; 14812 14813 ; 14814 return 0; 14815 } 14816 _ACEOF 14817 rm -f conftest$ac_exeext 14818 if { (ac_try="$ac_link" 14819 case "(($ac_try" in 14820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14821 *) ac_try_echo=$ac_try;; 14822 esac 14823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14824 (eval "$ac_link") 2>&5 14825 ac_status=$? 14826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14827 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 14828 { (case "(($ac_try" in 14829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 14830 *) ac_try_echo=$ac_try;; 14831 esac 14832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 14833 (eval "$ac_try") 2>&5 14834 ac_status=$? 14835 echo "$as_me:$LINENO: \$? = $ac_status" >&5 14836 (exit $ac_status); }; }; then 14837 ac_cv_sizeof_void_p=`cat conftest.val` 14838 else 14839 echo "$as_me: program exited with status $ac_status" >&5 14840 echo "$as_me: failed program was:" >&5 14841 sed 's/^/| /' conftest.$ac_ext >&5 14842 14843 ( exit $ac_status ) 14844 if test "$ac_cv_type_void_p" = yes; then 14845 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *) 14846 See \`config.log' for more details." >&5 14847 echo "$as_me: error: cannot compute sizeof (void *) 14848 See \`config.log' for more details." >&2;} 14849 { (exit 77); exit 77; }; } 14850 else 14851 ac_cv_sizeof_void_p=0 14852 fi 14853 fi 14854 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 14855 fi 14856 rm -f conftest.val 14857 fi 14858 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5 14859 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; } 14860 14861 14862 14863 cat >>confdefs.h <<_ACEOF 14864 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p 14865 _ACEOF 14866 14867 14868 14869 SIZEOF_LONG="${ac_cv_sizeof_long}" 14870 SIZEOF_LONG_LONG="${ac_cv_sizeof_long_long}" 14871 SIZEOF_VOID_P="${ac_cv_sizeof_void_p}" 14872 SIZEOF_INT="${ac_cv_sizeof_int}" 14873 14874 14875 14876 14877 14878 9275 14879 #-------------------------------------------------------------------- 9276 14880 # Set the default compiler switches based on the --enable-symbols … … 9346 14950 9347 14951 9348 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile lang/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/ ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/graph/Makefile examples/objects/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile test/Makefile test/src/Makefile"14952 ac_config_files="$ac_config_files Makefile packages/Makefile src/Makefile src/core/Makefile src/core2/Makefile src/objects/Makefile gui/Makefile gui/apps/Makefile gui/apps/about gui/apps/rappture gui/apps/rappture-csh.env gui/apps/rappture.env gui/apps/rerun gui/apps/simsim gui/apps/xmldiff gui/pkgIndex.tcl gui/scripts/Makefile lang/Makefile lang/perl/Makefile lang/perl/Makefile.PL lang/python/Makefile lang/python/setup.py lang/matlab/Makefile lang/octave/Makefile lang/octave/RpOctaveInterface.h lang/ruby/Makefile lang/ruby/build.rb lang/tcl/Makefile lang/tcl/pkgIndex.tcl lang/tcl/src/Makefile lang/tcl/scripts/Makefile lang/tcl/tests/Makefile lib/Makefile examples/3D/Makefile examples/Makefile examples/app-fermi/2.0/Makefile examples/app-fermi/Makefile examples/app-fermi/cee/Makefile examples/app-fermi/fortran/Makefile examples/app-fermi/matlab/Makefile examples/app-fermi/matlab/compiled/Makefile examples/app-fermi/matlab/uncompiled/Makefile examples/app-fermi/octave/Makefile examples/app-fermi/perl/Makefile examples/app-fermi/python/Makefile examples/app-fermi/ruby/Makefile examples/app-fermi/tcl/Makefile examples/app-fermi/wrapper/Makefile examples/app-fermi/wrapper/cee/Makefile examples/app-fermi/wrapper/python/Makefile examples/app-fermi/wrapper/tcl/Makefile examples/c-example/Makefile examples/canvas/Makefile examples/demo.bash examples/graph/Makefile examples/objects/Makefile examples/objects/dxWriter/Makefile examples/objects/floatBuffer/Makefile examples/zoo/Makefile examples/zoo/binary/Makefile examples/zoo/boolean/Makefile examples/zoo/choice/Makefile examples/zoo/cloud/Makefile examples/zoo/cloud/matlab/Makefile examples/zoo/curve/Makefile examples/zoo/enable/Makefile examples/zoo/field/Makefile examples/zoo/group/Makefile examples/zoo/image/Makefile examples/zoo/image/docs/Makefile examples/zoo/image/examples/Makefile examples/zoo/integer/Makefile examples/zoo/integer2/Makefile examples/zoo/loader/Makefile examples/zoo/loader/examples/Makefile examples/zoo/loadrun/Makefile examples/zoo/log/Makefile examples/zoo/note/Makefile examples/zoo/note/docs/Makefile examples/zoo/number/Makefile examples/zoo/number2/Makefile examples/zoo/phase/Makefile examples/zoo/sequence/Makefile examples/zoo/sequence/examples/Makefile examples/zoo/string/Makefile examples/zoo/structure/Makefile examples/zoo/structure/examples/Makefile examples/zoo/table/Makefile examples/zoo/unirect2d/Makefile test/Makefile test/src/Makefile" 9349 14953 9350 14954 cat >confcache <<\_ACEOF … … 9941 15545 "lang/matlab/Makefile") CONFIG_FILES="$CONFIG_FILES lang/matlab/Makefile" ;; 9942 15546 "lang/octave/Makefile") CONFIG_FILES="$CONFIG_FILES lang/octave/Makefile" ;; 15547 "lang/octave/RpOctaveInterface.h") CONFIG_FILES="$CONFIG_FILES lang/octave/RpOctaveInterface.h" ;; 9943 15548 "lang/ruby/Makefile") CONFIG_FILES="$CONFIG_FILES lang/ruby/Makefile" ;; 9944 15549 "lang/ruby/build.rb") CONFIG_FILES="$CONFIG_FILES lang/ruby/build.rb" ;; … … 10004 15609 "examples/zoo/structure/examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/structure/examples/Makefile" ;; 10005 15610 "examples/zoo/table/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/table/Makefile" ;; 15611 "examples/zoo/unirect2d/Makefile") CONFIG_FILES="$CONFIG_FILES examples/zoo/unirect2d/Makefile" ;; 10006 15612 "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;; 10007 15613 "test/src/Makefile") CONFIG_FILES="$CONFIG_FILES test/src/Makefile" ;; … … 10127 15733 EGREP!$EGREP$ac_delim 10128 15734 CXXCPP!$CXXCPP$ac_delim 15735 HAVE_INTTYPES_H!$HAVE_INTTYPES_H$ac_delim 10129 15736 AR!$AR$ac_delim 10130 15737 DL_LIBS!$DL_LIBS$ac_delim … … 10158 15765 MCC!$MCC$ac_delim 10159 15766 MEX_ARCH!$MEX_ARCH$ac_delim 15767 OCTAVE!$OCTAVE$ac_delim 10160 15768 MKOCTFILE!$MKOCTFILE$ac_delim 10161 PERL!$PERL$ac_delim 10162 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 10163 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim 10164 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim 15769 OCTAVE_VERSION!$OCTAVE_VERSION$ac_delim 15770 OCTAVE_VERSION_MAJOR!$OCTAVE_VERSION_MAJOR$ac_delim 10165 15771 _ACEOF 10166 15772 … … 10204 15810 for ac_last_try in false false false false false :; do 10205 15811 cat >conf$$subs.sed <<_ACEOF 15812 PERL!$PERL$ac_delim 15813 PERL_INCLUDES!$PERL_INCLUDES$ac_delim 15814 PERL_ARCHLIB!$PERL_ARCHLIB$ac_delim 15815 PERL_ARCHLIBEXP!$PERL_ARCHLIBEXP$ac_delim 10206 15816 PERL_VERSION!$PERL_VERSION$ac_delim 10207 15817 PERL_CCFLAGS!$PERL_CCFLAGS$ac_delim … … 10234 15844 TCL_VERSION!$TCL_VERSION$ac_delim 10235 15845 TK_VERSION!$TK_VERSION$ac_delim 15846 SIZEOF_INT!$SIZEOF_INT$ac_delim 15847 SIZEOF_LONG!$SIZEOF_LONG$ac_delim 15848 SIZEOF_LONG_LONG!$SIZEOF_LONG_LONG$ac_delim 15849 SIZEOF_VOID_P!$SIZEOF_VOID_P$ac_delim 10236 15850 CFLAGS_DEFAULT!$CFLAGS_DEFAULT$ac_delim 10237 15851 LDFLAGS_DEFAULT!$LDFLAGS_DEFAULT$ac_delim … … 10241 15855 _ACEOF 10242 15856 10243 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then15857 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 43; then 10244 15858 break 10245 15859 elif $ac_last_try; then -
trunk/configure.in
r1222 r1262 42 42 AC_LANG_CPLUSPLUS 43 43 44 AC_CHECK_LIB(m, main,,AC_MSG_ERROR(librappture requires libm)) 44 45 AC_CHECK_LIB(stdc++, main,,AC_MSG_ERROR(librappture requires libstdc++)) 46 AC_CHECK_HEADERS(algorithm,,AC_MSG_WARN(STL classes missing ?)) 47 AC_CHECK_HEADERS(cctype,,AC_MSG_WARN(STL classes missing ?)) 48 AC_CHECK_HEADERS(cfloat,,AC_MSG_WARN(STL classes missing ?)) 49 AC_CHECK_HEADERS(cmath,,AC_MSG_WARN(STL classes missing ?)) 50 AC_CHECK_HEADERS(cstdio,,AC_MSG_WARN(STL classes missing ?)) 51 AC_CHECK_HEADERS(cstdlib,,AC_MSG_WARN(STL classes missing ?)) 52 AC_CHECK_HEADERS(cstring,,AC_MSG_WARN(STL classes missing ?)) 53 AC_CHECK_HEADERS(fstream,,AC_MSG_WARN(STL classes missing ?)) 54 AC_CHECK_HEADERS(list,,AC_MSG_WARN(STL classes missing ?)) 55 AC_CHECK_HEADERS(iostream,,AC_MSG_WARN(STL classes missing ?)) 56 AC_CHECK_HEADERS(iterator,,AC_MSG_WARN(STL classes missing ?)) 57 AC_CHECK_HEADERS(sstream,,AC_MSG_WARN(STL classes missing ?)) 45 58 AC_CHECK_HEADERS(stack,,AC_MSG_WARN(STL classes missing ?)) 46 59 AC_CHECK_HEADERS(string,,AC_MSG_WARN(STL classes missing ?)) 47 AC_CHECK_HEADERS(list,,AC_MSG_WARN(STL classes missing ?))48 60 AC_CHECK_HEADERS(vector,,AC_MSG_WARN(STL classes missing ?)) 61 62 AC_CHECK_HEADERS(assert.h,,AC_MSG_WARN(C headers missing ?)) 63 AC_CHECK_HEADERS(ctype.h,,AC_MSG_WARN(C headers missing ?)) 64 AC_CHECK_HEADERS(errno.h,,AC_MSG_WARN(C headers missing ?)) 65 AC_CHECK_HEADERS(limits.h,,AC_MSG_WARN(C headers missing ?)) 66 AC_CHECK_HEADERS(string.h,,AC_MSG_WARN(C headers missing ?)) 67 AC_CHECK_HEADERS(stdlib.h,,AC_MSG_WARN(C headers missing ?)) 68 AC_CHECK_HEADERS(stddef.h,,AC_MSG_WARN(C headers missing ?)) 69 AC_CHECK_HEADERS(float.h,,AC_MSG_WARN(C headers missing ?)) 70 AC_CHECK_HEADERS(math.h,,AC_MSG_WARN(C headers missing ?)) 71 dnl AC_CHECK_HEADERS(ieeefp.h,,AC_MSG_WARN(C headers missing ?)) 72 AC_CHECK_HEADERS(malloc.h,,AC_MSG_WARN(C headers missing ?)) 73 AC_CHECK_HEADERS(memory.h,,AC_MSG_WARN(C headers missing ?)) 74 AC_CHECK_HEADERS(unistd.h,,AC_MSG_WARN(C headers missing ?)) 75 76 AC_CHECK_HEADERS(inttypes.h,,AC_MSG_WARN(C headers missing ?)) 77 if test "${ac_cv_header_inttypes_h}" = "yes" ; then 78 HAVE_INTTYPES_H=1 79 else 80 HAVE_INTTYPES_H=0 81 fi 82 AC_SUBST(HAVE_INTTYPES_H) 49 83 50 84 … … 160 194 [with_octave=yes]) 161 195 196 OCTAVE= 197 OCTAVE_VERSION= 198 OCTAVE_VERSION_MAJOR= 162 199 MKOCTFILE= 163 200 if test "$with_octave" != "no" ; then 201 AC_MSG_CHECKING([for octave and mkoctfile]) 164 202 if test "$with_octave" = "yes" ; then 203 AC_PATH_PROG(OCTAVE, octave) 165 204 AC_PATH_PROG(MKOCTFILE, mkoctfile) 166 205 else 206 AC_PATH_PROG(OCTAVE, octave, [$with_octave/bin:$with_octave]) 167 207 AC_PATH_PROG(MKOCTFILE, mkoctfile, 168 208 [${with_octave}/bin/mkoctfile:${with_octave}]) 169 209 fi 170 fi 210 if test "x${OCTAVE}" != "x" ; then 211 OCTAVE_VERSION=`${OCTAVE} -v | grep version | cut -d' ' -f4` 212 OCTAVE_VERSION_MAJOR=`echo ${OCTAVE_VERSION} | cut -d'.' -f1` 213 fi 214 fi 215 AC_SUBST(OCTAVE) 216 AC_SUBST(OCTAVE_VERSION) 217 AC_SUBST(OCTAVE_VERSION_MAJOR) 171 218 AC_SUBST(MKOCTFILE) 172 219 … … 395 442 AC_SUBST(TCL_VERSION) 396 443 AC_SUBST(TK_VERSION) 444 445 # ----------------------------------------------------------------------- 446 # 447 # Compiler characteristics: 448 # Check for existence of types of size_t and pid_t 449 # 450 # ----------------------------------------------------------------------- 451 452 AC_C_BIGENDIAN 453 AC_CHECK_SIZEOF(int) 454 AC_CHECK_SIZEOF(long) 455 AC_CHECK_SIZEOF(long long) 456 AC_CHECK_SIZEOF(void *) 457 458 SIZEOF_LONG="${ac_cv_sizeof_long}" 459 SIZEOF_LONG_LONG="${ac_cv_sizeof_long_long}" 460 SIZEOF_VOID_P="${ac_cv_sizeof_void_p}" 461 SIZEOF_INT="${ac_cv_sizeof_int}" 462 AC_SUBST(SIZEOF_INT) 463 AC_SUBST(SIZEOF_LONG) 464 AC_SUBST(SIZEOF_LONG_LONG) 465 AC_SUBST(SIZEOF_VOID_P) 466 397 467 398 468 #-------------------------------------------------------------------- … … 438 508 lang/matlab/Makefile 439 509 lang/octave/Makefile 510 lang/octave/RpOctaveInterface.h 440 511 lang/ruby/Makefile 441 512 lang/ruby/build.rb … … 501 572 examples/zoo/structure/examples/Makefile 502 573 examples/zoo/table/Makefile 574 examples/zoo/unirect2d/Makefile 503 575 test/Makefile 504 576 test/src/Makefile -
trunk/lang/octave/Makefile.in
r1101 r1262 1 1 2 2 bindir = @bindir@ 3 datadir 4 datarootdir 3 datadir = @datadir@ 4 datarootdir = @datarootdir@ 5 5 exec_prefix = @exec_prefix@ 6 6 includedir = @includedir@ … … 8 8 mandir = @mandir@ 9 9 prefix = @prefix@ 10 srcdir 10 srcdir = @srcdir@ 11 11 12 destdir 12 destdir = $(libdir)/octave 13 13 14 INSTALL 15 MKDIR_P 16 VPATH 17 RM 14 INSTALL = @INSTALL@ 15 MKDIR_P = @MKDIR_P@ 16 VPATH = $(srcdir) 17 RM = rm -f 18 18 19 19 OCT = @MKOCTFILE@ 20 INCLUDES = \ 20 INCLUDES = \ 21 -I. \ 21 22 -I$(srcdir)/../../src/core \ 22 -I$(prefix)/include 23 DEFINES =24 LIBS 25 OCT_FLAGS 23 -I$(prefix)/include 24 DEFINES = 25 LIBS = -L../../src/core -lrappture 26 OCT_FLAGS = $(INCLUDES) $(DEFINES) 26 27 27 octavedir 28 octavedir = $$RAPPTURE_INSTALL_DIR/lib/octave 28 29 29 OBJS 30 OBJS = \ 30 31 rpAddPresets.oct \ 31 32 rpUtilsProgress.oct \ … … 62 63 rpUnitsGetUnitsName.oct 63 64 64 all: $(OBJS) 65 all: $(OBJS) 65 66 66 67 .SUFFIXES: .cc .o .oct … … 70 71 71 72 .cc.o: 72 $(OCT) $(OCT_FLAGS) -c $< -o $@ 73 $(OCT) $(OCT_FLAGS) -c $< -o $@ 73 74 74 install: $(OBJS) 75 install: $(OBJS) 75 76 $(MKDIR_P) $(destdir) 76 77 for i in $(OBJS) ; do \ … … 78 79 done 79 80 80 clean: 81 $(RM) $(OBJS) 81 clean: 82 $(RM) $(OBJS) 82 83 83 84 distclean: clean -
trunk/lang/octave/RpOctaveInterface.cc
r1085 r1262 44 44 } 45 45 else { 46 print_usage("fopen");46 _PRINT_USAGE ("fopen"); 47 47 } 48 48 -
trunk/lang/octave/RpOctaveInterface.h.in
r1260 r1262 27 27 #endif 28 28 29 // octave versions before 3.0 used a version of the 30 // print_usage function that accepted a parameter 31 // telling the name of the function to print the 32 // usage of. octave 3.0 introduced a print_usage() 33 // function that automatically finds the name of 34 // the function it is being called from. 35 #define OCTAVE_VERSION_MAJOR @OCTAVE_VERSION_MAJOR@ 36 #if (OCTAVE_VERSION_MAJOR >= 3) 37 #define _PRINT_USAGE(x) print_usage() 38 #else 39 #define _PRINT_USAGE(x) print_usage(x) 40 #endif // (OCTAVE_VERSION_MAJOR >= 3) 41 29 42 #endif // _Rp_OCTAVE_HELPER_H -
trunk/lang/octave/rpAddPresets.cc
r122 r1262 60 60 } 61 61 else { 62 print_usage("rpAddPresets");62 _PRINT_USAGE ("rpAddPresets"); 63 63 } 64 64 -
trunk/lang/octave/rpLib.cc
r1085 r1262 54 54 } 55 55 else { 56 print_usage("rpLib");56 _PRINT_USAGE ("rpLib"); 57 57 } 58 58 -
trunk/lang/octave/rpLibChildren.cc
r1085 r1262 81 81 } 82 82 else { 83 print_usage(who.c_str());83 _PRINT_USAGE (who.c_str()); 84 84 } 85 85 } 86 86 else { 87 print_usage(who.c_str());87 _PRINT_USAGE (who.c_str()); 88 88 } 89 89 -
trunk/lang/octave/rpLibChildrenByType.cc
r1085 r1262 86 86 } 87 87 else { 88 print_usage(who.c_str());88 _PRINT_USAGE (who.c_str()); 89 89 } 90 90 } 91 91 else { 92 print_usage(who.c_str());92 _PRINT_USAGE (who.c_str()); 93 93 } 94 94 -
trunk/lang/octave/rpLibElement.cc
r1085 r1262 72 72 } 73 73 else { 74 print_usage(who.c_str());74 _PRINT_USAGE (who.c_str()); 75 75 } 76 76 } 77 77 else { 78 print_usage(who.c_str());78 _PRINT_USAGE (who.c_str()); 79 79 } 80 80 } 81 81 else { 82 print_usage(who.c_str());82 _PRINT_USAGE (who.c_str()); 83 83 } 84 84 -
trunk/lang/octave/rpLibElementAsComp.cc
r1085 r1262 77 77 } 78 78 else { 79 print_usage(who.c_str());79 _PRINT_USAGE (who.c_str()); 80 80 } 81 81 } 82 82 else { 83 print_usage(who.c_str());83 _PRINT_USAGE (who.c_str()); 84 84 } 85 85 } 86 86 else { 87 print_usage(who.c_str());87 _PRINT_USAGE (who.c_str()); 88 88 } 89 89 -
trunk/lang/octave/rpLibElementAsId.cc
r1085 r1262 76 76 } 77 77 else { 78 print_usage(who.c_str());78 _PRINT_USAGE (who.c_str()); 79 79 } 80 80 } 81 81 else { 82 print_usage(who.c_str());82 _PRINT_USAGE (who.c_str()); 83 83 } 84 84 } 85 85 else { 86 print_usage(who.c_str());86 _PRINT_USAGE (who.c_str()); 87 87 } 88 88 -
trunk/lang/octave/rpLibElementAsObject.cc
r1085 r1262 72 72 } 73 73 else { 74 print_usage(who.c_str());74 _PRINT_USAGE (who.c_str()); 75 75 } 76 76 } 77 77 else { 78 print_usage(who.c_str());78 _PRINT_USAGE (who.c_str()); 79 79 } 80 80 } 81 81 else { 82 print_usage(who.c_str());82 _PRINT_USAGE (who.c_str()); 83 83 } 84 84 -
trunk/lang/octave/rpLibElementAsType.cc
r1085 r1262 76 76 } 77 77 else { 78 print_usage(who.c_str());78 _PRINT_USAGE (who.c_str()); 79 79 } 80 80 } 81 81 else { 82 print_usage(who.c_str());82 _PRINT_USAGE (who.c_str()); 83 83 } 84 84 } 85 85 else { 86 print_usage(who.c_str());86 _PRINT_USAGE (who.c_str()); 87 87 } 88 88 -
trunk/lang/octave/rpLibGet.cc
r1085 r1262 71 71 else { 72 72 // invalid libHandle 73 print_usage(who.c_str());73 _PRINT_USAGE (who.c_str()); 74 74 } 75 75 } 76 76 else { 77 77 // wrong arg types 78 print_usage(who.c_str());78 _PRINT_USAGE (who.c_str()); 79 79 } 80 80 } 81 81 else { 82 82 // wrong number of args. 83 print_usage(who.c_str());83 _PRINT_USAGE (who.c_str()); 84 84 } 85 85 -
trunk/lang/octave/rpLibGetDouble.cc
r1085 r1262 71 71 else { 72 72 // invalid libHandle 73 print_usage(who.c_str());73 _PRINT_USAGE (who.c_str()); 74 74 } 75 75 } 76 76 else { 77 77 // wrong arg types 78 print_usage(who.c_str());78 _PRINT_USAGE (who.c_str()); 79 79 } 80 80 } 81 81 else { 82 82 // wrong number of args. 83 print_usage(who.c_str());83 _PRINT_USAGE (who.c_str()); 84 84 } 85 85 -
trunk/lang/octave/rpLibGetString.cc
r1085 r1262 71 71 else { 72 72 // invalid libHandle 73 print_usage(who.c_str());73 _PRINT_USAGE (who.c_str()); 74 74 } 75 75 } 76 76 else { 77 77 // wrong arg types 78 print_usage(who.c_str());78 _PRINT_USAGE (who.c_str()); 79 79 } 80 80 } 81 81 else { 82 82 // wrong number of args. 83 print_usage(who.c_str());83 _PRINT_USAGE (who.c_str()); 84 84 } 85 85 -
trunk/lang/octave/rpLibNodeComp.cc
r1085 r1262 66 66 else { 67 67 // libHandle is negative 68 print_usage(who.c_str());68 _PRINT_USAGE (who.c_str()); 69 69 } 70 70 } 71 71 else { 72 72 // wrong argument types 73 print_usage(who.c_str());73 _PRINT_USAGE (who.c_str()); 74 74 } 75 75 } 76 76 else { 77 77 // wrong number of arguments 78 print_usage(who.c_str());78 _PRINT_USAGE (who.c_str()); 79 79 } 80 80 -
trunk/lang/octave/rpLibNodeId.cc
r1085 r1262 61 61 else { 62 62 // libHandle is negative 63 print_usage(who.c_str());63 _PRINT_USAGE (who.c_str()); 64 64 } 65 65 } 66 66 else { 67 67 // wrong argument types 68 print_usage(who.c_str());68 _PRINT_USAGE (who.c_str()); 69 69 } 70 70 } 71 71 else { 72 72 // wrong number of arguments 73 print_usage(who.c_str());73 _PRINT_USAGE (who.c_str()); 74 74 } 75 75 -
trunk/lang/octave/rpLibNodeType.cc
r1085 r1262 61 61 else { 62 62 // libHandle is negative 63 print_usage(who.c_str());63 _PRINT_USAGE (who.c_str()); 64 64 } 65 65 } 66 66 else { 67 67 // wrong argument types 68 print_usage(who.c_str());68 _PRINT_USAGE (who.c_str()); 69 69 } 70 70 } 71 71 else { 72 72 // wrong number of arguments 73 print_usage(who.c_str());73 _PRINT_USAGE (who.c_str()); 74 74 } 75 75 -
trunk/lang/octave/rpLibPut.cc
r1085 r1262 87 87 else { 88 88 // libHandle is negative 89 print_usage(who.c_str());89 _PRINT_USAGE (who.c_str()); 90 90 } 91 91 } 92 92 else { 93 93 // wrong argument types 94 print_usage(who.c_str());94 _PRINT_USAGE (who.c_str()); 95 95 } 96 96 } 97 97 else { 98 98 // wrong number of arguments 99 print_usage(who.c_str());99 _PRINT_USAGE (who.c_str()); 100 100 } 101 101 -
trunk/lang/octave/rpLibPutData.cc
r1085 r1262 100 100 else { 101 101 // libHandle is negative 102 print_usage(who.c_str());102 _PRINT_USAGE (who.c_str()); 103 103 } 104 104 } 105 105 else { 106 106 // wrong argument types 107 print_usage(who.c_str());107 _PRINT_USAGE (who.c_str()); 108 108 } 109 109 } 110 110 else { 111 111 // wrong number of arguments 112 print_usage(who.c_str());112 _PRINT_USAGE (who.c_str()); 113 113 } 114 114 -
trunk/lang/octave/rpLibPutDouble.cc
r1085 r1262 85 85 else { 86 86 // libHandle is negative 87 print_usage(who.c_str());87 _PRINT_USAGE (who.c_str()); 88 88 } 89 89 } 90 90 else { 91 91 // wrong argument types 92 print_usage(who.c_str());92 _PRINT_USAGE (who.c_str()); 93 93 } 94 94 } 95 95 else { 96 96 // wrong number of arguments 97 print_usage(who.c_str());97 _PRINT_USAGE (who.c_str()); 98 98 } 99 99 -
trunk/lang/octave/rpLibPutFile.cc
r1085 r1262 93 93 else { 94 94 // libHandle is negative 95 print_usage(who.c_str());95 _PRINT_USAGE (who.c_str()); 96 96 } 97 97 } 98 98 else { 99 99 // wrong argument types 100 print_usage(who.c_str());100 _PRINT_USAGE (who.c_str()); 101 101 } 102 102 } 103 103 else { 104 104 // wrong number of arguments 105 print_usage(who.c_str());105 _PRINT_USAGE (who.c_str()); 106 106 } 107 107 -
trunk/lang/octave/rpLibPutString.cc
r1085 r1262 86 86 else { 87 87 // libHandle is negative 88 print_usage(who.c_str());88 _PRINT_USAGE (who.c_str()); 89 89 } 90 90 } 91 91 else { 92 92 // wrong argument types 93 print_usage(who.c_str());93 _PRINT_USAGE (who.c_str()); 94 94 } 95 95 } 96 96 else { 97 97 // wrong number of arguments 98 print_usage(who.c_str());98 _PRINT_USAGE (who.c_str()); 99 99 } 100 100 -
trunk/lang/octave/rpLibResult.cc
r1085 r1262 45 45 if ((nargin < 1) || (nargin > 2)) { 46 46 // wrong number of arguments 47 print_usage("rpLibResult");47 _PRINT_USAGE ("rpLibResult"); 48 48 goto done; 49 49 } … … 51 51 if (! args(0).is_real_scalar()) { 52 52 // wrong argument type 53 print_usage("rpLibResult");53 _PRINT_USAGE ("rpLibResult"); 54 54 goto done; 55 55 } … … 60 60 if (! args(1).is_real_scalar()) { 61 61 // wrong argument type 62 print_usage("rpLibResult");62 _PRINT_USAGE ("rpLibResult"); 63 63 goto done; 64 64 } -
trunk/lang/octave/rpLibXml.cc
r1085 r1262 60 60 } 61 61 else { 62 print_usage(who.c_str());62 _PRINT_USAGE (who.c_str()); 63 63 } 64 64 -
trunk/lang/octave/rpUnitsConvert.cc
r135 r1262 67 67 } 68 68 else { 69 print_usage(who.c_str());69 _PRINT_USAGE (who.c_str()); 70 70 } 71 71 } 72 72 else { 73 print_usage(who.c_str());73 _PRINT_USAGE (who.c_str()); 74 74 } 75 75 } 76 76 else { 77 print_usage(who.c_str());77 _PRINT_USAGE (who.c_str()); 78 78 } 79 79 -
trunk/lang/octave/rpUnitsConvertDbl.cc
r135 r1262 67 67 } 68 68 else { 69 print_usage(who.c_str());69 _PRINT_USAGE (who.c_str()); 70 70 } 71 71 } 72 72 else { 73 print_usage(who.c_str());73 _PRINT_USAGE (who.c_str()); 74 74 } 75 75 } 76 76 else { 77 print_usage(who.c_str());77 _PRINT_USAGE (who.c_str()); 78 78 } 79 79 -
trunk/lang/octave/rpUnitsConvertObjDbl.cc
r135 r1262 74 74 } 75 75 else { 76 print_usage(who.c_str());76 _PRINT_USAGE (who.c_str()); 77 77 } 78 78 } 79 79 else { 80 print_usage(who.c_str());80 _PRINT_USAGE (who.c_str()); 81 81 } 82 82 } 83 83 else { 84 print_usage(who.c_str());84 _PRINT_USAGE (who.c_str()); 85 85 } 86 86 -
trunk/lang/octave/rpUnitsConvertObjStr.cc
r1103 r1262 71 71 } 72 72 } else { 73 print_usage(who.c_str());73 _PRINT_USAGE(who.c_str()); 74 74 } 75 75 } else { 76 print_usage(who.c_str());76 _PRINT_USAGE(who.c_str()); 77 77 } 78 78 } else { 79 print_usage(who.c_str());79 _PRINT_USAGE(who.c_str()); 80 80 } 81 81 retval(0) = outVal; -
trunk/lang/octave/rpUnitsConvertStr.cc
r135 r1262 67 67 } 68 68 else { 69 print_usage(who.c_str());69 _PRINT_USAGE (who.c_str()); 70 70 } 71 71 } 72 72 else { 73 print_usage(who.c_str());73 _PRINT_USAGE (who.c_str()); 74 74 } 75 75 } 76 76 else { 77 print_usage(who.c_str());77 _PRINT_USAGE (who.c_str()); 78 78 } 79 79 -
trunk/lang/octave/rpUnitsDefineUnit.cc
r135 r1262 84 84 } 85 85 else { 86 print_usage(who.c_str());86 _PRINT_USAGE (who.c_str()); 87 87 } 88 88 } 89 89 else { 90 print_usage(who.c_str());90 _PRINT_USAGE (who.c_str()); 91 91 } 92 92 } 93 93 else { 94 print_usage(who.c_str());94 _PRINT_USAGE (who.c_str()); 95 95 } 96 96 -
trunk/lang/octave/rpUnitsFind.cc
r135 r1262 72 72 } 73 73 else { 74 print_usage(who.c_str());74 _PRINT_USAGE (who.c_str()); 75 75 } 76 76 } 77 77 else { 78 print_usage(who.c_str());78 _PRINT_USAGE (who.c_str()); 79 79 } 80 80 } 81 81 else { 82 print_usage(who.c_str());82 _PRINT_USAGE (who.c_str()); 83 83 } 84 84 -
trunk/lang/octave/rpUnitsGetBasis.cc
r165 r1262 86 86 else { 87 87 // invalid unitHandle 88 print_usage(who.c_str());88 _PRINT_USAGE (who.c_str()); 89 89 } 90 90 } 91 91 else { 92 print_usage(who.c_str());92 _PRINT_USAGE (who.c_str()); 93 93 } 94 94 } 95 95 else { 96 print_usage(who.c_str());96 _PRINT_USAGE (who.c_str()); 97 97 } 98 98 -
trunk/lang/octave/rpUnitsGetExponent.cc
r135 r1262 62 62 else { 63 63 // invalid unitHandle 64 print_usage(who.c_str());64 _PRINT_USAGE (who.c_str()); 65 65 } 66 66 } 67 67 else { 68 print_usage(who.c_str());68 _PRINT_USAGE (who.c_str()); 69 69 } 70 70 } 71 71 else { 72 print_usage(who.c_str());72 _PRINT_USAGE (who.c_str()); 73 73 } 74 74 -
trunk/lang/octave/rpUnitsGetUnits.cc
r135 r1262 66 66 else { 67 67 // invalid unitHandle 68 print_usage(who.c_str());68 _PRINT_USAGE (who.c_str()); 69 69 } 70 70 } 71 71 else { 72 print_usage(who.c_str());72 _PRINT_USAGE (who.c_str()); 73 73 } 74 74 } 75 75 else { 76 print_usage(who.c_str());76 _PRINT_USAGE (who.c_str()); 77 77 } 78 78 -
trunk/lang/octave/rpUnitsGetUnitsName.cc
r135 r1262 64 64 else { 65 65 // invalid unitHandle 66 print_usage(who.c_str());66 _PRINT_USAGE (who.c_str()); 67 67 } 68 68 } 69 69 else { 70 print_usage(who.c_str());70 _PRINT_USAGE (who.c_str()); 71 71 } 72 72 } 73 73 else { 74 print_usage(who.c_str());74 _PRINT_USAGE (who.c_str()); 75 75 } 76 76 -
trunk/lang/octave/rpUnitsMakeMetric.cc
r135 r1262 67 67 else { 68 68 // invalid unitHandle 69 print_usage(who.c_str());69 _PRINT_USAGE (who.c_str()); 70 70 } 71 71 } 72 72 else { 73 print_usage(who.c_str());73 _PRINT_USAGE (who.c_str()); 74 74 } 75 75 } 76 76 else { 77 print_usage(who.c_str());77 _PRINT_USAGE (who.c_str()); 78 78 } 79 79 -
trunk/lang/octave/rpUtilsProgress.cc
r665 r1262 52 52 else { 53 53 // wrong argument types 54 print_usage(who.c_str());54 _PRINT_USAGE (who.c_str()); 55 55 } 56 56 } 57 57 else { 58 58 // wrong number of arguments 59 print_usage(who.c_str());59 _PRINT_USAGE (who.c_str()); 60 60 } 61 61
Note: See TracChangeset
for help on using the changeset viewer.