Mercurial > flash_v2
comparison host/libcdl/configure @ 283:f58bc1b2c2bc
Reorganization of the host-side autoconfiscation support, and a couple
of minor bug fixes. The main goal is to support per-package host-side
software in addition to the generic host-side tools. For example, the
synthetic target HAL and device driver packages can now have host
subdirectories with support code.
| author | bartv |
|---|---|
| date | Sun, 11 Aug 2002 21:40:50 +0000 |
| parents | 511f4dc167f6 |
| children | c0ffaecb376e |
comparison
equal
deleted
inserted
replaced
| 282:a29ee6c2dd3c | 283:f58bc1b2c2bc |
|---|---|
| 13 # Any additions from configure.in: | 13 # Any additions from configure.in: |
| 14 ac_help="$ac_help | 14 ac_help="$ac_help |
| 15 --enable-maintainer-mode enable make rules and dependencies not useful | 15 --enable-maintainer-mode enable make rules and dependencies not useful |
| 16 (and sometimes confusing) to the casual installer" | 16 (and sometimes confusing) to the casual installer" |
| 17 ac_help="$ac_help | 17 ac_help="$ac_help |
| 18 --enable-debug do a debug rather than a release build" | 18 --enable-debug do a debug rather than a release build" |
| 19 ac_help="$ac_help | 19 ac_help="$ac_help |
| 20 --enable-ansi Do an ANSI rather than a unicode build" | 20 --enable-ansi do an ANSI rather than a unicode build" |
| 21 ac_help="$ac_help | 21 ac_help="$ac_help |
| 22 --disable-asserts disable all assertions" | 22 --disable-asserts disable all assertions" |
| 23 ac_help="$ac_help | 23 ac_help="$ac_help |
| 24 --disable-preconditions disable a subset of the assertions" | 24 --disable-preconditions disable a subset of the assertions" |
| 25 ac_help="$ac_help | 25 ac_help="$ac_help |
| 31 ac_help="$ac_help | 31 ac_help="$ac_help |
| 32 --disable-tracing disable tracing" | 32 --disable-tracing disable tracing" |
| 33 ac_help="$ac_help | 33 ac_help="$ac_help |
| 34 --disable-fntracing disable function entry/exit tracing" | 34 --disable-fntracing disable function entry/exit tracing" |
| 35 ac_help="$ac_help | 35 ac_help="$ac_help |
| 36 --with-infra-header=<path> location of eCos infrastructure headers" | |
| 37 ac_help="$ac_help | |
| 38 --with-infra-lib=<path> location of eCos infrastructure library" | |
| 39 ac_help="$ac_help | |
| 40 --with-infra=<path> location of eCos infrastructure installation" | |
| 41 ac_help="$ac_help | |
| 36 --with-tcl-version=<vsn> version of Tcl to be used" | 42 --with-tcl-version=<vsn> version of Tcl to be used" |
| 37 ac_help="$ac_help | 43 ac_help="$ac_help |
| 38 --with-tcl-header=<path> location of Tcl header" | 44 --with-tcl-header=<path> location of Tcl header" |
| 39 ac_help="$ac_help | 45 ac_help="$ac_help |
| 40 --with-tcl-lib=<path> location of Tcl libraries" | 46 --with-tcl-lib=<path> location of Tcl libraries" |
| 41 ac_help="$ac_help | 47 ac_help="$ac_help |
| 42 --with-tcl=<path> location of Tcl header and libraries" | 48 --with-tcl=<path> location of Tcl header and libraries" |
| 43 ac_help="$ac_help | |
| 44 --with-infra=dir location of the infrastructure build tree" | |
| 45 | 49 |
| 46 # Initialize some variables set by options. | 50 # Initialize some variables set by options. |
| 47 # The variables have the same names as the options, with | 51 # The variables have the same names as the options, with |
| 48 # dashes changed to underlines. | 52 # dashes changed to underlines. |
| 49 build=NONE | 53 build=NONE |
| 552 fi | 556 fi |
| 553 | 557 |
| 554 | 558 |
| 555 | 559 |
| 556 ac_aux_dir= | 560 ac_aux_dir= |
| 557 for ac_dir in .. $srcdir/..; do | 561 for ac_dir in ../../acsupport $srcdir/../../acsupport; do |
| 558 if test -f $ac_dir/install-sh; then | 562 if test -f $ac_dir/install-sh; then |
| 559 ac_aux_dir=$ac_dir | 563 ac_aux_dir=$ac_dir |
| 560 ac_install_sh="$ac_aux_dir/install-sh -c" | 564 ac_install_sh="$ac_aux_dir/install-sh -c" |
| 561 break | 565 break |
| 562 elif test -f $ac_dir/install.sh; then | 566 elif test -f $ac_dir/install.sh; then |
| 564 ac_install_sh="$ac_aux_dir/install.sh -c" | 568 ac_install_sh="$ac_aux_dir/install.sh -c" |
| 565 break | 569 break |
| 566 fi | 570 fi |
| 567 done | 571 done |
| 568 if test -z "$ac_aux_dir"; then | 572 if test -z "$ac_aux_dir"; then |
| 569 { echo "configure: error: can not find install-sh or install.sh in .. $srcdir/.." 1>&2; exit 1; } | 573 { echo "configure: error: can not find install-sh or install.sh in ../../acsupport $srcdir/../../acsupport" 1>&2; exit 1; } |
| 570 fi | 574 fi |
| 571 ac_config_guess=$ac_aux_dir/config.guess | 575 ac_config_guess=$ac_aux_dir/config.guess |
| 572 ac_config_sub=$ac_aux_dir/config.sub | 576 ac_config_sub=$ac_aux_dir/config.sub |
| 573 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. | 577 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
| 574 | 578 |
| 575 | 579 |
| 576 | 580 |
| 581 echo $ac_n "checking that a separate build tree is being used""... $ac_c" 1>&6 | |
| 582 echo "configure:583: checking that a separate build tree is being used" >&5 | |
| 583 ecos_cwd=`/bin/pwd` | |
| 584 if test "${srcdir}" = "." ; then | |
| 585 srcdir=${ecos_cwd} | |
| 586 fi | |
| 587 if test "${ecos_cwd}" = "${srcdir}" ; then | |
| 588 echo "$ac_t""no" 1>&6 | |
| 589 { echo "configure: error: This configure script should not be run inside the source tree. Instead please use a separate build tree" 1>&2; exit 1; } | |
| 590 else | |
| 591 echo "$ac_t""yes" 1>&6 | |
| 592 fi | |
| 593 | |
| 594 | |
| 577 # Make sure we can run config.sub. | 595 # Make sure we can run config.sub. |
| 578 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | 596 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
| 579 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 597 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
| 580 fi | 598 fi |
| 581 | 599 |
| 582 echo $ac_n "checking host system type""... $ac_c" 1>&6 | 600 echo $ac_n "checking host system type""... $ac_c" 1>&6 |
| 583 echo "configure:584: checking host system type" >&5 | 601 echo "configure:602: checking host system type" >&5 |
| 584 | 602 |
| 585 host_alias=$host | 603 host_alias=$host |
| 586 case "$host_alias" in | 604 case "$host_alias" in |
| 587 NONE) | 605 NONE) |
| 588 case $nonopt in | 606 case $nonopt in |
| 597 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` | 615 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` |
| 598 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` | 616 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
| 599 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` | 617 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
| 600 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` | 618 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
| 601 echo "$ac_t""$host" 1>&6 | 619 echo "$ac_t""$host" 1>&6 |
| 602 | |
| 603 | 620 |
| 604 # Find a good install program. We prefer a C program (faster), | 621 # Find a good install program. We prefer a C program (faster), |
| 605 # so one script is as good as another. But avoid the broken or | 622 # so one script is as good as another. But avoid the broken or |
| 606 # incompatible versions: | 623 # incompatible versions: |
| 607 # SysV /etc/install, /usr/sbin/install | 624 # SysV /etc/install, /usr/sbin/install |
| 611 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 628 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 612 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 629 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 613 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 630 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 614 # ./install, which can be erroneously created by make from ./install.sh. | 631 # ./install, which can be erroneously created by make from ./install.sh. |
| 615 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 632 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 616 echo "configure:617: checking for a BSD compatible install" >&5 | 633 echo "configure:634: checking for a BSD compatible install" >&5 |
| 617 if test -z "$INSTALL"; then | 634 if test -z "$INSTALL"; then |
| 618 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 635 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| 619 echo $ac_n "(cached) $ac_c" 1>&6 | 636 echo $ac_n "(cached) $ac_c" 1>&6 |
| 620 else | 637 else |
| 621 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 638 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 664 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 681 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
| 665 | 682 |
| 666 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 683 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 667 | 684 |
| 668 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 685 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
| 669 echo "configure:670: checking whether build environment is sane" >&5 | 686 echo "configure:687: checking whether build environment is sane" >&5 |
| 670 # Just in case | 687 # Just in case |
| 671 sleep 1 | 688 sleep 1 |
| 672 echo timestamp > conftestfile | 689 echo timestamp > conftestfile |
| 673 # Do `set' in a subshell so we don't clobber the current shell's | 690 # Do `set' in a subshell so we don't clobber the current shell's |
| 674 # arguments. Must try -L first in case configure is actually a | 691 # arguments. Must try -L first in case configure is actually a |
| 721 | 738 |
| 722 # sed with no file args requires a program. | 739 # sed with no file args requires a program. |
| 723 test "$program_transform_name" = "" && program_transform_name="s,x,x," | 740 test "$program_transform_name" = "" && program_transform_name="s,x,x," |
| 724 | 741 |
| 725 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 742 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 726 echo "configure:727: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 743 echo "configure:744: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 727 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 744 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 728 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 745 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 729 echo $ac_n "(cached) $ac_c" 1>&6 | 746 echo $ac_n "(cached) $ac_c" 1>&6 |
| 730 else | 747 else |
| 731 cat > conftestmake <<\EOF | 748 cat > conftestmake <<\EOF |
| 767 | 784 |
| 768 | 785 |
| 769 | 786 |
| 770 missing_dir=`cd $ac_aux_dir && pwd` | 787 missing_dir=`cd $ac_aux_dir && pwd` |
| 771 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 788 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
| 772 echo "configure:773: checking for working aclocal" >&5 | 789 echo "configure:790: checking for working aclocal" >&5 |
| 773 # Run test in a subshell; some versions of sh will print an error if | 790 # Run test in a subshell; some versions of sh will print an error if |
| 774 # an executable is not found, even if stderr is redirected. | 791 # an executable is not found, even if stderr is redirected. |
| 775 # Redirect stdin to placate older versions of autoconf. Sigh. | 792 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 776 if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 793 if (aclocal --version) < /dev/null > /dev/null 2>&1; then |
| 777 ACLOCAL=aclocal | 794 ACLOCAL=aclocal |
| 780 ACLOCAL="$missing_dir/missing aclocal" | 797 ACLOCAL="$missing_dir/missing aclocal" |
| 781 echo "$ac_t""missing" 1>&6 | 798 echo "$ac_t""missing" 1>&6 |
| 782 fi | 799 fi |
| 783 | 800 |
| 784 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 801 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
| 785 echo "configure:786: checking for working autoconf" >&5 | 802 echo "configure:803: checking for working autoconf" >&5 |
| 786 # Run test in a subshell; some versions of sh will print an error if | 803 # Run test in a subshell; some versions of sh will print an error if |
| 787 # an executable is not found, even if stderr is redirected. | 804 # an executable is not found, even if stderr is redirected. |
| 788 # Redirect stdin to placate older versions of autoconf. Sigh. | 805 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 789 if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 806 if (autoconf --version) < /dev/null > /dev/null 2>&1; then |
| 790 AUTOCONF=autoconf | 807 AUTOCONF=autoconf |
| 793 AUTOCONF="$missing_dir/missing autoconf" | 810 AUTOCONF="$missing_dir/missing autoconf" |
| 794 echo "$ac_t""missing" 1>&6 | 811 echo "$ac_t""missing" 1>&6 |
| 795 fi | 812 fi |
| 796 | 813 |
| 797 echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 814 echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
| 798 echo "configure:799: checking for working automake" >&5 | 815 echo "configure:816: checking for working automake" >&5 |
| 799 # Run test in a subshell; some versions of sh will print an error if | 816 # Run test in a subshell; some versions of sh will print an error if |
| 800 # an executable is not found, even if stderr is redirected. | 817 # an executable is not found, even if stderr is redirected. |
| 801 # Redirect stdin to placate older versions of autoconf. Sigh. | 818 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 802 if (automake --version) < /dev/null > /dev/null 2>&1; then | 819 if (automake --version) < /dev/null > /dev/null 2>&1; then |
| 803 AUTOMAKE=automake | 820 AUTOMAKE=automake |
| 806 AUTOMAKE="$missing_dir/missing automake" | 823 AUTOMAKE="$missing_dir/missing automake" |
| 807 echo "$ac_t""missing" 1>&6 | 824 echo "$ac_t""missing" 1>&6 |
| 808 fi | 825 fi |
| 809 | 826 |
| 810 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 827 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
| 811 echo "configure:812: checking for working autoheader" >&5 | 828 echo "configure:829: checking for working autoheader" >&5 |
| 812 # Run test in a subshell; some versions of sh will print an error if | 829 # Run test in a subshell; some versions of sh will print an error if |
| 813 # an executable is not found, even if stderr is redirected. | 830 # an executable is not found, even if stderr is redirected. |
| 814 # Redirect stdin to placate older versions of autoconf. Sigh. | 831 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 815 if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 832 if (autoheader --version) < /dev/null > /dev/null 2>&1; then |
| 816 AUTOHEADER=autoheader | 833 AUTOHEADER=autoheader |
| 819 AUTOHEADER="$missing_dir/missing autoheader" | 836 AUTOHEADER="$missing_dir/missing autoheader" |
| 820 echo "$ac_t""missing" 1>&6 | 837 echo "$ac_t""missing" 1>&6 |
| 821 fi | 838 fi |
| 822 | 839 |
| 823 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 840 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
| 824 echo "configure:825: checking for working makeinfo" >&5 | 841 echo "configure:842: checking for working makeinfo" >&5 |
| 825 # Run test in a subshell; some versions of sh will print an error if | 842 # Run test in a subshell; some versions of sh will print an error if |
| 826 # an executable is not found, even if stderr is redirected. | 843 # an executable is not found, even if stderr is redirected. |
| 827 # Redirect stdin to placate older versions of autoconf. Sigh. | 844 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 828 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 845 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then |
| 829 MAKEINFO=makeinfo | 846 MAKEINFO=makeinfo |
| 841 #define CYGNUM_LIBCDL_VERSION "$VERSION" | 858 #define CYGNUM_LIBCDL_VERSION "$VERSION" |
| 842 EOF | 859 EOF |
| 843 | 860 |
| 844 | 861 |
| 845 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | 862 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 |
| 846 echo "configure:847: checking whether to enable maintainer-specific portions of Makefiles" >&5 | 863 echo "configure:864: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 847 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | 864 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
| 848 if test "${enable_maintainer_mode+set}" = set; then | 865 if test "${enable_maintainer_mode+set}" = set; then |
| 849 enableval="$enable_maintainer_mode" | 866 enableval="$enable_maintainer_mode" |
| 850 USE_MAINTAINER_MODE=$enableval | 867 USE_MAINTAINER_MODE=$enableval |
| 851 else | 868 else |
| 864 fi | 881 fi |
| 865 MAINT=$MAINTAINER_MODE_TRUE | 882 MAINT=$MAINTAINER_MODE_TRUE |
| 866 | 883 |
| 867 | 884 |
| 868 | 885 |
| 869 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | |
| 870 echo "configure:871: checking whether ${MAKE-make} sets \${MAKE}" >&5 | |
| 871 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | |
| 872 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | |
| 873 echo $ac_n "(cached) $ac_c" 1>&6 | |
| 874 else | |
| 875 cat > conftestmake <<\EOF | |
| 876 all: | |
| 877 @echo 'ac_maketemp="${MAKE}"' | |
| 878 EOF | |
| 879 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. | |
| 880 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` | |
| 881 if test -n "$ac_maketemp"; then | |
| 882 eval ac_cv_prog_make_${ac_make}_set=yes | |
| 883 else | |
| 884 eval ac_cv_prog_make_${ac_make}_set=no | |
| 885 fi | |
| 886 rm -f conftestmake | |
| 887 fi | |
| 888 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then | |
| 889 echo "$ac_t""yes" 1>&6 | |
| 890 SET_MAKE= | |
| 891 else | |
| 892 echo "$ac_t""no" 1>&6 | |
| 893 SET_MAKE="MAKE=${MAKE-make}" | |
| 894 fi | |
| 895 | |
| 896 # Extract the first word of "gcc", so it can be a program name with args. | 886 # Extract the first word of "gcc", so it can be a program name with args. |
| 897 set dummy gcc; ac_word=$2 | 887 set dummy gcc; ac_word=$2 |
| 898 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 888 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 899 echo "configure:900: checking for $ac_word" >&5 | 889 echo "configure:890: checking for $ac_word" >&5 |
| 900 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 890 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 901 echo $ac_n "(cached) $ac_c" 1>&6 | 891 echo $ac_n "(cached) $ac_c" 1>&6 |
| 902 else | 892 else |
| 903 if test -n "$CC"; then | 893 if test -n "$CC"; then |
| 904 ac_cv_prog_CC="$CC" # Let the user override the test. | 894 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 924 | 914 |
| 925 if test -z "$CC"; then | 915 if test -z "$CC"; then |
| 926 # Extract the first word of "cc", so it can be a program name with args. | 916 # Extract the first word of "cc", so it can be a program name with args. |
| 927 set dummy cc; ac_word=$2 | 917 set dummy cc; ac_word=$2 |
| 928 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 918 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 929 echo "configure:930: checking for $ac_word" >&5 | 919 echo "configure:920: checking for $ac_word" >&5 |
| 930 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 920 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 931 echo $ac_n "(cached) $ac_c" 1>&6 | 921 echo $ac_n "(cached) $ac_c" 1>&6 |
| 932 else | 922 else |
| 933 if test -n "$CC"; then | 923 if test -n "$CC"; then |
| 934 ac_cv_prog_CC="$CC" # Let the user override the test. | 924 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 975 case "`uname -s`" in | 965 case "`uname -s`" in |
| 976 *win32* | *WIN32*) | 966 *win32* | *WIN32*) |
| 977 # Extract the first word of "cl", so it can be a program name with args. | 967 # Extract the first word of "cl", so it can be a program name with args. |
| 978 set dummy cl; ac_word=$2 | 968 set dummy cl; ac_word=$2 |
| 979 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 969 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 980 echo "configure:981: checking for $ac_word" >&5 | 970 echo "configure:971: checking for $ac_word" >&5 |
| 981 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 971 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 982 echo $ac_n "(cached) $ac_c" 1>&6 | 972 echo $ac_n "(cached) $ac_c" 1>&6 |
| 983 else | 973 else |
| 984 if test -n "$CC"; then | 974 if test -n "$CC"; then |
| 985 ac_cv_prog_CC="$CC" # Let the user override the test. | 975 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1007 fi | 997 fi |
| 1008 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 998 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1009 fi | 999 fi |
| 1010 | 1000 |
| 1011 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1001 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1012 echo "configure:1013: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1002 echo "configure:1003: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1013 | 1003 |
| 1014 ac_ext=c | 1004 ac_ext=c |
| 1015 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1005 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 1016 ac_cpp='$CPP $CPPFLAGS' | 1006 ac_cpp='$CPP $CPPFLAGS' |
| 1017 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1007 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 1018 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1008 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 1019 cross_compiling=$ac_cv_prog_cc_cross | 1009 cross_compiling=$ac_cv_prog_cc_cross |
| 1020 | 1010 |
| 1021 cat > conftest.$ac_ext << EOF | 1011 cat > conftest.$ac_ext << EOF |
| 1022 | 1012 |
| 1023 #line 1024 "configure" | 1013 #line 1014 "configure" |
| 1024 #include "confdefs.h" | 1014 #include "confdefs.h" |
| 1025 | 1015 |
| 1026 main(){return(0);} | 1016 main(){return(0);} |
| 1027 EOF | 1017 EOF |
| 1028 if { (eval echo configure:1029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1018 if { (eval echo configure:1019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1029 ac_cv_prog_cc_works=yes | 1019 ac_cv_prog_cc_works=yes |
| 1030 # If we can't run a trivial program, we are probably using a cross compiler. | 1020 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1031 if (./conftest; exit) 2>/dev/null; then | 1021 if (./conftest; exit) 2>/dev/null; then |
| 1032 ac_cv_prog_cc_cross=no | 1022 ac_cv_prog_cc_cross=no |
| 1033 else | 1023 else |
| 1049 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1039 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1050 if test $ac_cv_prog_cc_works = no; then | 1040 if test $ac_cv_prog_cc_works = no; then |
| 1051 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1041 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1052 fi | 1042 fi |
| 1053 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1043 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1054 echo "configure:1055: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1044 echo "configure:1045: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1055 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1045 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1056 cross_compiling=$ac_cv_prog_cc_cross | 1046 cross_compiling=$ac_cv_prog_cc_cross |
| 1057 | 1047 |
| 1058 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1048 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1059 echo "configure:1060: checking whether we are using GNU C" >&5 | 1049 echo "configure:1050: checking whether we are using GNU C" >&5 |
| 1060 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1050 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| 1061 echo $ac_n "(cached) $ac_c" 1>&6 | 1051 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1062 else | 1052 else |
| 1063 cat > conftest.c <<EOF | 1053 cat > conftest.c <<EOF |
| 1064 #ifdef __GNUC__ | 1054 #ifdef __GNUC__ |
| 1065 yes; | 1055 yes; |
| 1066 #endif | 1056 #endif |
| 1067 EOF | 1057 EOF |
| 1068 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1069: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1058 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1059: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1069 ac_cv_prog_gcc=yes | 1059 ac_cv_prog_gcc=yes |
| 1070 else | 1060 else |
| 1071 ac_cv_prog_gcc=no | 1061 ac_cv_prog_gcc=no |
| 1072 fi | 1062 fi |
| 1073 fi | 1063 fi |
| 1082 | 1072 |
| 1083 ac_test_CFLAGS="${CFLAGS+set}" | 1073 ac_test_CFLAGS="${CFLAGS+set}" |
| 1084 ac_save_CFLAGS="$CFLAGS" | 1074 ac_save_CFLAGS="$CFLAGS" |
| 1085 CFLAGS= | 1075 CFLAGS= |
| 1086 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1076 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1087 echo "configure:1088: checking whether ${CC-cc} accepts -g" >&5 | 1077 echo "configure:1078: checking whether ${CC-cc} accepts -g" >&5 |
| 1088 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1078 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| 1089 echo $ac_n "(cached) $ac_c" 1>&6 | 1079 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1090 else | 1080 else |
| 1091 echo 'void f(){}' > conftest.c | 1081 echo 'void f(){}' > conftest.c |
| 1092 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1082 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1118 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl | 1108 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl |
| 1119 do | 1109 do |
| 1120 # Extract the first word of "$ac_prog", so it can be a program name with args. | 1110 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 1121 set dummy $ac_prog; ac_word=$2 | 1111 set dummy $ac_prog; ac_word=$2 |
| 1122 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1112 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1123 echo "configure:1124: checking for $ac_word" >&5 | 1113 echo "configure:1114: checking for $ac_word" >&5 |
| 1124 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then | 1114 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
| 1125 echo $ac_n "(cached) $ac_c" 1>&6 | 1115 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1126 else | 1116 else |
| 1127 if test -n "$CXX"; then | 1117 if test -n "$CXX"; then |
| 1128 ac_cv_prog_CXX="$CXX" # Let the user override the test. | 1118 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| 1150 done | 1140 done |
| 1151 test -n "$CXX" || CXX="gcc" | 1141 test -n "$CXX" || CXX="gcc" |
| 1152 | 1142 |
| 1153 | 1143 |
| 1154 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1144 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1155 echo "configure:1156: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 | 1145 echo "configure:1146: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
| 1156 | 1146 |
| 1157 ac_ext=C | 1147 ac_ext=C |
| 1158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1148 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 1159 ac_cpp='$CXXCPP $CPPFLAGS' | 1149 ac_cpp='$CXXCPP $CPPFLAGS' |
| 1160 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1150 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 1161 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1151 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 1162 cross_compiling=$ac_cv_prog_cxx_cross | 1152 cross_compiling=$ac_cv_prog_cxx_cross |
| 1163 | 1153 |
| 1164 cat > conftest.$ac_ext << EOF | 1154 cat > conftest.$ac_ext << EOF |
| 1165 | 1155 |
| 1166 #line 1167 "configure" | 1156 #line 1157 "configure" |
| 1167 #include "confdefs.h" | 1157 #include "confdefs.h" |
| 1168 | 1158 |
| 1169 int main(){return(0);} | 1159 int main(){return(0);} |
| 1170 EOF | 1160 EOF |
| 1171 if { (eval echo configure:1172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1161 if { (eval echo configure:1162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1172 ac_cv_prog_cxx_works=yes | 1162 ac_cv_prog_cxx_works=yes |
| 1173 # If we can't run a trivial program, we are probably using a cross compiler. | 1163 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1174 if (./conftest; exit) 2>/dev/null; then | 1164 if (./conftest; exit) 2>/dev/null; then |
| 1175 ac_cv_prog_cxx_cross=no | 1165 ac_cv_prog_cxx_cross=no |
| 1176 else | 1166 else |
| 1192 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 | 1182 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 |
| 1193 if test $ac_cv_prog_cxx_works = no; then | 1183 if test $ac_cv_prog_cxx_works = no; then |
| 1194 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } | 1184 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } |
| 1195 fi | 1185 fi |
| 1196 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1186 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1197 echo "configure:1198: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1187 echo "configure:1188: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1198 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 | 1188 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
| 1199 cross_compiling=$ac_cv_prog_cxx_cross | 1189 cross_compiling=$ac_cv_prog_cxx_cross |
| 1200 | 1190 |
| 1201 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 | 1191 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 |
| 1202 echo "configure:1203: checking whether we are using GNU C++" >&5 | 1192 echo "configure:1193: checking whether we are using GNU C++" >&5 |
| 1203 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then | 1193 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
| 1204 echo $ac_n "(cached) $ac_c" 1>&6 | 1194 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1205 else | 1195 else |
| 1206 cat > conftest.C <<EOF | 1196 cat > conftest.C <<EOF |
| 1207 #ifdef __GNUC__ | 1197 #ifdef __GNUC__ |
| 1208 yes; | 1198 yes; |
| 1209 #endif | 1199 #endif |
| 1210 EOF | 1200 EOF |
| 1211 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1212: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1201 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1202: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1212 ac_cv_prog_gxx=yes | 1202 ac_cv_prog_gxx=yes |
| 1213 else | 1203 else |
| 1214 ac_cv_prog_gxx=no | 1204 ac_cv_prog_gxx=no |
| 1215 fi | 1205 fi |
| 1216 fi | 1206 fi |
| 1225 | 1215 |
| 1226 ac_test_CXXFLAGS="${CXXFLAGS+set}" | 1216 ac_test_CXXFLAGS="${CXXFLAGS+set}" |
| 1227 ac_save_CXXFLAGS="$CXXFLAGS" | 1217 ac_save_CXXFLAGS="$CXXFLAGS" |
| 1228 CXXFLAGS= | 1218 CXXFLAGS= |
| 1229 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 | 1219 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
| 1230 echo "configure:1231: checking whether ${CXX-g++} accepts -g" >&5 | 1220 echo "configure:1221: checking whether ${CXX-g++} accepts -g" >&5 |
| 1231 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then | 1221 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
| 1232 echo $ac_n "(cached) $ac_c" 1>&6 | 1222 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1233 else | 1223 else |
| 1234 echo 'void f(){}' > conftest.cc | 1224 echo 'void f(){}' > conftest.cc |
| 1235 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then | 1225 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then |
| 1256 else | 1246 else |
| 1257 CXXFLAGS= | 1247 CXXFLAGS= |
| 1258 fi | 1248 fi |
| 1259 fi | 1249 fi |
| 1260 | 1250 |
| 1251 for ac_declaration in \ | |
| 1252 ''\ | |
| 1253 '#include <stdlib.h>' \ | |
| 1254 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
| 1255 'extern "C" void std::exit (int); using std::exit;' \ | |
| 1256 'extern "C" void exit (int) throw ();' \ | |
| 1257 'extern "C" void exit (int);' \ | |
| 1258 'void exit (int);' | |
| 1259 do | |
| 1260 cat > conftest.$ac_ext <<EOF | |
| 1261 #line 1262 "configure" | |
| 1262 #include "confdefs.h" | |
| 1263 #include <stdlib.h> | |
| 1264 $ac_declaration | |
| 1265 int main() { | |
| 1266 exit (42); | |
| 1267 ; return 0; } | |
| 1268 EOF | |
| 1269 if { (eval echo configure:1270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| 1270 : | |
| 1271 else | |
| 1272 echo "configure: failed program was:" >&5 | |
| 1273 cat conftest.$ac_ext >&5 | |
| 1274 rm -rf conftest* | |
| 1275 continue | |
| 1276 fi | |
| 1277 rm -f conftest* | |
| 1278 cat > conftest.$ac_ext <<EOF | |
| 1279 #line 1280 "configure" | |
| 1280 #include "confdefs.h" | |
| 1281 $ac_declaration | |
| 1282 int main() { | |
| 1283 exit (42); | |
| 1284 ; return 0; } | |
| 1285 EOF | |
| 1286 if { (eval echo configure:1287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | |
| 1287 rm -rf conftest* | |
| 1288 break | |
| 1289 else | |
| 1290 echo "configure: failed program was:" >&5 | |
| 1291 cat conftest.$ac_ext >&5 | |
| 1292 fi | |
| 1293 rm -f conftest* | |
| 1294 done | |
| 1295 if test -n "$ac_declaration"; then | |
| 1296 echo '#ifdef __cplusplus' >>confdefs.h | |
| 1297 echo $ac_declaration >>confdefs.h | |
| 1298 echo '#endif' >>confdefs.h | |
| 1299 fi | |
| 1300 | |
| 1301 | |
| 1261 # Extract the first word of "ranlib", so it can be a program name with args. | 1302 # Extract the first word of "ranlib", so it can be a program name with args. |
| 1262 set dummy ranlib; ac_word=$2 | 1303 set dummy ranlib; ac_word=$2 |
| 1263 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1304 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1264 echo "configure:1265: checking for $ac_word" >&5 | 1305 echo "configure:1306: checking for $ac_word" >&5 |
| 1265 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then | 1306 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
| 1266 echo $ac_n "(cached) $ac_c" 1>&6 | 1307 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1267 else | 1308 else |
| 1268 if test -n "$RANLIB"; then | 1309 if test -n "$RANLIB"; then |
| 1269 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. | 1310 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
| 1287 else | 1328 else |
| 1288 echo "$ac_t""no" 1>&6 | 1329 echo "$ac_t""no" 1>&6 |
| 1289 fi | 1330 fi |
| 1290 | 1331 |
| 1291 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 | 1332 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 |
| 1292 echo "configure:1293: checking for object suffix" >&5 | 1333 echo "configure:1334: checking for object suffix" >&5 |
| 1293 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then | 1334 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then |
| 1294 echo $ac_n "(cached) $ac_c" 1>&6 | 1335 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1295 else | 1336 else |
| 1296 rm -f conftest* | 1337 rm -f conftest* |
| 1297 echo 'int i = 1;' > conftest.$ac_ext | 1338 echo 'int i = 1;' > conftest.$ac_ext |
| 1298 if { (eval echo configure:1299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1339 if { (eval echo configure:1340: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1299 for ac_file in conftest.*; do | 1340 for ac_file in conftest.*; do |
| 1300 case $ac_file in | 1341 case $ac_file in |
| 1301 *.c) ;; | 1342 *.c) ;; |
| 1302 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; | 1343 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; |
| 1303 esac | 1344 esac |
| 1311 echo "$ac_t""$ac_cv_objext" 1>&6 | 1352 echo "$ac_t""$ac_cv_objext" 1>&6 |
| 1312 OBJEXT=$ac_cv_objext | 1353 OBJEXT=$ac_cv_objext |
| 1313 ac_objext=$ac_cv_objext | 1354 ac_objext=$ac_cv_objext |
| 1314 | 1355 |
| 1315 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 | 1356 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 |
| 1316 echo "configure:1317: checking for Cygwin environment" >&5 | 1357 echo "configure:1358: checking for Cygwin environment" >&5 |
| 1317 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then | 1358 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then |
| 1318 echo $ac_n "(cached) $ac_c" 1>&6 | 1359 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1319 else | 1360 else |
| 1320 cat > conftest.$ac_ext <<EOF | 1361 cat > conftest.$ac_ext <<EOF |
| 1321 #line 1322 "configure" | 1362 #line 1363 "configure" |
| 1322 #include "confdefs.h" | 1363 #include "confdefs.h" |
| 1323 | 1364 |
| 1324 int main() { | 1365 int main() { |
| 1325 | 1366 |
| 1326 #ifndef __CYGWIN__ | 1367 #ifndef __CYGWIN__ |
| 1327 #define __CYGWIN__ __CYGWIN32__ | 1368 #define __CYGWIN__ __CYGWIN32__ |
| 1328 #endif | 1369 #endif |
| 1329 return __CYGWIN__; | 1370 return __CYGWIN__; |
| 1330 ; return 0; } | 1371 ; return 0; } |
| 1331 EOF | 1372 EOF |
| 1332 if { (eval echo configure:1333: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1373 if { (eval echo configure:1374: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1333 rm -rf conftest* | 1374 rm -rf conftest* |
| 1334 ac_cv_cygwin=yes | 1375 ac_cv_cygwin=yes |
| 1335 else | 1376 else |
| 1336 echo "configure: failed program was:" >&5 | 1377 echo "configure: failed program was:" >&5 |
| 1337 cat conftest.$ac_ext >&5 | 1378 cat conftest.$ac_ext >&5 |
| 1344 | 1385 |
| 1345 echo "$ac_t""$ac_cv_cygwin" 1>&6 | 1386 echo "$ac_t""$ac_cv_cygwin" 1>&6 |
| 1346 CYGWIN= | 1387 CYGWIN= |
| 1347 test "$ac_cv_cygwin" = yes && CYGWIN=yes | 1388 test "$ac_cv_cygwin" = yes && CYGWIN=yes |
| 1348 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 | 1389 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 |
| 1349 echo "configure:1350: checking for mingw32 environment" >&5 | 1390 echo "configure:1391: checking for mingw32 environment" >&5 |
| 1350 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then | 1391 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then |
| 1351 echo $ac_n "(cached) $ac_c" 1>&6 | 1392 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1352 else | 1393 else |
| 1353 cat > conftest.$ac_ext <<EOF | 1394 cat > conftest.$ac_ext <<EOF |
| 1354 #line 1355 "configure" | 1395 #line 1396 "configure" |
| 1355 #include "confdefs.h" | 1396 #include "confdefs.h" |
| 1356 | 1397 |
| 1357 int main() { | 1398 int main() { |
| 1358 return __MINGW32__; | 1399 return __MINGW32__; |
| 1359 ; return 0; } | 1400 ; return 0; } |
| 1360 EOF | 1401 EOF |
| 1361 if { (eval echo configure:1362: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1402 if { (eval echo configure:1403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1362 rm -rf conftest* | 1403 rm -rf conftest* |
| 1363 ac_cv_mingw32=yes | 1404 ac_cv_mingw32=yes |
| 1364 else | 1405 else |
| 1365 echo "configure: failed program was:" >&5 | 1406 echo "configure: failed program was:" >&5 |
| 1366 cat conftest.$ac_ext >&5 | 1407 cat conftest.$ac_ext >&5 |
| 1375 MINGW32= | 1416 MINGW32= |
| 1376 test "$ac_cv_mingw32" = yes && MINGW32=yes | 1417 test "$ac_cv_mingw32" = yes && MINGW32=yes |
| 1377 | 1418 |
| 1378 | 1419 |
| 1379 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | 1420 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
| 1380 echo "configure:1381: checking for executable suffix" >&5 | 1421 echo "configure:1422: checking for executable suffix" >&5 |
| 1381 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | 1422 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
| 1382 echo $ac_n "(cached) $ac_c" 1>&6 | 1423 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1383 else | 1424 else |
| 1384 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then | 1425 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then |
| 1385 ac_cv_exeext=.exe | 1426 ac_cv_exeext=.exe |
| 1386 else | 1427 else |
| 1387 rm -f conftest* | 1428 rm -f conftest* |
| 1388 echo 'int main () { return 0; }' > conftest.$ac_ext | 1429 echo 'int main () { return 0; }' > conftest.$ac_ext |
| 1389 ac_cv_exeext= | 1430 ac_cv_exeext= |
| 1390 if { (eval echo configure:1391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | 1431 if { (eval echo configure:1432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
| 1391 for file in conftest.*; do | 1432 for file in conftest.*; do |
| 1392 case $file in | 1433 case $file in |
| 1393 *.c | *.o | *.obj) ;; | 1434 *.c | *.o | *.obj) ;; |
| 1394 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; | 1435 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; |
| 1395 esac | 1436 esac |
| 1406 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} | 1447 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext} |
| 1407 echo "$ac_t""${ac_cv_exeext}" 1>&6 | 1448 echo "$ac_t""${ac_cv_exeext}" 1>&6 |
| 1408 ac_exeext=$EXEEXT | 1449 ac_exeext=$EXEEXT |
| 1409 | 1450 |
| 1410 | 1451 |
| 1452 ecos_CFLAGS="" | |
| 1453 ecos_CXXFLAGS="" | |
| 1454 ecos_LDADD="" | |
| 1455 ecos_INCLUDES="" | |
| 1456 ecos_LIBS="" | |
| 1457 | |
| 1458 | |
| 1459 | |
| 1460 | |
| 1461 | |
| 1462 | |
| 1463 | |
| 1464 | |
| 1411 | 1465 |
| 1412 | 1466 |
| 1413 | 1467 |
| 1414 echo $ac_n "checking "for Visual C++"""... $ac_c" 1>&6 | 1468 echo $ac_n "checking "for Visual C++"""... $ac_c" 1>&6 |
| 1415 echo "configure:1416: checking "for Visual C++"" >&5 | 1469 echo "configure:1470: checking "for Visual C++"" >&5 |
| 1416 MSVC="no"; | 1470 MSVC="no"; |
| 1417 if test "${CC}" = "cl" ; then | 1471 if test "${CC}" = "cl" ; then |
| 1418 MSVC="yes" | 1472 MSVC="yes" |
| 1419 fi | 1473 CXX="cl" |
| 1420 if test "${CXX}" = "cl" ; then | 1474 |
| 1421 MSVC="yes" | 1475 |
| 1476 | |
| 1477 if test "${MSVC}" = "yes" ; then | |
| 1478 MSVC_SRCDIR=`cygpath -w ${MSVC_SRCDIR} | tr \\\\\\\\ /` | |
| 1479 fi | |
| 1480 | |
| 1481 | |
| 1482 ecos_INCLUDES="${ecos_INCLUDES} \"-I${msvc_srcdir}\"" | |
| 1483 ecos_LDADD="-link" | |
| 1484 ecos_LIBS="advapi32.lib" | |
| 1422 fi | 1485 fi |
| 1423 | 1486 |
| 1424 | 1487 |
| 1425 if test "${MSVC}" = "yes"; then | 1488 if test "${MSVC}" = "yes"; then |
| 1426 MSVC_TRUE= | 1489 MSVC_TRUE= |
| 1427 MSVC_FALSE='#' | 1490 MSVC_FALSE='#' |
| 1428 else | 1491 else |
| 1429 MSVC_TRUE='#' | 1492 MSVC_TRUE='#' |
| 1430 MSVC_FALSE= | 1493 MSVC_FALSE= |
| 1431 fi | 1494 fi |
| 1432 echo "$ac_t""${MSVC}" 1>&6 | 1495 if test "${MSVC}" = "yes" ; then |
| 1433 | 1496 echo "$ac_t""unfortunately yes" 1>&6 |
| 1434 | 1497 else |
| 1498 echo "$ac_t""no" 1>&6 | |
| 1499 fi | |
| 1500 | |
| 1501 | |
| 1502 | |
| 1435 | 1503 |
| 1436 | 1504 |
| 1437 | 1505 |
| 1438 | 1506 |
| 1439 echo $ac_n "checking "the default compiler flags"""... $ac_c" 1>&6 | 1507 echo $ac_n "checking "the default compiler flags"""... $ac_c" 1>&6 |
| 1440 echo "configure:1441: checking "the default compiler flags"" >&5 | 1508 echo "configure:1509: checking "the default compiler flags"" >&5 |
| 1441 | 1509 |
| 1442 cygflags_enable_debug="no" | 1510 ecosflags_enable_debug="no" |
| 1443 # Check whether --enable-debug or --disable-debug was given. | 1511 # Check whether --enable-debug or --disable-debug was given. |
| 1444 if test "${enable_debug+set}" = set; then | 1512 if test "${enable_debug+set}" = set; then |
| 1445 enableval="$enable_debug" | 1513 enableval="$enable_debug" |
| 1446 case "${enableval}" in | 1514 case "${enableval}" in |
| 1447 yes) cygflags_enable_debug="yes" ;; | 1515 yes) ecosflags_enable_debug="yes" ;; |
| 1448 *) cygflags_enable_debug="no" ;; | 1516 *) ecosflags_enable_debug="no" ;; |
| 1449 esac | 1517 esac |
| 1450 fi | 1518 fi |
| 1451 | 1519 |
| 1452 | 1520 |
| 1453 cygflags_enable_ansi="no" | 1521 ecosflags_enable_ansi="no" |
| 1454 if test "${MSVC}" = "yes" ; then | 1522 if test "${MSVC}" = "yes" ; then |
| 1455 # Check whether --enable-ansi or --disable-ansi was given. | 1523 # Check whether --enable-ansi or --disable-ansi was given. |
| 1456 if test "${enable_ansi+set}" = set; then | 1524 if test "${enable_ansi+set}" = set; then |
| 1457 enableval="$enable_ansi" | 1525 enableval="$enable_ansi" |
| 1458 case "${enableval}" in | 1526 case "${enableval}" in |
| 1459 yes) cygflags_enable_ansi="yes" ;; | 1527 yes) ecosflags_enable_ansi="yes" ;; |
| 1460 *) cygflags_enable_ansi="no" ;; | 1528 *) ecosflags_enable_ansi="no" ;; |
| 1461 esac | 1529 esac |
| 1462 fi | 1530 fi |
| 1463 | 1531 |
| 1464 fi | 1532 fi |
| 1465 | 1533 |
| 1466 if test "${GCC}" = "yes" ; then | 1534 if test "${GCC}" = "yes" ; then |
| 1467 cyg_CFLAGS="-pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs" | 1535 ecos_CFLAGS="${ecos_CFLAGS} -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs" |
| 1468 cyg_CXXFLAGS="-pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual" | 1536 ecos_CXXFLAGS="${ecos_CXXFLAGS} -pipe -Wall -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Woverloaded-virtual" |
| 1469 elif test "${MSVC}" = "yes" ; then | 1537 elif test "${MSVC}" = "yes" ; then |
| 1470 cyg_CFLAGS="-nologo -W3" | 1538 ecos_CFLAGS="${ecos_CFLAGS} -nologo -W3" |
| 1471 cyg_CXXFLAGS="-nologo -W3 -GR -GX" | 1539 ecos_CXXFLAGS="${ecos_CXXFLAGS} -nologo -W3 -GR -GX" |
| 1472 else | 1540 else |
| 1473 { echo "configure: error: "default flags for ${CC} are not known"" 1>&2; exit 1; } | 1541 { echo "configure: error: "default flags for ${CC} are not known"" 1>&2; exit 1; } |
| 1474 fi | 1542 fi |
| 1475 | 1543 |
| 1476 if test "${cygflags_enable_debug}" = "yes" ; then | 1544 if test "${ecosflags_enable_debug}" = "yes" ; then |
| 1477 if test "${GCC}" = "yes" ; then | 1545 if test "${GCC}" = "yes" ; then |
| 1478 cyg_CFLAGS="${cyg_CFLAGS} -g -O0" | 1546 ecos_CFLAGS="${ecos_CFLAGS} -g -O0" |
| 1479 cyg_CXXFLAGS="${cyg_CXXFLAGS} -g -O0" | 1547 ecos_CXXFLAGS="${ecos_CXXFLAGS} -g -O0" |
| 1480 elif test "${MSVC}" = "yes" ; then | 1548 elif test "${MSVC}" = "yes" ; then |
| 1481 cyg_CFLAGS="${cyg_CFLAGS} -MDd -Zi" | 1549 ecos_CFLAGS="${ecos_CFLAGS} -MDd -Zi" |
| 1482 cyg_CXXFLAGS="${cyg_CXXFLAGS} -MDd -Zi" | 1550 ecos_CXXFLAGS="${ecos_CXXFLAGS} -MDd -Zi" |
| 1483 fi | 1551 fi |
| 1484 else | 1552 else |
| 1485 if test "${GCC}" = "yes" ; then | 1553 if test "${GCC}" = "yes" ; then |
| 1486 cyg_CFLAGS="${cyg_CFLAGS} -O0" | 1554 ecos_CFLAGS="${ecos_CFLAGS} -O0" |
| 1487 cyg_CXXFLAGS="${cyg_CXXFLAGS} -O0" | 1555 ecos_CXXFLAGS="${ecos_CXXFLAGS} -O0" |
| 1488 elif test "${MSVC}" = "yes" ; then | 1556 elif test "${MSVC}" = "yes" ; then |
| 1489 cyg_CFLAGS="${cyg_CFLAGS} -MD -O2" | 1557 ecos_CFLAGS="${ecos_CFLAGS} -MD -O2" |
| 1490 cyg_CXXFLAGS="${cyg_CXXFLAGS} -MD -O2" | 1558 ecos_CXXFLAGS="${ecos_CXXFLAGS} -MD -O2" |
| 1491 fi | 1559 fi |
| 1492 fi | 1560 fi |
| 1493 | 1561 |
| 1494 CFLAGS="${ac_save_CFLAGS}" | 1562 CFLAGS="${ac_save_CFLAGS}" |
| 1495 CXXFLAGS="${ac_save_CXXFLAGS}" | 1563 CXXFLAGS="${ac_save_CXXFLAGS}" |
| 1496 | 1564 |
| 1497 | |
| 1498 echo "$ac_t""done" 1>&6 | 1565 echo "$ac_t""done" 1>&6 |
| 1499 | 1566 |
| 1500 | 1567 |
| 1501 | 1568 |
| 1502 | 1569 |
| 1503 | 1570 |
| 1504 | 1571 if test "${ecosflags_enable_debug}" = "yes" ; then |
| 1505 | 1572 ecosinfra_asserts="yes" |
| 1506 if test "${cygflags_enable_debug}" = "yes" ; then | 1573 ecosinfra_preconditions="yes" |
| 1507 cyginfra_asserts=yes | 1574 ecosinfra_postconditions="yes" |
| 1508 cyginfra_preconditions=yes | 1575 ecosinfra_invariants="yes" |
| 1509 cyginfra_postconditions=yes | 1576 ecosinfra_loopinvariants="yes" |
| 1510 cyginfra_invariants=yes | 1577 ecosinfra_tracing="yes" |
| 1511 cyginfra_loopinvariants=yes | 1578 ecosinfra_fntracing="yes" |
| 1512 cyginfra_tracing=yes | 1579 else |
| 1513 cyginfra_fntracing=yes | 1580 ecosinfra_asserts="no" |
| 1514 else | 1581 ecosinfra_preconditions="no" |
| 1515 cyginfra_asserts=no | 1582 ecosinfra_postconditions="no" |
| 1516 cyginfra_preconditions=no | 1583 ecosinfra_invariants="no" |
| 1517 cyginfra_postconditions=no | 1584 ecosinfra_loopinvariants="no" |
| 1518 cyginfra_invariants=no | 1585 ecosinfra_tracing="no" |
| 1519 cyginfra_loopinvariants=no | 1586 ecosinfra_fntracing="no" |
| 1520 cyginfra_tracing=no | 1587 fi |
| 1521 cyginfra_fntracing=no | 1588 |
| 1522 fi | 1589 # Check whether --enable-asserts or --disable-asserts was given. |
| 1523 | |
| 1524 # Check whether --enable-asserts or --disable-asserts was given. | |
| 1525 if test "${enable_asserts+set}" = set; then | 1590 if test "${enable_asserts+set}" = set; then |
| 1526 enableval="$enable_asserts" | 1591 enableval="$enable_asserts" |
| 1527 case "${enableval}" in | 1592 case "${enableval}" in |
| 1528 yes) cyginfra_asserts=yes ;; | 1593 yes) ecosinfra_asserts="yes" ;; |
| 1529 no) cyginfra_asserts=no ;; | 1594 no) ecosinfra_asserts="no" ;; |
| 1530 *) { echo "configure: error: bad value ${enableval} for disable-asserts option" 1>&2; exit 1; } ;; | 1595 *) { echo "configure: error: bad value ${enableval} for disable-asserts option" 1>&2; exit 1; } ;; |
| 1531 esac | 1596 esac |
| 1532 fi | 1597 fi |
| 1533 | 1598 |
| 1534 if test "${cyginfra_asserts}" = "yes"; then | 1599 if test "${ecosinfra_asserts}" = "yes"; then |
| 1535 cat >> confdefs.h <<\EOF | 1600 cat >> confdefs.h <<\EOF |
| 1536 #define CYGDBG_USE_ASSERTS 1 | 1601 #define CYGDBG_USE_ASSERTS 1 |
| 1537 EOF | 1602 EOF |
| 1538 | 1603 |
| 1539 fi | 1604 fi |
| 1540 | 1605 |
| 1541 # Check whether --enable-preconditions or --disable-preconditions was given. | 1606 # Check whether --enable-preconditions or --disable-preconditions was given. |
| 1542 if test "${enable_preconditions+set}" = set; then | 1607 if test "${enable_preconditions+set}" = set; then |
| 1543 enableval="$enable_preconditions" | 1608 enableval="$enable_preconditions" |
| 1544 case "${enableval}" in | 1609 case "${enableval}" in |
| 1545 yes) cyginfra_preconditions=yes ;; | 1610 yes) ecosinfra_preconditions="yes" ;; |
| 1546 no) cyginfra_preconditions=no ;; | 1611 no) ecosinfra_preconditions="no" ;; |
| 1547 *) { echo "configure: error: bad value ${enableval} for disable-preconditions option" 1>&2; exit 1; } ;; | 1612 *) { echo "configure: error: bad value ${enableval} for disable-preconditions option" 1>&2; exit 1; } ;; |
| 1548 esac | 1613 esac |
| 1549 fi | 1614 fi |
| 1550 | 1615 |
| 1551 if test "${cyginfra_preconditions}" = "yes"; then | 1616 if test "${ecosinfra_preconditions}" = "yes"; then |
| 1552 cat >> confdefs.h <<\EOF | 1617 cat >> confdefs.h <<\EOF |
| 1553 #define CYGDBG_INFRA_DEBUG_PRECONDITIONS 1 | 1618 #define CYGDBG_INFRA_DEBUG_PRECONDITIONS 1 |
| 1554 EOF | 1619 EOF |
| 1555 | 1620 |
| 1556 fi | 1621 fi |
| 1557 | 1622 |
| 1558 # Check whether --enable-postconditions or --disable-postconditions was given. | 1623 # Check whether --enable-postconditions or --disable-postconditions was given. |
| 1559 if test "${enable_postconditions+set}" = set; then | 1624 if test "${enable_postconditions+set}" = set; then |
| 1560 enableval="$enable_postconditions" | 1625 enableval="$enable_postconditions" |
| 1561 case "${enableval}" in | 1626 case "${enableval}" in |
| 1562 yes) cyginfra_postconditions=yes ;; | 1627 yes) ecosinfra_postconditions="yes" ;; |
| 1563 no) cyginfra_postconditions=no ;; | 1628 no) ecosinfra_postconditions="no" ;; |
| 1564 *) { echo "configure: error: bad value ${enableval} for disable-postconditions option" 1>&2; exit 1; } ;; | 1629 *) { echo "configure: error: bad value ${enableval} for disable-postconditions option" 1>&2; exit 1; } ;; |
| 1565 esac | 1630 esac |
| 1566 fi | 1631 fi |
| 1567 | 1632 |
| 1568 if test "${cyginfra_postconditions}" = "yes"; then | 1633 if test "${ecosinfra_postconditions}" = "yes"; then |
| 1569 cat >> confdefs.h <<\EOF | 1634 cat >> confdefs.h <<\EOF |
| 1570 #define CYGDBG_INFRA_DEBUG_POSTCONDITIONS 1 | 1635 #define CYGDBG_INFRA_DEBUG_POSTCONDITIONS 1 |
| 1571 EOF | 1636 EOF |
| 1572 | 1637 |
| 1573 fi | 1638 fi |
| 1574 | 1639 |
| 1575 # Check whether --enable-invariants or --disable-invariants was given. | 1640 # Check whether --enable-invariants or --disable-invariants was given. |
| 1576 if test "${enable_invariants+set}" = set; then | 1641 if test "${enable_invariants+set}" = set; then |
| 1577 enableval="$enable_invariants" | 1642 enableval="$enable_invariants" |
| 1578 case "${enableval}" in | 1643 case "${enableval}" in |
| 1579 yes) cyginfra_invariants=yes ;; | 1644 yes) ecosinfra_invariants="yes" ;; |
| 1580 no) cyginfra_invariants=no ;; | 1645 no) ecosinfra_invariants="no" ;; |
| 1581 *) { echo "configure: error: bad value ${enableval} for disable-invariants option" 1>&2; exit 1; } ;; | 1646 *) { echo "configure: error: bad value ${enableval} for disable-invariants option" 1>&2; exit 1; } ;; |
| 1582 esac | 1647 esac |
| 1583 fi | 1648 fi |
| 1584 | 1649 |
| 1585 if test "${cyginfra_invariants}" = "yes"; then | 1650 if test "${ecosinfra_invariants}" = "yes"; then |
| 1586 cat >> confdefs.h <<\EOF | 1651 cat >> confdefs.h <<\EOF |
| 1587 #define CYGDBG_INFRA_DEBUG_INVARIANTS 1 | 1652 #define CYGDBG_INFRA_DEBUG_INVARIANTS 1 |
| 1588 EOF | 1653 EOF |
| 1589 | 1654 |
| 1590 fi | 1655 fi |
| 1591 | 1656 |
| 1592 # Check whether --enable-loopinvariants or --disable-loopinvariants was given. | 1657 # Check whether --enable-loopinvariants or --disable-loopinvariants was given. |
| 1593 if test "${enable_loopinvariants+set}" = set; then | 1658 if test "${enable_loopinvariants+set}" = set; then |
| 1594 enableval="$enable_loopinvariants" | 1659 enableval="$enable_loopinvariants" |
| 1595 case "${enableval}" in | 1660 case "${enableval}" in |
| 1596 yes) cyginfra_loopinvariants=yes ;; | 1661 yes) ecosinfra_loopinvariants="yes" ;; |
| 1597 no) cyginfra_loopinvariants=no ;; | 1662 no) ecosinfra_loopinvariants="no" ;; |
| 1598 *) { echo "configure: error: bad value ${enableval} for disable-loopinvariants option" 1>&2; exit 1; } ;; | 1663 *) { echo "configure: error: bad value ${enableval} for disable-loopinvariants option" 1>&2; exit 1; } ;; |
| 1599 esac | 1664 esac |
| 1600 fi | 1665 fi |
| 1601 | 1666 |
| 1602 if test "${cyginfra_loopinvariants}" = "yes"; then | 1667 if test "${ecosinfra_loopinvariants}" = "yes"; then |
| 1603 cat >> confdefs.h <<\EOF | 1668 cat >> confdefs.h <<\EOF |
| 1604 #define CYGDBG_INFRA_DEBUG_LOOP_INVARIANTS 1 | 1669 #define CYGDBG_INFRA_DEBUG_LOOP_INVARIANTS 1 |
| 1605 EOF | 1670 EOF |
| 1606 | 1671 |
| 1607 fi | 1672 fi |
| 1608 | 1673 |
| 1609 # Check whether --enable-tracing or --disable-tracing was given. | 1674 # Check whether --enable-tracing or --disable-tracing was given. |
| 1610 if test "${enable_tracing+set}" = set; then | 1675 if test "${enable_tracing+set}" = set; then |
| 1611 enableval="$enable_tracing" | 1676 enableval="$enable_tracing" |
| 1612 case "${enableval}" in | 1677 case "${enableval}" in |
| 1613 yes) cyginfra_tracing=yes ;; | 1678 yes) ecosinfra_tracing="yes" ;; |
| 1614 no) cyginfra_tracing=no ;; | 1679 no) ecosinfra_tracing="no" ;; |
| 1615 *) { echo "configure: error: bad value ${enableval} for disable-tracing option" 1>&2; exit 1; } ;; | 1680 *) { echo "configure: error: bad value ${enableval} for disable-tracing option" 1>&2; exit 1; } ;; |
| 1616 esac | 1681 esac |
| 1617 fi | 1682 fi |
| 1618 | 1683 |
| 1619 if test "${cyginfra_tracing}" = "yes"; then | 1684 if test "${ecosinfra_tracing}" = "yes"; then |
| 1620 cat >> confdefs.h <<\EOF | 1685 cat >> confdefs.h <<\EOF |
| 1621 #define CYGDBG_USE_TRACING 1 | 1686 #define CYGDBG_USE_TRACING 1 |
| 1622 EOF | 1687 EOF |
| 1623 | 1688 |
| 1624 fi | 1689 fi |
| 1625 | 1690 |
| 1626 # Check whether --enable-fntracing or --disable-fntracing was given. | 1691 # Check whether --enable-fntracing or --disable-fntracing was given. |
| 1627 if test "${enable_fntracing+set}" = set; then | 1692 if test "${enable_fntracing+set}" = set; then |
| 1628 enableval="$enable_fntracing" | 1693 enableval="$enable_fntracing" |
| 1629 case "${enableval}" in | 1694 case "${enableval}" in |
| 1630 yes) cyginfra_fntracing=yes ;; | 1695 yes) ecosinfra_fntracing="yes" ;; |
| 1631 no) cyginfra_fntracing=no ;; | 1696 no) ecosinfra_fntracing=no ;; |
| 1632 *) { echo "configure: error: bad value ${enableval} for disable-fntracing option" 1>&2; exit 1; } ;; | 1697 *) { echo "configure: error: bad value ${enableval} for disable-fntracing option" 1>&2; exit 1; } ;; |
| 1633 esac | 1698 esac |
| 1634 fi | 1699 fi |
| 1635 | 1700 |
| 1636 if test "${cyginfra_fntracing}" = "yes"; then | 1701 if test "${ecosinfra_fntracing}" = "yes"; then |
| 1637 cat >> confdefs.h <<\EOF | 1702 cat >> confdefs.h <<\EOF |
| 1638 #define CYGDBG_INFRA_DEBUG_FUNCTION_REPORTS 1 | 1703 #define CYGDBG_INFRA_DEBUG_FUNCTION_REPORTS 1 |
| 1639 EOF | 1704 EOF |
| 1640 | 1705 |
| 1641 fi | 1706 fi |
| 1642 | 1707 |
| 1643 | 1708 |
| 1644 | 1709 echo $ac_n "checking for eCos host-side infrastructure""... $ac_c" 1>&6 |
| 1645 | 1710 echo "configure:1711: checking for eCos host-side infrastructure" >&5 |
| 1646 | 1711 |
| 1647 | 1712 infra_builddir="" |
| 1648 | 1713 possibles=".. ../.. ../../.. ../../../.. ../../../../.." |
| 1649 | 1714 |
| 1650 | 1715 infra_builddir="" |
| 1651 echo $ac_n "checking for Tcl version""... $ac_c" 1>&6 | 1716 for i in ${possibles}; do |
| 1652 echo "configure:1653: checking for Tcl version" >&5 | 1717 if test -d "$i/"infra""; then |
| 1653 # Check whether --with-tcl-version or --without-tcl-version was given. | 1718 infra_builddir=$i |
| 1719 break | |
| 1720 fi | |
| 1721 done | |
| 1722 | |
| 1723 if test "${infra_builddir}" = "" ; then | |
| 1724 possibles="../host ../../host ../../../host ../../../../host ../../../../../host ../../../../../../host" | |
| 1725 | |
| 1726 infra_builddir="" | |
| 1727 for i in ${possibles}; do | |
| 1728 if test -d "$i/"infra""; then | |
| 1729 infra_builddir=$i | |
| 1730 break | |
| 1731 fi | |
| 1732 done | |
| 1733 | |
| 1734 fi | |
| 1735 if test "${infra_builddir}" != "" ; then | |
| 1736 infra_builddir="${infra_builddir}/infra" | |
| 1737 infra_builddir=`cd ${infra_builddir} && /bin/pwd` | |
| 1738 fi | |
| 1739 | |
| 1740 ecos_infra_incdir="" | |
| 1741 ecos_infra_libdir="" | |
| 1742 ecos_infra_libs="" | |
| 1743 | |
| 1744 # Check whether --with-infra-header or --without-infra-header was given. | |
| 1745 if test "${with_infra_header+set}" = set; then | |
| 1746 withval="$with_infra_header" | |
| 1747 : | |
| 1748 fi | |
| 1749 | |
| 1750 # Check whether --with-infra-lib or --without-infra-lib was given. | |
| 1751 if test "${with_infra_lib+set}" = set; then | |
| 1752 withval="$with_infra_lib" | |
| 1753 : | |
| 1754 fi | |
| 1755 | |
| 1756 # Check whether --with-infra or --without-infra was given. | |
| 1757 if test "${with_infra+set}" = set; then | |
| 1758 withval="$with_infra" | |
| 1759 : | |
| 1760 fi | |
| 1761 | |
| 1762 | |
| 1763 if test "${with_infra_header+set}" = "set"; then | |
| 1764 ecos_infra_incdir="${with_infra_header}" | |
| 1765 elif test "${with_infra+set}" = "set"; then | |
| 1766 ecos_infra_incdir="${with_infra}/include" | |
| 1767 elif test "${infra_builddir}" != "" ; then | |
| 1768 ecos_infra_incdir="${infra_builddir}" | |
| 1769 else | |
| 1770 { echo "configure: error: infrastructure headers not found" 1>&2; exit 1; } | |
| 1771 fi | |
| 1772 if test "${MSVC}" = "yes" ; then | |
| 1773 ecos_msvc_infra_incdir = ${ecos_infra_incdir} | |
| 1774 | |
| 1775 | |
| 1776 | |
| 1777 if test "${MSVC}" = "yes" ; then | |
| 1778 ecos_msvc_infra_incdir=`cygpath -w ${ecos_msvc_infra_incdir} | tr \\\\\\\\ /` | |
| 1779 fi | |
| 1780 | |
| 1781 ecos_INCLUDES="${ecos_INCLUDES} \"-I${ecos_msvc_infra_incdir}\"" | |
| 1782 else | |
| 1783 ecos_INCLUDES="${ecos_INCLUDES} -I${ecos_infra_incdir}" | |
| 1784 fi | |
| 1785 | |
| 1786 if test "${with_infra_lib+set}" = "set"; then | |
| 1787 ecos_infra_libdir="${with_infra_lib}" | |
| 1788 elif test "${with_infra+set}" = "set"; then | |
| 1789 ecos_infra_libdir="${with_infra}/lib" | |
| 1790 elif test "${infra_builddir}" != "" ; then | |
| 1791 ecos_infra_libdir="${infra_builddir}" | |
| 1792 else | |
| 1793 { echo "configure: error: infrastructure library not found" 1>&2; exit 1; } | |
| 1794 fi | |
| 1795 if test "${MSVC}" = "yes" ; then | |
| 1796 ecos_msvc_infra_libdir=${ecos_infra_libdir} | |
| 1797 | |
| 1798 | |
| 1799 | |
| 1800 if test "${MSVC}" = "yes" ; then | |
| 1801 ecos_msvc_infra_libdir=`cygpath -w ${ecos_msvc_infra_libdir} | tr \\\\\\\\ /` | |
| 1802 fi | |
| 1803 | |
| 1804 ecos_LIBS="${ecos_LIBS} cyginfra.lib" | |
| 1805 ecos_LDADD="${ecos_LDADD} \"-libpath=${ecos_msvc_infra_libdir}\"" | |
| 1806 else | |
| 1807 ecos_LIBS="${ecos_LIBS} -lcyginfra" | |
| 1808 ecos_LDADD="${ecos_LDADD} -L${ecos_infra_libdir}" | |
| 1809 fi | |
| 1810 | |
| 1811 | |
| 1812 | |
| 1813 echo "$ac_t""-I${ecos_infra_incdir} -L${ecos_infra_libdir}" 1>&6 | |
| 1814 | |
| 1815 | |
| 1816 | |
| 1817 | |
| 1818 | |
| 1819 | |
| 1820 ecos_tcl_version="" | |
| 1821 ecos_tcl_incdir="" | |
| 1822 ecos_tcl_libdir="" | |
| 1823 ecos_tk_libs="" | |
| 1824 | |
| 1825 | |
| 1826 echo $ac_n "checking for Tcl version""... $ac_c" 1>&6 | |
| 1827 echo "configure:1828: checking for Tcl version" >&5 | |
| 1828 # Check whether --with-tcl-version or --without-tcl-version was given. | |
| 1654 if test "${with_tcl_version+set}" = set; then | 1829 if test "${with_tcl_version+set}" = set; then |
| 1655 withval="$with_tcl_version" | 1830 withval="$with_tcl_version" |
| 1656 | 1831 |
| 1657 cyg_ac_tcl_version=${with_tcl_version} | 1832 ecos_tcl_version=${with_tcl_version} |
| 1658 | 1833 |
| 1659 else | 1834 else |
| 1660 | 1835 |
| 1661 if test "${MSVC}" = "yes" ; then | 1836 if test "${MSVC}" = "yes" ; then |
| 1662 cyg_ac_tcl_version=80 | 1837 ecos_tcl_version=80 |
| 1663 else | 1838 elif test "${ac_cv_cygwin}" = "yes" ; then |
| 1664 if test "${ac_cv_cygwin}" = "yes" ; then | 1839 ecos_tcl_version=80 |
| 1665 cyg_ac_tcl_version=80 | 1840 else |
| 1666 else | 1841 ecos_tcl_version="" |
| 1667 cyg_ac_tcl_version="" | 1842 fi |
| 1668 fi | 1843 |
| 1669 fi | 1844 fi |
| 1670 | 1845 |
| 1671 fi | 1846 echo "$ac_t""${ecos_tcl_version}" 1>&6 |
| 1672 | 1847 |
| 1673 echo "$ac_t""${cyg_ac_tcl_version}" 1>&6 | 1848 echo $ac_n "checking for Tcl installation""... $ac_c" 1>&6 |
| 1674 | 1849 echo "configure:1850: checking for Tcl installation" >&5 |
| 1675 | 1850 |
| 1676 | 1851 # Check whether --with-tcl-header or --without-tcl-header was given. |
| 1677 # Check whether --with-tcl or --without-tcl was given. | 1852 if test "${with_tcl_header+set}" = set; then |
| 1853 withval="$with_tcl_header" | |
| 1854 : | |
| 1855 fi | |
| 1856 | |
| 1857 # Check whether --with-tcl-lib or --without-tcl-lib was given. | |
| 1858 if test "${with_tcl_lib+set}" = set; then | |
| 1859 withval="$with_tcl_lib" | |
| 1860 : | |
| 1861 fi | |
| 1862 | |
| 1863 # Check whether --with-tcl or --without-tcl was given. | |
| 1678 if test "${with_tcl+set}" = set; then | 1864 if test "${with_tcl+set}" = set; then |
| 1679 withval="$with_tcl" | 1865 withval="$with_tcl" |
| 1680 : | 1866 : |
| 1681 fi | 1867 fi |
| 1682 | 1868 |
| 1683 # Check whether --with-tcl or --without-tcl was given. | 1869 |
| 1684 if test "${with_tcl+set}" = set; then | 1870 |
| 1685 withval="$with_tcl" | 1871 if test "${MSVC}" = "yes" ; then |
| 1686 : | 1872 |
| 1687 fi | 1873 if test "${with_tcl_header+set}" = set ; then |
| 1688 | 1874 ecos_tcl_incdir=${with_tcl_header} |
| 1689 # Check whether --with-tcl or --without-tcl was given. | 1875 elif test "${with_tcl+set}" = set ; then |
| 1690 if test "${with_tcl+set}" = set; then | 1876 ecos_tcl_incdir="${with_tcl}/include" |
| 1691 withval="$with_tcl" | 1877 else |
| 1692 : | 1878 { echo "configure: error: You must specify a Tcl installation with either --with-tcl=<path> or --with-tcl-header=<path>" 1>&2; exit 1; } |
| 1693 fi | 1879 fi |
| 1694 | 1880 |
| 1695 | 1881 if test \! -r "${ecos_tcl_incdir}/tcl.h" ; then |
| 1696 echo $ac_n "checking for Tcl installation""... $ac_c" 1>&6 | 1882 { echo "configure: error: unable to locate Tcl header file tcl.h" 1>&2; exit 1; } |
| 1697 echo "configure:1698: checking for Tcl installation" >&5 | 1883 fi |
| 1698 | 1884 ecos_msvc_tcl_incdir="${ecos_tcl_incdir}" |
| 1699 | 1885 |
| 1700 if test "${MSVC}" = "yes" ; then | 1886 |
| 1701 if test "${with_tcl_header+set}" = set; then | 1887 |
| 1702 cyg_ac_tcl_incdir=${with_tcl_header} | 1888 if test "${MSVC}" = "yes" ; then |
| 1703 else | 1889 ecos_msvc_tcl_incdir=`cygpath -w ${ecos_msvc_tcl_incdir} | tr \\\\\\\\ /` |
| 1704 if test "${with_tcl+set}" = set; then | 1890 fi |
| 1705 cyg_ac_tcl_incdir="${with_tcl}/include" | 1891 |
| 1892 ecos_INCLUDES="${ecos_INCLUDES} \"-I${ecos_msvc_tcl_incdir}\"" | |
| 1893 | |
| 1894 if test "${with_tcl_lib+set}" = set; then | |
| 1895 ecos_tcl_libdir=${with_tcl_lib} | |
| 1896 elif test "${with_tcl+set}" = set; then | |
| 1897 ecos_tcl_libdir="${with_tcl}/lib" | |
| 1898 else | |
| 1899 { echo "configure: error: You must specify a Tcl installation with either --with-tcl=<path> or --with-tcl-lib=<path>" 1>&2; exit 1; } | |
| 1900 fi | |
| 1901 | |
| 1902 | |
| 1903 | |
| 1904 if test "${MSVC}" = "yes" ; then | |
| 1905 ecos_tcl_libdir=`cygpath -w ${ecos_tcl_libdir} | tr \\\\\\\\ /` | |
| 1906 fi | |
| 1907 | |
| 1908 ecos_LIBS="${ecos_LIBS} tcl${ecos_tcl_version}.lib" | |
| 1909 ecos_LDADD="${ecos_LDADD} \"-libpath=${ecos_tcl_libdir}\"" | |
| 1910 | |
| 1911 ecos_tk_libs="" | |
| 1912 | |
| 1706 else | 1913 else |
| 1707 { echo "configure: error: You must specify a Tcl installation with either --with-tcl=<path> or --with-tcl-header=<path>" 1>&2; exit 1; } | 1914 possibles="${with_tcl_header} ${with_tcl}/include ${prefix}/include /usr/include/tcl${ecos_tcl_version} /usr/include" |
| 1708 fi | 1915 |
| 1709 fi | 1916 ecos_tcl_incdir="" |
| 1710 if test "${with_tcl_lib+set}" = set; then | 1917 for i in ${possibles}; do |
| 1711 cyg_ac_tcl_libdir=${with_tcl_lib} | 1918 if test -r "$i/"tcl.h""; then |
| 1712 else | 1919 ecos_tcl_incdir=$i |
| 1713 if test "${with_tcl+set}" = set; then | 1920 break |
| 1714 cyg_ac_tcl_libdir="${with_tcl}/lib" | 1921 fi |
| 1715 else | 1922 done |
| 1716 { echo "configure: error: You must specify a Tcl installation with either --with-tcl=<path> or --with-tcl-lib=<path>" 1>&2; exit 1; } | 1923 |
| 1717 fi | 1924 if test \! -r "${ecos_tcl_incdir}/tcl.h" ; then |
| 1718 fi | 1925 { echo "configure: error: unable to locate Tcl header file tcl.h" 1>&2; exit 1; } |
| 1719 cyg_ac_tcl_libs="tcl${cyg_ac_tcl_version}.lib" | 1926 else |
| 1720 else | 1927 if test "${ecos_tcl_incdir}" != "/usr/include" ; then |
| 1721 tcl_incdirs="${with_tcl_header} ${with_tcl}/include ${prefix}/include /usr/include/tcl$cyg_ac_tcl_version /usr/include" | 1928 ecos_INCLUDES="${ecos_INCLUDES} -I${ecos_tcl_incdir}" |
| 1722 | 1929 fi |
| 1723 cyg_ac_tcl_incdir=NO | 1930 fi |
| 1724 for i in $tcl_incdirs; | 1931 possibles="${with_tcl_lib} ${with_tcl}/lib ${libdir} ${prefix}/lib /usr/lib/tcl$${ecos_tcl_version} /usr/lib" |
| 1725 do | 1932 |
| 1726 for j in tcl.h; | 1933 ecos_tcl_libdir="" |
| 1727 do | 1934 for i in ${possibles}; do |
| 1728 if test -r "$i/$j"; then | 1935 if test -r "$i/"tclConfig.sh""; then |
| 1729 cyg_ac_tcl_incdir=$i | 1936 ecos_tcl_libdir=$i |
| 1730 break 2 | 1937 break |
| 1731 fi | 1938 fi |
| 1732 done | 1939 done |
| 1733 done | 1940 |
| 1734 | 1941 if test \! -r "${ecos_tcl_libdir}/tclConfig.sh" ; then |
| 1735 tcl_libdirs="${with_tcl_lib} ${with_tcl}/lib ${libdir} ${prefix}/lib /usr/lib/tcl$cyg_ac_tcl_version /usr/lib" | 1942 { echo "configure: error: unable to locate Tcl config file tclConfig.sh" 1>&2; exit 1; } |
| 1736 | 1943 else |
| 1737 cyg_ac_tcl_libdir=NO | 1944 . ${ecos_tcl_libdir}/tclConfig.sh |
| 1738 for i in $tcl_libdirs; | 1945 ecos_LIBS="${ecos_LIBS} -ltcl${ecos_tcl_version} ${TCL_LIBS}" |
| 1739 do | 1946 fi |
| 1740 for j in tclConfig.sh; | 1947 |
| 1741 do | 1948 if test \! -r "${ecos_tcl_libdir}/tkConfig.sh" ; then |
| 1742 if test -r "$i/$j"; then | 1949 { echo "configure: error: unable to locate Tk config file tkConfig.sh" 1>&2; exit 1; } |
| 1743 cyg_ac_tcl_libdir=$i | 1950 else |
| 1744 break 2 | 1951 . ${ecos_tcl_libdir}/tkConfig.sh |
| 1745 fi | 1952 ecos_tk_libs="-ltk${ecos_tcl_version} ${TK_LIBS}" |
| 1746 done | 1953 for lib in ${TCL_LIBS} ; do |
| 1747 done | 1954 ecos_tk_libs=`echo ${ecos_tk_libs} | sed -e "s!${lib}!!"` |
| 1748 | 1955 done |
| 1749 if test \! -r ${cyg_ac_tcl_libdir}/tclConfig.sh ; then | 1956 fi |
| 1750 { echo "configure: error: unable to locate Tcl config file tclConfig.sh" 1>&2; exit 1; } | 1957 fi |
| 1751 else | 1958 |
| 1752 . ${cyg_ac_tcl_libdir}/tclConfig.sh | 1959 echo "$ac_t""-I${ecos_tcl_incdir} -L${ecos_tcl_libdir}" 1>&6 |
| 1753 cyg_ac_tcl_libs="-ltcl${cyg_ac_tcl_version} ${TCL_LIBS}" | 1960 |
| 1754 fi | 1961 |
| 1755 fi | |
| 1756 | |
| 1757 if test \! -r ${cyg_ac_tcl_incdir}/tcl.h ; then | |
| 1758 { echo "configure: error: unable to locate Tcl header file tcl.h" 1>&2; exit 1; } | |
| 1759 fi | |
| 1760 | |
| 1761 if test "${MSVC}" = "yes" ; then | |
| 1762 | |
| 1763 | |
| 1764 | |
| 1765 | |
| 1766 if test "${MSVC}" = "yes" ; then | |
| 1767 cyg_ac_tcl_incdir=`cygpath -w ${cyg_ac_tcl_incdir} | tr \\\\\\\\ /` | |
| 1768 fi | |
| 1769 | |
| 1770 | |
| 1771 | |
| 1772 | |
| 1773 | |
| 1774 if test "${MSVC}" = "yes" ; then | |
| 1775 cyg_ac_tcl_libdir=`cygpath -w ${cyg_ac_tcl_libdir} | tr \\\\\\\\ /` | |
| 1776 fi | |
| 1777 | |
| 1778 fi | |
| 1779 | |
| 1780 echo "$ac_t""${cyg_ac_tcl_libdir}" 1>&6 | |
| 1781 | |
| 1782 | |
| 1783 | |
| 1784 | |
| 1785 | |
| 1786 | |
| 1787 | |
| 1788 | |
| 1789 echo $ac_n "checking for infrastructure files""... $ac_c" 1>&6 | |
| 1790 echo "configure:1791: checking for infrastructure files" >&5 | |
| 1791 # Check whether --with-infra or --without-infra was given. | |
| 1792 if test "${with_infra+set}" = set; then | |
| 1793 withval="$with_infra" | |
| 1794 | |
| 1795 cyg_ac_infra_incdir=${with_infra} | |
| 1796 cyg_ac_infra_libdir=${with_infra} | |
| 1797 | |
| 1798 else | |
| 1799 | |
| 1800 if test -d ../infra ; then | |
| 1801 cyg_ac_infra_incdir=../infra | |
| 1802 cyg_ac_infra_libdir=../infra | |
| 1803 else | |
| 1804 cyg_ac_infra_incdir=${prefix}/include | |
| 1805 cyg_ac_ac_infra_libdir=${prefix}/lib | |
| 1806 fi | |
| 1807 | |
| 1808 fi | |
| 1809 | |
| 1810 | |
| 1811 | |
| 1812 | |
| 1813 | |
| 1814 if test "${MSVC}" = "yes" ; then | |
| 1815 cyg_ac_infra_incdir=`cygpath -w ${cyg_ac_infra_incdir} | tr \\\\\\\\ /` | |
| 1816 fi | |
| 1817 | |
| 1818 | |
| 1819 | |
| 1820 | |
| 1821 | |
| 1822 if test "${MSVC}" = "yes" ; then | |
| 1823 cyg_ac_infra_libdir=`cygpath -w ${cyg_ac_infra_libdir} | tr \\\\\\\\ /` | |
| 1824 fi | |
| 1825 | |
| 1826 | |
| 1827 | |
| 1828 echo "$ac_t""-I${cyg_ac_infra_incdir} -L${cyg_ac_infra_libdir}" 1>&6 | |
| 1829 | |
| 1830 if test "${MSVC}" = "yes" ; then | |
| 1831 INCLUDES="\"-I`cygpath -w ${srcdir} | tr \\\\\\\\ /`\" \"-I${cyg_ac_infra_incdir}\" \"-I${cyg_ac_tcl_incdir}\"" | |
| 1832 else | |
| 1833 INCLUDES="-I${cyg_ac_infra_incdir} -I${cyg_ac_tcl_incdir}" | |
| 1834 fi | |
| 1835 | 1962 |
| 1836 | 1963 |
| 1837 | 1964 |
| 1838 | 1965 |
| 1839 | 1966 |
| 1992 s%@CC@%$CC%g | 2119 s%@CC@%$CC%g |
| 1993 s%@CXX@%$CXX%g | 2120 s%@CXX@%$CXX%g |
| 1994 s%@RANLIB@%$RANLIB%g | 2121 s%@RANLIB@%$RANLIB%g |
| 1995 s%@OBJEXT@%$OBJEXT%g | 2122 s%@OBJEXT@%$OBJEXT%g |
| 1996 s%@EXEEXT@%$EXEEXT%g | 2123 s%@EXEEXT@%$EXEEXT%g |
| 2124 s%@ecos_CFLAGS@%$ecos_CFLAGS%g | |
| 2125 s%@ecos_CXXFLAGS@%$ecos_CXXFLAGS%g | |
| 2126 s%@ecos_LDADD@%$ecos_LDADD%g | |
| 2127 s%@ecos_INCLUDES@%$ecos_INCLUDES%g | |
| 2128 s%@ecos_LIBS@%$ecos_LIBS%g | |
| 2129 s%@MSVC_SRCDIR@%$MSVC_SRCDIR%g | |
| 1997 s%@MSVC_TRUE@%$MSVC_TRUE%g | 2130 s%@MSVC_TRUE@%$MSVC_TRUE%g |
| 1998 s%@MSVC_FALSE@%$MSVC_FALSE%g | 2131 s%@MSVC_FALSE@%$MSVC_FALSE%g |
| 1999 s%@cyg_CFLAGS@%$cyg_CFLAGS%g | 2132 s%@ecos_infra_incdir@%$ecos_infra_incdir%g |
| 2000 s%@cyg_CXXFLAGS@%$cyg_CXXFLAGS%g | 2133 s%@ecos_infra_libdir@%$ecos_infra_libdir%g |
| 2001 s%@cyg_ac_tcl_version@%$cyg_ac_tcl_version%g | 2134 s%@ecos_tk_libs@%$ecos_tk_libs%g |
| 2002 s%@cyg_ac_tcl_incdir@%$cyg_ac_tcl_incdir%g | |
| 2003 s%@cyg_ac_tcl_libdir@%$cyg_ac_tcl_libdir%g | |
| 2004 s%@cyg_ac_tcl_libs@%$cyg_ac_tcl_libs%g | |
| 2005 s%@cyg_ac_tk_libs@%$cyg_ac_tk_libs%g | |
| 2006 s%@cyg_ac_infra_incdir@%$cyg_ac_infra_incdir%g | |
| 2007 s%@cyg_ac_infra_libdir@%$cyg_ac_infra_libdir%g | |
| 2008 s%@INCLUDES@%$INCLUDES%g | |
| 2009 | 2135 |
| 2010 CEOF | 2136 CEOF |
| 2011 EOF | 2137 EOF |
| 2012 | 2138 |
| 2013 cat >> $CONFIG_STATUS <<\EOF | 2139 cat >> $CONFIG_STATUS <<\EOF |
