Mercurial > flash_v2
comparison host/configure @ 136:a9ac27ec7abc ecos-sw-2000-11-17
Merge from eCos master repository on 2000-11-17-18:24:25-GMT
| author | jlarmour |
|---|---|
| date | Fri, 17 Nov 2000 23:16:43 +0000 |
| parents | eb9fd8c04db3 |
| children | 25e238959bae |
comparison
equal
deleted
inserted
replaced
| 135:3bc2abeae9ff | 136:a9ac27ec7abc |
|---|---|
| 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-tcl-version=<vsn> version of Tcl to be used" | 36 --with-tcl-version=<vsn> version of Tcl to be used" |
| 37 ac_help="$ac_help | |
| 38 --with-tcl-header=<path> location of Tcl header" | |
| 39 ac_help="$ac_help | |
| 40 --with-tcl-lib=<path> location of Tcl libraries" | |
| 37 ac_help="$ac_help | 41 ac_help="$ac_help |
| 38 --with-tcl=<path> location of Tcl header and libraries" | 42 --with-tcl=<path> location of Tcl header and libraries" |
| 39 | 43 |
| 40 # Initialize some variables set by options. | 44 # Initialize some variables set by options. |
| 41 # The variables have the same names as the options, with | 45 # The variables have the same names as the options, with |
| 581 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : | 585 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : |
| 582 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } | 586 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
| 583 fi | 587 fi |
| 584 | 588 |
| 585 echo $ac_n "checking host system type""... $ac_c" 1>&6 | 589 echo $ac_n "checking host system type""... $ac_c" 1>&6 |
| 586 echo "configure:587: checking host system type" >&5 | 590 echo "configure:591: checking host system type" >&5 |
| 587 | 591 |
| 588 host_alias=$host | 592 host_alias=$host |
| 589 case "$host_alias" in | 593 case "$host_alias" in |
| 590 NONE) | 594 NONE) |
| 591 case $nonopt in | 595 case $nonopt in |
| 613 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag | 617 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
| 614 # AFS /usr/afsws/bin/install, which mishandles nonexistent args | 618 # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
| 615 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" | 619 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
| 616 # ./install, which can be erroneously created by make from ./install.sh. | 620 # ./install, which can be erroneously created by make from ./install.sh. |
| 617 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 | 621 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
| 618 echo "configure:619: checking for a BSD compatible install" >&5 | 622 echo "configure:623: checking for a BSD compatible install" >&5 |
| 619 if test -z "$INSTALL"; then | 623 if test -z "$INSTALL"; then |
| 620 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then | 624 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
| 621 echo $ac_n "(cached) $ac_c" 1>&6 | 625 echo $ac_n "(cached) $ac_c" 1>&6 |
| 622 else | 626 else |
| 623 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" | 627 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
| 666 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' | 670 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
| 667 | 671 |
| 668 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' | 672 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
| 669 | 673 |
| 670 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 | 674 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
| 671 echo "configure:672: checking whether build environment is sane" >&5 | 675 echo "configure:676: checking whether build environment is sane" >&5 |
| 672 # Just in case | 676 # Just in case |
| 673 sleep 1 | 677 sleep 1 |
| 674 echo timestamp > conftestfile | 678 echo timestamp > conftestfile |
| 675 # Do `set' in a subshell so we don't clobber the current shell's | 679 # Do `set' in a subshell so we don't clobber the current shell's |
| 676 # arguments. Must try -L first in case configure is actually a | 680 # arguments. Must try -L first in case configure is actually a |
| 723 | 727 |
| 724 # sed with no file args requires a program. | 728 # sed with no file args requires a program. |
| 725 test "$program_transform_name" = "" && program_transform_name="s,x,x," | 729 test "$program_transform_name" = "" && program_transform_name="s,x,x," |
| 726 | 730 |
| 727 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 731 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 728 echo "configure:729: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 732 echo "configure:733: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 729 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 733 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 730 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 734 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 731 echo $ac_n "(cached) $ac_c" 1>&6 | 735 echo $ac_n "(cached) $ac_c" 1>&6 |
| 732 else | 736 else |
| 733 cat > conftestmake <<\EOF | 737 cat > conftestmake <<\EOF |
| 762 | 766 |
| 763 | 767 |
| 764 | 768 |
| 765 missing_dir=`cd $ac_aux_dir && pwd` | 769 missing_dir=`cd $ac_aux_dir && pwd` |
| 766 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 | 770 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
| 767 echo "configure:768: checking for working aclocal" >&5 | 771 echo "configure:772: checking for working aclocal" >&5 |
| 768 # Run test in a subshell; some versions of sh will print an error if | 772 # Run test in a subshell; some versions of sh will print an error if |
| 769 # an executable is not found, even if stderr is redirected. | 773 # an executable is not found, even if stderr is redirected. |
| 770 # Redirect stdin to placate older versions of autoconf. Sigh. | 774 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 771 if (aclocal --version) < /dev/null > /dev/null 2>&1; then | 775 if (aclocal --version) < /dev/null > /dev/null 2>&1; then |
| 772 ACLOCAL=aclocal | 776 ACLOCAL=aclocal |
| 775 ACLOCAL="$missing_dir/missing aclocal" | 779 ACLOCAL="$missing_dir/missing aclocal" |
| 776 echo "$ac_t""missing" 1>&6 | 780 echo "$ac_t""missing" 1>&6 |
| 777 fi | 781 fi |
| 778 | 782 |
| 779 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 | 783 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
| 780 echo "configure:781: checking for working autoconf" >&5 | 784 echo "configure:785: checking for working autoconf" >&5 |
| 781 # Run test in a subshell; some versions of sh will print an error if | 785 # Run test in a subshell; some versions of sh will print an error if |
| 782 # an executable is not found, even if stderr is redirected. | 786 # an executable is not found, even if stderr is redirected. |
| 783 # Redirect stdin to placate older versions of autoconf. Sigh. | 787 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 784 if (autoconf --version) < /dev/null > /dev/null 2>&1; then | 788 if (autoconf --version) < /dev/null > /dev/null 2>&1; then |
| 785 AUTOCONF=autoconf | 789 AUTOCONF=autoconf |
| 788 AUTOCONF="$missing_dir/missing autoconf" | 792 AUTOCONF="$missing_dir/missing autoconf" |
| 789 echo "$ac_t""missing" 1>&6 | 793 echo "$ac_t""missing" 1>&6 |
| 790 fi | 794 fi |
| 791 | 795 |
| 792 echo $ac_n "checking for working automake""... $ac_c" 1>&6 | 796 echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
| 793 echo "configure:794: checking for working automake" >&5 | 797 echo "configure:798: checking for working automake" >&5 |
| 794 # Run test in a subshell; some versions of sh will print an error if | 798 # Run test in a subshell; some versions of sh will print an error if |
| 795 # an executable is not found, even if stderr is redirected. | 799 # an executable is not found, even if stderr is redirected. |
| 796 # Redirect stdin to placate older versions of autoconf. Sigh. | 800 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 797 if (automake --version) < /dev/null > /dev/null 2>&1; then | 801 if (automake --version) < /dev/null > /dev/null 2>&1; then |
| 798 AUTOMAKE=automake | 802 AUTOMAKE=automake |
| 801 AUTOMAKE="$missing_dir/missing automake" | 805 AUTOMAKE="$missing_dir/missing automake" |
| 802 echo "$ac_t""missing" 1>&6 | 806 echo "$ac_t""missing" 1>&6 |
| 803 fi | 807 fi |
| 804 | 808 |
| 805 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 | 809 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
| 806 echo "configure:807: checking for working autoheader" >&5 | 810 echo "configure:811: checking for working autoheader" >&5 |
| 807 # Run test in a subshell; some versions of sh will print an error if | 811 # Run test in a subshell; some versions of sh will print an error if |
| 808 # an executable is not found, even if stderr is redirected. | 812 # an executable is not found, even if stderr is redirected. |
| 809 # Redirect stdin to placate older versions of autoconf. Sigh. | 813 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 810 if (autoheader --version) < /dev/null > /dev/null 2>&1; then | 814 if (autoheader --version) < /dev/null > /dev/null 2>&1; then |
| 811 AUTOHEADER=autoheader | 815 AUTOHEADER=autoheader |
| 814 AUTOHEADER="$missing_dir/missing autoheader" | 818 AUTOHEADER="$missing_dir/missing autoheader" |
| 815 echo "$ac_t""missing" 1>&6 | 819 echo "$ac_t""missing" 1>&6 |
| 816 fi | 820 fi |
| 817 | 821 |
| 818 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 | 822 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
| 819 echo "configure:820: checking for working makeinfo" >&5 | 823 echo "configure:824: checking for working makeinfo" >&5 |
| 820 # Run test in a subshell; some versions of sh will print an error if | 824 # Run test in a subshell; some versions of sh will print an error if |
| 821 # an executable is not found, even if stderr is redirected. | 825 # an executable is not found, even if stderr is redirected. |
| 822 # Redirect stdin to placate older versions of autoconf. Sigh. | 826 # Redirect stdin to placate older versions of autoconf. Sigh. |
| 823 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then | 827 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then |
| 824 MAKEINFO=makeinfo | 828 MAKEINFO=makeinfo |
| 828 echo "$ac_t""missing" 1>&6 | 832 echo "$ac_t""missing" 1>&6 |
| 829 fi | 833 fi |
| 830 | 834 |
| 831 | 835 |
| 832 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 | 836 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6 |
| 833 echo "configure:834: checking whether to enable maintainer-specific portions of Makefiles" >&5 | 837 echo "configure:838: checking whether to enable maintainer-specific portions of Makefiles" >&5 |
| 834 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. | 838 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given. |
| 835 if test "${enable_maintainer_mode+set}" = set; then | 839 if test "${enable_maintainer_mode+set}" = set; then |
| 836 enableval="$enable_maintainer_mode" | 840 enableval="$enable_maintainer_mode" |
| 837 USE_MAINTAINER_MODE=$enableval | 841 USE_MAINTAINER_MODE=$enableval |
| 838 else | 842 else |
| 852 MAINT=$MAINTAINER_MODE_TRUE | 856 MAINT=$MAINTAINER_MODE_TRUE |
| 853 | 857 |
| 854 | 858 |
| 855 | 859 |
| 856 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 860 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
| 857 echo "configure:858: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 861 echo "configure:862: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
| 858 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 862 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
| 859 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 863 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
| 860 echo $ac_n "(cached) $ac_c" 1>&6 | 864 echo $ac_n "(cached) $ac_c" 1>&6 |
| 861 else | 865 else |
| 862 cat > conftestmake <<\EOF | 866 cat > conftestmake <<\EOF |
| 879 echo "$ac_t""no" 1>&6 | 883 echo "$ac_t""no" 1>&6 |
| 880 SET_MAKE="MAKE=${MAKE-make}" | 884 SET_MAKE="MAKE=${MAKE-make}" |
| 881 fi | 885 fi |
| 882 | 886 |
| 883 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 | 887 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 |
| 884 echo "configure:885: checking for Cygwin environment" >&5 | 888 echo "configure:889: checking for Cygwin environment" >&5 |
| 885 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then | 889 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then |
| 886 echo $ac_n "(cached) $ac_c" 1>&6 | 890 echo $ac_n "(cached) $ac_c" 1>&6 |
| 887 else | 891 else |
| 888 cat > conftest.$ac_ext <<EOF | 892 cat > conftest.$ac_ext <<EOF |
| 889 #line 890 "configure" | 893 #line 894 "configure" |
| 890 #include "confdefs.h" | 894 #include "confdefs.h" |
| 891 | 895 |
| 892 int main() { | 896 int main() { |
| 893 | 897 |
| 894 #ifndef __CYGWIN__ | 898 #ifndef __CYGWIN__ |
| 895 #define __CYGWIN__ __CYGWIN32__ | 899 #define __CYGWIN__ __CYGWIN32__ |
| 896 #endif | 900 #endif |
| 897 return __CYGWIN__; | 901 return __CYGWIN__; |
| 898 ; return 0; } | 902 ; return 0; } |
| 899 EOF | 903 EOF |
| 900 if { (eval echo configure:901: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 904 if { (eval echo configure:905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 901 rm -rf conftest* | 905 rm -rf conftest* |
| 902 ac_cv_cygwin=yes | 906 ac_cv_cygwin=yes |
| 903 else | 907 else |
| 904 echo "configure: failed program was:" >&5 | 908 echo "configure: failed program was:" >&5 |
| 905 cat conftest.$ac_ext >&5 | 909 cat conftest.$ac_ext >&5 |
| 914 CYGWIN= | 918 CYGWIN= |
| 915 test "$ac_cv_cygwin" = yes && CYGWIN=yes | 919 test "$ac_cv_cygwin" = yes && CYGWIN=yes |
| 916 # Extract the first word of "gcc", so it can be a program name with args. | 920 # Extract the first word of "gcc", so it can be a program name with args. |
| 917 set dummy gcc; ac_word=$2 | 921 set dummy gcc; ac_word=$2 |
| 918 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 922 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 919 echo "configure:920: checking for $ac_word" >&5 | 923 echo "configure:924: checking for $ac_word" >&5 |
| 920 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 924 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 921 echo $ac_n "(cached) $ac_c" 1>&6 | 925 echo $ac_n "(cached) $ac_c" 1>&6 |
| 922 else | 926 else |
| 923 if test -n "$CC"; then | 927 if test -n "$CC"; then |
| 924 ac_cv_prog_CC="$CC" # Let the user override the test. | 928 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 944 | 948 |
| 945 if test -z "$CC"; then | 949 if test -z "$CC"; then |
| 946 # Extract the first word of "cc", so it can be a program name with args. | 950 # Extract the first word of "cc", so it can be a program name with args. |
| 947 set dummy cc; ac_word=$2 | 951 set dummy cc; ac_word=$2 |
| 948 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 952 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 949 echo "configure:950: checking for $ac_word" >&5 | 953 echo "configure:954: checking for $ac_word" >&5 |
| 950 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 954 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 951 echo $ac_n "(cached) $ac_c" 1>&6 | 955 echo $ac_n "(cached) $ac_c" 1>&6 |
| 952 else | 956 else |
| 953 if test -n "$CC"; then | 957 if test -n "$CC"; then |
| 954 ac_cv_prog_CC="$CC" # Let the user override the test. | 958 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 995 case "`uname -s`" in | 999 case "`uname -s`" in |
| 996 *win32* | *WIN32*) | 1000 *win32* | *WIN32*) |
| 997 # Extract the first word of "cl", so it can be a program name with args. | 1001 # Extract the first word of "cl", so it can be a program name with args. |
| 998 set dummy cl; ac_word=$2 | 1002 set dummy cl; ac_word=$2 |
| 999 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1003 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1000 echo "configure:1001: checking for $ac_word" >&5 | 1004 echo "configure:1005: checking for $ac_word" >&5 |
| 1001 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 1005 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
| 1002 echo $ac_n "(cached) $ac_c" 1>&6 | 1006 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1003 else | 1007 else |
| 1004 if test -n "$CC"; then | 1008 if test -n "$CC"; then |
| 1005 ac_cv_prog_CC="$CC" # Let the user override the test. | 1009 ac_cv_prog_CC="$CC" # Let the user override the test. |
| 1027 fi | 1031 fi |
| 1028 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 1032 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
| 1029 fi | 1033 fi |
| 1030 | 1034 |
| 1031 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1035 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1032 echo "configure:1033: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 1036 echo "configure:1037: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
| 1033 | 1037 |
| 1034 ac_ext=c | 1038 ac_ext=c |
| 1035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1039 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 1036 ac_cpp='$CPP $CPPFLAGS' | 1040 ac_cpp='$CPP $CPPFLAGS' |
| 1037 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1041 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 1038 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1042 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 1039 cross_compiling=$ac_cv_prog_cc_cross | 1043 cross_compiling=$ac_cv_prog_cc_cross |
| 1040 | 1044 |
| 1041 cat > conftest.$ac_ext << EOF | 1045 cat > conftest.$ac_ext << EOF |
| 1042 | 1046 |
| 1043 #line 1044 "configure" | 1047 #line 1048 "configure" |
| 1044 #include "confdefs.h" | 1048 #include "confdefs.h" |
| 1045 | 1049 |
| 1046 main(){return(0);} | 1050 main(){return(0);} |
| 1047 EOF | 1051 EOF |
| 1048 if { (eval echo configure:1049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1052 if { (eval echo configure:1053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1049 ac_cv_prog_cc_works=yes | 1053 ac_cv_prog_cc_works=yes |
| 1050 # If we can't run a trivial program, we are probably using a cross compiler. | 1054 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1051 if (./conftest; exit) 2>/dev/null; then | 1055 if (./conftest; exit) 2>/dev/null; then |
| 1052 ac_cv_prog_cc_cross=no | 1056 ac_cv_prog_cc_cross=no |
| 1053 else | 1057 else |
| 1069 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 1073 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
| 1070 if test $ac_cv_prog_cc_works = no; then | 1074 if test $ac_cv_prog_cc_works = no; then |
| 1071 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 1075 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
| 1072 fi | 1076 fi |
| 1073 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1077 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1074 echo "configure:1075: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1078 echo "configure:1079: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1075 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 1079 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
| 1076 cross_compiling=$ac_cv_prog_cc_cross | 1080 cross_compiling=$ac_cv_prog_cc_cross |
| 1077 | 1081 |
| 1078 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 1082 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
| 1079 echo "configure:1080: checking whether we are using GNU C" >&5 | 1083 echo "configure:1084: checking whether we are using GNU C" >&5 |
| 1080 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 1084 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
| 1081 echo $ac_n "(cached) $ac_c" 1>&6 | 1085 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1082 else | 1086 else |
| 1083 cat > conftest.c <<EOF | 1087 cat > conftest.c <<EOF |
| 1084 #ifdef __GNUC__ | 1088 #ifdef __GNUC__ |
| 1085 yes; | 1089 yes; |
| 1086 #endif | 1090 #endif |
| 1087 EOF | 1091 EOF |
| 1088 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1089: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1092 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1093: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1089 ac_cv_prog_gcc=yes | 1093 ac_cv_prog_gcc=yes |
| 1090 else | 1094 else |
| 1091 ac_cv_prog_gcc=no | 1095 ac_cv_prog_gcc=no |
| 1092 fi | 1096 fi |
| 1093 fi | 1097 fi |
| 1102 | 1106 |
| 1103 ac_test_CFLAGS="${CFLAGS+set}" | 1107 ac_test_CFLAGS="${CFLAGS+set}" |
| 1104 ac_save_CFLAGS="$CFLAGS" | 1108 ac_save_CFLAGS="$CFLAGS" |
| 1105 CFLAGS= | 1109 CFLAGS= |
| 1106 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 1110 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
| 1107 echo "configure:1108: checking whether ${CC-cc} accepts -g" >&5 | 1111 echo "configure:1112: checking whether ${CC-cc} accepts -g" >&5 |
| 1108 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 1112 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
| 1109 echo $ac_n "(cached) $ac_c" 1>&6 | 1113 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1110 else | 1114 else |
| 1111 echo 'void f(){}' > conftest.c | 1115 echo 'void f(){}' > conftest.c |
| 1112 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 1116 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
| 1138 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl | 1142 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl |
| 1139 do | 1143 do |
| 1140 # Extract the first word of "$ac_prog", so it can be a program name with args. | 1144 # Extract the first word of "$ac_prog", so it can be a program name with args. |
| 1141 set dummy $ac_prog; ac_word=$2 | 1145 set dummy $ac_prog; ac_word=$2 |
| 1142 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1146 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
| 1143 echo "configure:1144: checking for $ac_word" >&5 | 1147 echo "configure:1148: checking for $ac_word" >&5 |
| 1144 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then | 1148 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
| 1145 echo $ac_n "(cached) $ac_c" 1>&6 | 1149 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1146 else | 1150 else |
| 1147 if test -n "$CXX"; then | 1151 if test -n "$CXX"; then |
| 1148 ac_cv_prog_CXX="$CXX" # Let the user override the test. | 1152 ac_cv_prog_CXX="$CXX" # Let the user override the test. |
| 1170 done | 1174 done |
| 1171 test -n "$CXX" || CXX="gcc" | 1175 test -n "$CXX" || CXX="gcc" |
| 1172 | 1176 |
| 1173 | 1177 |
| 1174 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 1178 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
| 1175 echo "configure:1176: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 | 1179 echo "configure:1180: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
| 1176 | 1180 |
| 1177 ac_ext=C | 1181 ac_ext=C |
| 1178 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 1182 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
| 1179 ac_cpp='$CXXCPP $CPPFLAGS' | 1183 ac_cpp='$CXXCPP $CPPFLAGS' |
| 1180 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 1184 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
| 1181 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 1185 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
| 1182 cross_compiling=$ac_cv_prog_cxx_cross | 1186 cross_compiling=$ac_cv_prog_cxx_cross |
| 1183 | 1187 |
| 1184 cat > conftest.$ac_ext << EOF | 1188 cat > conftest.$ac_ext << EOF |
| 1185 | 1189 |
| 1186 #line 1187 "configure" | 1190 #line 1191 "configure" |
| 1187 #include "confdefs.h" | 1191 #include "confdefs.h" |
| 1188 | 1192 |
| 1189 int main(){return(0);} | 1193 int main(){return(0);} |
| 1190 EOF | 1194 EOF |
| 1191 if { (eval echo configure:1192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1195 if { (eval echo configure:1196: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
| 1192 ac_cv_prog_cxx_works=yes | 1196 ac_cv_prog_cxx_works=yes |
| 1193 # If we can't run a trivial program, we are probably using a cross compiler. | 1197 # If we can't run a trivial program, we are probably using a cross compiler. |
| 1194 if (./conftest; exit) 2>/dev/null; then | 1198 if (./conftest; exit) 2>/dev/null; then |
| 1195 ac_cv_prog_cxx_cross=no | 1199 ac_cv_prog_cxx_cross=no |
| 1196 else | 1200 else |
| 1212 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 | 1216 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 |
| 1213 if test $ac_cv_prog_cxx_works = no; then | 1217 if test $ac_cv_prog_cxx_works = no; then |
| 1214 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } | 1218 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } |
| 1215 fi | 1219 fi |
| 1216 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 1220 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
| 1217 echo "configure:1218: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 | 1221 echo "configure:1222: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
| 1218 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 | 1222 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
| 1219 cross_compiling=$ac_cv_prog_cxx_cross | 1223 cross_compiling=$ac_cv_prog_cxx_cross |
| 1220 | 1224 |
| 1221 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 | 1225 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 |
| 1222 echo "configure:1223: checking whether we are using GNU C++" >&5 | 1226 echo "configure:1227: checking whether we are using GNU C++" >&5 |
| 1223 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then | 1227 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
| 1224 echo $ac_n "(cached) $ac_c" 1>&6 | 1228 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1225 else | 1229 else |
| 1226 cat > conftest.C <<EOF | 1230 cat > conftest.C <<EOF |
| 1227 #ifdef __GNUC__ | 1231 #ifdef __GNUC__ |
| 1228 yes; | 1232 yes; |
| 1229 #endif | 1233 #endif |
| 1230 EOF | 1234 EOF |
| 1231 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1232: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 1235 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
| 1232 ac_cv_prog_gxx=yes | 1236 ac_cv_prog_gxx=yes |
| 1233 else | 1237 else |
| 1234 ac_cv_prog_gxx=no | 1238 ac_cv_prog_gxx=no |
| 1235 fi | 1239 fi |
| 1236 fi | 1240 fi |
| 1245 | 1249 |
| 1246 ac_test_CXXFLAGS="${CXXFLAGS+set}" | 1250 ac_test_CXXFLAGS="${CXXFLAGS+set}" |
| 1247 ac_save_CXXFLAGS="$CXXFLAGS" | 1251 ac_save_CXXFLAGS="$CXXFLAGS" |
| 1248 CXXFLAGS= | 1252 CXXFLAGS= |
| 1249 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 | 1253 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
| 1250 echo "configure:1251: checking whether ${CXX-g++} accepts -g" >&5 | 1254 echo "configure:1255: checking whether ${CXX-g++} accepts -g" >&5 |
| 1251 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then | 1255 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
| 1252 echo $ac_n "(cached) $ac_c" 1>&6 | 1256 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1253 else | 1257 else |
| 1254 echo 'void f(){}' > conftest.cc | 1258 echo 'void f(){}' > conftest.cc |
| 1255 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then | 1259 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then |
| 1277 CXXFLAGS= | 1281 CXXFLAGS= |
| 1278 fi | 1282 fi |
| 1279 fi | 1283 fi |
| 1280 | 1284 |
| 1281 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 | 1285 echo $ac_n "checking for object suffix""... $ac_c" 1>&6 |
| 1282 echo "configure:1283: checking for object suffix" >&5 | 1286 echo "configure:1287: checking for object suffix" >&5 |
| 1283 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then | 1287 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then |
| 1284 echo $ac_n "(cached) $ac_c" 1>&6 | 1288 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1285 else | 1289 else |
| 1286 rm -f conftest* | 1290 rm -f conftest* |
| 1287 echo 'int i = 1;' > conftest.$ac_ext | 1291 echo 'int i = 1;' > conftest.$ac_ext |
| 1288 if { (eval echo configure:1289: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1292 if { (eval echo configure:1293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1289 for ac_file in conftest.*; do | 1293 for ac_file in conftest.*; do |
| 1290 case $ac_file in | 1294 case $ac_file in |
| 1291 *.c) ;; | 1295 *.c) ;; |
| 1292 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; | 1296 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;; |
| 1293 esac | 1297 esac |
| 1301 echo "$ac_t""$ac_cv_objext" 1>&6 | 1305 echo "$ac_t""$ac_cv_objext" 1>&6 |
| 1302 OBJEXT=$ac_cv_objext | 1306 OBJEXT=$ac_cv_objext |
| 1303 ac_objext=$ac_cv_objext | 1307 ac_objext=$ac_cv_objext |
| 1304 | 1308 |
| 1305 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 | 1309 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 |
| 1306 echo "configure:1307: checking for mingw32 environment" >&5 | 1310 echo "configure:1311: checking for mingw32 environment" >&5 |
| 1307 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then | 1311 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then |
| 1308 echo $ac_n "(cached) $ac_c" 1>&6 | 1312 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1309 else | 1313 else |
| 1310 cat > conftest.$ac_ext <<EOF | 1314 cat > conftest.$ac_ext <<EOF |
| 1311 #line 1312 "configure" | 1315 #line 1316 "configure" |
| 1312 #include "confdefs.h" | 1316 #include "confdefs.h" |
| 1313 | 1317 |
| 1314 int main() { | 1318 int main() { |
| 1315 return __MINGW32__; | 1319 return __MINGW32__; |
| 1316 ; return 0; } | 1320 ; return 0; } |
| 1317 EOF | 1321 EOF |
| 1318 if { (eval echo configure:1319: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1322 if { (eval echo configure:1323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
| 1319 rm -rf conftest* | 1323 rm -rf conftest* |
| 1320 ac_cv_mingw32=yes | 1324 ac_cv_mingw32=yes |
| 1321 else | 1325 else |
| 1322 echo "configure: failed program was:" >&5 | 1326 echo "configure: failed program was:" >&5 |
| 1323 cat conftest.$ac_ext >&5 | 1327 cat conftest.$ac_ext >&5 |
| 1332 MINGW32= | 1336 MINGW32= |
| 1333 test "$ac_cv_mingw32" = yes && MINGW32=yes | 1337 test "$ac_cv_mingw32" = yes && MINGW32=yes |
| 1334 | 1338 |
| 1335 | 1339 |
| 1336 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | 1340 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
| 1337 echo "configure:1338: checking for executable suffix" >&5 | 1341 echo "configure:1342: checking for executable suffix" >&5 |
| 1338 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | 1342 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
| 1339 echo $ac_n "(cached) $ac_c" 1>&6 | 1343 echo $ac_n "(cached) $ac_c" 1>&6 |
| 1340 else | 1344 else |
| 1341 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then | 1345 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then |
| 1342 ac_cv_exeext=.exe | 1346 ac_cv_exeext=.exe |
| 1343 else | 1347 else |
| 1344 rm -f conftest* | 1348 rm -f conftest* |
| 1345 echo 'int main () { return 0; }' > conftest.$ac_ext | 1349 echo 'int main () { return 0; }' > conftest.$ac_ext |
| 1346 ac_cv_exeext= | 1350 ac_cv_exeext= |
| 1347 if { (eval echo configure:1348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | 1351 if { (eval echo configure:1352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
| 1348 for file in conftest.*; do | 1352 for file in conftest.*; do |
| 1349 case $file in | 1353 case $file in |
| 1350 *.c | *.o | *.obj | *.ilk | *.pdb) ;; | 1354 *.c | *.o | *.obj | *.ilk | *.pdb) ;; |
| 1351 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; | 1355 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; |
| 1352 esac | 1356 esac |
| 1367 | 1371 |
| 1368 | 1372 |
| 1369 | 1373 |
| 1370 | 1374 |
| 1371 echo $ac_n "checking "for Visual C++"""... $ac_c" 1>&6 | 1375 echo $ac_n "checking "for Visual C++"""... $ac_c" 1>&6 |
| 1372 echo "configure:1373: checking "for Visual C++"" >&5 | 1376 echo "configure:1377: checking "for Visual C++"" >&5 |
| 1373 MSVC="no"; | 1377 MSVC="no"; |
| 1374 if test "${CC}" = "cl" ; then | 1378 if test "${CC}" = "cl" ; then |
| 1375 MSVC="yes" | 1379 MSVC="yes" |
| 1376 fi | 1380 fi |
| 1377 if test "${CXX}" = "cl" ; then | 1381 if test "${CXX}" = "cl" ; then |
| 1393 | 1397 |
| 1394 | 1398 |
| 1395 | 1399 |
| 1396 | 1400 |
| 1397 echo $ac_n "checking "the default compiler flags"""... $ac_c" 1>&6 | 1401 echo $ac_n "checking "the default compiler flags"""... $ac_c" 1>&6 |
| 1398 echo "configure:1399: checking "the default compiler flags"" >&5 | 1402 echo "configure:1403: checking "the default compiler flags"" >&5 |
| 1399 | 1403 |
| 1400 cygflags_enable_debug="no" | 1404 cygflags_enable_debug="no" |
| 1401 # Check whether --enable-debug or --disable-debug was given. | 1405 # Check whether --enable-debug or --disable-debug was given. |
| 1402 if test "${enable_debug+set}" = set; then | 1406 if test "${enable_debug+set}" = set; then |
| 1403 enableval="$enable_debug" | 1407 enableval="$enable_debug" |
| 1587 | 1591 |
| 1588 | 1592 |
| 1589 | 1593 |
| 1590 | 1594 |
| 1591 echo $ac_n "checking for Tcl version""... $ac_c" 1>&6 | 1595 echo $ac_n "checking for Tcl version""... $ac_c" 1>&6 |
| 1592 echo "configure:1593: checking for Tcl version" >&5 | 1596 echo "configure:1597: checking for Tcl version" >&5 |
| 1593 # Check whether --with-tcl-version or --without-tcl-version was given. | 1597 # Check whether --with-tcl-version or --without-tcl-version was given. |
| 1594 if test "${with_tcl_version+set}" = set; then | 1598 if test "${with_tcl_version+set}" = set; then |
| 1595 withval="$with_tcl_version" | 1599 withval="$with_tcl_version" |
| 1596 | 1600 |
| 1597 cyg_ac_tcl_version=${with_tcl_version} | 1601 cyg_ac_tcl_version=${with_tcl_version} |
| 1611 fi | 1615 fi |
| 1612 | 1616 |
| 1613 echo "$ac_t""${cyg_ac_tcl_version}" 1>&6 | 1617 echo "$ac_t""${cyg_ac_tcl_version}" 1>&6 |
| 1614 | 1618 |
| 1615 | 1619 |
| 1620 # Check whether --with-tcl or --without-tcl was given. | |
| 1621 if test "${with_tcl+set}" = set; then | |
| 1622 withval="$with_tcl" | |
| 1623 : | |
| 1624 fi | |
| 1625 | |
| 1626 # Check whether --with-tcl or --without-tcl was given. | |
| 1627 if test "${with_tcl+set}" = set; then | |
| 1628 withval="$with_tcl" | |
| 1629 : | |
| 1630 fi | |
| 1631 | |
| 1632 | |
| 1616 echo $ac_n "checking for Tcl installation""... $ac_c" 1>&6 | 1633 echo $ac_n "checking for Tcl installation""... $ac_c" 1>&6 |
| 1617 echo "configure:1618: checking for Tcl installation" >&5 | 1634 echo "configure:1635: checking for Tcl installation" >&5 |
| 1618 # Check whether --with-tcl or --without-tcl was given. | 1635 # Check whether --with-tcl or --without-tcl was given. |
| 1619 if test "${with_tcl+set}" = set; then | 1636 if test "${with_tcl+set}" = set; then |
| 1620 withval="$with_tcl" | 1637 withval="$with_tcl" |
| 1621 | 1638 |
| 1622 cyg_ac_tcl_incdir=${with_tcl}/include | 1639 cyg_ac_tcl_incdir=${with_tcl}/include |
| 1623 cyg_ac_tcl_libdir=${with_tcl}/lib | 1640 cyg_ac_tcl_libdir=${with_tcl}/lib |
| 1624 | 1641 |
| 1625 else | 1642 else |
| 1626 | 1643 |
| 1627 cyg_ac_tcl_incdir=${prefix}/include | 1644 if test "${with_tcl_header}" = "no"; then |
| 1628 cyg_ac_tcl_libdir=${prefix}/lib | 1645 cyg_ac_tcl_incdir=${prefix}/include |
| 1646 else | |
| 1647 with_tcl=yes | |
| 1648 cyg_ac_tcl_incdir=${with_tcl_header}/include | |
| 1649 fi | |
| 1650 | |
| 1651 if test "${with_tcl_lib}" = "no"; then | |
| 1652 cyg_ac_tcl_libdir=${prefix}/lib | |
| 1653 else | |
| 1654 with_tcl=yes | |
| 1655 cyg_ac_tcl_libdir=${with_tcl_lib}/lib | |
| 1656 fi | |
| 1629 | 1657 |
| 1630 fi | 1658 fi |
| 1631 | 1659 |
| 1632 echo "$ac_t""${cyg_ac_tcl_libdir}" 1>&6 | 1660 echo "$ac_t""${cyg_ac_tcl_libdir}" 1>&6 |
| 1633 | 1661 |
