Mercurial > vim
comparison src/auto/configure @ 14:946da5994c01
updated for version 7.0006
author | vimboss |
---|---|
date | Mon, 05 Jul 2004 15:58:32 +0000 |
parents | 24d5189d3956 |
children | 3ba373b54370 |
comparison
equal
deleted
inserted
replaced
13:24d5189d3956 | 14:946da5994c01 |
---|---|
29 --with-compiledby=NAME name to show in :version message" | 29 --with-compiledby=NAME name to show in :version message" |
30 ac_help="$ac_help | 30 ac_help="$ac_help |
31 --disable-xsmp Disable XSMP session management" | 31 --disable-xsmp Disable XSMP session management" |
32 ac_help="$ac_help | 32 ac_help="$ac_help |
33 --disable-xsmp-interact Disable XSMP interaction" | 33 --disable-xsmp-interact Disable XSMP interaction" |
34 ac_help="$ac_help | |
35 --enable-mzschemeinterp Include MzScheme interpreter." | |
36 ac_help="$ac_help | |
37 --with-plthome=PLTHOME Use PLTHOME." | |
34 ac_help="$ac_help | 38 ac_help="$ac_help |
35 --enable-perlinterp Include Perl interpreter." | 39 --enable-perlinterp Include Perl interpreter." |
36 ac_help="$ac_help | 40 ac_help="$ac_help |
37 --enable-pythoninterp Include Python interpreter." | 41 --enable-pythoninterp Include Python interpreter." |
38 ac_help="$ac_help | 42 ac_help="$ac_help |
634 cat >> confdefs.h <<\EOF | 638 cat >> confdefs.h <<\EOF |
635 #define UNIX 1 | 639 #define UNIX 1 |
636 EOF | 640 EOF |
637 | 641 |
638 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 642 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
639 echo "configure:640: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 643 echo "configure:644: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
640 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 644 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
641 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 645 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
642 echo $ac_n "(cached) $ac_c" 1>&6 | 646 echo $ac_n "(cached) $ac_c" 1>&6 |
643 else | 647 else |
644 cat > conftestmake <<\EOF | 648 cat > conftestmake <<\EOF |
664 | 668 |
665 | 669 |
666 # Extract the first word of "gcc", so it can be a program name with args. | 670 # Extract the first word of "gcc", so it can be a program name with args. |
667 set dummy gcc; ac_word=$2 | 671 set dummy gcc; ac_word=$2 |
668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 672 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
669 echo "configure:670: checking for $ac_word" >&5 | 673 echo "configure:674: checking for $ac_word" >&5 |
670 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 674 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
671 echo $ac_n "(cached) $ac_c" 1>&6 | 675 echo $ac_n "(cached) $ac_c" 1>&6 |
672 else | 676 else |
673 if test -n "$CC"; then | 677 if test -n "$CC"; then |
674 ac_cv_prog_CC="$CC" # Let the user override the test. | 678 ac_cv_prog_CC="$CC" # Let the user override the test. |
694 | 698 |
695 if test -z "$CC"; then | 699 if test -z "$CC"; then |
696 # Extract the first word of "cc", so it can be a program name with args. | 700 # Extract the first word of "cc", so it can be a program name with args. |
697 set dummy cc; ac_word=$2 | 701 set dummy cc; ac_word=$2 |
698 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 702 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
699 echo "configure:700: checking for $ac_word" >&5 | 703 echo "configure:704: checking for $ac_word" >&5 |
700 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 704 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
701 echo $ac_n "(cached) $ac_c" 1>&6 | 705 echo $ac_n "(cached) $ac_c" 1>&6 |
702 else | 706 else |
703 if test -n "$CC"; then | 707 if test -n "$CC"; then |
704 ac_cv_prog_CC="$CC" # Let the user override the test. | 708 ac_cv_prog_CC="$CC" # Let the user override the test. |
745 case "`uname -s`" in | 749 case "`uname -s`" in |
746 *win32* | *WIN32*) | 750 *win32* | *WIN32*) |
747 # Extract the first word of "cl", so it can be a program name with args. | 751 # Extract the first word of "cl", so it can be a program name with args. |
748 set dummy cl; ac_word=$2 | 752 set dummy cl; ac_word=$2 |
749 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 753 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
750 echo "configure:751: checking for $ac_word" >&5 | 754 echo "configure:755: checking for $ac_word" >&5 |
751 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 755 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
752 echo $ac_n "(cached) $ac_c" 1>&6 | 756 echo $ac_n "(cached) $ac_c" 1>&6 |
753 else | 757 else |
754 if test -n "$CC"; then | 758 if test -n "$CC"; then |
755 ac_cv_prog_CC="$CC" # Let the user override the test. | 759 ac_cv_prog_CC="$CC" # Let the user override the test. |
777 fi | 781 fi |
778 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 782 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
779 fi | 783 fi |
780 | 784 |
781 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 785 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
782 echo "configure:783: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 786 echo "configure:787: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
783 | 787 |
784 ac_ext=c | 788 ac_ext=c |
785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
786 ac_cpp='$CPP $CPPFLAGS' | 790 ac_cpp='$CPP $CPPFLAGS' |
787 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
788 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
789 cross_compiling=$ac_cv_prog_cc_cross | 793 cross_compiling=$ac_cv_prog_cc_cross |
790 | 794 |
791 cat > conftest.$ac_ext << EOF | 795 cat > conftest.$ac_ext << EOF |
792 | 796 |
793 #line 794 "configure" | 797 #line 798 "configure" |
794 #include "confdefs.h" | 798 #include "confdefs.h" |
795 | 799 |
796 main(){return(0);} | 800 main(){return(0);} |
797 EOF | 801 EOF |
798 if { (eval echo configure:799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 802 if { (eval echo configure:803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
799 ac_cv_prog_cc_works=yes | 803 ac_cv_prog_cc_works=yes |
800 # If we can't run a trivial program, we are probably using a cross compiler. | 804 # If we can't run a trivial program, we are probably using a cross compiler. |
801 if (./conftest; exit) 2>/dev/null; then | 805 if (./conftest; exit) 2>/dev/null; then |
802 ac_cv_prog_cc_cross=no | 806 ac_cv_prog_cc_cross=no |
803 else | 807 else |
819 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 823 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
820 if test $ac_cv_prog_cc_works = no; then | 824 if test $ac_cv_prog_cc_works = no; then |
821 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 825 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
822 fi | 826 fi |
823 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 827 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
824 echo "configure:825: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 828 echo "configure:829: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
825 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 829 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
826 cross_compiling=$ac_cv_prog_cc_cross | 830 cross_compiling=$ac_cv_prog_cc_cross |
827 | 831 |
828 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 832 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
829 echo "configure:830: checking whether we are using GNU C" >&5 | 833 echo "configure:834: checking whether we are using GNU C" >&5 |
830 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 834 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
831 echo $ac_n "(cached) $ac_c" 1>&6 | 835 echo $ac_n "(cached) $ac_c" 1>&6 |
832 else | 836 else |
833 cat > conftest.c <<EOF | 837 cat > conftest.c <<EOF |
834 #ifdef __GNUC__ | 838 #ifdef __GNUC__ |
835 yes; | 839 yes; |
836 #endif | 840 #endif |
837 EOF | 841 EOF |
838 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:839: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 842 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
839 ac_cv_prog_gcc=yes | 843 ac_cv_prog_gcc=yes |
840 else | 844 else |
841 ac_cv_prog_gcc=no | 845 ac_cv_prog_gcc=no |
842 fi | 846 fi |
843 fi | 847 fi |
852 | 856 |
853 ac_test_CFLAGS="${CFLAGS+set}" | 857 ac_test_CFLAGS="${CFLAGS+set}" |
854 ac_save_CFLAGS="$CFLAGS" | 858 ac_save_CFLAGS="$CFLAGS" |
855 CFLAGS= | 859 CFLAGS= |
856 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 860 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
857 echo "configure:858: checking whether ${CC-cc} accepts -g" >&5 | 861 echo "configure:862: checking whether ${CC-cc} accepts -g" >&5 |
858 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 862 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
859 echo $ac_n "(cached) $ac_c" 1>&6 | 863 echo $ac_n "(cached) $ac_c" 1>&6 |
860 else | 864 else |
861 echo 'void f(){}' > conftest.c | 865 echo 'void f(){}' > conftest.c |
862 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 866 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
883 else | 887 else |
884 CFLAGS= | 888 CFLAGS= |
885 fi | 889 fi |
886 fi | 890 fi |
887 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 891 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
888 echo "configure:889: checking how to run the C preprocessor" >&5 | 892 echo "configure:893: checking how to run the C preprocessor" >&5 |
889 # On Suns, sometimes $CPP names a directory. | 893 # On Suns, sometimes $CPP names a directory. |
890 if test -n "$CPP" && test -d "$CPP"; then | 894 if test -n "$CPP" && test -d "$CPP"; then |
891 CPP= | 895 CPP= |
892 fi | 896 fi |
893 if test -z "$CPP"; then | 897 if test -z "$CPP"; then |
898 # substituted into the Makefile and "${CC-cc}" will confuse make. | 902 # substituted into the Makefile and "${CC-cc}" will confuse make. |
899 CPP="${CC-cc} -E" | 903 CPP="${CC-cc} -E" |
900 # On the NeXT, cc -E runs the code through the compiler's parser, | 904 # On the NeXT, cc -E runs the code through the compiler's parser, |
901 # not just through cpp. | 905 # not just through cpp. |
902 cat > conftest.$ac_ext <<EOF | 906 cat > conftest.$ac_ext <<EOF |
903 #line 904 "configure" | 907 #line 908 "configure" |
904 #include "confdefs.h" | 908 #include "confdefs.h" |
905 #include <assert.h> | 909 #include <assert.h> |
906 Syntax Error | 910 Syntax Error |
907 EOF | 911 EOF |
908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 912 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
909 { (eval echo configure:910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 913 { (eval echo configure:914: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 914 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
911 if test -z "$ac_err"; then | 915 if test -z "$ac_err"; then |
912 : | 916 : |
913 else | 917 else |
914 echo "$ac_err" >&5 | 918 echo "$ac_err" >&5 |
915 echo "configure: failed program was:" >&5 | 919 echo "configure: failed program was:" >&5 |
916 cat conftest.$ac_ext >&5 | 920 cat conftest.$ac_ext >&5 |
917 rm -rf conftest* | 921 rm -rf conftest* |
918 CPP="${CC-cc} -E -traditional-cpp" | 922 CPP="${CC-cc} -E -traditional-cpp" |
919 cat > conftest.$ac_ext <<EOF | 923 cat > conftest.$ac_ext <<EOF |
920 #line 921 "configure" | 924 #line 925 "configure" |
921 #include "confdefs.h" | 925 #include "confdefs.h" |
922 #include <assert.h> | 926 #include <assert.h> |
923 Syntax Error | 927 Syntax Error |
924 EOF | 928 EOF |
925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 929 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
926 { (eval echo configure:927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 930 { (eval echo configure:931: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 931 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
928 if test -z "$ac_err"; then | 932 if test -z "$ac_err"; then |
929 : | 933 : |
930 else | 934 else |
931 echo "$ac_err" >&5 | 935 echo "$ac_err" >&5 |
932 echo "configure: failed program was:" >&5 | 936 echo "configure: failed program was:" >&5 |
933 cat conftest.$ac_ext >&5 | 937 cat conftest.$ac_ext >&5 |
934 rm -rf conftest* | 938 rm -rf conftest* |
935 CPP="${CC-cc} -nologo -E" | 939 CPP="${CC-cc} -nologo -E" |
936 cat > conftest.$ac_ext <<EOF | 940 cat > conftest.$ac_ext <<EOF |
937 #line 938 "configure" | 941 #line 942 "configure" |
938 #include "confdefs.h" | 942 #include "confdefs.h" |
939 #include <assert.h> | 943 #include <assert.h> |
940 Syntax Error | 944 Syntax Error |
941 EOF | 945 EOF |
942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 946 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
943 { (eval echo configure:944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 947 { (eval echo configure:948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 948 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
945 if test -z "$ac_err"; then | 949 if test -z "$ac_err"; then |
946 : | 950 : |
947 else | 951 else |
948 echo "$ac_err" >&5 | 952 echo "$ac_err" >&5 |
962 else | 966 else |
963 ac_cv_prog_CPP="$CPP" | 967 ac_cv_prog_CPP="$CPP" |
964 fi | 968 fi |
965 echo "$ac_t""$CPP" 1>&6 | 969 echo "$ac_t""$CPP" 1>&6 |
966 cat > conftest.$ac_ext <<EOF | 970 cat > conftest.$ac_ext <<EOF |
967 #line 968 "configure" | 971 #line 972 "configure" |
968 #include "confdefs.h" | 972 #include "confdefs.h" |
969 | 973 |
970 EOF | 974 EOF |
971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
972 egrep "" >/dev/null 2>&1; then | 976 egrep "" >/dev/null 2>&1; then |
973 : | 977 : |
974 fi | 978 fi |
975 rm -f conftest* | 979 rm -f conftest* |
976 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 | 980 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 |
977 echo "configure:978: checking for POSIXized ISC" >&5 | 981 echo "configure:982: checking for POSIXized ISC" >&5 |
978 if test -d /etc/conf/kconfig.d && | 982 if test -d /etc/conf/kconfig.d && |
979 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 | 983 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 |
980 then | 984 then |
981 echo "$ac_t""yes" 1>&6 | 985 echo "$ac_t""yes" 1>&6 |
982 ISC=yes # If later tests want to check for ISC. | 986 ISC=yes # If later tests want to check for ISC. |
996 for ac_prog in mawk gawk nawk awk | 1000 for ac_prog in mawk gawk nawk awk |
997 do | 1001 do |
998 # Extract the first word of "$ac_prog", so it can be a program name with args. | 1002 # Extract the first word of "$ac_prog", so it can be a program name with args. |
999 set dummy $ac_prog; ac_word=$2 | 1003 set dummy $ac_prog; ac_word=$2 |
1000 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1004 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1001 echo "configure:1002: checking for $ac_word" >&5 | 1005 echo "configure:1006: checking for $ac_word" >&5 |
1002 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then | 1006 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
1003 echo $ac_n "(cached) $ac_c" 1>&6 | 1007 echo $ac_n "(cached) $ac_c" 1>&6 |
1004 else | 1008 else |
1005 if test -n "$AWK"; then | 1009 if test -n "$AWK"; then |
1006 ac_cv_prog_AWK="$AWK" # Let the user override the test. | 1010 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
1028 done | 1032 done |
1029 | 1033 |
1030 # Extract the first word of "strip", so it can be a program name with args. | 1034 # Extract the first word of "strip", so it can be a program name with args. |
1031 set dummy strip; ac_word=$2 | 1035 set dummy strip; ac_word=$2 |
1032 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1036 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1033 echo "configure:1034: checking for $ac_word" >&5 | 1037 echo "configure:1038: checking for $ac_word" >&5 |
1034 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then | 1038 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
1035 echo $ac_n "(cached) $ac_c" 1>&6 | 1039 echo $ac_n "(cached) $ac_c" 1>&6 |
1036 else | 1040 else |
1037 if test -n "$STRIP"; then | 1041 if test -n "$STRIP"; then |
1038 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 1042 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
1057 echo "$ac_t""no" 1>&6 | 1061 echo "$ac_t""no" 1>&6 |
1058 fi | 1062 fi |
1059 | 1063 |
1060 | 1064 |
1061 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 | 1065 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 |
1062 echo "configure:1063: checking for Cygwin environment" >&5 | 1066 echo "configure:1067: checking for Cygwin environment" >&5 |
1063 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then | 1067 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then |
1064 echo $ac_n "(cached) $ac_c" 1>&6 | 1068 echo $ac_n "(cached) $ac_c" 1>&6 |
1065 else | 1069 else |
1066 cat > conftest.$ac_ext <<EOF | 1070 cat > conftest.$ac_ext <<EOF |
1067 #line 1068 "configure" | 1071 #line 1072 "configure" |
1068 #include "confdefs.h" | 1072 #include "confdefs.h" |
1069 | 1073 |
1070 int main() { | 1074 int main() { |
1071 | 1075 |
1072 #ifndef __CYGWIN__ | 1076 #ifndef __CYGWIN__ |
1073 #define __CYGWIN__ __CYGWIN32__ | 1077 #define __CYGWIN__ __CYGWIN32__ |
1074 #endif | 1078 #endif |
1075 return __CYGWIN__; | 1079 return __CYGWIN__; |
1076 ; return 0; } | 1080 ; return 0; } |
1077 EOF | 1081 EOF |
1078 if { (eval echo configure:1079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1082 if { (eval echo configure:1083: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1079 rm -rf conftest* | 1083 rm -rf conftest* |
1080 ac_cv_cygwin=yes | 1084 ac_cv_cygwin=yes |
1081 else | 1085 else |
1082 echo "configure: failed program was:" >&5 | 1086 echo "configure: failed program was:" >&5 |
1083 cat conftest.$ac_ext >&5 | 1087 cat conftest.$ac_ext >&5 |
1090 | 1094 |
1091 echo "$ac_t""$ac_cv_cygwin" 1>&6 | 1095 echo "$ac_t""$ac_cv_cygwin" 1>&6 |
1092 CYGWIN= | 1096 CYGWIN= |
1093 test "$ac_cv_cygwin" = yes && CYGWIN=yes | 1097 test "$ac_cv_cygwin" = yes && CYGWIN=yes |
1094 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 | 1098 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 |
1095 echo "configure:1096: checking for mingw32 environment" >&5 | 1099 echo "configure:1100: checking for mingw32 environment" >&5 |
1096 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then | 1100 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then |
1097 echo $ac_n "(cached) $ac_c" 1>&6 | 1101 echo $ac_n "(cached) $ac_c" 1>&6 |
1098 else | 1102 else |
1099 cat > conftest.$ac_ext <<EOF | 1103 cat > conftest.$ac_ext <<EOF |
1100 #line 1101 "configure" | 1104 #line 1105 "configure" |
1101 #include "confdefs.h" | 1105 #include "confdefs.h" |
1102 | 1106 |
1103 int main() { | 1107 int main() { |
1104 return __MINGW32__; | 1108 return __MINGW32__; |
1105 ; return 0; } | 1109 ; return 0; } |
1106 EOF | 1110 EOF |
1107 if { (eval echo configure:1108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1111 if { (eval echo configure:1112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1108 rm -rf conftest* | 1112 rm -rf conftest* |
1109 ac_cv_mingw32=yes | 1113 ac_cv_mingw32=yes |
1110 else | 1114 else |
1111 echo "configure: failed program was:" >&5 | 1115 echo "configure: failed program was:" >&5 |
1112 cat conftest.$ac_ext >&5 | 1116 cat conftest.$ac_ext >&5 |
1121 MINGW32= | 1125 MINGW32= |
1122 test "$ac_cv_mingw32" = yes && MINGW32=yes | 1126 test "$ac_cv_mingw32" = yes && MINGW32=yes |
1123 | 1127 |
1124 | 1128 |
1125 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | 1129 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
1126 echo "configure:1127: checking for executable suffix" >&5 | 1130 echo "configure:1131: checking for executable suffix" >&5 |
1127 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | 1131 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
1128 echo $ac_n "(cached) $ac_c" 1>&6 | 1132 echo $ac_n "(cached) $ac_c" 1>&6 |
1129 else | 1133 else |
1130 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then | 1134 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then |
1131 ac_cv_exeext=.exe | 1135 ac_cv_exeext=.exe |
1132 else | 1136 else |
1133 rm -f conftest* | 1137 rm -f conftest* |
1134 echo 'int main () { return 0; }' > conftest.$ac_ext | 1138 echo 'int main () { return 0; }' > conftest.$ac_ext |
1135 ac_cv_exeext= | 1139 ac_cv_exeext= |
1136 if { (eval echo configure:1137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | 1140 if { (eval echo configure:1141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
1137 for file in conftest.*; do | 1141 for file in conftest.*; do |
1138 case $file in | 1142 case $file in |
1139 *.c | *.o | *.obj) ;; | 1143 *.c | *.o | *.obj) ;; |
1140 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; | 1144 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; |
1141 esac | 1145 esac |
1178 | 1182 |
1179 test "$GCC" = yes && CPP_MM=M; | 1183 test "$GCC" = yes && CPP_MM=M; |
1180 | 1184 |
1181 if test -f ./toolcheck; then | 1185 if test -f ./toolcheck; then |
1182 echo "checking for buggy tools" 1>&6 | 1186 echo "checking for buggy tools" 1>&6 |
1183 echo "configure:1184: checking for buggy tools" >&5 | 1187 echo "configure:1188: checking for buggy tools" >&5 |
1184 sh ./toolcheck 1>&6 | 1188 sh ./toolcheck 1>&6 |
1185 fi | 1189 fi |
1186 | 1190 |
1187 OS_EXTRA_SRC=""; OS_EXTRA_OBJ="" | 1191 OS_EXTRA_SRC=""; OS_EXTRA_OBJ="" |
1188 | 1192 |
1189 echo $ac_n "checking for BeOS""... $ac_c" 1>&6 | 1193 echo $ac_n "checking for BeOS""... $ac_c" 1>&6 |
1190 echo "configure:1191: checking for BeOS" >&5 | 1194 echo "configure:1195: checking for BeOS" >&5 |
1191 case `uname` in | 1195 case `uname` in |
1192 BeOS) OS_EXTRA_SRC=os_beos.c; OS_EXTRA_OBJ=objects/os_beos.o | 1196 BeOS) OS_EXTRA_SRC=os_beos.c; OS_EXTRA_OBJ=objects/os_beos.o |
1193 BEOS=yes; echo "$ac_t""yes" 1>&6;; | 1197 BEOS=yes; echo "$ac_t""yes" 1>&6;; |
1194 *) BEOS=no; echo "$ac_t""no" 1>&6;; | 1198 *) BEOS=no; echo "$ac_t""no" 1>&6;; |
1195 esac | 1199 esac |
1196 | 1200 |
1197 echo $ac_n "checking for QNX""... $ac_c" 1>&6 | 1201 echo $ac_n "checking for QNX""... $ac_c" 1>&6 |
1198 echo "configure:1199: checking for QNX" >&5 | 1202 echo "configure:1203: checking for QNX" >&5 |
1199 case `uname` in | 1203 case `uname` in |
1200 QNX) OS_EXTRA_SRC=os_qnx.c; OS_EXTRA_OBJ=objects/os_qnx.o | 1204 QNX) OS_EXTRA_SRC=os_qnx.c; OS_EXTRA_OBJ=objects/os_qnx.o |
1201 test -z "$with_x" && with_x=no | 1205 test -z "$with_x" && with_x=no |
1202 QNX=yes; echo "$ac_t""yes" 1>&6;; | 1206 QNX=yes; echo "$ac_t""yes" 1>&6;; |
1203 *) QNX=no; echo "$ac_t""no" 1>&6;; | 1207 *) QNX=no; echo "$ac_t""no" 1>&6;; |
1204 esac | 1208 esac |
1205 | 1209 |
1206 DEFAULT_VIMNAME=vim | 1210 DEFAULT_VIMNAME=vim |
1207 echo $ac_n "checking for Darwin (Mac OS X)""... $ac_c" 1>&6 | 1211 echo $ac_n "checking for Darwin (Mac OS X)""... $ac_c" 1>&6 |
1208 echo "configure:1209: checking for Darwin (Mac OS X)" >&5 | 1212 echo "configure:1213: checking for Darwin (Mac OS X)" >&5 |
1209 if test "`(uname) 2>/dev/null`" = Darwin; then | 1213 if test "`(uname) 2>/dev/null`" = Darwin; then |
1210 echo "$ac_t""yes" 1>&6 | 1214 echo "$ac_t""yes" 1>&6 |
1211 | 1215 |
1212 echo $ac_n "checking --disable-darwin argument""... $ac_c" 1>&6 | 1216 echo $ac_n "checking --disable-darwin argument""... $ac_c" 1>&6 |
1213 echo "configure:1214: checking --disable-darwin argument" >&5 | 1217 echo "configure:1218: checking --disable-darwin argument" >&5 |
1214 # Check whether --enable-darwin or --disable-darwin was given. | 1218 # Check whether --enable-darwin or --disable-darwin was given. |
1215 if test "${enable_darwin+set}" = set; then | 1219 if test "${enable_darwin+set}" = set; then |
1216 enableval="$enable_darwin" | 1220 enableval="$enable_darwin" |
1217 : | 1221 : |
1218 else | 1222 else |
1220 fi | 1224 fi |
1221 | 1225 |
1222 if test "$enable_darwin" = "yes"; then | 1226 if test "$enable_darwin" = "yes"; then |
1223 echo "$ac_t""no" 1>&6 | 1227 echo "$ac_t""no" 1>&6 |
1224 echo $ac_n "checking if Darwin files are there""... $ac_c" 1>&6 | 1228 echo $ac_n "checking if Darwin files are there""... $ac_c" 1>&6 |
1225 echo "configure:1226: checking if Darwin files are there" >&5 | 1229 echo "configure:1230: checking if Darwin files are there" >&5 |
1226 if test -f os_macosx.c; then | 1230 if test -f os_macosx.c; then |
1227 echo "$ac_t""yes" 1>&6 | 1231 echo "$ac_t""yes" 1>&6 |
1228 else | 1232 else |
1229 echo "$ac_t""no, Darwin support disabled" 1>&6 | 1233 echo "$ac_t""no, Darwin support disabled" 1>&6 |
1230 enable_darwin=no | 1234 enable_darwin=no |
1239 OS_EXTRA_OBJ="objects/os_macosx.o" | 1243 OS_EXTRA_OBJ="objects/os_macosx.o" |
1240 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -I/Developer/Headers/FlatCarbon -no-cpp-precomp" | 1244 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -I/Developer/Headers/FlatCarbon -no-cpp-precomp" |
1241 | 1245 |
1242 ac_safe=`echo "Carbon/Carbon.h" | sed 'y%./+-%__p_%'` | 1246 ac_safe=`echo "Carbon/Carbon.h" | sed 'y%./+-%__p_%'` |
1243 echo $ac_n "checking for Carbon/Carbon.h""... $ac_c" 1>&6 | 1247 echo $ac_n "checking for Carbon/Carbon.h""... $ac_c" 1>&6 |
1244 echo "configure:1245: checking for Carbon/Carbon.h" >&5 | 1248 echo "configure:1249: checking for Carbon/Carbon.h" >&5 |
1245 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1249 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1246 echo $ac_n "(cached) $ac_c" 1>&6 | 1250 echo $ac_n "(cached) $ac_c" 1>&6 |
1247 else | 1251 else |
1248 cat > conftest.$ac_ext <<EOF | 1252 cat > conftest.$ac_ext <<EOF |
1249 #line 1250 "configure" | 1253 #line 1254 "configure" |
1250 #include "confdefs.h" | 1254 #include "confdefs.h" |
1251 #include <Carbon/Carbon.h> | 1255 #include <Carbon/Carbon.h> |
1252 EOF | 1256 EOF |
1253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1257 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1254 { (eval echo configure:1255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1258 { (eval echo configure:1259: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1259 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1256 if test -z "$ac_err"; then | 1260 if test -z "$ac_err"; then |
1257 rm -rf conftest* | 1261 rm -rf conftest* |
1258 eval "ac_cv_header_$ac_safe=yes" | 1262 eval "ac_cv_header_$ac_safe=yes" |
1259 else | 1263 else |
1306 CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 1310 CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
1307 fi | 1311 fi |
1308 fi | 1312 fi |
1309 | 1313 |
1310 echo $ac_n "checking --with-vim-name argument""... $ac_c" 1>&6 | 1314 echo $ac_n "checking --with-vim-name argument""... $ac_c" 1>&6 |
1311 echo "configure:1312: checking --with-vim-name argument" >&5 | 1315 echo "configure:1316: checking --with-vim-name argument" >&5 |
1312 # Check whether --with-vim-name or --without-vim-name was given. | 1316 # Check whether --with-vim-name or --without-vim-name was given. |
1313 if test "${with_vim_name+set}" = set; then | 1317 if test "${with_vim_name+set}" = set; then |
1314 withval="$with_vim_name" | 1318 withval="$with_vim_name" |
1315 VIMNAME="$withval"; echo "$ac_t""$VIMNAME" 1>&6 | 1319 VIMNAME="$withval"; echo "$ac_t""$VIMNAME" 1>&6 |
1316 else | 1320 else |
1317 VIMNAME="$DEFAULT_VIMNAME"; echo "$ac_t""Defaulting to $VIMNAME" 1>&6 | 1321 VIMNAME="$DEFAULT_VIMNAME"; echo "$ac_t""Defaulting to $VIMNAME" 1>&6 |
1318 fi | 1322 fi |
1319 | 1323 |
1320 | 1324 |
1321 echo $ac_n "checking --with-ex-name argument""... $ac_c" 1>&6 | 1325 echo $ac_n "checking --with-ex-name argument""... $ac_c" 1>&6 |
1322 echo "configure:1323: checking --with-ex-name argument" >&5 | 1326 echo "configure:1327: checking --with-ex-name argument" >&5 |
1323 # Check whether --with-ex-name or --without-ex-name was given. | 1327 # Check whether --with-ex-name or --without-ex-name was given. |
1324 if test "${with_ex_name+set}" = set; then | 1328 if test "${with_ex_name+set}" = set; then |
1325 withval="$with_ex_name" | 1329 withval="$with_ex_name" |
1326 EXNAME="$withval"; echo "$ac_t""$EXNAME" 1>&6 | 1330 EXNAME="$withval"; echo "$ac_t""$EXNAME" 1>&6 |
1327 else | 1331 else |
1328 EXNAME="ex"; echo "$ac_t""Defaulting to ex" 1>&6 | 1332 EXNAME="ex"; echo "$ac_t""Defaulting to ex" 1>&6 |
1329 fi | 1333 fi |
1330 | 1334 |
1331 | 1335 |
1332 echo $ac_n "checking --with-view-name argument""... $ac_c" 1>&6 | 1336 echo $ac_n "checking --with-view-name argument""... $ac_c" 1>&6 |
1333 echo "configure:1334: checking --with-view-name argument" >&5 | 1337 echo "configure:1338: checking --with-view-name argument" >&5 |
1334 # Check whether --with-view-name or --without-view-name was given. | 1338 # Check whether --with-view-name or --without-view-name was given. |
1335 if test "${with_view_name+set}" = set; then | 1339 if test "${with_view_name+set}" = set; then |
1336 withval="$with_view_name" | 1340 withval="$with_view_name" |
1337 VIEWNAME="$withval"; echo "$ac_t""$VIEWNAME" 1>&6 | 1341 VIEWNAME="$withval"; echo "$ac_t""$VIEWNAME" 1>&6 |
1338 else | 1342 else |
1340 fi | 1344 fi |
1341 | 1345 |
1342 | 1346 |
1343 | 1347 |
1344 echo $ac_n "checking --with-global-runtime argument""... $ac_c" 1>&6 | 1348 echo $ac_n "checking --with-global-runtime argument""... $ac_c" 1>&6 |
1345 echo "configure:1346: checking --with-global-runtime argument" >&5 | 1349 echo "configure:1350: checking --with-global-runtime argument" >&5 |
1346 # Check whether --with-global-runtime or --without-global-runtime was given. | 1350 # Check whether --with-global-runtime or --without-global-runtime was given. |
1347 if test "${with_global_runtime+set}" = set; then | 1351 if test "${with_global_runtime+set}" = set; then |
1348 withval="$with_global_runtime" | 1352 withval="$with_global_runtime" |
1349 echo "$ac_t""$withval" 1>&6; cat >> confdefs.h <<EOF | 1353 echo "$ac_t""$withval" 1>&6; cat >> confdefs.h <<EOF |
1350 #define RUNTIME_GLOBAL "$withval" | 1354 #define RUNTIME_GLOBAL "$withval" |
1354 echo "$ac_t""no" 1>&6 | 1358 echo "$ac_t""no" 1>&6 |
1355 fi | 1359 fi |
1356 | 1360 |
1357 | 1361 |
1358 echo $ac_n "checking --with-modified-by argument""... $ac_c" 1>&6 | 1362 echo $ac_n "checking --with-modified-by argument""... $ac_c" 1>&6 |
1359 echo "configure:1360: checking --with-modified-by argument" >&5 | 1363 echo "configure:1364: checking --with-modified-by argument" >&5 |
1360 # Check whether --with-modified-by or --without-modified-by was given. | 1364 # Check whether --with-modified-by or --without-modified-by was given. |
1361 if test "${with_modified_by+set}" = set; then | 1365 if test "${with_modified_by+set}" = set; then |
1362 withval="$with_modified_by" | 1366 withval="$with_modified_by" |
1363 echo "$ac_t""$withval" 1>&6; cat >> confdefs.h <<EOF | 1367 echo "$ac_t""$withval" 1>&6; cat >> confdefs.h <<EOF |
1364 #define MODIFIED_BY "$withval" | 1368 #define MODIFIED_BY "$withval" |
1368 echo "$ac_t""no" 1>&6 | 1372 echo "$ac_t""no" 1>&6 |
1369 fi | 1373 fi |
1370 | 1374 |
1371 | 1375 |
1372 echo $ac_n "checking if character set is EBCDIC""... $ac_c" 1>&6 | 1376 echo $ac_n "checking if character set is EBCDIC""... $ac_c" 1>&6 |
1373 echo "configure:1374: checking if character set is EBCDIC" >&5 | 1377 echo "configure:1378: checking if character set is EBCDIC" >&5 |
1374 cat > conftest.$ac_ext <<EOF | 1378 cat > conftest.$ac_ext <<EOF |
1375 #line 1376 "configure" | 1379 #line 1380 "configure" |
1376 #include "confdefs.h" | 1380 #include "confdefs.h" |
1377 | 1381 |
1378 int main() { | 1382 int main() { |
1379 /* TryCompile function for CharSet. | 1383 /* TryCompile function for CharSet. |
1380 Treat any failure as ASCII for compatibility with existing art. | 1384 Treat any failure as ASCII for compatibility with existing art. |
1383 #if '0'!=240 | 1387 #if '0'!=240 |
1384 make an error "Character set is not EBCDIC" | 1388 make an error "Character set is not EBCDIC" |
1385 #endif | 1389 #endif |
1386 ; return 0; } | 1390 ; return 0; } |
1387 EOF | 1391 EOF |
1388 if { (eval echo configure:1389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1392 if { (eval echo configure:1393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1389 rm -rf conftest* | 1393 rm -rf conftest* |
1390 # TryCompile action if true | 1394 # TryCompile action if true |
1391 cf_cv_ebcdic=yes | 1395 cf_cv_ebcdic=yes |
1392 else | 1396 else |
1393 echo "configure: failed program was:" >&5 | 1397 echo "configure: failed program was:" >&5 |
1411 esac | 1415 esac |
1412 | 1416 |
1413 | 1417 |
1414 if test "$cf_cv_ebcdic" = "yes"; then | 1418 if test "$cf_cv_ebcdic" = "yes"; then |
1415 echo $ac_n "checking for OS/390 Unix""... $ac_c" 1>&6 | 1419 echo $ac_n "checking for OS/390 Unix""... $ac_c" 1>&6 |
1416 echo "configure:1417: checking for OS/390 Unix" >&5 | 1420 echo "configure:1421: checking for OS/390 Unix" >&5 |
1417 case `uname` in | 1421 case `uname` in |
1418 OS/390) OS390Unix="yes"; | 1422 OS/390) OS390Unix="yes"; |
1419 if test "$CC" = "cc"; then | 1423 if test "$CC" = "cc"; then |
1420 ccm="$_CC_CCMODE" | 1424 ccm="$_CC_CCMODE" |
1421 ccn="CC" | 1425 ccn="CC" |
1448 fi | 1452 fi |
1449 | 1453 |
1450 | 1454 |
1451 | 1455 |
1452 echo $ac_n "checking --with-features argument""... $ac_c" 1>&6 | 1456 echo $ac_n "checking --with-features argument""... $ac_c" 1>&6 |
1453 echo "configure:1454: checking --with-features argument" >&5 | 1457 echo "configure:1458: checking --with-features argument" >&5 |
1454 # Check whether --with-features or --without-features was given. | 1458 # Check whether --with-features or --without-features was given. |
1455 if test "${with_features+set}" = set; then | 1459 if test "${with_features+set}" = set; then |
1456 withval="$with_features" | 1460 withval="$with_features" |
1457 features="$withval"; echo "$ac_t""$features" 1>&6 | 1461 features="$withval"; echo "$ac_t""$features" 1>&6 |
1458 else | 1462 else |
1491 | 1495 |
1492 | 1496 |
1493 | 1497 |
1494 | 1498 |
1495 echo $ac_n "checking --with-compiledby argument""... $ac_c" 1>&6 | 1499 echo $ac_n "checking --with-compiledby argument""... $ac_c" 1>&6 |
1496 echo "configure:1497: checking --with-compiledby argument" >&5 | 1500 echo "configure:1501: checking --with-compiledby argument" >&5 |
1497 # Check whether --with-compiledby or --without-compiledby was given. | 1501 # Check whether --with-compiledby or --without-compiledby was given. |
1498 if test "${with_compiledby+set}" = set; then | 1502 if test "${with_compiledby+set}" = set; then |
1499 withval="$with_compiledby" | 1503 withval="$with_compiledby" |
1500 compiledby="$withval"; echo "$ac_t""$withval" 1>&6 | 1504 compiledby="$withval"; echo "$ac_t""$withval" 1>&6 |
1501 else | 1505 else |
1503 fi | 1507 fi |
1504 | 1508 |
1505 | 1509 |
1506 | 1510 |
1507 echo $ac_n "checking --disable-xsmp argument""... $ac_c" 1>&6 | 1511 echo $ac_n "checking --disable-xsmp argument""... $ac_c" 1>&6 |
1508 echo "configure:1509: checking --disable-xsmp argument" >&5 | 1512 echo "configure:1513: checking --disable-xsmp argument" >&5 |
1509 # Check whether --enable-xsmp or --disable-xsmp was given. | 1513 # Check whether --enable-xsmp or --disable-xsmp was given. |
1510 if test "${enable_xsmp+set}" = set; then | 1514 if test "${enable_xsmp+set}" = set; then |
1511 enableval="$enable_xsmp" | 1515 enableval="$enable_xsmp" |
1512 : | 1516 : |
1513 else | 1517 else |
1516 | 1520 |
1517 | 1521 |
1518 if test "$enable_xsmp" = "yes"; then | 1522 if test "$enable_xsmp" = "yes"; then |
1519 echo "$ac_t""no" 1>&6 | 1523 echo "$ac_t""no" 1>&6 |
1520 echo $ac_n "checking --disable-xsmp-interact argument""... $ac_c" 1>&6 | 1524 echo $ac_n "checking --disable-xsmp-interact argument""... $ac_c" 1>&6 |
1521 echo "configure:1522: checking --disable-xsmp-interact argument" >&5 | 1525 echo "configure:1526: checking --disable-xsmp-interact argument" >&5 |
1522 # Check whether --enable-xsmp-interact or --disable-xsmp-interact was given. | 1526 # Check whether --enable-xsmp-interact or --disable-xsmp-interact was given. |
1523 if test "${enable_xsmp_interact+set}" = set; then | 1527 if test "${enable_xsmp_interact+set}" = set; then |
1524 enableval="$enable_xsmp_interact" | 1528 enableval="$enable_xsmp_interact" |
1525 : | 1529 : |
1526 else | 1530 else |
1538 fi | 1542 fi |
1539 else | 1543 else |
1540 echo "$ac_t""yes" 1>&6 | 1544 echo "$ac_t""yes" 1>&6 |
1541 fi | 1545 fi |
1542 | 1546 |
1547 echo $ac_n "checking --enable-mzschemeinterp argument""... $ac_c" 1>&6 | |
1548 echo "configure:1549: checking --enable-mzschemeinterp argument" >&5 | |
1549 # Check whether --enable-mzschemeinterp or --disable-mzschemeinterp was given. | |
1550 if test "${enable_mzschemeinterp+set}" = set; then | |
1551 enableval="$enable_mzschemeinterp" | |
1552 : | |
1553 else | |
1554 enable_mzschemeinterp="no" | |
1555 fi | |
1556 | |
1557 echo "$ac_t""$enable_mzschemeinterp" 1>&6 | |
1558 | |
1559 if test "$enable_mzschemeinterp" = "yes"; then | |
1560 | |
1561 | |
1562 echo $ac_n "checking --with-plthome argument""... $ac_c" 1>&6 | |
1563 echo "configure:1564: checking --with-plthome argument" >&5 | |
1564 # Check whether --with-plthome or --without-plthome was given. | |
1565 if test "${with_plthome+set}" = set; then | |
1566 withval="$with_plthome" | |
1567 with_plthome="$withval"; echo "$ac_t""$with_plthome" 1>&6 | |
1568 else | |
1569 with_plthome="";echo "$ac_t"""no"" 1>&6 | |
1570 fi | |
1571 | |
1572 | |
1573 if test "X$with_plthome" != "X"; then | |
1574 vi_cv_path_mzscheme_pfx="$with_plthome" | |
1575 else | |
1576 echo $ac_n "checking PLTHOME environment var""... $ac_c" 1>&6 | |
1577 echo "configure:1578: checking PLTHOME environment var" >&5 | |
1578 if test "X$PLTHOME" != "X"; then | |
1579 echo "$ac_t"""$PLTHOME"" 1>&6 | |
1580 vi_cv_path_mzscheme_pfx="$PLTHOME" | |
1581 else | |
1582 echo "$ac_t"""not set"" 1>&6 | |
1583 # Extract the first word of "mzscheme", so it can be a program name with args. | |
1584 set dummy mzscheme; ac_word=$2 | |
1585 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
1586 echo "configure:1587: checking for $ac_word" >&5 | |
1587 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_mzscheme'+set}'`\" = set"; then | |
1588 echo $ac_n "(cached) $ac_c" 1>&6 | |
1589 else | |
1590 case "$vi_cv_path_mzscheme" in | |
1591 /*) | |
1592 ac_cv_path_vi_cv_path_mzscheme="$vi_cv_path_mzscheme" # Let the user override the test with a path. | |
1593 ;; | |
1594 ?:/*) | |
1595 ac_cv_path_vi_cv_path_mzscheme="$vi_cv_path_mzscheme" # Let the user override the test with a dos path. | |
1596 ;; | |
1597 *) | |
1598 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
1599 ac_dummy="$PATH" | |
1600 for ac_dir in $ac_dummy; do | |
1601 test -z "$ac_dir" && ac_dir=. | |
1602 if test -f $ac_dir/$ac_word; then | |
1603 ac_cv_path_vi_cv_path_mzscheme="$ac_dir/$ac_word" | |
1604 break | |
1605 fi | |
1606 done | |
1607 IFS="$ac_save_ifs" | |
1608 ;; | |
1609 esac | |
1610 fi | |
1611 vi_cv_path_mzscheme="$ac_cv_path_vi_cv_path_mzscheme" | |
1612 if test -n "$vi_cv_path_mzscheme"; then | |
1613 echo "$ac_t""$vi_cv_path_mzscheme" 1>&6 | |
1614 else | |
1615 echo "$ac_t""no" 1>&6 | |
1616 fi | |
1617 | |
1618 | |
1619 if test "X$vi_cv_path_mzscheme" != "X"; then | |
1620 lsout=`ls -l $vi_cv_path_mzscheme` | |
1621 if echo "$lsout" | grep -e '->' >/dev/null 2>/dev/null; then | |
1622 vi_cv_path_mzscheme=`echo "$lsout" | sed 's/.*-> \(.*\)/\1/'` | |
1623 fi | |
1624 fi | |
1625 | |
1626 if test "X$vi_cv_path_mzscheme" != "X"; then | |
1627 echo $ac_n "checking MzScheme install prefix""... $ac_c" 1>&6 | |
1628 echo "configure:1629: checking MzScheme install prefix" >&5 | |
1629 if eval "test \"`echo '$''{'vi_cv_path_mzscheme_pfx'+set}'`\" = set"; then | |
1630 echo $ac_n "(cached) $ac_c" 1>&6 | |
1631 else | |
1632 vi_cv_path_mzscheme_pfx=` | |
1633 ${vi_cv_path_mzscheme} -evm \ | |
1634 "(display (simplify-path \ | |
1635 (build-path (call-with-values \ | |
1636 (lambda () (split-path (find-system-path (quote exec-file)))) \ | |
1637 (lambda (base name must-be-dir?) base)) (quote up))))"` | |
1638 fi | |
1639 | |
1640 echo "$ac_t""$vi_cv_path_mzscheme_pfx" 1>&6 | |
1641 vi_cv_path_mzscheme_pfx=`echo "$vi_cv_path_mzscheme_pfx" | sed 's+/$++'` | |
1642 fi | |
1643 fi | |
1644 fi | |
1645 | |
1646 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then | |
1647 echo $ac_n "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include""... $ac_c" 1>&6 | |
1648 echo "configure:1649: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include" >&5 | |
1649 if test -f $vi_cv_path_mzscheme_pfx/include/scheme.h; then | |
1650 echo "$ac_t"""yes"" 1>&6 | |
1651 else | |
1652 echo "$ac_t"""no"" 1>&6 | |
1653 vi_cv_path_mzscheme_pfx= | |
1654 fi | |
1655 fi | |
1656 | |
1657 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then | |
1658 if test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then | |
1659 MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a ${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a" | |
1660 else | |
1661 MZSCHEME_LIBS="-L${vi_cv_path_mzscheme_pfx}/lib -lmzgc -lmzscheme" | |
1662 fi | |
1663 MZSCHEME_CFLAGS="-I${vi_cv_path_mzscheme_pfx}/include \ | |
1664 -DMZSCHEME_COLLECTS='\"${vi_cv_path_mzscheme_pfx}/collects\"'" | |
1665 MZSCHEME_SRC="if_mzsch.c" | |
1666 MZSCHEME_OBJ="objects/if_mzsch.o" | |
1667 MZSCHEME_PRO="if_mzsch.pro" | |
1668 cat >> confdefs.h <<\EOF | |
1669 #define FEAT_MZSCHEME 1 | |
1670 EOF | |
1671 | |
1672 fi | |
1673 | |
1674 | |
1675 | |
1676 | |
1677 | |
1678 fi | |
1679 | |
1680 | |
1543 echo $ac_n "checking --enable-perlinterp argument""... $ac_c" 1>&6 | 1681 echo $ac_n "checking --enable-perlinterp argument""... $ac_c" 1>&6 |
1544 echo "configure:1545: checking --enable-perlinterp argument" >&5 | 1682 echo "configure:1683: checking --enable-perlinterp argument" >&5 |
1545 # Check whether --enable-perlinterp or --disable-perlinterp was given. | 1683 # Check whether --enable-perlinterp or --disable-perlinterp was given. |
1546 if test "${enable_perlinterp+set}" = set; then | 1684 if test "${enable_perlinterp+set}" = set; then |
1547 enableval="$enable_perlinterp" | 1685 enableval="$enable_perlinterp" |
1548 : | 1686 : |
1549 else | 1687 else |
1554 if test "$enable_perlinterp" = "yes"; then | 1692 if test "$enable_perlinterp" = "yes"; then |
1555 | 1693 |
1556 # Extract the first word of "perl", so it can be a program name with args. | 1694 # Extract the first word of "perl", so it can be a program name with args. |
1557 set dummy perl; ac_word=$2 | 1695 set dummy perl; ac_word=$2 |
1558 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1696 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1559 echo "configure:1560: checking for $ac_word" >&5 | 1697 echo "configure:1698: checking for $ac_word" >&5 |
1560 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_perl'+set}'`\" = set"; then | 1698 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_perl'+set}'`\" = set"; then |
1561 echo $ac_n "(cached) $ac_c" 1>&6 | 1699 echo $ac_n "(cached) $ac_c" 1>&6 |
1562 else | 1700 else |
1563 case "$vi_cv_path_perl" in | 1701 case "$vi_cv_path_perl" in |
1564 /*) | 1702 /*) |
1588 echo "$ac_t""no" 1>&6 | 1726 echo "$ac_t""no" 1>&6 |
1589 fi | 1727 fi |
1590 | 1728 |
1591 if test "X$vi_cv_path_perl" != "X"; then | 1729 if test "X$vi_cv_path_perl" != "X"; then |
1592 echo $ac_n "checking Perl version""... $ac_c" 1>&6 | 1730 echo $ac_n "checking Perl version""... $ac_c" 1>&6 |
1593 echo "configure:1594: checking Perl version" >&5 | 1731 echo "configure:1732: checking Perl version" >&5 |
1594 if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then | 1732 if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then |
1595 eval `$vi_cv_path_perl -V:usethreads` | 1733 eval `$vi_cv_path_perl -V:usethreads` |
1596 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then | 1734 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then |
1597 badthreads=no | 1735 badthreads=no |
1598 else | 1736 else |
1624 -e 's/-bE:perl.exp//' -e 's/-lc //'` | 1762 -e 's/-bE:perl.exp//' -e 's/-lc //'` |
1625 perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \ | 1763 perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \ |
1626 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'` | 1764 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'` |
1627 | 1765 |
1628 echo $ac_n "checking if compile and link flags for Perl are sane""... $ac_c" 1>&6 | 1766 echo $ac_n "checking if compile and link flags for Perl are sane""... $ac_c" 1>&6 |
1629 echo "configure:1630: checking if compile and link flags for Perl are sane" >&5 | 1767 echo "configure:1768: checking if compile and link flags for Perl are sane" >&5 |
1630 cflags_save=$CFLAGS | 1768 cflags_save=$CFLAGS |
1631 libs_save=$LIBS | 1769 libs_save=$LIBS |
1632 ldflags_save=$LDFLAGS | 1770 ldflags_save=$LDFLAGS |
1633 CFLAGS="$CFLAGS $perlcppflags" | 1771 CFLAGS="$CFLAGS $perlcppflags" |
1634 LIBS="$LIBS $perllibs" | 1772 LIBS="$LIBS $perllibs" |
1635 LDFLAGS="$perlldflags $LDFLAGS" | 1773 LDFLAGS="$perlldflags $LDFLAGS" |
1636 cat > conftest.$ac_ext <<EOF | 1774 cat > conftest.$ac_ext <<EOF |
1637 #line 1638 "configure" | 1775 #line 1776 "configure" |
1638 #include "confdefs.h" | 1776 #include "confdefs.h" |
1639 | 1777 |
1640 int main() { | 1778 int main() { |
1641 | 1779 |
1642 ; return 0; } | 1780 ; return 0; } |
1643 EOF | 1781 EOF |
1644 if { (eval echo configure:1645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1782 if { (eval echo configure:1783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1645 rm -rf conftest* | 1783 rm -rf conftest* |
1646 echo "$ac_t""yes" 1>&6; perl_ok=yes | 1784 echo "$ac_t""yes" 1>&6; perl_ok=yes |
1647 else | 1785 else |
1648 echo "configure: failed program was:" >&5 | 1786 echo "configure: failed program was:" >&5 |
1649 cat conftest.$ac_ext >&5 | 1787 cat conftest.$ac_ext >&5 |
1702 | 1840 |
1703 | 1841 |
1704 | 1842 |
1705 | 1843 |
1706 echo $ac_n "checking --enable-pythoninterp argument""... $ac_c" 1>&6 | 1844 echo $ac_n "checking --enable-pythoninterp argument""... $ac_c" 1>&6 |
1707 echo "configure:1708: checking --enable-pythoninterp argument" >&5 | 1845 echo "configure:1846: checking --enable-pythoninterp argument" >&5 |
1708 # Check whether --enable-pythoninterp or --disable-pythoninterp was given. | 1846 # Check whether --enable-pythoninterp or --disable-pythoninterp was given. |
1709 if test "${enable_pythoninterp+set}" = set; then | 1847 if test "${enable_pythoninterp+set}" = set; then |
1710 enableval="$enable_pythoninterp" | 1848 enableval="$enable_pythoninterp" |
1711 : | 1849 : |
1712 else | 1850 else |
1716 echo "$ac_t""$enable_pythoninterp" 1>&6 | 1854 echo "$ac_t""$enable_pythoninterp" 1>&6 |
1717 if test "$enable_pythoninterp" = "yes"; then | 1855 if test "$enable_pythoninterp" = "yes"; then |
1718 # Extract the first word of "python", so it can be a program name with args. | 1856 # Extract the first word of "python", so it can be a program name with args. |
1719 set dummy python; ac_word=$2 | 1857 set dummy python; ac_word=$2 |
1720 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1858 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1721 echo "configure:1722: checking for $ac_word" >&5 | 1859 echo "configure:1860: checking for $ac_word" >&5 |
1722 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_python'+set}'`\" = set"; then | 1860 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_python'+set}'`\" = set"; then |
1723 echo $ac_n "(cached) $ac_c" 1>&6 | 1861 echo $ac_n "(cached) $ac_c" 1>&6 |
1724 else | 1862 else |
1725 case "$vi_cv_path_python" in | 1863 case "$vi_cv_path_python" in |
1726 /*) | 1864 /*) |
1751 fi | 1889 fi |
1752 | 1890 |
1753 if test "X$vi_cv_path_python" != "X"; then | 1891 if test "X$vi_cv_path_python" != "X"; then |
1754 | 1892 |
1755 echo $ac_n "checking Python version""... $ac_c" 1>&6 | 1893 echo $ac_n "checking Python version""... $ac_c" 1>&6 |
1756 echo "configure:1757: checking Python version" >&5 | 1894 echo "configure:1895: checking Python version" >&5 |
1757 if eval "test \"`echo '$''{'vi_cv_var_python_version'+set}'`\" = set"; then | 1895 if eval "test \"`echo '$''{'vi_cv_var_python_version'+set}'`\" = set"; then |
1758 echo $ac_n "(cached) $ac_c" 1>&6 | 1896 echo $ac_n "(cached) $ac_c" 1>&6 |
1759 else | 1897 else |
1760 vi_cv_var_python_version=` | 1898 vi_cv_var_python_version=` |
1761 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'` | 1899 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'` |
1763 fi | 1901 fi |
1764 | 1902 |
1765 echo "$ac_t""$vi_cv_var_python_version" 1>&6 | 1903 echo "$ac_t""$vi_cv_var_python_version" 1>&6 |
1766 | 1904 |
1767 echo $ac_n "checking Python is 1.4 or better""... $ac_c" 1>&6 | 1905 echo $ac_n "checking Python is 1.4 or better""... $ac_c" 1>&6 |
1768 echo "configure:1769: checking Python is 1.4 or better" >&5 | 1906 echo "configure:1907: checking Python is 1.4 or better" >&5 |
1769 if ${vi_cv_path_python} -c \ | 1907 if ${vi_cv_path_python} -c \ |
1770 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)" | 1908 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)" |
1771 then | 1909 then |
1772 echo "$ac_t""yep" 1>&6 | 1910 echo "$ac_t""yep" 1>&6 |
1773 | 1911 |
1774 echo $ac_n "checking Python's install prefix""... $ac_c" 1>&6 | 1912 echo $ac_n "checking Python's install prefix""... $ac_c" 1>&6 |
1775 echo "configure:1776: checking Python's install prefix" >&5 | 1913 echo "configure:1914: checking Python's install prefix" >&5 |
1776 if eval "test \"`echo '$''{'vi_cv_path_python_pfx'+set}'`\" = set"; then | 1914 if eval "test \"`echo '$''{'vi_cv_path_python_pfx'+set}'`\" = set"; then |
1777 echo $ac_n "(cached) $ac_c" 1>&6 | 1915 echo $ac_n "(cached) $ac_c" 1>&6 |
1778 else | 1916 else |
1779 vi_cv_path_python_pfx=` | 1917 vi_cv_path_python_pfx=` |
1780 ${vi_cv_path_python} -c \ | 1918 ${vi_cv_path_python} -c \ |
1782 fi | 1920 fi |
1783 | 1921 |
1784 echo "$ac_t""$vi_cv_path_python_pfx" 1>&6 | 1922 echo "$ac_t""$vi_cv_path_python_pfx" 1>&6 |
1785 | 1923 |
1786 echo $ac_n "checking Python's execution prefix""... $ac_c" 1>&6 | 1924 echo $ac_n "checking Python's execution prefix""... $ac_c" 1>&6 |
1787 echo "configure:1788: checking Python's execution prefix" >&5 | 1925 echo "configure:1926: checking Python's execution prefix" >&5 |
1788 if eval "test \"`echo '$''{'vi_cv_path_python_epfx'+set}'`\" = set"; then | 1926 if eval "test \"`echo '$''{'vi_cv_path_python_epfx'+set}'`\" = set"; then |
1789 echo $ac_n "(cached) $ac_c" 1>&6 | 1927 echo $ac_n "(cached) $ac_c" 1>&6 |
1790 else | 1928 else |
1791 vi_cv_path_python_epfx=` | 1929 vi_cv_path_python_epfx=` |
1792 ${vi_cv_path_python} -c \ | 1930 ${vi_cv_path_python} -c \ |
1813 vi_cv_path_python_conf="${withval}" | 1951 vi_cv_path_python_conf="${withval}" |
1814 fi | 1952 fi |
1815 | 1953 |
1816 | 1954 |
1817 echo $ac_n "checking Python's configuration directory""... $ac_c" 1>&6 | 1955 echo $ac_n "checking Python's configuration directory""... $ac_c" 1>&6 |
1818 echo "configure:1819: checking Python's configuration directory" >&5 | 1956 echo "configure:1957: checking Python's configuration directory" >&5 |
1819 if eval "test \"`echo '$''{'vi_cv_path_python_conf'+set}'`\" = set"; then | 1957 if eval "test \"`echo '$''{'vi_cv_path_python_conf'+set}'`\" = set"; then |
1820 echo $ac_n "(cached) $ac_c" 1>&6 | 1958 echo $ac_n "(cached) $ac_c" 1>&6 |
1821 else | 1959 else |
1822 | 1960 |
1823 vi_cv_path_python_conf= | 1961 vi_cv_path_python_conf= |
1886 PYTHON_OBJ="$PYTHON_OBJ objects/py_getpath.o" | 2024 PYTHON_OBJ="$PYTHON_OBJ objects/py_getpath.o" |
1887 fi | 2025 fi |
1888 PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'" | 2026 PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'" |
1889 | 2027 |
1890 echo $ac_n "checking if -pthread should be used""... $ac_c" 1>&6 | 2028 echo $ac_n "checking if -pthread should be used""... $ac_c" 1>&6 |
1891 echo "configure:1892: checking if -pthread should be used" >&5 | 2029 echo "configure:2030: checking if -pthread should be used" >&5 |
1892 threadsafe_flag= | 2030 threadsafe_flag= |
1893 thread_lib= | 2031 thread_lib= |
1894 if test "x$MACOSX" != "xyes"; then | 2032 if test "x$MACOSX" != "xyes"; then |
1895 test "$GCC" = yes && threadsafe_flag="-pthread" | 2033 test "$GCC" = yes && threadsafe_flag="-pthread" |
1896 if test "`(uname) 2>/dev/null`" = FreeBSD; then | 2034 if test "`(uname) 2>/dev/null`" = FreeBSD; then |
1902 if test -n "$threadsafe_flag"; then | 2040 if test -n "$threadsafe_flag"; then |
1903 cflags_save=$CFLAGS | 2041 cflags_save=$CFLAGS |
1904 CFLAGS="$CFLAGS $threadsafe_flag" | 2042 CFLAGS="$CFLAGS $threadsafe_flag" |
1905 LIBS="$LIBS $thread_lib" | 2043 LIBS="$LIBS $thread_lib" |
1906 cat > conftest.$ac_ext <<EOF | 2044 cat > conftest.$ac_ext <<EOF |
1907 #line 1908 "configure" | 2045 #line 2046 "configure" |
1908 #include "confdefs.h" | 2046 #include "confdefs.h" |
1909 | 2047 |
1910 int main() { | 2048 int main() { |
1911 | 2049 |
1912 ; return 0; } | 2050 ; return 0; } |
1913 EOF | 2051 EOF |
1914 if { (eval echo configure:1915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2052 if { (eval echo configure:2053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1915 rm -rf conftest* | 2053 rm -rf conftest* |
1916 echo "$ac_t""yes" 1>&6; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag" | 2054 echo "$ac_t""yes" 1>&6; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag" |
1917 else | 2055 else |
1918 echo "configure: failed program was:" >&5 | 2056 echo "configure: failed program was:" >&5 |
1919 cat conftest.$ac_ext >&5 | 2057 cat conftest.$ac_ext >&5 |
1926 else | 2064 else |
1927 echo "$ac_t""no" 1>&6 | 2065 echo "$ac_t""no" 1>&6 |
1928 fi | 2066 fi |
1929 | 2067 |
1930 echo $ac_n "checking if compile and link flags for Python are sane""... $ac_c" 1>&6 | 2068 echo $ac_n "checking if compile and link flags for Python are sane""... $ac_c" 1>&6 |
1931 echo "configure:1932: checking if compile and link flags for Python are sane" >&5 | 2069 echo "configure:2070: checking if compile and link flags for Python are sane" >&5 |
1932 cflags_save=$CFLAGS | 2070 cflags_save=$CFLAGS |
1933 libs_save=$LIBS | 2071 libs_save=$LIBS |
1934 CFLAGS="$CFLAGS $PYTHON_CFLAGS" | 2072 CFLAGS="$CFLAGS $PYTHON_CFLAGS" |
1935 LIBS="$LIBS $PYTHON_LIBS" | 2073 LIBS="$LIBS $PYTHON_LIBS" |
1936 cat > conftest.$ac_ext <<EOF | 2074 cat > conftest.$ac_ext <<EOF |
1937 #line 1938 "configure" | 2075 #line 2076 "configure" |
1938 #include "confdefs.h" | 2076 #include "confdefs.h" |
1939 | 2077 |
1940 int main() { | 2078 int main() { |
1941 | 2079 |
1942 ; return 0; } | 2080 ; return 0; } |
1943 EOF | 2081 EOF |
1944 if { (eval echo configure:1945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2082 if { (eval echo configure:2083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1945 rm -rf conftest* | 2083 rm -rf conftest* |
1946 echo "$ac_t""yes" 1>&6; python_ok=yes | 2084 echo "$ac_t""yes" 1>&6; python_ok=yes |
1947 else | 2085 else |
1948 echo "configure: failed program was:" >&5 | 2086 echo "configure: failed program was:" >&5 |
1949 cat conftest.$ac_ext >&5 | 2087 cat conftest.$ac_ext >&5 |
1978 | 2116 |
1979 | 2117 |
1980 | 2118 |
1981 | 2119 |
1982 echo $ac_n "checking --enable-tclinterp argument""... $ac_c" 1>&6 | 2120 echo $ac_n "checking --enable-tclinterp argument""... $ac_c" 1>&6 |
1983 echo "configure:1984: checking --enable-tclinterp argument" >&5 | 2121 echo "configure:2122: checking --enable-tclinterp argument" >&5 |
1984 # Check whether --enable-tclinterp or --disable-tclinterp was given. | 2122 # Check whether --enable-tclinterp or --disable-tclinterp was given. |
1985 if test "${enable_tclinterp+set}" = set; then | 2123 if test "${enable_tclinterp+set}" = set; then |
1986 enableval="$enable_tclinterp" | 2124 enableval="$enable_tclinterp" |
1987 : | 2125 : |
1988 else | 2126 else |
1992 echo "$ac_t""$enable_tclinterp" 1>&6 | 2130 echo "$ac_t""$enable_tclinterp" 1>&6 |
1993 | 2131 |
1994 if test "$enable_tclinterp" = "yes"; then | 2132 if test "$enable_tclinterp" = "yes"; then |
1995 | 2133 |
1996 echo $ac_n "checking --with-tclsh argument""... $ac_c" 1>&6 | 2134 echo $ac_n "checking --with-tclsh argument""... $ac_c" 1>&6 |
1997 echo "configure:1998: checking --with-tclsh argument" >&5 | 2135 echo "configure:2136: checking --with-tclsh argument" >&5 |
1998 # Check whether --with-tclsh or --without-tclsh was given. | 2136 # Check whether --with-tclsh or --without-tclsh was given. |
1999 if test "${with_tclsh+set}" = set; then | 2137 if test "${with_tclsh+set}" = set; then |
2000 withval="$with_tclsh" | 2138 withval="$with_tclsh" |
2001 tclsh_name="$withval"; echo "$ac_t""$tclsh_name" 1>&6 | 2139 tclsh_name="$withval"; echo "$ac_t""$tclsh_name" 1>&6 |
2002 else | 2140 else |
2004 fi | 2142 fi |
2005 | 2143 |
2006 # Extract the first word of "$tclsh_name", so it can be a program name with args. | 2144 # Extract the first word of "$tclsh_name", so it can be a program name with args. |
2007 set dummy $tclsh_name; ac_word=$2 | 2145 set dummy $tclsh_name; ac_word=$2 |
2008 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2146 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2009 echo "configure:2010: checking for $ac_word" >&5 | 2147 echo "configure:2148: checking for $ac_word" >&5 |
2010 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then | 2148 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then |
2011 echo $ac_n "(cached) $ac_c" 1>&6 | 2149 echo $ac_n "(cached) $ac_c" 1>&6 |
2012 else | 2150 else |
2013 case "$vi_cv_path_tcl" in | 2151 case "$vi_cv_path_tcl" in |
2014 /*) | 2152 /*) |
2043 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.0"; then | 2181 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.0"; then |
2044 tclsh_name="tclsh8.2" | 2182 tclsh_name="tclsh8.2" |
2045 # Extract the first word of "$tclsh_name", so it can be a program name with args. | 2183 # Extract the first word of "$tclsh_name", so it can be a program name with args. |
2046 set dummy $tclsh_name; ac_word=$2 | 2184 set dummy $tclsh_name; ac_word=$2 |
2047 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2185 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2048 echo "configure:2049: checking for $ac_word" >&5 | 2186 echo "configure:2187: checking for $ac_word" >&5 |
2049 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then | 2187 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then |
2050 echo $ac_n "(cached) $ac_c" 1>&6 | 2188 echo $ac_n "(cached) $ac_c" 1>&6 |
2051 else | 2189 else |
2052 case "$vi_cv_path_tcl" in | 2190 case "$vi_cv_path_tcl" in |
2053 /*) | 2191 /*) |
2081 if test "X$vi_cv_path_tcl" = "X"; then | 2219 if test "X$vi_cv_path_tcl" = "X"; then |
2082 tclsh_name="tclsh" | 2220 tclsh_name="tclsh" |
2083 # Extract the first word of "$tclsh_name", so it can be a program name with args. | 2221 # Extract the first word of "$tclsh_name", so it can be a program name with args. |
2084 set dummy $tclsh_name; ac_word=$2 | 2222 set dummy $tclsh_name; ac_word=$2 |
2085 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2223 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2086 echo "configure:2087: checking for $ac_word" >&5 | 2224 echo "configure:2225: checking for $ac_word" >&5 |
2087 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then | 2225 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then |
2088 echo $ac_n "(cached) $ac_c" 1>&6 | 2226 echo $ac_n "(cached) $ac_c" 1>&6 |
2089 else | 2227 else |
2090 case "$vi_cv_path_tcl" in | 2228 case "$vi_cv_path_tcl" in |
2091 /*) | 2229 /*) |
2116 fi | 2254 fi |
2117 | 2255 |
2118 fi | 2256 fi |
2119 if test "X$vi_cv_path_tcl" != "X"; then | 2257 if test "X$vi_cv_path_tcl" != "X"; then |
2120 echo $ac_n "checking Tcl version""... $ac_c" 1>&6 | 2258 echo $ac_n "checking Tcl version""... $ac_c" 1>&6 |
2121 echo "configure:2122: checking Tcl version" >&5 | 2259 echo "configure:2260: checking Tcl version" >&5 |
2122 if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then | 2260 if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then |
2123 tclver=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -` | 2261 tclver=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -` |
2124 echo "$ac_t""$tclver - OK" 1>&6; | 2262 echo "$ac_t""$tclver - OK" 1>&6; |
2125 tclloc=`echo 'set l [info library];set i [string last lib $l];incr i -2;puts [string range $l 0 $i]' | $vi_cv_path_tcl -` | 2263 tclloc=`echo 'set l [info library];set i [string last lib $l];incr i -2;puts [string range $l 0 $i]' | $vi_cv_path_tcl -` |
2126 | 2264 |
2127 echo $ac_n "checking for location of Tcl include""... $ac_c" 1>&6 | 2265 echo $ac_n "checking for location of Tcl include""... $ac_c" 1>&6 |
2128 echo "configure:2129: checking for location of Tcl include" >&5 | 2266 echo "configure:2267: checking for location of Tcl include" >&5 |
2129 if test "x$MACOSX" != "xyes"; then | 2267 if test "x$MACOSX" != "xyes"; then |
2130 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include" | 2268 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include" |
2131 else | 2269 else |
2132 tclinc="/System/Library/Frameworks/Tcl.framework/Headers" | 2270 tclinc="/System/Library/Frameworks/Tcl.framework/Headers" |
2133 fi | 2271 fi |
2142 echo "$ac_t""<not found>" 1>&6 | 2280 echo "$ac_t""<not found>" 1>&6 |
2143 SKIP_TCL=YES | 2281 SKIP_TCL=YES |
2144 fi | 2282 fi |
2145 if test -z "$SKIP_TCL"; then | 2283 if test -z "$SKIP_TCL"; then |
2146 echo $ac_n "checking for location of tclConfig.sh script""... $ac_c" 1>&6 | 2284 echo $ac_n "checking for location of tclConfig.sh script""... $ac_c" 1>&6 |
2147 echo "configure:2148: checking for location of tclConfig.sh script" >&5 | 2285 echo "configure:2286: checking for location of tclConfig.sh script" >&5 |
2148 if test "x$MACOSX" != "xyes"; then | 2286 if test "x$MACOSX" != "xyes"; then |
2149 tclcnf=`echo $tclinc | sed s/include/lib/g` | 2287 tclcnf=`echo $tclinc | sed s/include/lib/g` |
2150 else | 2288 else |
2151 tclcnf="/System/Library/Frameworks/Tcl.framework" | 2289 tclcnf="/System/Library/Frameworks/Tcl.framework" |
2152 fi | 2290 fi |
2160 fi | 2298 fi |
2161 done | 2299 done |
2162 if test -z "$TCL_LIBS"; then | 2300 if test -z "$TCL_LIBS"; then |
2163 echo "$ac_t""<not found>" 1>&6 | 2301 echo "$ac_t""<not found>" 1>&6 |
2164 echo $ac_n "checking for Tcl library by myself""... $ac_c" 1>&6 | 2302 echo $ac_n "checking for Tcl library by myself""... $ac_c" 1>&6 |
2165 echo "configure:2166: checking for Tcl library by myself" >&5 | 2303 echo "configure:2304: checking for Tcl library by myself" >&5 |
2166 tcllib=`echo $tclinc | sed s/include/lib/g` | 2304 tcllib=`echo $tclinc | sed s/include/lib/g` |
2167 for ext in .so .a ; do | 2305 for ext in .so .a ; do |
2168 for ver in "" $tclver ; do | 2306 for ver in "" $tclver ; do |
2169 for try in $tcllib ; do | 2307 for try in $tcllib ; do |
2170 trylib=tcl$ver$ext | 2308 trylib=tcl$ver$ext |
2206 | 2344 |
2207 | 2345 |
2208 | 2346 |
2209 | 2347 |
2210 echo $ac_n "checking --enable-rubyinterp argument""... $ac_c" 1>&6 | 2348 echo $ac_n "checking --enable-rubyinterp argument""... $ac_c" 1>&6 |
2211 echo "configure:2212: checking --enable-rubyinterp argument" >&5 | 2349 echo "configure:2350: checking --enable-rubyinterp argument" >&5 |
2212 # Check whether --enable-rubyinterp or --disable-rubyinterp was given. | 2350 # Check whether --enable-rubyinterp or --disable-rubyinterp was given. |
2213 if test "${enable_rubyinterp+set}" = set; then | 2351 if test "${enable_rubyinterp+set}" = set; then |
2214 enableval="$enable_rubyinterp" | 2352 enableval="$enable_rubyinterp" |
2215 : | 2353 : |
2216 else | 2354 else |
2221 if test "$enable_rubyinterp" = "yes"; then | 2359 if test "$enable_rubyinterp" = "yes"; then |
2222 | 2360 |
2223 # Extract the first word of "ruby", so it can be a program name with args. | 2361 # Extract the first word of "ruby", so it can be a program name with args. |
2224 set dummy ruby; ac_word=$2 | 2362 set dummy ruby; ac_word=$2 |
2225 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2363 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2226 echo "configure:2227: checking for $ac_word" >&5 | 2364 echo "configure:2365: checking for $ac_word" >&5 |
2227 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_ruby'+set}'`\" = set"; then | 2365 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_ruby'+set}'`\" = set"; then |
2228 echo $ac_n "(cached) $ac_c" 1>&6 | 2366 echo $ac_n "(cached) $ac_c" 1>&6 |
2229 else | 2367 else |
2230 case "$vi_cv_path_ruby" in | 2368 case "$vi_cv_path_ruby" in |
2231 /*) | 2369 /*) |
2255 echo "$ac_t""no" 1>&6 | 2393 echo "$ac_t""no" 1>&6 |
2256 fi | 2394 fi |
2257 | 2395 |
2258 if test "X$vi_cv_path_ruby" != "X"; then | 2396 if test "X$vi_cv_path_ruby" != "X"; then |
2259 echo $ac_n "checking Ruby version""... $ac_c" 1>&6 | 2397 echo $ac_n "checking Ruby version""... $ac_c" 1>&6 |
2260 echo "configure:2261: checking Ruby version" >&5 | 2398 echo "configure:2399: checking Ruby version" >&5 |
2261 if $vi_cv_path_ruby -e 'VERSION >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then | 2399 if $vi_cv_path_ruby -e 'VERSION >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then |
2262 echo "$ac_t""OK" 1>&6 | 2400 echo "$ac_t""OK" 1>&6 |
2263 echo $ac_n "checking Ruby header files""... $ac_c" 1>&6 | 2401 echo $ac_n "checking Ruby header files""... $ac_c" 1>&6 |
2264 echo "configure:2265: checking Ruby header files" >&5 | 2402 echo "configure:2403: checking Ruby header files" >&5 |
2265 rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null` | 2403 rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null` |
2266 if test "X$rubyhdrdir" != "X"; then | 2404 if test "X$rubyhdrdir" != "X"; then |
2267 echo "$ac_t""$rubyhdrdir" 1>&6 | 2405 echo "$ac_t""$rubyhdrdir" 1>&6 |
2268 RUBY_CFLAGS="-I$rubyhdrdir" | 2406 RUBY_CFLAGS="-I$rubyhdrdir" |
2269 rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'` | 2407 rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'` |
2311 | 2449 |
2312 | 2450 |
2313 | 2451 |
2314 | 2452 |
2315 echo $ac_n "checking --enable-cscope argument""... $ac_c" 1>&6 | 2453 echo $ac_n "checking --enable-cscope argument""... $ac_c" 1>&6 |
2316 echo "configure:2317: checking --enable-cscope argument" >&5 | 2454 echo "configure:2455: checking --enable-cscope argument" >&5 |
2317 # Check whether --enable-cscope or --disable-cscope was given. | 2455 # Check whether --enable-cscope or --disable-cscope was given. |
2318 if test "${enable_cscope+set}" = set; then | 2456 if test "${enable_cscope+set}" = set; then |
2319 enableval="$enable_cscope" | 2457 enableval="$enable_cscope" |
2320 : | 2458 : |
2321 else | 2459 else |
2329 EOF | 2467 EOF |
2330 | 2468 |
2331 fi | 2469 fi |
2332 | 2470 |
2333 echo $ac_n "checking --enable-workshop argument""... $ac_c" 1>&6 | 2471 echo $ac_n "checking --enable-workshop argument""... $ac_c" 1>&6 |
2334 echo "configure:2335: checking --enable-workshop argument" >&5 | 2472 echo "configure:2473: checking --enable-workshop argument" >&5 |
2335 # Check whether --enable-workshop or --disable-workshop was given. | 2473 # Check whether --enable-workshop or --disable-workshop was given. |
2336 if test "${enable_workshop+set}" = set; then | 2474 if test "${enable_workshop+set}" = set; then |
2337 enableval="$enable_workshop" | 2475 enableval="$enable_workshop" |
2338 : | 2476 : |
2339 else | 2477 else |
2354 enable_gui=motif | 2492 enable_gui=motif |
2355 fi | 2493 fi |
2356 fi | 2494 fi |
2357 | 2495 |
2358 echo $ac_n "checking --disable-netbeans argument""... $ac_c" 1>&6 | 2496 echo $ac_n "checking --disable-netbeans argument""... $ac_c" 1>&6 |
2359 echo "configure:2360: checking --disable-netbeans argument" >&5 | 2497 echo "configure:2498: checking --disable-netbeans argument" >&5 |
2360 # Check whether --enable-netbeans or --disable-netbeans was given. | 2498 # Check whether --enable-netbeans or --disable-netbeans was given. |
2361 if test "${enable_netbeans+set}" = set; then | 2499 if test "${enable_netbeans+set}" = set; then |
2362 enableval="$enable_netbeans" | 2500 enableval="$enable_netbeans" |
2363 : | 2501 : |
2364 else | 2502 else |
2366 fi | 2504 fi |
2367 | 2505 |
2368 if test "$enable_netbeans" = "yes"; then | 2506 if test "$enable_netbeans" = "yes"; then |
2369 echo "$ac_t""no" 1>&6 | 2507 echo "$ac_t""no" 1>&6 |
2370 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 | 2508 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 |
2371 echo "configure:2372: checking for socket in -lsocket" >&5 | 2509 echo "configure:2510: checking for socket in -lsocket" >&5 |
2372 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` | 2510 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` |
2373 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2511 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2374 echo $ac_n "(cached) $ac_c" 1>&6 | 2512 echo $ac_n "(cached) $ac_c" 1>&6 |
2375 else | 2513 else |
2376 ac_save_LIBS="$LIBS" | 2514 ac_save_LIBS="$LIBS" |
2377 LIBS="-lsocket $LIBS" | 2515 LIBS="-lsocket $LIBS" |
2378 cat > conftest.$ac_ext <<EOF | 2516 cat > conftest.$ac_ext <<EOF |
2379 #line 2380 "configure" | 2517 #line 2518 "configure" |
2380 #include "confdefs.h" | 2518 #include "confdefs.h" |
2381 /* Override any gcc2 internal prototype to avoid an error. */ | 2519 /* Override any gcc2 internal prototype to avoid an error. */ |
2382 /* We use char because int might match the return type of a gcc2 | 2520 /* We use char because int might match the return type of a gcc2 |
2383 builtin and then its argument prototype would still apply. */ | 2521 builtin and then its argument prototype would still apply. */ |
2384 char socket(); | 2522 char socket(); |
2385 | 2523 |
2386 int main() { | 2524 int main() { |
2387 socket() | 2525 socket() |
2388 ; return 0; } | 2526 ; return 0; } |
2389 EOF | 2527 EOF |
2390 if { (eval echo configure:2391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2528 if { (eval echo configure:2529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2391 rm -rf conftest* | 2529 rm -rf conftest* |
2392 eval "ac_cv_lib_$ac_lib_var=yes" | 2530 eval "ac_cv_lib_$ac_lib_var=yes" |
2393 else | 2531 else |
2394 echo "configure: failed program was:" >&5 | 2532 echo "configure: failed program was:" >&5 |
2395 cat conftest.$ac_ext >&5 | 2533 cat conftest.$ac_ext >&5 |
2413 else | 2551 else |
2414 echo "$ac_t""no" 1>&6 | 2552 echo "$ac_t""no" 1>&6 |
2415 fi | 2553 fi |
2416 | 2554 |
2417 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 2555 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
2418 echo "configure:2419: checking for gethostbyname in -lnsl" >&5 | 2556 echo "configure:2557: checking for gethostbyname in -lnsl" >&5 |
2419 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 2557 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
2420 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2558 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2421 echo $ac_n "(cached) $ac_c" 1>&6 | 2559 echo $ac_n "(cached) $ac_c" 1>&6 |
2422 else | 2560 else |
2423 ac_save_LIBS="$LIBS" | 2561 ac_save_LIBS="$LIBS" |
2424 LIBS="-lnsl $LIBS" | 2562 LIBS="-lnsl $LIBS" |
2425 cat > conftest.$ac_ext <<EOF | 2563 cat > conftest.$ac_ext <<EOF |
2426 #line 2427 "configure" | 2564 #line 2565 "configure" |
2427 #include "confdefs.h" | 2565 #include "confdefs.h" |
2428 /* Override any gcc2 internal prototype to avoid an error. */ | 2566 /* Override any gcc2 internal prototype to avoid an error. */ |
2429 /* We use char because int might match the return type of a gcc2 | 2567 /* We use char because int might match the return type of a gcc2 |
2430 builtin and then its argument prototype would still apply. */ | 2568 builtin and then its argument prototype would still apply. */ |
2431 char gethostbyname(); | 2569 char gethostbyname(); |
2432 | 2570 |
2433 int main() { | 2571 int main() { |
2434 gethostbyname() | 2572 gethostbyname() |
2435 ; return 0; } | 2573 ; return 0; } |
2436 EOF | 2574 EOF |
2437 if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2575 if { (eval echo configure:2576: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2438 rm -rf conftest* | 2576 rm -rf conftest* |
2439 eval "ac_cv_lib_$ac_lib_var=yes" | 2577 eval "ac_cv_lib_$ac_lib_var=yes" |
2440 else | 2578 else |
2441 echo "configure: failed program was:" >&5 | 2579 echo "configure: failed program was:" >&5 |
2442 cat conftest.$ac_ext >&5 | 2580 cat conftest.$ac_ext >&5 |
2460 else | 2598 else |
2461 echo "$ac_t""no" 1>&6 | 2599 echo "$ac_t""no" 1>&6 |
2462 fi | 2600 fi |
2463 | 2601 |
2464 echo $ac_n "checking whether compiling netbeans integration is possible""... $ac_c" 1>&6 | 2602 echo $ac_n "checking whether compiling netbeans integration is possible""... $ac_c" 1>&6 |
2465 echo "configure:2466: checking whether compiling netbeans integration is possible" >&5 | 2603 echo "configure:2604: checking whether compiling netbeans integration is possible" >&5 |
2466 cat > conftest.$ac_ext <<EOF | 2604 cat > conftest.$ac_ext <<EOF |
2467 #line 2468 "configure" | 2605 #line 2606 "configure" |
2468 #include "confdefs.h" | 2606 #include "confdefs.h" |
2469 | 2607 |
2470 #include <stdio.h> | 2608 #include <stdio.h> |
2471 #include <stdlib.h> | 2609 #include <stdlib.h> |
2472 #include <stdarg.h> | 2610 #include <stdarg.h> |
2492 if (errno == ECONNREFUSED) | 2630 if (errno == ECONNREFUSED) |
2493 (void)connect(1, (struct sockaddr *)&server, sizeof(server)); | 2631 (void)connect(1, (struct sockaddr *)&server, sizeof(server)); |
2494 | 2632 |
2495 ; return 0; } | 2633 ; return 0; } |
2496 EOF | 2634 EOF |
2497 if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2635 if { (eval echo configure:2636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2498 rm -rf conftest* | 2636 rm -rf conftest* |
2499 echo "$ac_t""yes" 1>&6 | 2637 echo "$ac_t""yes" 1>&6 |
2500 else | 2638 else |
2501 echo "configure: failed program was:" >&5 | 2639 echo "configure: failed program was:" >&5 |
2502 cat conftest.$ac_ext >&5 | 2640 cat conftest.$ac_ext >&5 |
2517 NETBEANS_OBJ="objects/netbeans.o" | 2655 NETBEANS_OBJ="objects/netbeans.o" |
2518 | 2656 |
2519 fi | 2657 fi |
2520 | 2658 |
2521 echo $ac_n "checking --enable-sniff argument""... $ac_c" 1>&6 | 2659 echo $ac_n "checking --enable-sniff argument""... $ac_c" 1>&6 |
2522 echo "configure:2523: checking --enable-sniff argument" >&5 | 2660 echo "configure:2661: checking --enable-sniff argument" >&5 |
2523 # Check whether --enable-sniff or --disable-sniff was given. | 2661 # Check whether --enable-sniff or --disable-sniff was given. |
2524 if test "${enable_sniff+set}" = set; then | 2662 if test "${enable_sniff+set}" = set; then |
2525 enableval="$enable_sniff" | 2663 enableval="$enable_sniff" |
2526 : | 2664 : |
2527 else | 2665 else |
2539 SNIFF_OBJ="objects/if_sniff.o" | 2677 SNIFF_OBJ="objects/if_sniff.o" |
2540 | 2678 |
2541 fi | 2679 fi |
2542 | 2680 |
2543 echo $ac_n "checking --enable-multibyte argument""... $ac_c" 1>&6 | 2681 echo $ac_n "checking --enable-multibyte argument""... $ac_c" 1>&6 |
2544 echo "configure:2545: checking --enable-multibyte argument" >&5 | 2682 echo "configure:2683: checking --enable-multibyte argument" >&5 |
2545 # Check whether --enable-multibyte or --disable-multibyte was given. | 2683 # Check whether --enable-multibyte or --disable-multibyte was given. |
2546 if test "${enable_multibyte+set}" = set; then | 2684 if test "${enable_multibyte+set}" = set; then |
2547 enableval="$enable_multibyte" | 2685 enableval="$enable_multibyte" |
2548 : | 2686 : |
2549 else | 2687 else |
2557 EOF | 2695 EOF |
2558 | 2696 |
2559 fi | 2697 fi |
2560 | 2698 |
2561 echo $ac_n "checking --enable-hangulinput argument""... $ac_c" 1>&6 | 2699 echo $ac_n "checking --enable-hangulinput argument""... $ac_c" 1>&6 |
2562 echo "configure:2563: checking --enable-hangulinput argument" >&5 | 2700 echo "configure:2701: checking --enable-hangulinput argument" >&5 |
2563 # Check whether --enable-hangulinput or --disable-hangulinput was given. | 2701 # Check whether --enable-hangulinput or --disable-hangulinput was given. |
2564 if test "${enable_hangulinput+set}" = set; then | 2702 if test "${enable_hangulinput+set}" = set; then |
2565 enableval="$enable_hangulinput" | 2703 enableval="$enable_hangulinput" |
2566 : | 2704 : |
2567 else | 2705 else |
2569 fi | 2707 fi |
2570 | 2708 |
2571 echo "$ac_t""$enable_hangulinput" 1>&6 | 2709 echo "$ac_t""$enable_hangulinput" 1>&6 |
2572 | 2710 |
2573 echo $ac_n "checking --enable-xim argument""... $ac_c" 1>&6 | 2711 echo $ac_n "checking --enable-xim argument""... $ac_c" 1>&6 |
2574 echo "configure:2575: checking --enable-xim argument" >&5 | 2712 echo "configure:2713: checking --enable-xim argument" >&5 |
2575 # Check whether --enable-xim or --disable-xim was given. | 2713 # Check whether --enable-xim or --disable-xim was given. |
2576 if test "${enable_xim+set}" = set; then | 2714 if test "${enable_xim+set}" = set; then |
2577 enableval="$enable_xim" | 2715 enableval="$enable_xim" |
2578 echo "$ac_t""$enable_xim" 1>&6 | 2716 echo "$ac_t""$enable_xim" 1>&6 |
2579 else | 2717 else |
2580 enable_xim="auto"; echo "$ac_t""defaulting to auto" 1>&6 | 2718 enable_xim="auto"; echo "$ac_t""defaulting to auto" 1>&6 |
2581 fi | 2719 fi |
2582 | 2720 |
2583 | 2721 |
2584 echo $ac_n "checking --enable-fontset argument""... $ac_c" 1>&6 | 2722 echo $ac_n "checking --enable-fontset argument""... $ac_c" 1>&6 |
2585 echo "configure:2586: checking --enable-fontset argument" >&5 | 2723 echo "configure:2724: checking --enable-fontset argument" >&5 |
2586 # Check whether --enable-fontset or --disable-fontset was given. | 2724 # Check whether --enable-fontset or --disable-fontset was given. |
2587 if test "${enable_fontset+set}" = set; then | 2725 if test "${enable_fontset+set}" = set; then |
2588 enableval="$enable_fontset" | 2726 enableval="$enable_fontset" |
2589 : | 2727 : |
2590 else | 2728 else |
2600 else | 2738 else |
2601 | 2739 |
2602 # Extract the first word of "xmkmf", so it can be a program name with args. | 2740 # Extract the first word of "xmkmf", so it can be a program name with args. |
2603 set dummy xmkmf; ac_word=$2 | 2741 set dummy xmkmf; ac_word=$2 |
2604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2742 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2605 echo "configure:2606: checking for $ac_word" >&5 | 2743 echo "configure:2744: checking for $ac_word" >&5 |
2606 if eval "test \"`echo '$''{'ac_cv_path_xmkmfpath'+set}'`\" = set"; then | 2744 if eval "test \"`echo '$''{'ac_cv_path_xmkmfpath'+set}'`\" = set"; then |
2607 echo $ac_n "(cached) $ac_c" 1>&6 | 2745 echo $ac_n "(cached) $ac_c" 1>&6 |
2608 else | 2746 else |
2609 case "$xmkmfpath" in | 2747 case "$xmkmfpath" in |
2610 /*) | 2748 /*) |
2638 # If we find X, set shell vars x_includes and x_libraries to the | 2776 # If we find X, set shell vars x_includes and x_libraries to the |
2639 # paths, otherwise set no_x=yes. | 2777 # paths, otherwise set no_x=yes. |
2640 # Uses ac_ vars as temps to allow command line to override cache and checks. | 2778 # Uses ac_ vars as temps to allow command line to override cache and checks. |
2641 # --without-x overrides everything else, but does not touch the cache. | 2779 # --without-x overrides everything else, but does not touch the cache. |
2642 echo $ac_n "checking for X""... $ac_c" 1>&6 | 2780 echo $ac_n "checking for X""... $ac_c" 1>&6 |
2643 echo "configure:2644: checking for X" >&5 | 2781 echo "configure:2782: checking for X" >&5 |
2644 | 2782 |
2645 # Check whether --with-x or --without-x was given. | 2783 # Check whether --with-x or --without-x was given. |
2646 if test "${with_x+set}" = set; then | 2784 if test "${with_x+set}" = set; then |
2647 withval="$with_x" | 2785 withval="$with_x" |
2648 : | 2786 : |
2700 # Guess where to find include files, by looking for this one X11 .h file. | 2838 # Guess where to find include files, by looking for this one X11 .h file. |
2701 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 2839 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
2702 | 2840 |
2703 # First, try using that file with no special directory specified. | 2841 # First, try using that file with no special directory specified. |
2704 cat > conftest.$ac_ext <<EOF | 2842 cat > conftest.$ac_ext <<EOF |
2705 #line 2706 "configure" | 2843 #line 2844 "configure" |
2706 #include "confdefs.h" | 2844 #include "confdefs.h" |
2707 #include <$x_direct_test_include> | 2845 #include <$x_direct_test_include> |
2708 EOF | 2846 EOF |
2709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2847 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2710 { (eval echo configure:2711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2848 { (eval echo configure:2849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2849 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2712 if test -z "$ac_err"; then | 2850 if test -z "$ac_err"; then |
2713 rm -rf conftest* | 2851 rm -rf conftest* |
2714 # We can compile using X headers with no special include directory. | 2852 # We can compile using X headers with no special include directory. |
2715 ac_x_includes= | 2853 ac_x_includes= |
2774 # See if we find them without any special options. | 2912 # See if we find them without any special options. |
2775 # Don't add to $LIBS permanently. | 2913 # Don't add to $LIBS permanently. |
2776 ac_save_LIBS="$LIBS" | 2914 ac_save_LIBS="$LIBS" |
2777 LIBS="-l$x_direct_test_library $LIBS" | 2915 LIBS="-l$x_direct_test_library $LIBS" |
2778 cat > conftest.$ac_ext <<EOF | 2916 cat > conftest.$ac_ext <<EOF |
2779 #line 2780 "configure" | 2917 #line 2918 "configure" |
2780 #include "confdefs.h" | 2918 #include "confdefs.h" |
2781 | 2919 |
2782 int main() { | 2920 int main() { |
2783 ${x_direct_test_function}() | 2921 ${x_direct_test_function}() |
2784 ; return 0; } | 2922 ; return 0; } |
2785 EOF | 2923 EOF |
2786 if { (eval echo configure:2787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2924 if { (eval echo configure:2925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2787 rm -rf conftest* | 2925 rm -rf conftest* |
2788 LIBS="$ac_save_LIBS" | 2926 LIBS="$ac_save_LIBS" |
2789 # We can link X programs with no special library path. | 2927 # We can link X programs with no special library path. |
2790 ac_x_libraries= | 2928 ac_x_libraries= |
2791 else | 2929 else |
2887 # For Solaris; some versions of Sun CC require a space after -R and | 3025 # For Solaris; some versions of Sun CC require a space after -R and |
2888 # others require no space. Words are not sufficient . . . . | 3026 # others require no space. Words are not sufficient . . . . |
2889 case "`(uname -sr) 2>/dev/null`" in | 3027 case "`(uname -sr) 2>/dev/null`" in |
2890 "SunOS 5"*) | 3028 "SunOS 5"*) |
2891 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 3029 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
2892 echo "configure:2893: checking whether -R must be followed by a space" >&5 | 3030 echo "configure:3031: checking whether -R must be followed by a space" >&5 |
2893 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 3031 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
2894 cat > conftest.$ac_ext <<EOF | 3032 cat > conftest.$ac_ext <<EOF |
2895 #line 2896 "configure" | 3033 #line 3034 "configure" |
2896 #include "confdefs.h" | 3034 #include "confdefs.h" |
2897 | 3035 |
2898 int main() { | 3036 int main() { |
2899 | 3037 |
2900 ; return 0; } | 3038 ; return 0; } |
2901 EOF | 3039 EOF |
2902 if { (eval echo configure:2903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3040 if { (eval echo configure:3041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2903 rm -rf conftest* | 3041 rm -rf conftest* |
2904 ac_R_nospace=yes | 3042 ac_R_nospace=yes |
2905 else | 3043 else |
2906 echo "configure: failed program was:" >&5 | 3044 echo "configure: failed program was:" >&5 |
2907 cat conftest.$ac_ext >&5 | 3045 cat conftest.$ac_ext >&5 |
2913 echo "$ac_t""no" 1>&6 | 3051 echo "$ac_t""no" 1>&6 |
2914 X_LIBS="$X_LIBS -R$x_libraries" | 3052 X_LIBS="$X_LIBS -R$x_libraries" |
2915 else | 3053 else |
2916 LIBS="$ac_xsave_LIBS -R $x_libraries" | 3054 LIBS="$ac_xsave_LIBS -R $x_libraries" |
2917 cat > conftest.$ac_ext <<EOF | 3055 cat > conftest.$ac_ext <<EOF |
2918 #line 2919 "configure" | 3056 #line 3057 "configure" |
2919 #include "confdefs.h" | 3057 #include "confdefs.h" |
2920 | 3058 |
2921 int main() { | 3059 int main() { |
2922 | 3060 |
2923 ; return 0; } | 3061 ; return 0; } |
2924 EOF | 3062 EOF |
2925 if { (eval echo configure:2926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3063 if { (eval echo configure:3064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2926 rm -rf conftest* | 3064 rm -rf conftest* |
2927 ac_R_space=yes | 3065 ac_R_space=yes |
2928 else | 3066 else |
2929 echo "configure: failed program was:" >&5 | 3067 echo "configure: failed program was:" >&5 |
2930 cat conftest.$ac_ext >&5 | 3068 cat conftest.$ac_ext >&5 |
2952 else | 3090 else |
2953 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X | 3091 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X |
2954 # libraries were built with DECnet support. And karl@cs.umb.edu says | 3092 # libraries were built with DECnet support. And karl@cs.umb.edu says |
2955 # the Alpha needs dnet_stub (dnet does not exist). | 3093 # the Alpha needs dnet_stub (dnet does not exist). |
2956 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 3094 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
2957 echo "configure:2958: checking for dnet_ntoa in -ldnet" >&5 | 3095 echo "configure:3096: checking for dnet_ntoa in -ldnet" >&5 |
2958 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3096 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2959 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3097 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2960 echo $ac_n "(cached) $ac_c" 1>&6 | 3098 echo $ac_n "(cached) $ac_c" 1>&6 |
2961 else | 3099 else |
2962 ac_save_LIBS="$LIBS" | 3100 ac_save_LIBS="$LIBS" |
2963 LIBS="-ldnet $LIBS" | 3101 LIBS="-ldnet $LIBS" |
2964 cat > conftest.$ac_ext <<EOF | 3102 cat > conftest.$ac_ext <<EOF |
2965 #line 2966 "configure" | 3103 #line 3104 "configure" |
2966 #include "confdefs.h" | 3104 #include "confdefs.h" |
2967 /* Override any gcc2 internal prototype to avoid an error. */ | 3105 /* Override any gcc2 internal prototype to avoid an error. */ |
2968 /* We use char because int might match the return type of a gcc2 | 3106 /* We use char because int might match the return type of a gcc2 |
2969 builtin and then its argument prototype would still apply. */ | 3107 builtin and then its argument prototype would still apply. */ |
2970 char dnet_ntoa(); | 3108 char dnet_ntoa(); |
2971 | 3109 |
2972 int main() { | 3110 int main() { |
2973 dnet_ntoa() | 3111 dnet_ntoa() |
2974 ; return 0; } | 3112 ; return 0; } |
2975 EOF | 3113 EOF |
2976 if { (eval echo configure:2977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3114 if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2977 rm -rf conftest* | 3115 rm -rf conftest* |
2978 eval "ac_cv_lib_$ac_lib_var=yes" | 3116 eval "ac_cv_lib_$ac_lib_var=yes" |
2979 else | 3117 else |
2980 echo "configure: failed program was:" >&5 | 3118 echo "configure: failed program was:" >&5 |
2981 cat conftest.$ac_ext >&5 | 3119 cat conftest.$ac_ext >&5 |
2993 echo "$ac_t""no" 1>&6 | 3131 echo "$ac_t""no" 1>&6 |
2994 fi | 3132 fi |
2995 | 3133 |
2996 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 3134 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
2997 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 3135 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
2998 echo "configure:2999: checking for dnet_ntoa in -ldnet_stub" >&5 | 3136 echo "configure:3137: checking for dnet_ntoa in -ldnet_stub" >&5 |
2999 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 3137 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
3000 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3138 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3001 echo $ac_n "(cached) $ac_c" 1>&6 | 3139 echo $ac_n "(cached) $ac_c" 1>&6 |
3002 else | 3140 else |
3003 ac_save_LIBS="$LIBS" | 3141 ac_save_LIBS="$LIBS" |
3004 LIBS="-ldnet_stub $LIBS" | 3142 LIBS="-ldnet_stub $LIBS" |
3005 cat > conftest.$ac_ext <<EOF | 3143 cat > conftest.$ac_ext <<EOF |
3006 #line 3007 "configure" | 3144 #line 3145 "configure" |
3007 #include "confdefs.h" | 3145 #include "confdefs.h" |
3008 /* Override any gcc2 internal prototype to avoid an error. */ | 3146 /* Override any gcc2 internal prototype to avoid an error. */ |
3009 /* We use char because int might match the return type of a gcc2 | 3147 /* We use char because int might match the return type of a gcc2 |
3010 builtin and then its argument prototype would still apply. */ | 3148 builtin and then its argument prototype would still apply. */ |
3011 char dnet_ntoa(); | 3149 char dnet_ntoa(); |
3012 | 3150 |
3013 int main() { | 3151 int main() { |
3014 dnet_ntoa() | 3152 dnet_ntoa() |
3015 ; return 0; } | 3153 ; return 0; } |
3016 EOF | 3154 EOF |
3017 if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3155 if { (eval echo configure:3156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3018 rm -rf conftest* | 3156 rm -rf conftest* |
3019 eval "ac_cv_lib_$ac_lib_var=yes" | 3157 eval "ac_cv_lib_$ac_lib_var=yes" |
3020 else | 3158 else |
3021 echo "configure: failed program was:" >&5 | 3159 echo "configure: failed program was:" >&5 |
3022 cat conftest.$ac_ext >&5 | 3160 cat conftest.$ac_ext >&5 |
3041 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 3179 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
3042 # needs -lnsl. | 3180 # needs -lnsl. |
3043 # The nsl library prevents programs from opening the X display | 3181 # The nsl library prevents programs from opening the X display |
3044 # on Irix 5.2, according to dickey@clark.net. | 3182 # on Irix 5.2, according to dickey@clark.net. |
3045 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 3183 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
3046 echo "configure:3047: checking for gethostbyname" >&5 | 3184 echo "configure:3185: checking for gethostbyname" >&5 |
3047 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then | 3185 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
3048 echo $ac_n "(cached) $ac_c" 1>&6 | 3186 echo $ac_n "(cached) $ac_c" 1>&6 |
3049 else | 3187 else |
3050 cat > conftest.$ac_ext <<EOF | 3188 cat > conftest.$ac_ext <<EOF |
3051 #line 3052 "configure" | 3189 #line 3190 "configure" |
3052 #include "confdefs.h" | 3190 #include "confdefs.h" |
3053 /* System header to define __stub macros and hopefully few prototypes, | 3191 /* System header to define __stub macros and hopefully few prototypes, |
3054 which can conflict with char gethostbyname(); below. */ | 3192 which can conflict with char gethostbyname(); below. */ |
3055 #include <assert.h> | 3193 #include <assert.h> |
3056 /* Override any gcc2 internal prototype to avoid an error. */ | 3194 /* Override any gcc2 internal prototype to avoid an error. */ |
3069 gethostbyname(); | 3207 gethostbyname(); |
3070 #endif | 3208 #endif |
3071 | 3209 |
3072 ; return 0; } | 3210 ; return 0; } |
3073 EOF | 3211 EOF |
3074 if { (eval echo configure:3075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3212 if { (eval echo configure:3213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3075 rm -rf conftest* | 3213 rm -rf conftest* |
3076 eval "ac_cv_func_gethostbyname=yes" | 3214 eval "ac_cv_func_gethostbyname=yes" |
3077 else | 3215 else |
3078 echo "configure: failed program was:" >&5 | 3216 echo "configure: failed program was:" >&5 |
3079 cat conftest.$ac_ext >&5 | 3217 cat conftest.$ac_ext >&5 |
3090 echo "$ac_t""no" 1>&6 | 3228 echo "$ac_t""no" 1>&6 |
3091 fi | 3229 fi |
3092 | 3230 |
3093 if test $ac_cv_func_gethostbyname = no; then | 3231 if test $ac_cv_func_gethostbyname = no; then |
3094 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 3232 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
3095 echo "configure:3096: checking for gethostbyname in -lnsl" >&5 | 3233 echo "configure:3234: checking for gethostbyname in -lnsl" >&5 |
3096 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 3234 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
3097 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3235 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3098 echo $ac_n "(cached) $ac_c" 1>&6 | 3236 echo $ac_n "(cached) $ac_c" 1>&6 |
3099 else | 3237 else |
3100 ac_save_LIBS="$LIBS" | 3238 ac_save_LIBS="$LIBS" |
3101 LIBS="-lnsl $LIBS" | 3239 LIBS="-lnsl $LIBS" |
3102 cat > conftest.$ac_ext <<EOF | 3240 cat > conftest.$ac_ext <<EOF |
3103 #line 3104 "configure" | 3241 #line 3242 "configure" |
3104 #include "confdefs.h" | 3242 #include "confdefs.h" |
3105 /* Override any gcc2 internal prototype to avoid an error. */ | 3243 /* Override any gcc2 internal prototype to avoid an error. */ |
3106 /* We use char because int might match the return type of a gcc2 | 3244 /* We use char because int might match the return type of a gcc2 |
3107 builtin and then its argument prototype would still apply. */ | 3245 builtin and then its argument prototype would still apply. */ |
3108 char gethostbyname(); | 3246 char gethostbyname(); |
3109 | 3247 |
3110 int main() { | 3248 int main() { |
3111 gethostbyname() | 3249 gethostbyname() |
3112 ; return 0; } | 3250 ; return 0; } |
3113 EOF | 3251 EOF |
3114 if { (eval echo configure:3115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3252 if { (eval echo configure:3253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3115 rm -rf conftest* | 3253 rm -rf conftest* |
3116 eval "ac_cv_lib_$ac_lib_var=yes" | 3254 eval "ac_cv_lib_$ac_lib_var=yes" |
3117 else | 3255 else |
3118 echo "configure: failed program was:" >&5 | 3256 echo "configure: failed program was:" >&5 |
3119 cat conftest.$ac_ext >&5 | 3257 cat conftest.$ac_ext >&5 |
3139 # on later versions), says simon@lia.di.epfl.ch: it contains | 3277 # on later versions), says simon@lia.di.epfl.ch: it contains |
3140 # gethostby* variants that don't use the nameserver (or something). | 3278 # gethostby* variants that don't use the nameserver (or something). |
3141 # -lsocket must be given before -lnsl if both are needed. | 3279 # -lsocket must be given before -lnsl if both are needed. |
3142 # We assume that if connect needs -lnsl, so does gethostbyname. | 3280 # We assume that if connect needs -lnsl, so does gethostbyname. |
3143 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 3281 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
3144 echo "configure:3145: checking for connect" >&5 | 3282 echo "configure:3283: checking for connect" >&5 |
3145 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then | 3283 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
3146 echo $ac_n "(cached) $ac_c" 1>&6 | 3284 echo $ac_n "(cached) $ac_c" 1>&6 |
3147 else | 3285 else |
3148 cat > conftest.$ac_ext <<EOF | 3286 cat > conftest.$ac_ext <<EOF |
3149 #line 3150 "configure" | 3287 #line 3288 "configure" |
3150 #include "confdefs.h" | 3288 #include "confdefs.h" |
3151 /* System header to define __stub macros and hopefully few prototypes, | 3289 /* System header to define __stub macros and hopefully few prototypes, |
3152 which can conflict with char connect(); below. */ | 3290 which can conflict with char connect(); below. */ |
3153 #include <assert.h> | 3291 #include <assert.h> |
3154 /* Override any gcc2 internal prototype to avoid an error. */ | 3292 /* Override any gcc2 internal prototype to avoid an error. */ |
3167 connect(); | 3305 connect(); |
3168 #endif | 3306 #endif |
3169 | 3307 |
3170 ; return 0; } | 3308 ; return 0; } |
3171 EOF | 3309 EOF |
3172 if { (eval echo configure:3173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3310 if { (eval echo configure:3311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3173 rm -rf conftest* | 3311 rm -rf conftest* |
3174 eval "ac_cv_func_connect=yes" | 3312 eval "ac_cv_func_connect=yes" |
3175 else | 3313 else |
3176 echo "configure: failed program was:" >&5 | 3314 echo "configure: failed program was:" >&5 |
3177 cat conftest.$ac_ext >&5 | 3315 cat conftest.$ac_ext >&5 |
3188 echo "$ac_t""no" 1>&6 | 3326 echo "$ac_t""no" 1>&6 |
3189 fi | 3327 fi |
3190 | 3328 |
3191 if test $ac_cv_func_connect = no; then | 3329 if test $ac_cv_func_connect = no; then |
3192 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 | 3330 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
3193 echo "configure:3194: checking for connect in -lsocket" >&5 | 3331 echo "configure:3332: checking for connect in -lsocket" >&5 |
3194 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 3332 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
3195 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3333 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3196 echo $ac_n "(cached) $ac_c" 1>&6 | 3334 echo $ac_n "(cached) $ac_c" 1>&6 |
3197 else | 3335 else |
3198 ac_save_LIBS="$LIBS" | 3336 ac_save_LIBS="$LIBS" |
3199 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" | 3337 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
3200 cat > conftest.$ac_ext <<EOF | 3338 cat > conftest.$ac_ext <<EOF |
3201 #line 3202 "configure" | 3339 #line 3340 "configure" |
3202 #include "confdefs.h" | 3340 #include "confdefs.h" |
3203 /* Override any gcc2 internal prototype to avoid an error. */ | 3341 /* Override any gcc2 internal prototype to avoid an error. */ |
3204 /* We use char because int might match the return type of a gcc2 | 3342 /* We use char because int might match the return type of a gcc2 |
3205 builtin and then its argument prototype would still apply. */ | 3343 builtin and then its argument prototype would still apply. */ |
3206 char connect(); | 3344 char connect(); |
3207 | 3345 |
3208 int main() { | 3346 int main() { |
3209 connect() | 3347 connect() |
3210 ; return 0; } | 3348 ; return 0; } |
3211 EOF | 3349 EOF |
3212 if { (eval echo configure:3213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3350 if { (eval echo configure:3351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3213 rm -rf conftest* | 3351 rm -rf conftest* |
3214 eval "ac_cv_lib_$ac_lib_var=yes" | 3352 eval "ac_cv_lib_$ac_lib_var=yes" |
3215 else | 3353 else |
3216 echo "configure: failed program was:" >&5 | 3354 echo "configure: failed program was:" >&5 |
3217 cat conftest.$ac_ext >&5 | 3355 cat conftest.$ac_ext >&5 |
3231 | 3369 |
3232 fi | 3370 fi |
3233 | 3371 |
3234 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 3372 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
3235 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 3373 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
3236 echo "configure:3237: checking for remove" >&5 | 3374 echo "configure:3375: checking for remove" >&5 |
3237 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then | 3375 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
3238 echo $ac_n "(cached) $ac_c" 1>&6 | 3376 echo $ac_n "(cached) $ac_c" 1>&6 |
3239 else | 3377 else |
3240 cat > conftest.$ac_ext <<EOF | 3378 cat > conftest.$ac_ext <<EOF |
3241 #line 3242 "configure" | 3379 #line 3380 "configure" |
3242 #include "confdefs.h" | 3380 #include "confdefs.h" |
3243 /* System header to define __stub macros and hopefully few prototypes, | 3381 /* System header to define __stub macros and hopefully few prototypes, |
3244 which can conflict with char remove(); below. */ | 3382 which can conflict with char remove(); below. */ |
3245 #include <assert.h> | 3383 #include <assert.h> |
3246 /* Override any gcc2 internal prototype to avoid an error. */ | 3384 /* Override any gcc2 internal prototype to avoid an error. */ |
3259 remove(); | 3397 remove(); |
3260 #endif | 3398 #endif |
3261 | 3399 |
3262 ; return 0; } | 3400 ; return 0; } |
3263 EOF | 3401 EOF |
3264 if { (eval echo configure:3265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3402 if { (eval echo configure:3403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3265 rm -rf conftest* | 3403 rm -rf conftest* |
3266 eval "ac_cv_func_remove=yes" | 3404 eval "ac_cv_func_remove=yes" |
3267 else | 3405 else |
3268 echo "configure: failed program was:" >&5 | 3406 echo "configure: failed program was:" >&5 |
3269 cat conftest.$ac_ext >&5 | 3407 cat conftest.$ac_ext >&5 |
3280 echo "$ac_t""no" 1>&6 | 3418 echo "$ac_t""no" 1>&6 |
3281 fi | 3419 fi |
3282 | 3420 |
3283 if test $ac_cv_func_remove = no; then | 3421 if test $ac_cv_func_remove = no; then |
3284 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 3422 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
3285 echo "configure:3286: checking for remove in -lposix" >&5 | 3423 echo "configure:3424: checking for remove in -lposix" >&5 |
3286 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 3424 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
3287 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3425 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3288 echo $ac_n "(cached) $ac_c" 1>&6 | 3426 echo $ac_n "(cached) $ac_c" 1>&6 |
3289 else | 3427 else |
3290 ac_save_LIBS="$LIBS" | 3428 ac_save_LIBS="$LIBS" |
3291 LIBS="-lposix $LIBS" | 3429 LIBS="-lposix $LIBS" |
3292 cat > conftest.$ac_ext <<EOF | 3430 cat > conftest.$ac_ext <<EOF |
3293 #line 3294 "configure" | 3431 #line 3432 "configure" |
3294 #include "confdefs.h" | 3432 #include "confdefs.h" |
3295 /* Override any gcc2 internal prototype to avoid an error. */ | 3433 /* Override any gcc2 internal prototype to avoid an error. */ |
3296 /* We use char because int might match the return type of a gcc2 | 3434 /* We use char because int might match the return type of a gcc2 |
3297 builtin and then its argument prototype would still apply. */ | 3435 builtin and then its argument prototype would still apply. */ |
3298 char remove(); | 3436 char remove(); |
3299 | 3437 |
3300 int main() { | 3438 int main() { |
3301 remove() | 3439 remove() |
3302 ; return 0; } | 3440 ; return 0; } |
3303 EOF | 3441 EOF |
3304 if { (eval echo configure:3305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3442 if { (eval echo configure:3443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3305 rm -rf conftest* | 3443 rm -rf conftest* |
3306 eval "ac_cv_lib_$ac_lib_var=yes" | 3444 eval "ac_cv_lib_$ac_lib_var=yes" |
3307 else | 3445 else |
3308 echo "configure: failed program was:" >&5 | 3446 echo "configure: failed program was:" >&5 |
3309 cat conftest.$ac_ext >&5 | 3447 cat conftest.$ac_ext >&5 |
3323 | 3461 |
3324 fi | 3462 fi |
3325 | 3463 |
3326 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 3464 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
3327 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 3465 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
3328 echo "configure:3329: checking for shmat" >&5 | 3466 echo "configure:3467: checking for shmat" >&5 |
3329 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then | 3467 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
3330 echo $ac_n "(cached) $ac_c" 1>&6 | 3468 echo $ac_n "(cached) $ac_c" 1>&6 |
3331 else | 3469 else |
3332 cat > conftest.$ac_ext <<EOF | 3470 cat > conftest.$ac_ext <<EOF |
3333 #line 3334 "configure" | 3471 #line 3472 "configure" |
3334 #include "confdefs.h" | 3472 #include "confdefs.h" |
3335 /* System header to define __stub macros and hopefully few prototypes, | 3473 /* System header to define __stub macros and hopefully few prototypes, |
3336 which can conflict with char shmat(); below. */ | 3474 which can conflict with char shmat(); below. */ |
3337 #include <assert.h> | 3475 #include <assert.h> |
3338 /* Override any gcc2 internal prototype to avoid an error. */ | 3476 /* Override any gcc2 internal prototype to avoid an error. */ |
3351 shmat(); | 3489 shmat(); |
3352 #endif | 3490 #endif |
3353 | 3491 |
3354 ; return 0; } | 3492 ; return 0; } |
3355 EOF | 3493 EOF |
3356 if { (eval echo configure:3357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3494 if { (eval echo configure:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3357 rm -rf conftest* | 3495 rm -rf conftest* |
3358 eval "ac_cv_func_shmat=yes" | 3496 eval "ac_cv_func_shmat=yes" |
3359 else | 3497 else |
3360 echo "configure: failed program was:" >&5 | 3498 echo "configure: failed program was:" >&5 |
3361 cat conftest.$ac_ext >&5 | 3499 cat conftest.$ac_ext >&5 |
3372 echo "$ac_t""no" 1>&6 | 3510 echo "$ac_t""no" 1>&6 |
3373 fi | 3511 fi |
3374 | 3512 |
3375 if test $ac_cv_func_shmat = no; then | 3513 if test $ac_cv_func_shmat = no; then |
3376 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 3514 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
3377 echo "configure:3378: checking for shmat in -lipc" >&5 | 3515 echo "configure:3516: checking for shmat in -lipc" >&5 |
3378 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 3516 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
3379 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3517 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3380 echo $ac_n "(cached) $ac_c" 1>&6 | 3518 echo $ac_n "(cached) $ac_c" 1>&6 |
3381 else | 3519 else |
3382 ac_save_LIBS="$LIBS" | 3520 ac_save_LIBS="$LIBS" |
3383 LIBS="-lipc $LIBS" | 3521 LIBS="-lipc $LIBS" |
3384 cat > conftest.$ac_ext <<EOF | 3522 cat > conftest.$ac_ext <<EOF |
3385 #line 3386 "configure" | 3523 #line 3524 "configure" |
3386 #include "confdefs.h" | 3524 #include "confdefs.h" |
3387 /* Override any gcc2 internal prototype to avoid an error. */ | 3525 /* Override any gcc2 internal prototype to avoid an error. */ |
3388 /* We use char because int might match the return type of a gcc2 | 3526 /* We use char because int might match the return type of a gcc2 |
3389 builtin and then its argument prototype would still apply. */ | 3527 builtin and then its argument prototype would still apply. */ |
3390 char shmat(); | 3528 char shmat(); |
3391 | 3529 |
3392 int main() { | 3530 int main() { |
3393 shmat() | 3531 shmat() |
3394 ; return 0; } | 3532 ; return 0; } |
3395 EOF | 3533 EOF |
3396 if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3534 if { (eval echo configure:3535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3397 rm -rf conftest* | 3535 rm -rf conftest* |
3398 eval "ac_cv_lib_$ac_lib_var=yes" | 3536 eval "ac_cv_lib_$ac_lib_var=yes" |
3399 else | 3537 else |
3400 echo "configure: failed program was:" >&5 | 3538 echo "configure: failed program was:" >&5 |
3401 cat conftest.$ac_ext >&5 | 3539 cat conftest.$ac_ext >&5 |
3424 # we get undefined symbols. So assume we have SM if we have ICE. | 3562 # we get undefined symbols. So assume we have SM if we have ICE. |
3425 # These have to be linked with before -lX11, unlike the other | 3563 # These have to be linked with before -lX11, unlike the other |
3426 # libraries we check for below, so use a different variable. | 3564 # libraries we check for below, so use a different variable. |
3427 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 3565 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
3428 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 3566 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
3429 echo "configure:3430: checking for IceConnectionNumber in -lICE" >&5 | 3567 echo "configure:3568: checking for IceConnectionNumber in -lICE" >&5 |
3430 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 3568 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
3431 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3569 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3432 echo $ac_n "(cached) $ac_c" 1>&6 | 3570 echo $ac_n "(cached) $ac_c" 1>&6 |
3433 else | 3571 else |
3434 ac_save_LIBS="$LIBS" | 3572 ac_save_LIBS="$LIBS" |
3435 LIBS="-lICE $X_EXTRA_LIBS $LIBS" | 3573 LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
3436 cat > conftest.$ac_ext <<EOF | 3574 cat > conftest.$ac_ext <<EOF |
3437 #line 3438 "configure" | 3575 #line 3576 "configure" |
3438 #include "confdefs.h" | 3576 #include "confdefs.h" |
3439 /* Override any gcc2 internal prototype to avoid an error. */ | 3577 /* Override any gcc2 internal prototype to avoid an error. */ |
3440 /* We use char because int might match the return type of a gcc2 | 3578 /* We use char because int might match the return type of a gcc2 |
3441 builtin and then its argument prototype would still apply. */ | 3579 builtin and then its argument prototype would still apply. */ |
3442 char IceConnectionNumber(); | 3580 char IceConnectionNumber(); |
3443 | 3581 |
3444 int main() { | 3582 int main() { |
3445 IceConnectionNumber() | 3583 IceConnectionNumber() |
3446 ; return 0; } | 3584 ; return 0; } |
3447 EOF | 3585 EOF |
3448 if { (eval echo configure:3449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3586 if { (eval echo configure:3587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3449 rm -rf conftest* | 3587 rm -rf conftest* |
3450 eval "ac_cv_lib_$ac_lib_var=yes" | 3588 eval "ac_cv_lib_$ac_lib_var=yes" |
3451 else | 3589 else |
3452 echo "configure: failed program was:" >&5 | 3590 echo "configure: failed program was:" >&5 |
3453 cat conftest.$ac_ext >&5 | 3591 cat conftest.$ac_ext >&5 |
3497 X_LIBS="`echo $X_LIBS\ | sed 's%-L/usr/lib %%'`" | 3635 X_LIBS="`echo $X_LIBS\ | sed 's%-L/usr/lib %%'`" |
3498 X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`" | 3636 X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`" |
3499 | 3637 |
3500 | 3638 |
3501 echo $ac_n "checking if X11 header files can be found""... $ac_c" 1>&6 | 3639 echo $ac_n "checking if X11 header files can be found""... $ac_c" 1>&6 |
3502 echo "configure:3503: checking if X11 header files can be found" >&5 | 3640 echo "configure:3641: checking if X11 header files can be found" >&5 |
3503 cflags_save=$CFLAGS | 3641 cflags_save=$CFLAGS |
3504 CFLAGS="$CFLAGS $X_CFLAGS" | 3642 CFLAGS="$CFLAGS $X_CFLAGS" |
3505 cat > conftest.$ac_ext <<EOF | 3643 cat > conftest.$ac_ext <<EOF |
3506 #line 3507 "configure" | 3644 #line 3645 "configure" |
3507 #include "confdefs.h" | 3645 #include "confdefs.h" |
3508 #include <X11/Xlib.h> | 3646 #include <X11/Xlib.h> |
3509 int main() { | 3647 int main() { |
3510 | 3648 |
3511 ; return 0; } | 3649 ; return 0; } |
3512 EOF | 3650 EOF |
3513 if { (eval echo configure:3514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3651 if { (eval echo configure:3652: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3514 rm -rf conftest* | 3652 rm -rf conftest* |
3515 echo "$ac_t""yes" 1>&6 | 3653 echo "$ac_t""yes" 1>&6 |
3516 else | 3654 else |
3517 echo "configure: failed program was:" >&5 | 3655 echo "configure: failed program was:" >&5 |
3518 cat conftest.$ac_ext >&5 | 3656 cat conftest.$ac_ext >&5 |
3534 | 3672 |
3535 ac_save_LDFLAGS="$LDFLAGS" | 3673 ac_save_LDFLAGS="$LDFLAGS" |
3536 LDFLAGS="-L$x_libraries $LDFLAGS" | 3674 LDFLAGS="-L$x_libraries $LDFLAGS" |
3537 | 3675 |
3538 echo $ac_n "checking for _XdmcpAuthDoIt in -lXdmcp""... $ac_c" 1>&6 | 3676 echo $ac_n "checking for _XdmcpAuthDoIt in -lXdmcp""... $ac_c" 1>&6 |
3539 echo "configure:3540: checking for _XdmcpAuthDoIt in -lXdmcp" >&5 | 3677 echo "configure:3678: checking for _XdmcpAuthDoIt in -lXdmcp" >&5 |
3540 ac_lib_var=`echo Xdmcp'_'_XdmcpAuthDoIt | sed 'y%./+-%__p_%'` | 3678 ac_lib_var=`echo Xdmcp'_'_XdmcpAuthDoIt | sed 'y%./+-%__p_%'` |
3541 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3679 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3542 echo $ac_n "(cached) $ac_c" 1>&6 | 3680 echo $ac_n "(cached) $ac_c" 1>&6 |
3543 else | 3681 else |
3544 ac_save_LIBS="$LIBS" | 3682 ac_save_LIBS="$LIBS" |
3545 LIBS="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS" | 3683 LIBS="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS" |
3546 cat > conftest.$ac_ext <<EOF | 3684 cat > conftest.$ac_ext <<EOF |
3547 #line 3548 "configure" | 3685 #line 3686 "configure" |
3548 #include "confdefs.h" | 3686 #include "confdefs.h" |
3549 /* Override any gcc2 internal prototype to avoid an error. */ | 3687 /* Override any gcc2 internal prototype to avoid an error. */ |
3550 /* We use char because int might match the return type of a gcc2 | 3688 /* We use char because int might match the return type of a gcc2 |
3551 builtin and then its argument prototype would still apply. */ | 3689 builtin and then its argument prototype would still apply. */ |
3552 char _XdmcpAuthDoIt(); | 3690 char _XdmcpAuthDoIt(); |
3553 | 3691 |
3554 int main() { | 3692 int main() { |
3555 _XdmcpAuthDoIt() | 3693 _XdmcpAuthDoIt() |
3556 ; return 0; } | 3694 ; return 0; } |
3557 EOF | 3695 EOF |
3558 if { (eval echo configure:3559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3696 if { (eval echo configure:3697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3559 rm -rf conftest* | 3697 rm -rf conftest* |
3560 eval "ac_cv_lib_$ac_lib_var=yes" | 3698 eval "ac_cv_lib_$ac_lib_var=yes" |
3561 else | 3699 else |
3562 echo "configure: failed program was:" >&5 | 3700 echo "configure: failed program was:" >&5 |
3563 cat conftest.$ac_ext >&5 | 3701 cat conftest.$ac_ext >&5 |
3575 echo "$ac_t""no" 1>&6 | 3713 echo "$ac_t""no" 1>&6 |
3576 fi | 3714 fi |
3577 | 3715 |
3578 | 3716 |
3579 echo $ac_n "checking for IceOpenConnection in -lICE""... $ac_c" 1>&6 | 3717 echo $ac_n "checking for IceOpenConnection in -lICE""... $ac_c" 1>&6 |
3580 echo "configure:3581: checking for IceOpenConnection in -lICE" >&5 | 3718 echo "configure:3719: checking for IceOpenConnection in -lICE" >&5 |
3581 ac_lib_var=`echo ICE'_'IceOpenConnection | sed 'y%./+-%__p_%'` | 3719 ac_lib_var=`echo ICE'_'IceOpenConnection | sed 'y%./+-%__p_%'` |
3582 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3720 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3583 echo $ac_n "(cached) $ac_c" 1>&6 | 3721 echo $ac_n "(cached) $ac_c" 1>&6 |
3584 else | 3722 else |
3585 ac_save_LIBS="$LIBS" | 3723 ac_save_LIBS="$LIBS" |
3586 LIBS="-lICE $X_EXTRA_LIBS $LIBS" | 3724 LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
3587 cat > conftest.$ac_ext <<EOF | 3725 cat > conftest.$ac_ext <<EOF |
3588 #line 3589 "configure" | 3726 #line 3727 "configure" |
3589 #include "confdefs.h" | 3727 #include "confdefs.h" |
3590 /* Override any gcc2 internal prototype to avoid an error. */ | 3728 /* Override any gcc2 internal prototype to avoid an error. */ |
3591 /* We use char because int might match the return type of a gcc2 | 3729 /* We use char because int might match the return type of a gcc2 |
3592 builtin and then its argument prototype would still apply. */ | 3730 builtin and then its argument prototype would still apply. */ |
3593 char IceOpenConnection(); | 3731 char IceOpenConnection(); |
3594 | 3732 |
3595 int main() { | 3733 int main() { |
3596 IceOpenConnection() | 3734 IceOpenConnection() |
3597 ; return 0; } | 3735 ; return 0; } |
3598 EOF | 3736 EOF |
3599 if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3737 if { (eval echo configure:3738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3600 rm -rf conftest* | 3738 rm -rf conftest* |
3601 eval "ac_cv_lib_$ac_lib_var=yes" | 3739 eval "ac_cv_lib_$ac_lib_var=yes" |
3602 else | 3740 else |
3603 echo "configure: failed program was:" >&5 | 3741 echo "configure: failed program was:" >&5 |
3604 cat conftest.$ac_ext >&5 | 3742 cat conftest.$ac_ext >&5 |
3617 fi | 3755 fi |
3618 | 3756 |
3619 | 3757 |
3620 LDFLAGS="$X_LIBS $ac_save_LDFLAGS" | 3758 LDFLAGS="$X_LIBS $ac_save_LDFLAGS" |
3621 echo $ac_n "checking for XpmCreatePixmapFromData in -lXpm""... $ac_c" 1>&6 | 3759 echo $ac_n "checking for XpmCreatePixmapFromData in -lXpm""... $ac_c" 1>&6 |
3622 echo "configure:3623: checking for XpmCreatePixmapFromData in -lXpm" >&5 | 3760 echo "configure:3761: checking for XpmCreatePixmapFromData in -lXpm" >&5 |
3623 ac_lib_var=`echo Xpm'_'XpmCreatePixmapFromData | sed 'y%./+-%__p_%'` | 3761 ac_lib_var=`echo Xpm'_'XpmCreatePixmapFromData | sed 'y%./+-%__p_%'` |
3624 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3762 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3625 echo $ac_n "(cached) $ac_c" 1>&6 | 3763 echo $ac_n "(cached) $ac_c" 1>&6 |
3626 else | 3764 else |
3627 ac_save_LIBS="$LIBS" | 3765 ac_save_LIBS="$LIBS" |
3628 LIBS="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS" | 3766 LIBS="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS" |
3629 cat > conftest.$ac_ext <<EOF | 3767 cat > conftest.$ac_ext <<EOF |
3630 #line 3631 "configure" | 3768 #line 3769 "configure" |
3631 #include "confdefs.h" | 3769 #include "confdefs.h" |
3632 /* Override any gcc2 internal prototype to avoid an error. */ | 3770 /* Override any gcc2 internal prototype to avoid an error. */ |
3633 /* We use char because int might match the return type of a gcc2 | 3771 /* We use char because int might match the return type of a gcc2 |
3634 builtin and then its argument prototype would still apply. */ | 3772 builtin and then its argument prototype would still apply. */ |
3635 char XpmCreatePixmapFromData(); | 3773 char XpmCreatePixmapFromData(); |
3636 | 3774 |
3637 int main() { | 3775 int main() { |
3638 XpmCreatePixmapFromData() | 3776 XpmCreatePixmapFromData() |
3639 ; return 0; } | 3777 ; return 0; } |
3640 EOF | 3778 EOF |
3641 if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3779 if { (eval echo configure:3780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3642 rm -rf conftest* | 3780 rm -rf conftest* |
3643 eval "ac_cv_lib_$ac_lib_var=yes" | 3781 eval "ac_cv_lib_$ac_lib_var=yes" |
3644 else | 3782 else |
3645 echo "configure: failed program was:" >&5 | 3783 echo "configure: failed program was:" >&5 |
3646 cat conftest.$ac_ext >&5 | 3784 cat conftest.$ac_ext >&5 |
3658 echo "$ac_t""no" 1>&6 | 3796 echo "$ac_t""no" 1>&6 |
3659 fi | 3797 fi |
3660 | 3798 |
3661 | 3799 |
3662 echo $ac_n "checking if X11 header files implicitly declare return values""... $ac_c" 1>&6 | 3800 echo $ac_n "checking if X11 header files implicitly declare return values""... $ac_c" 1>&6 |
3663 echo "configure:3664: checking if X11 header files implicitly declare return values" >&5 | 3801 echo "configure:3802: checking if X11 header files implicitly declare return values" >&5 |
3664 cflags_save=$CFLAGS | 3802 cflags_save=$CFLAGS |
3665 CFLAGS="$CFLAGS $X_CFLAGS -Werror" | 3803 CFLAGS="$CFLAGS $X_CFLAGS -Werror" |
3666 cat > conftest.$ac_ext <<EOF | 3804 cat > conftest.$ac_ext <<EOF |
3667 #line 3668 "configure" | 3805 #line 3806 "configure" |
3668 #include "confdefs.h" | 3806 #include "confdefs.h" |
3669 #include <X11/Xlib.h> | 3807 #include <X11/Xlib.h> |
3670 int main() { | 3808 int main() { |
3671 | 3809 |
3672 ; return 0; } | 3810 ; return 0; } |
3673 EOF | 3811 EOF |
3674 if { (eval echo configure:3675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3812 if { (eval echo configure:3813: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3675 rm -rf conftest* | 3813 rm -rf conftest* |
3676 echo "$ac_t""no" 1>&6 | 3814 echo "$ac_t""no" 1>&6 |
3677 else | 3815 else |
3678 echo "configure: failed program was:" >&5 | 3816 echo "configure: failed program was:" >&5 |
3679 cat conftest.$ac_ext >&5 | 3817 cat conftest.$ac_ext >&5 |
3680 rm -rf conftest* | 3818 rm -rf conftest* |
3681 CFLAGS="$CFLAGS -Wno-implicit-int" | 3819 CFLAGS="$CFLAGS -Wno-implicit-int" |
3682 cat > conftest.$ac_ext <<EOF | 3820 cat > conftest.$ac_ext <<EOF |
3683 #line 3684 "configure" | 3821 #line 3822 "configure" |
3684 #include "confdefs.h" | 3822 #include "confdefs.h" |
3685 #include <X11/Xlib.h> | 3823 #include <X11/Xlib.h> |
3686 int main() { | 3824 int main() { |
3687 | 3825 |
3688 ; return 0; } | 3826 ; return 0; } |
3689 EOF | 3827 EOF |
3690 if { (eval echo configure:3691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3828 if { (eval echo configure:3829: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3691 rm -rf conftest* | 3829 rm -rf conftest* |
3692 echo "$ac_t""yes" 1>&6; cflags_save="$cflags_save -Wno-implicit-int" | 3830 echo "$ac_t""yes" 1>&6; cflags_save="$cflags_save -Wno-implicit-int" |
3693 else | 3831 else |
3694 echo "configure: failed program was:" >&5 | 3832 echo "configure: failed program was:" >&5 |
3695 cat conftest.$ac_ext >&5 | 3833 cat conftest.$ac_ext >&5 |
3709 fi | 3847 fi |
3710 | 3848 |
3711 test "x$with_x" = xno -a "x$BEOS" != "xyes" -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no | 3849 test "x$with_x" = xno -a "x$BEOS" != "xyes" -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no |
3712 | 3850 |
3713 echo $ac_n "checking --enable-gui argument""... $ac_c" 1>&6 | 3851 echo $ac_n "checking --enable-gui argument""... $ac_c" 1>&6 |
3714 echo "configure:3715: checking --enable-gui argument" >&5 | 3852 echo "configure:3853: checking --enable-gui argument" >&5 |
3715 # Check whether --enable-gui or --disable-gui was given. | 3853 # Check whether --enable-gui or --disable-gui was given. |
3716 if test "${enable_gui+set}" = set; then | 3854 if test "${enable_gui+set}" = set; then |
3717 enableval="$enable_gui" | 3855 enableval="$enable_gui" |
3718 : | 3856 : |
3719 else | 3857 else |
3809 | 3947 |
3810 fi | 3948 fi |
3811 | 3949 |
3812 if test "x$SKIP_KDE" != "xYES" -a "$enable_gui_canon" != "kde"; then | 3950 if test "x$SKIP_KDE" != "xYES" -a "$enable_gui_canon" != "kde"; then |
3813 echo $ac_n "checking whether or not to look for KDE""... $ac_c" 1>&6 | 3951 echo $ac_n "checking whether or not to look for KDE""... $ac_c" 1>&6 |
3814 echo "configure:3815: checking whether or not to look for KDE" >&5 | 3952 echo "configure:3953: checking whether or not to look for KDE" >&5 |
3815 # Check whether --enable-kde-check or --disable-kde-check was given. | 3953 # Check whether --enable-kde-check or --disable-kde-check was given. |
3816 if test "${enable_kde_check+set}" = set; then | 3954 if test "${enable_kde_check+set}" = set; then |
3817 enableval="$enable_kde_check" | 3955 enableval="$enable_kde_check" |
3818 : | 3956 : |
3819 else | 3957 else |
3826 fi | 3964 fi |
3827 fi | 3965 fi |
3828 | 3966 |
3829 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then | 3967 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then |
3830 echo $ac_n "checking whether or not to look for GTK""... $ac_c" 1>&6 | 3968 echo $ac_n "checking whether or not to look for GTK""... $ac_c" 1>&6 |
3831 echo "configure:3832: checking whether or not to look for GTK" >&5 | 3969 echo "configure:3970: checking whether or not to look for GTK" >&5 |
3832 # Check whether --enable-gtk-check or --disable-gtk-check was given. | 3970 # Check whether --enable-gtk-check or --disable-gtk-check was given. |
3833 if test "${enable_gtk_check+set}" = set; then | 3971 if test "${enable_gtk_check+set}" = set; then |
3834 enableval="$enable_gtk_check" | 3972 enableval="$enable_gtk_check" |
3835 : | 3973 : |
3836 else | 3974 else |
3845 fi | 3983 fi |
3846 | 3984 |
3847 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \ | 3985 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \ |
3848 -a "$enable_gui_canon" != "gnome2"; then | 3986 -a "$enable_gui_canon" != "gnome2"; then |
3849 echo $ac_n "checking whether or not to look for GTK+ 2""... $ac_c" 1>&6 | 3987 echo $ac_n "checking whether or not to look for GTK+ 2""... $ac_c" 1>&6 |
3850 echo "configure:3851: checking whether or not to look for GTK+ 2" >&5 | 3988 echo "configure:3989: checking whether or not to look for GTK+ 2" >&5 |
3851 # Check whether --enable-gtk2-check or --disable-gtk2-check was given. | 3989 # Check whether --enable-gtk2-check or --disable-gtk2-check was given. |
3852 if test "${enable_gtk2_check+set}" = set; then | 3990 if test "${enable_gtk2_check+set}" = set; then |
3853 enableval="$enable_gtk2_check" | 3991 enableval="$enable_gtk2_check" |
3854 : | 3992 : |
3855 else | 3993 else |
3863 fi | 4001 fi |
3864 | 4002 |
3865 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \ | 4003 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \ |
3866 -a "$enable_gui_canon" != "gnome2"; then | 4004 -a "$enable_gui_canon" != "gnome2"; then |
3867 echo $ac_n "checking whether or not to look for GNOME""... $ac_c" 1>&6 | 4005 echo $ac_n "checking whether or not to look for GNOME""... $ac_c" 1>&6 |
3868 echo "configure:3869: checking whether or not to look for GNOME" >&5 | 4006 echo "configure:4007: checking whether or not to look for GNOME" >&5 |
3869 # Check whether --enable-gnome-check or --disable-gnome-check was given. | 4007 # Check whether --enable-gnome-check or --disable-gnome-check was given. |
3870 if test "${enable_gnome_check+set}" = set; then | 4008 if test "${enable_gnome_check+set}" = set; then |
3871 enableval="$enable_gnome_check" | 4009 enableval="$enable_gnome_check" |
3872 : | 4010 : |
3873 else | 4011 else |
3880 fi | 4018 fi |
3881 fi | 4019 fi |
3882 | 4020 |
3883 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then | 4021 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then |
3884 echo $ac_n "checking whether or not to look for Motif""... $ac_c" 1>&6 | 4022 echo $ac_n "checking whether or not to look for Motif""... $ac_c" 1>&6 |
3885 echo "configure:3886: checking whether or not to look for Motif" >&5 | 4023 echo "configure:4024: checking whether or not to look for Motif" >&5 |
3886 # Check whether --enable-motif-check or --disable-motif-check was given. | 4024 # Check whether --enable-motif-check or --disable-motif-check was given. |
3887 if test "${enable_motif_check+set}" = set; then | 4025 if test "${enable_motif_check+set}" = set; then |
3888 enableval="$enable_motif_check" | 4026 enableval="$enable_motif_check" |
3889 : | 4027 : |
3890 else | 4028 else |
3897 fi | 4035 fi |
3898 fi | 4036 fi |
3899 | 4037 |
3900 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then | 4038 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then |
3901 echo $ac_n "checking whether or not to look for Athena""... $ac_c" 1>&6 | 4039 echo $ac_n "checking whether or not to look for Athena""... $ac_c" 1>&6 |
3902 echo "configure:3903: checking whether or not to look for Athena" >&5 | 4040 echo "configure:4041: checking whether or not to look for Athena" >&5 |
3903 # Check whether --enable-athena-check or --disable-athena-check was given. | 4041 # Check whether --enable-athena-check or --disable-athena-check was given. |
3904 if test "${enable_athena_check+set}" = set; then | 4042 if test "${enable_athena_check+set}" = set; then |
3905 enableval="$enable_athena_check" | 4043 enableval="$enable_athena_check" |
3906 : | 4044 : |
3907 else | 4045 else |
3914 fi | 4052 fi |
3915 fi | 4053 fi |
3916 | 4054 |
3917 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then | 4055 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then |
3918 echo $ac_n "checking whether or not to look for neXtaw""... $ac_c" 1>&6 | 4056 echo $ac_n "checking whether or not to look for neXtaw""... $ac_c" 1>&6 |
3919 echo "configure:3920: checking whether or not to look for neXtaw" >&5 | 4057 echo "configure:4058: checking whether or not to look for neXtaw" >&5 |
3920 # Check whether --enable-nextaw-check or --disable-nextaw-check was given. | 4058 # Check whether --enable-nextaw-check or --disable-nextaw-check was given. |
3921 if test "${enable_nextaw_check+set}" = set; then | 4059 if test "${enable_nextaw_check+set}" = set; then |
3922 enableval="$enable_nextaw_check" | 4060 enableval="$enable_nextaw_check" |
3923 : | 4061 : |
3924 else | 4062 else |
3931 fi | 4069 fi |
3932 fi | 4070 fi |
3933 | 4071 |
3934 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then | 4072 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then |
3935 echo $ac_n "checking whether or not to look for Carbon""... $ac_c" 1>&6 | 4073 echo $ac_n "checking whether or not to look for Carbon""... $ac_c" 1>&6 |
3936 echo "configure:3937: checking whether or not to look for Carbon" >&5 | 4074 echo "configure:4075: checking whether or not to look for Carbon" >&5 |
3937 # Check whether --enable-carbon-check or --disable-carbon-check was given. | 4075 # Check whether --enable-carbon-check or --disable-carbon-check was given. |
3938 if test "${enable_carbon_check+set}" = set; then | 4076 if test "${enable_carbon_check+set}" = set; then |
3939 enableval="$enable_carbon_check" | 4077 enableval="$enable_carbon_check" |
3940 : | 4078 : |
3941 else | 4079 else |
3961 | 4099 |
3962 fi | 4100 fi |
3963 | 4101 |
3964 | 4102 |
3965 if test "x$ROOTQT" = "x"; then | 4103 if test "x$ROOTQT" = "x"; then |
3966 if test -z "$QTDIR"; then | 4104 if test -z "$QTDIR"; then |
3967 # Extract the first word of "moc", so it can be a program name with args. | 4105 # Extract the first word of "moc", so it can be a program name with args. |
3968 set dummy moc; ac_word=$2 | 4106 set dummy moc; ac_word=$2 |
3969 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4107 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3970 echo "configure:3971: checking for $ac_word" >&5 | 4108 echo "configure:4109: checking for $ac_word" >&5 |
3971 if eval "test \"`echo '$''{'ac_cv_path_MOC'+set}'`\" = set"; then | 4109 if eval "test \"`echo '$''{'ac_cv_path_MOC'+set}'`\" = set"; then |
3972 echo $ac_n "(cached) $ac_c" 1>&6 | 4110 echo $ac_n "(cached) $ac_c" 1>&6 |
3973 else | 4111 else |
3974 case "$MOC" in | 4112 case "$MOC" in |
3975 /*) | 4113 /*) |
3998 echo "$ac_t""$MOC" 1>&6 | 4136 echo "$ac_t""$MOC" 1>&6 |
3999 else | 4137 else |
4000 echo "$ac_t""no" 1>&6 | 4138 echo "$ac_t""no" 1>&6 |
4001 fi | 4139 fi |
4002 | 4140 |
4003 if text"x$MOC" = "x"; then | 4141 if test "x$MOC" = "xno"; then |
4004 { echo "configure: error: could not find Qt directory" 1>&2; exit 1; } | 4142 { echo "configure: error: could not find Qt directory" 1>&2; exit 1; } |
4005 else | 4143 else |
4006 ROOTQT=`echo $MOC | sed 's+/bin/moc++'` | 4144 ROOTQT=`echo $MOC | sed 's+/bin/moc++'` |
4007 fi | 4145 fi |
4008 else | 4146 else |
4009 ROOTQT="$QTDIR" | 4147 ROOTQT="$QTDIR" |
4010 fi | 4148 fi |
4011 fi | 4149 fi |
4012 MOC="$ROOTQT"/bin/moc | 4150 MOC="$ROOTQT"/bin/moc |
4013 QT_INCLUDES="$ROOTQT"/include | 4151 QT_INCLUDES="$ROOTQT"/include |
4014 QT_LIBS="$ROOTQT"/lib | 4152 QT_LIBS="$ROOTQT"/lib |
4015 | 4153 |
4035 if test "x$QT_INCLUDES" = "x" ; then | 4173 if test "x$QT_INCLUDES" = "x" ; then |
4036 QT_INCLUDES="$ROOTQT"/include | 4174 QT_INCLUDES="$ROOTQT"/include |
4037 fi | 4175 fi |
4038 | 4176 |
4039 echo $ac_n "checking whether or not to use a KDE Toolbar in KVim""... $ac_c" 1>&6 | 4177 echo $ac_n "checking whether or not to use a KDE Toolbar in KVim""... $ac_c" 1>&6 |
4040 echo "configure:4041: checking whether or not to use a KDE Toolbar in KVim" >&5 | 4178 echo "configure:4179: checking whether or not to use a KDE Toolbar in KVim" >&5 |
4041 # Check whether --enable-kde-toolbar or --disable-kde-toolbar was given. | 4179 # Check whether --enable-kde-toolbar or --disable-kde-toolbar was given. |
4042 if test "${enable_kde_toolbar+set}" = set; then | 4180 if test "${enable_kde_toolbar+set}" = set; then |
4043 enableval="$enable_kde_toolbar" | 4181 enableval="$enable_kde_toolbar" |
4044 : | 4182 : |
4045 else | 4183 else |
4057 | 4195 |
4058 | 4196 |
4059 if test -z "$SKIP_KDE"; then | 4197 if test -z "$SKIP_KDE"; then |
4060 | 4198 |
4061 | 4199 |
4200 | |
4201 | |
4062 echo $ac_n "checking --disable-rpath argument""... $ac_c" 1>&6 | 4202 echo $ac_n "checking --disable-rpath argument""... $ac_c" 1>&6 |
4063 echo "configure:4064: checking --disable-rpath argument" >&5 | 4203 echo "configure:4204: checking --disable-rpath argument" >&5 |
4064 # Check whether --enable-rpath or --disable-rpath was given. | 4204 # Check whether --enable-rpath or --disable-rpath was given. |
4065 if test "${enable_rpath+set}" = set; then | 4205 if test "${enable_rpath+set}" = set; then |
4066 enableval="$enable_rpath" | 4206 enableval="$enable_rpath" |
4067 : | 4207 : |
4068 else | 4208 else |
4074 else | 4214 else |
4075 echo "$ac_t""yes" 1>&6 | 4215 echo "$ac_t""yes" 1>&6 |
4076 fi | 4216 fi |
4077 | 4217 |
4078 echo $ac_n "checking --with-kde-prefix argument""... $ac_c" 1>&6 | 4218 echo $ac_n "checking --with-kde-prefix argument""... $ac_c" 1>&6 |
4079 echo "configure:4080: checking --with-kde-prefix argument" >&5 | 4219 echo "configure:4220: checking --with-kde-prefix argument" >&5 |
4080 # Check whether --with-kde-prefix or --without-kde-prefix was given. | 4220 # Check whether --with-kde-prefix or --without-kde-prefix was given. |
4081 if test "${with_kde_prefix+set}" = set; then | 4221 if test "${with_kde_prefix+set}" = set; then |
4082 withval="$with_kde_prefix" | 4222 withval="$with_kde_prefix" |
4083 kde_config_prefix="$withval"; | 4223 kde_config_prefix="$withval"; |
4084 echo "$ac_t""$kde_config_prefix" 1>&6 | 4224 echo "$ac_t""$kde_config_prefix" 1>&6 |
4102 | 4242 |
4103 fi | 4243 fi |
4104 | 4244 |
4105 | 4245 |
4106 echo $ac_n "checking --disable-kdetest argument""... $ac_c" 1>&6 | 4246 echo $ac_n "checking --disable-kdetest argument""... $ac_c" 1>&6 |
4107 echo "configure:4108: checking --disable-kdetest argument" >&5 | 4247 echo "configure:4248: checking --disable-kdetest argument" >&5 |
4108 # Check whether --enable-kdetest or --disable-kdetest was given. | 4248 # Check whether --enable-kdetest or --disable-kdetest was given. |
4109 if test "${enable_kdetest+set}" = set; then | 4249 if test "${enable_kdetest+set}" = set; then |
4110 enableval="$enable_kdetest" | 4250 enableval="$enable_kdetest" |
4111 enable_kdetest=yes | 4251 enable_kdetest=yes |
4112 fi | 4252 fi |
4117 else | 4257 else |
4118 echo "$ac_t""kde test disabled" 1>&6 | 4258 echo "$ac_t""kde test disabled" 1>&6 |
4119 fi | 4259 fi |
4120 | 4260 |
4121 if test "x$kde_config_prefix" != "x" ; then | 4261 if test "x$kde_config_prefix" != "x" ; then |
4122 kde_config_args="" | |
4123 KDE_CONFIG=$kde_config_prefix/bin/kde-config | 4262 KDE_CONFIG=$kde_config_prefix/bin/kde-config |
4124 fi | 4263 fi |
4125 | 4264 |
4126 if test "X$KDE_CONFIG" = "X"; then | 4265 if test "X$KDE_CONFIG" = "X"; then |
4127 # Extract the first word of "kde-config", so it can be a program name with args. | 4266 # Extract the first word of "kde-config", so it can be a program name with args. |
4128 set dummy kde-config; ac_word=$2 | 4267 set dummy kde-config; ac_word=$2 |
4129 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4268 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4130 echo "configure:4131: checking for $ac_word" >&5 | 4269 echo "configure:4270: checking for $ac_word" >&5 |
4131 if eval "test \"`echo '$''{'ac_cv_path_KDE_CONFIG'+set}'`\" = set"; then | 4270 if eval "test \"`echo '$''{'ac_cv_path_KDE_CONFIG'+set}'`\" = set"; then |
4132 echo $ac_n "(cached) $ac_c" 1>&6 | 4271 echo $ac_n "(cached) $ac_c" 1>&6 |
4133 else | 4272 else |
4134 case "$KDE_CONFIG" in | 4273 case "$KDE_CONFIG" in |
4135 /*) | 4274 /*) |
4167 if test "X$KDE_CONFIG" != "X" ; then | 4306 if test "X$KDE_CONFIG" != "X" ; then |
4168 | 4307 |
4169 if test "X$KDE_CONFIG" != "X"; then | 4308 if test "X$KDE_CONFIG" != "X"; then |
4170 min_kde_version=2.0.0 | 4309 min_kde_version=2.0.0 |
4171 echo $ac_n "checking for KDE version >= $min_kde_version""... $ac_c" 1>&6 | 4310 echo $ac_n "checking for KDE version >= $min_kde_version""... $ac_c" 1>&6 |
4172 echo "configure:4173: checking for KDE version >= $min_kde_version" >&5 | 4311 echo "configure:4312: checking for KDE version >= $min_kde_version" >&5 |
4173 no_kde="" | 4312 no_kde="" |
4174 if test "$KDE_CONFIG" = "no" ; then | 4313 if test "$KDE_CONFIG" = "no" ; then |
4175 no_kde=yes | 4314 no_kde=yes |
4176 else | 4315 else |
4177 KDE_PREFIX=`$KDE_CONFIG $kde_config_args --prefix` | 4316 KDE_PREFIX=`$KDE_CONFIG --prefix` |
4178 if test "x$KDE_LIBS" = "x"; then | 4317 if test "x$KDE_LIBS" = "x"; then |
4179 KDE_LIBS="$KDE_PREFIX/lib" | 4318 KDE_LIBS="$KDE_PREFIX/lib" |
4180 fi | 4319 fi |
4181 if test "x$KDE_INCLUDES" = "x"; then | 4320 if test "x$KDE_INCLUDES" = "x"; then |
4182 KDE_INCLUDES="$KDE_PREFIX/include" | 4321 KDE_INCLUDES="$KDE_PREFIX/include" |
4186 fi | 4325 fi |
4187 kde_major_version=`$KDE_CONFIG --version | grep KDE | \ | 4326 kde_major_version=`$KDE_CONFIG --version | grep KDE | \ |
4188 sed 's/KDE:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\1/'` | 4327 sed 's/KDE:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\1/'` |
4189 kde_minor_version=`$KDE_CONFIG --version | grep KDE | \ | 4328 kde_minor_version=`$KDE_CONFIG --version | grep KDE | \ |
4190 sed 's/KDE:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\2/'` | 4329 sed 's/KDE:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\2/'` |
4191 | 4330 |
4192 qt_major_version=`$KDE_CONFIG --version | grep Qt | sed -e \ | 4331 qt_major_version=`$KDE_CONFIG --version | grep Qt | sed -e \ |
4193 's/Qt:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\1/'` | 4332 's/Qt:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\1/'` |
4194 qt_minor_version=`$KDE_CONFIG --version | grep Qt | sed -e \ | 4333 qt_minor_version=`$KDE_CONFIG --version | grep Qt | sed -e \ |
4195 's/Qt:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\2/'` | 4334 's/Qt:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\2/'` |
4196 | 4335 |
4197 if test "x$enable-kdetest" = "xyes" ; then | 4336 if test "x$enable-kdetest" = "xyes" ; then |
4198 ac_save_LIBS="$LIBS" | 4337 ac_save_LIBS="$LIBS" |
4199 LIBS="$LIBS $KDE_LIBS" | 4338 LIBS="$LIBS $KDE_LIBS" |
4200 | 4339 |
4201 if test "$cross_compiling" = yes; then | 4340 if test "$cross_compiling" = yes; then |
4202 echo $ac_n "cross compiling KDE ? ? how can i remove that ? :)" | 4341 echo $ac_n "cross compiling KDE ? ? how can i remove that ? :)" |
4203 else | 4342 else |
4204 cat > conftest.$ac_ext <<EOF | 4343 cat > conftest.$ac_ext <<EOF |
4205 #line 4206 "configure" | 4344 #line 4345 "configure" |
4206 #include "confdefs.h" | 4345 #include "confdefs.h" |
4207 | 4346 |
4208 #include <stdio.h> | 4347 #include <stdio.h> |
4209 int | 4348 int |
4210 main() | 4349 main() |
4211 { return 0; } | 4350 { return 0; } |
4212 | 4351 |
4213 EOF | 4352 EOF |
4214 if { (eval echo configure:4215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4353 if { (eval echo configure:4354: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4215 then | 4354 then |
4216 : | 4355 : |
4217 else | 4356 else |
4218 echo "configure: failed program was:" >&5 | 4357 echo "configure: failed program was:" >&5 |
4219 cat conftest.$ac_ext >&5 | 4358 cat conftest.$ac_ext >&5 |
4243 fi | 4382 fi |
4244 | 4383 |
4245 | 4384 |
4246 | 4385 |
4247 | 4386 |
4387 | |
4248 if test "x$KDE_PREFIX" != "x"; then | 4388 if test "x$KDE_PREFIX" != "x"; then |
4249 echo $ac_n "checking for QT version $qt_major_version.x""... $ac_c" 1>&6 | 4389 echo $ac_n "checking for QT version $qt_major_version.x""... $ac_c" 1>&6 |
4250 echo "configure:4251: checking for QT version $qt_major_version.x" >&5 | 4390 echo "configure:4391: checking for QT version $qt_major_version.x" >&5 |
4251 if test "x$ROOTQT" != "x" ; then | 4391 if test "x$ROOTQT" != "x" ; then |
4252 GUI_INC_LOC="-I$QT_INCLUDES $GUI_INC_LOC" | 4392 GUI_INC_LOC="-I$QT_INCLUDES $GUI_INC_LOC" |
4253 if test $qt_major_version -lt 2; then | 4393 if test $qt_major_version -lt 2; then |
4254 { echo "configure: error: Your QT version is prior to 2.0; KDE 2.x and 3.x require at least QT 2" 1>&2; exit 1; } | 4394 { echo "configure: error: Your QT version is prior to 2.0; KDE 2.x and 3.x require at least QT 2" 1>&2; exit 1; } |
4255 fi | 4395 fi |
4277 fi | 4417 fi |
4278 | 4418 |
4279 GUI_INC_LOC="`echo $GUI_INC_LOC\ | sed 's%-I/usr/include %%'`" | 4419 GUI_INC_LOC="`echo $GUI_INC_LOC\ | sed 's%-I/usr/include %%'`" |
4280 | 4420 |
4281 echo "$ac_t""found $qt_major_version.$qt_minor_version in $ROOTQT" 1>&6 | 4421 echo "$ac_t""found $qt_major_version.$qt_minor_version in $ROOTQT" 1>&6 |
4422 | |
4423 | |
4424 qt_incdir=NO | |
4425 for i in $QT_INCLUDES; | |
4426 do | |
4427 for j in qstyle.h; | |
4428 do | |
4429 echo "configure: 4430: $i/$j" >&5 | |
4430 if test -r "$i/$j"; then | |
4431 echo "taking that" >&5 | |
4432 qt_incdir=$i | |
4433 break 2 | |
4434 fi | |
4435 done | |
4436 done | |
4437 | |
4438 if test "x$qt_incdir" = "xNO"; then | |
4439 { echo "configure: error: Could not find Qt headers in $QT_INCLUDES" 1>&2; exit 1; } | |
4440 fi | |
4441 | |
4442 kde_incdir=NO | |
4443 for i in $KDE_INCLUDES; | |
4444 do | |
4445 for j in kapplication.h; | |
4446 do | |
4447 echo "configure: 4448: $i/$j" >&5 | |
4448 if test -r "$i/$j"; then | |
4449 echo "taking that" >&5 | |
4450 kde_incdir=$i | |
4451 break 2 | |
4452 fi | |
4453 done | |
4454 done | |
4455 | |
4456 if test "x$kde_incdir" = "xNO"; then | |
4457 { echo "configure: error: Could not find KDE headers in $KDE_INCLUDES" 1>&2; exit 1; } | |
4458 fi | |
4459 | |
4460 | |
4461 ac_ext=C | |
4462 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
4463 ac_cpp='$CXXCPP $CPPFLAGS' | |
4464 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
4465 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
4466 cross_compiling=$ac_cv_prog_cxx_cross | |
4467 | |
4468 ac_save_LIBS="$LIBS" | |
4469 LIBS="$GUI_LIB_LOC" | |
4470 ac_save_CXXFLAGS="$CXXFLAGS" | |
4471 CXXFLAGS="$CXXFLAGS $GUI_INC_LOC" | |
4472 echo $ac_n "checking whether Qt libraries are usable""... $ac_c" 1>&6 | |
4473 echo "configure:4474: checking whether Qt libraries are usable" >&5 | |
4474 cat > conftest.$ac_ext <<EOF | |
4475 #line 4476 "configure" | |
4476 #include "confdefs.h" | |
4477 #include <qapplication.h> | |
4478 int main() { | |
4479 | |
4480 int argc; | |
4481 char** argv; | |
4482 QApplication app(argc, argv); | |
4483 | |
4484 ; return 0; } | |
4485 EOF | |
4486 if { (eval echo configure:4487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4487 rm -rf conftest* | |
4488 echo "$ac_t""yes" 1>&6 | |
4489 else | |
4490 echo "configure: failed program was:" >&5 | |
4491 cat conftest.$ac_ext >&5 | |
4492 rm -rf conftest* | |
4493 echo "$ac_t""no" 1>&6;{ echo "configure: error: Qt fails to link a simple application" 1>&2; exit 1; } | |
4494 fi | |
4495 rm -f conftest* | |
4496 | |
4497 echo $ac_n "checking whether KDE libraries are usable""... $ac_c" 1>&6 | |
4498 echo "configure:4499: checking whether KDE libraries are usable" >&5 | |
4499 cat > conftest.$ac_ext <<EOF | |
4500 #line 4501 "configure" | |
4501 #include "confdefs.h" | |
4502 #include <kapplication.h> | |
4503 int main() { | |
4504 | |
4505 int argc; | |
4506 char** argv; | |
4507 KApplication app(argc, argv); | |
4508 | |
4509 ; return 0; } | |
4510 EOF | |
4511 if { (eval echo configure:4512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
4512 rm -rf conftest* | |
4513 echo "$ac_t""yes" 1>&6 | |
4514 else | |
4515 echo "configure: failed program was:" >&5 | |
4516 cat conftest.$ac_ext >&5 | |
4517 rm -rf conftest* | |
4518 echo "$ac_t""no" 1>&6;{ echo "configure: error: KDE fails to link a simple application" 1>&2; exit 1; } | |
4519 fi | |
4520 rm -f conftest* | |
4521 | |
4522 LIBS="$ac_save_LIBS" | |
4523 CXXFLAGS="$ac_save_CXXFLAGS" | |
4524 ac_ext=c | |
4525 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | |
4526 ac_cpp='$CPP $CPPFLAGS' | |
4527 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | |
4528 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | |
4529 cross_compiling=$ac_cv_prog_cc_cross | |
4530 | |
4531 | |
4532 | |
4282 SKIP_GTK=YES | 4533 SKIP_GTK=YES |
4283 SKIP_ATHENA=YES | 4534 SKIP_ATHENA=YES |
4284 SKIP_MOTIF=YES | 4535 SKIP_MOTIF=YES |
4285 GUITYPE=KDE | 4536 GUITYPE=KDE |
4286 | 4537 |
4301 fi | 4552 fi |
4302 fi | 4553 fi |
4303 | 4554 |
4304 if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then | 4555 if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then |
4305 echo $ac_n "checking for Carbon GUI""... $ac_c" 1>&6 | 4556 echo $ac_n "checking for Carbon GUI""... $ac_c" 1>&6 |
4306 echo "configure:4307: checking for Carbon GUI" >&5 | 4557 echo "configure:4558: checking for Carbon GUI" >&5 |
4307 echo "$ac_t""yes" 1>&6; | 4558 echo "$ac_t""yes" 1>&6; |
4308 GUITYPE=CARBONGUI | 4559 GUITYPE=CARBONGUI |
4309 SKIP_GTK=YES; | 4560 SKIP_GTK=YES; |
4310 SKIP_GTK2=YES; | 4561 SKIP_GTK2=YES; |
4311 SKIP_GNOME=YES; | 4562 SKIP_GNOME=YES; |
4326 | 4577 |
4327 | 4578 |
4328 if test -z "$SKIP_GTK"; then | 4579 if test -z "$SKIP_GTK"; then |
4329 | 4580 |
4330 echo $ac_n "checking --with-gtk-prefix argument""... $ac_c" 1>&6 | 4581 echo $ac_n "checking --with-gtk-prefix argument""... $ac_c" 1>&6 |
4331 echo "configure:4332: checking --with-gtk-prefix argument" >&5 | 4582 echo "configure:4583: checking --with-gtk-prefix argument" >&5 |
4332 # Check whether --with-gtk-prefix or --without-gtk-prefix was given. | 4583 # Check whether --with-gtk-prefix or --without-gtk-prefix was given. |
4333 if test "${with_gtk_prefix+set}" = set; then | 4584 if test "${with_gtk_prefix+set}" = set; then |
4334 withval="$with_gtk_prefix" | 4585 withval="$with_gtk_prefix" |
4335 gtk_config_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 | 4586 gtk_config_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 |
4336 else | 4587 else |
4337 gtk_config_prefix=""; echo "$ac_t""no" 1>&6 | 4588 gtk_config_prefix=""; echo "$ac_t""no" 1>&6 |
4338 fi | 4589 fi |
4339 | 4590 |
4340 | 4591 |
4341 echo $ac_n "checking --with-gtk-exec-prefix argument""... $ac_c" 1>&6 | 4592 echo $ac_n "checking --with-gtk-exec-prefix argument""... $ac_c" 1>&6 |
4342 echo "configure:4343: checking --with-gtk-exec-prefix argument" >&5 | 4593 echo "configure:4594: checking --with-gtk-exec-prefix argument" >&5 |
4343 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. | 4594 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. |
4344 if test "${with_gtk_exec_prefix+set}" = set; then | 4595 if test "${with_gtk_exec_prefix+set}" = set; then |
4345 withval="$with_gtk_exec_prefix" | 4596 withval="$with_gtk_exec_prefix" |
4346 gtk_config_exec_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 | 4597 gtk_config_exec_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 |
4347 else | 4598 else |
4348 gtk_config_exec_prefix=""; echo "$ac_t""no" 1>&6 | 4599 gtk_config_exec_prefix=""; echo "$ac_t""no" 1>&6 |
4349 fi | 4600 fi |
4350 | 4601 |
4351 | 4602 |
4352 echo $ac_n "checking --disable-gtktest argument""... $ac_c" 1>&6 | 4603 echo $ac_n "checking --disable-gtktest argument""... $ac_c" 1>&6 |
4353 echo "configure:4354: checking --disable-gtktest argument" >&5 | 4604 echo "configure:4605: checking --disable-gtktest argument" >&5 |
4354 # Check whether --enable-gtktest or --disable-gtktest was given. | 4605 # Check whether --enable-gtktest or --disable-gtktest was given. |
4355 if test "${enable_gtktest+set}" = set; then | 4606 if test "${enable_gtktest+set}" = set; then |
4356 enableval="$enable_gtktest" | 4607 enableval="$enable_gtktest" |
4357 : | 4608 : |
4358 else | 4609 else |
4375 fi | 4626 fi |
4376 if test "X$GTK_CONFIG" = "X"; then | 4627 if test "X$GTK_CONFIG" = "X"; then |
4377 # Extract the first word of "gtk-config", so it can be a program name with args. | 4628 # Extract the first word of "gtk-config", so it can be a program name with args. |
4378 set dummy gtk-config; ac_word=$2 | 4629 set dummy gtk-config; ac_word=$2 |
4379 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4630 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4380 echo "configure:4381: checking for $ac_word" >&5 | 4631 echo "configure:4632: checking for $ac_word" >&5 |
4381 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then | 4632 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then |
4382 echo $ac_n "(cached) $ac_c" 1>&6 | 4633 echo $ac_n "(cached) $ac_c" 1>&6 |
4383 else | 4634 else |
4384 case "$GTK_CONFIG" in | 4635 case "$GTK_CONFIG" in |
4385 /*) | 4636 /*) |
4412 | 4663 |
4413 if test "X$GTK_CONFIG" = "Xno"; then | 4664 if test "X$GTK_CONFIG" = "Xno"; then |
4414 # Extract the first word of "gtk12-config", so it can be a program name with args. | 4665 # Extract the first word of "gtk12-config", so it can be a program name with args. |
4415 set dummy gtk12-config; ac_word=$2 | 4666 set dummy gtk12-config; ac_word=$2 |
4416 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4667 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4417 echo "configure:4418: checking for $ac_word" >&5 | 4668 echo "configure:4669: checking for $ac_word" >&5 |
4418 if eval "test \"`echo '$''{'ac_cv_path_GTK12_CONFIG'+set}'`\" = set"; then | 4669 if eval "test \"`echo '$''{'ac_cv_path_GTK12_CONFIG'+set}'`\" = set"; then |
4419 echo $ac_n "(cached) $ac_c" 1>&6 | 4670 echo $ac_n "(cached) $ac_c" 1>&6 |
4420 else | 4671 else |
4421 case "$GTK12_CONFIG" in | 4672 case "$GTK12_CONFIG" in |
4422 /*) | 4673 /*) |
4454 fi | 4705 fi |
4455 if test "X$PKG_CONFIG" = "X"; then | 4706 if test "X$PKG_CONFIG" = "X"; then |
4456 # Extract the first word of "pkg-config", so it can be a program name with args. | 4707 # Extract the first word of "pkg-config", so it can be a program name with args. |
4457 set dummy pkg-config; ac_word=$2 | 4708 set dummy pkg-config; ac_word=$2 |
4458 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4459 echo "configure:4460: checking for $ac_word" >&5 | 4710 echo "configure:4711: checking for $ac_word" >&5 |
4460 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then | 4711 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then |
4461 echo $ac_n "(cached) $ac_c" 1>&6 | 4712 echo $ac_n "(cached) $ac_c" 1>&6 |
4462 else | 4713 else |
4463 case "$PKG_CONFIG" in | 4714 case "$PKG_CONFIG" in |
4464 /*) | 4715 /*) |
4496 | 4747 |
4497 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then | 4748 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then |
4498 { | 4749 { |
4499 min_gtk_version=2.2.0 | 4750 min_gtk_version=2.2.0 |
4500 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 | 4751 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 |
4501 echo "configure:4502: checking for GTK - version >= $min_gtk_version" >&5 | 4752 echo "configure:4753: checking for GTK - version >= $min_gtk_version" >&5 |
4502 no_gtk="" | 4753 no_gtk="" |
4503 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ | 4754 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ |
4504 && $PKG_CONFIG --exists gtk+-2.0; then | 4755 && $PKG_CONFIG --exists gtk+-2.0; then |
4505 { | 4756 { |
4506 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` | 4757 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` |
4537 rm -f conf.gtktest | 4788 rm -f conf.gtktest |
4538 if test "$cross_compiling" = yes; then | 4789 if test "$cross_compiling" = yes; then |
4539 echo $ac_n "cross compiling; assumed OK... $ac_c" | 4790 echo $ac_n "cross compiling; assumed OK... $ac_c" |
4540 else | 4791 else |
4541 cat > conftest.$ac_ext <<EOF | 4792 cat > conftest.$ac_ext <<EOF |
4542 #line 4543 "configure" | 4793 #line 4794 "configure" |
4543 #include "confdefs.h" | 4794 #include "confdefs.h" |
4544 | 4795 |
4545 #include <gtk/gtk.h> | 4796 #include <gtk/gtk.h> |
4546 #include <stdio.h> | 4797 #include <stdio.h> |
4547 | 4798 |
4569 } | 4820 } |
4570 return 1; | 4821 return 1; |
4571 } | 4822 } |
4572 | 4823 |
4573 EOF | 4824 EOF |
4574 if { (eval echo configure:4575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4825 if { (eval echo configure:4826: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4575 then | 4826 then |
4576 : | 4827 : |
4577 else | 4828 else |
4578 echo "configure: failed program was:" >&5 | 4829 echo "configure: failed program was:" >&5 |
4579 cat conftest.$ac_ext >&5 | 4830 cat conftest.$ac_ext >&5 |
4627 | 4878 |
4628 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then | 4879 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then |
4629 { | 4880 { |
4630 min_gtk_version=1.1.16 | 4881 min_gtk_version=1.1.16 |
4631 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 | 4882 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 |
4632 echo "configure:4633: checking for GTK - version >= $min_gtk_version" >&5 | 4883 echo "configure:4884: checking for GTK - version >= $min_gtk_version" >&5 |
4633 no_gtk="" | 4884 no_gtk="" |
4634 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ | 4885 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ |
4635 && $PKG_CONFIG --exists gtk+-2.0; then | 4886 && $PKG_CONFIG --exists gtk+-2.0; then |
4636 { | 4887 { |
4637 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` | 4888 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` |
4668 rm -f conf.gtktest | 4919 rm -f conf.gtktest |
4669 if test "$cross_compiling" = yes; then | 4920 if test "$cross_compiling" = yes; then |
4670 echo $ac_n "cross compiling; assumed OK... $ac_c" | 4921 echo $ac_n "cross compiling; assumed OK... $ac_c" |
4671 else | 4922 else |
4672 cat > conftest.$ac_ext <<EOF | 4923 cat > conftest.$ac_ext <<EOF |
4673 #line 4674 "configure" | 4924 #line 4925 "configure" |
4674 #include "confdefs.h" | 4925 #include "confdefs.h" |
4675 | 4926 |
4676 #include <gtk/gtk.h> | 4927 #include <gtk/gtk.h> |
4677 #include <stdio.h> | 4928 #include <stdio.h> |
4678 | 4929 |
4700 } | 4951 } |
4701 return 1; | 4952 return 1; |
4702 } | 4953 } |
4703 | 4954 |
4704 EOF | 4955 EOF |
4705 if { (eval echo configure:4706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4956 if { (eval echo configure:4957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4706 then | 4957 then |
4707 : | 4958 : |
4708 else | 4959 else |
4709 echo "configure: failed program was:" >&5 | 4960 echo "configure: failed program was:" >&5 |
4710 cat conftest.$ac_ext >&5 | 4961 cat conftest.$ac_ext >&5 |
4818 | 5069 |
4819 | 5070 |
4820 if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then | 5071 if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then |
4821 { | 5072 { |
4822 echo $ac_n "checking for libgnomeui-2.0""... $ac_c" 1>&6 | 5073 echo $ac_n "checking for libgnomeui-2.0""... $ac_c" 1>&6 |
4823 echo "configure:4824: checking for libgnomeui-2.0" >&5 | 5074 echo "configure:5075: checking for libgnomeui-2.0" >&5 |
4824 if $PKG_CONFIG --exists libgnomeui-2.0; then | 5075 if $PKG_CONFIG --exists libgnomeui-2.0; then |
4825 echo "$ac_t""yes" 1>&6 | 5076 echo "$ac_t""yes" 1>&6 |
4826 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0` | 5077 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0` |
4827 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0` | 5078 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0` |
4828 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0` | 5079 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0` |
4837 elif test "x$want_gnome" = xyes; then | 5088 elif test "x$want_gnome" = xyes; then |
4838 { | 5089 { |
4839 # Extract the first word of "gnome-config", so it can be a program name with args. | 5090 # Extract the first word of "gnome-config", so it can be a program name with args. |
4840 set dummy gnome-config; ac_word=$2 | 5091 set dummy gnome-config; ac_word=$2 |
4841 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 5092 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4842 echo "configure:4843: checking for $ac_word" >&5 | 5093 echo "configure:5094: checking for $ac_word" >&5 |
4843 if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then | 5094 if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then |
4844 echo $ac_n "(cached) $ac_c" 1>&6 | 5095 echo $ac_n "(cached) $ac_c" 1>&6 |
4845 else | 5096 else |
4846 case "$GNOME_CONFIG" in | 5097 case "$GNOME_CONFIG" in |
4847 /*) | 5098 /*) |
4874 | 5125 |
4875 if test "$GNOME_CONFIG" = "no"; then | 5126 if test "$GNOME_CONFIG" = "no"; then |
4876 no_gnome_config="yes" | 5127 no_gnome_config="yes" |
4877 else | 5128 else |
4878 echo $ac_n "checking if $GNOME_CONFIG works""... $ac_c" 1>&6 | 5129 echo $ac_n "checking if $GNOME_CONFIG works""... $ac_c" 1>&6 |
4879 echo "configure:4880: checking if $GNOME_CONFIG works" >&5 | 5130 echo "configure:5131: checking if $GNOME_CONFIG works" >&5 |
4880 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then | 5131 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then |
4881 echo "$ac_t""yes" 1>&6 | 5132 echo "$ac_t""yes" 1>&6 |
4882 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`" | 5133 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`" |
4883 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`" | 5134 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`" |
4884 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`" | 5135 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`" |
4899 gnome_prefix=`eval echo \`echo $libdir\`` | 5150 gnome_prefix=`eval echo \`echo $libdir\`` |
4900 fi | 5151 fi |
4901 | 5152 |
4902 if test "$no_gnome_config" = "yes"; then | 5153 if test "$no_gnome_config" = "yes"; then |
4903 echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6 | 5154 echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6 |
4904 echo "configure:4905: checking for gnomeConf.sh file in $gnome_prefix" >&5 | 5155 echo "configure:5156: checking for gnomeConf.sh file in $gnome_prefix" >&5 |
4905 if test -f $gnome_prefix/gnomeConf.sh; then | 5156 if test -f $gnome_prefix/gnomeConf.sh; then |
4906 echo "$ac_t""found" 1>&6 | 5157 echo "$ac_t""found" 1>&6 |
4907 echo "loading gnome configuration from" \ | 5158 echo "loading gnome configuration from" \ |
4908 "$gnome_prefix/gnomeConf.sh" | 5159 "$gnome_prefix/gnomeConf.sh" |
4909 . $gnome_prefix/gnomeConf.sh | 5160 . $gnome_prefix/gnomeConf.sh |
4937 if test -z "$SKIP_MOTIF"; then | 5188 if test -z "$SKIP_MOTIF"; then |
4938 gui_XXX="/usr/XXX/Motif* /usr/Motif*/XXX /usr/XXX /usr/shlib /usr/X11*/XXX /usr/XXX/X11* /usr/dt/XXX /local/Motif*/XXX /local/XXX/Motif* /usr/local/Motif*/XXX /usr/local/XXX/Motif* /usr/local/XXX /usr/local/X11*/XXX /usr/local/LessTif/Motif*/XXX $MOTIFHOME/XXX" | 5189 gui_XXX="/usr/XXX/Motif* /usr/Motif*/XXX /usr/XXX /usr/shlib /usr/X11*/XXX /usr/XXX/X11* /usr/dt/XXX /local/Motif*/XXX /local/XXX/Motif* /usr/local/Motif*/XXX /usr/local/XXX/Motif* /usr/local/XXX /usr/local/X11*/XXX /usr/local/LessTif/Motif*/XXX $MOTIFHOME/XXX" |
4939 GUI_INC_LOC="`echo $GUI_INC_LOC|sed 's%-I%%g'`" | 5190 GUI_INC_LOC="`echo $GUI_INC_LOC|sed 's%-I%%g'`" |
4940 | 5191 |
4941 echo $ac_n "checking for location of Motif GUI includes""... $ac_c" 1>&6 | 5192 echo $ac_n "checking for location of Motif GUI includes""... $ac_c" 1>&6 |
4942 echo "configure:4943: checking for location of Motif GUI includes" >&5 | 5193 echo "configure:5194: checking for location of Motif GUI includes" >&5 |
4943 gui_includes="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC" | 5194 gui_includes="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC" |
4944 GUI_INC_LOC= | 5195 GUI_INC_LOC= |
4945 for try in $gui_includes; do | 5196 for try in $gui_includes; do |
4946 if test -f "$try/Xm/Xm.h"; then | 5197 if test -f "$try/Xm/Xm.h"; then |
4947 GUI_INC_LOC=$try | 5198 GUI_INC_LOC=$try |
4961 fi | 5212 fi |
4962 | 5213 |
4963 | 5214 |
4964 if test -z "$SKIP_MOTIF"; then | 5215 if test -z "$SKIP_MOTIF"; then |
4965 echo $ac_n "checking --with-motif-lib argument""... $ac_c" 1>&6 | 5216 echo $ac_n "checking --with-motif-lib argument""... $ac_c" 1>&6 |
4966 echo "configure:4967: checking --with-motif-lib argument" >&5 | 5217 echo "configure:5218: checking --with-motif-lib argument" >&5 |
4967 # Check whether --with-motif-lib or --without-motif-lib was given. | 5218 # Check whether --with-motif-lib or --without-motif-lib was given. |
4968 if test "${with_motif_lib+set}" = set; then | 5219 if test "${with_motif_lib+set}" = set; then |
4969 withval="$with_motif_lib" | 5220 withval="$with_motif_lib" |
4970 MOTIF_LIBNAME="${withval}" | 5221 MOTIF_LIBNAME="${withval}" |
4971 fi | 5222 fi |
4978 echo "$ac_t""no" 1>&6 | 5229 echo "$ac_t""no" 1>&6 |
4979 | 5230 |
4980 GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`" | 5231 GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`" |
4981 | 5232 |
4982 echo $ac_n "checking for location of Motif GUI libs""... $ac_c" 1>&6 | 5233 echo $ac_n "checking for location of Motif GUI libs""... $ac_c" 1>&6 |
4983 echo "configure:4984: checking for location of Motif GUI libs" >&5 | 5234 echo "configure:5235: checking for location of Motif GUI libs" >&5 |
4984 gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC" | 5235 gui_libs="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC" |
4985 GUI_LIB_LOC= | 5236 GUI_LIB_LOC= |
4986 for try in $gui_libs; do | 5237 for try in $gui_libs; do |
4987 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl; do | 5238 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do |
4988 if test -f "$libtry"; then | 5239 if test -f "$libtry"; then |
4989 GUI_LIB_LOC=$try | 5240 GUI_LIB_LOC=$try |
4990 fi | 5241 fi |
4991 done | 5242 done |
4992 done | 5243 done |
5021 | 5272 |
5022 GUI_X_LIBS= | 5273 GUI_X_LIBS= |
5023 | 5274 |
5024 if test -z "$SKIP_ATHENA"; then | 5275 if test -z "$SKIP_ATHENA"; then |
5025 echo $ac_n "checking if Athena header files can be found""... $ac_c" 1>&6 | 5276 echo $ac_n "checking if Athena header files can be found""... $ac_c" 1>&6 |
5026 echo "configure:5027: checking if Athena header files can be found" >&5 | 5277 echo "configure:5278: checking if Athena header files can be found" >&5 |
5027 cflags_save=$CFLAGS | 5278 cflags_save=$CFLAGS |
5028 CFLAGS="$CFLAGS $X_CFLAGS" | 5279 CFLAGS="$CFLAGS $X_CFLAGS" |
5029 cat > conftest.$ac_ext <<EOF | 5280 cat > conftest.$ac_ext <<EOF |
5030 #line 5031 "configure" | 5281 #line 5282 "configure" |
5031 #include "confdefs.h" | 5282 #include "confdefs.h" |
5032 | 5283 |
5033 #include <X11/Intrinsic.h> | 5284 #include <X11/Intrinsic.h> |
5034 #include <X11/Xaw/Paned.h> | 5285 #include <X11/Xaw/Paned.h> |
5035 int main() { | 5286 int main() { |
5036 | 5287 |
5037 ; return 0; } | 5288 ; return 0; } |
5038 EOF | 5289 EOF |
5039 if { (eval echo configure:5040: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5290 if { (eval echo configure:5291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5040 rm -rf conftest* | 5291 rm -rf conftest* |
5041 echo "$ac_t""yes" 1>&6 | 5292 echo "$ac_t""yes" 1>&6 |
5042 else | 5293 else |
5043 echo "configure: failed program was:" >&5 | 5294 echo "configure: failed program was:" >&5 |
5044 cat conftest.$ac_ext >&5 | 5295 cat conftest.$ac_ext >&5 |
5053 GUITYPE=ATHENA | 5304 GUITYPE=ATHENA |
5054 fi | 5305 fi |
5055 | 5306 |
5056 if test -z "$SKIP_NEXTAW"; then | 5307 if test -z "$SKIP_NEXTAW"; then |
5057 echo $ac_n "checking if neXtaw header files can be found""... $ac_c" 1>&6 | 5308 echo $ac_n "checking if neXtaw header files can be found""... $ac_c" 1>&6 |
5058 echo "configure:5059: checking if neXtaw header files can be found" >&5 | 5309 echo "configure:5310: checking if neXtaw header files can be found" >&5 |
5059 cflags_save=$CFLAGS | 5310 cflags_save=$CFLAGS |
5060 CFLAGS="$CFLAGS $X_CFLAGS" | 5311 CFLAGS="$CFLAGS $X_CFLAGS" |
5061 cat > conftest.$ac_ext <<EOF | 5312 cat > conftest.$ac_ext <<EOF |
5062 #line 5063 "configure" | 5313 #line 5314 "configure" |
5063 #include "confdefs.h" | 5314 #include "confdefs.h" |
5064 | 5315 |
5065 #include <X11/Intrinsic.h> | 5316 #include <X11/Intrinsic.h> |
5066 #include <X11/neXtaw/Paned.h> | 5317 #include <X11/neXtaw/Paned.h> |
5067 int main() { | 5318 int main() { |
5068 | 5319 |
5069 ; return 0; } | 5320 ; return 0; } |
5070 EOF | 5321 EOF |
5071 if { (eval echo configure:5072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5322 if { (eval echo configure:5323: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5072 rm -rf conftest* | 5323 rm -rf conftest* |
5073 echo "$ac_t""yes" 1>&6 | 5324 echo "$ac_t""yes" 1>&6 |
5074 else | 5325 else |
5075 echo "configure: failed program was:" >&5 | 5326 echo "configure: failed program was:" >&5 |
5076 cat conftest.$ac_ext >&5 | 5327 cat conftest.$ac_ext >&5 |
5094 fi | 5345 fi |
5095 | 5346 |
5096 ldflags_save=$LDFLAGS | 5347 ldflags_save=$LDFLAGS |
5097 LDFLAGS="$X_LIBS $LDFLAGS" | 5348 LDFLAGS="$X_LIBS $LDFLAGS" |
5098 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6 | 5349 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6 |
5099 echo "configure:5100: checking for XShapeQueryExtension in -lXext" >&5 | 5350 echo "configure:5351: checking for XShapeQueryExtension in -lXext" >&5 |
5100 ac_lib_var=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'` | 5351 ac_lib_var=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'` |
5101 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5352 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5102 echo $ac_n "(cached) $ac_c" 1>&6 | 5353 echo $ac_n "(cached) $ac_c" 1>&6 |
5103 else | 5354 else |
5104 ac_save_LIBS="$LIBS" | 5355 ac_save_LIBS="$LIBS" |
5105 LIBS="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5356 LIBS="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
5106 cat > conftest.$ac_ext <<EOF | 5357 cat > conftest.$ac_ext <<EOF |
5107 #line 5108 "configure" | 5358 #line 5359 "configure" |
5108 #include "confdefs.h" | 5359 #include "confdefs.h" |
5109 /* Override any gcc2 internal prototype to avoid an error. */ | 5360 /* Override any gcc2 internal prototype to avoid an error. */ |
5110 /* We use char because int might match the return type of a gcc2 | 5361 /* We use char because int might match the return type of a gcc2 |
5111 builtin and then its argument prototype would still apply. */ | 5362 builtin and then its argument prototype would still apply. */ |
5112 char XShapeQueryExtension(); | 5363 char XShapeQueryExtension(); |
5113 | 5364 |
5114 int main() { | 5365 int main() { |
5115 XShapeQueryExtension() | 5366 XShapeQueryExtension() |
5116 ; return 0; } | 5367 ; return 0; } |
5117 EOF | 5368 EOF |
5118 if { (eval echo configure:5119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5369 if { (eval echo configure:5370: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5119 rm -rf conftest* | 5370 rm -rf conftest* |
5120 eval "ac_cv_lib_$ac_lib_var=yes" | 5371 eval "ac_cv_lib_$ac_lib_var=yes" |
5121 else | 5372 else |
5122 echo "configure: failed program was:" >&5 | 5373 echo "configure: failed program was:" >&5 |
5123 cat conftest.$ac_ext >&5 | 5374 cat conftest.$ac_ext >&5 |
5134 else | 5385 else |
5135 echo "$ac_t""no" 1>&6 | 5386 echo "$ac_t""no" 1>&6 |
5136 fi | 5387 fi |
5137 | 5388 |
5138 echo $ac_n "checking for wslen in -lw""... $ac_c" 1>&6 | 5389 echo $ac_n "checking for wslen in -lw""... $ac_c" 1>&6 |
5139 echo "configure:5140: checking for wslen in -lw" >&5 | 5390 echo "configure:5391: checking for wslen in -lw" >&5 |
5140 ac_lib_var=`echo w'_'wslen | sed 'y%./+-%__p_%'` | 5391 ac_lib_var=`echo w'_'wslen | sed 'y%./+-%__p_%'` |
5141 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5392 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5142 echo $ac_n "(cached) $ac_c" 1>&6 | 5393 echo $ac_n "(cached) $ac_c" 1>&6 |
5143 else | 5394 else |
5144 ac_save_LIBS="$LIBS" | 5395 ac_save_LIBS="$LIBS" |
5145 LIBS="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5396 LIBS="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
5146 cat > conftest.$ac_ext <<EOF | 5397 cat > conftest.$ac_ext <<EOF |
5147 #line 5148 "configure" | 5398 #line 5399 "configure" |
5148 #include "confdefs.h" | 5399 #include "confdefs.h" |
5149 /* Override any gcc2 internal prototype to avoid an error. */ | 5400 /* Override any gcc2 internal prototype to avoid an error. */ |
5150 /* We use char because int might match the return type of a gcc2 | 5401 /* We use char because int might match the return type of a gcc2 |
5151 builtin and then its argument prototype would still apply. */ | 5402 builtin and then its argument prototype would still apply. */ |
5152 char wslen(); | 5403 char wslen(); |
5153 | 5404 |
5154 int main() { | 5405 int main() { |
5155 wslen() | 5406 wslen() |
5156 ; return 0; } | 5407 ; return 0; } |
5157 EOF | 5408 EOF |
5158 if { (eval echo configure:5159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5409 if { (eval echo configure:5410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5159 rm -rf conftest* | 5410 rm -rf conftest* |
5160 eval "ac_cv_lib_$ac_lib_var=yes" | 5411 eval "ac_cv_lib_$ac_lib_var=yes" |
5161 else | 5412 else |
5162 echo "configure: failed program was:" >&5 | 5413 echo "configure: failed program was:" >&5 |
5163 cat conftest.$ac_ext >&5 | 5414 cat conftest.$ac_ext >&5 |
5174 else | 5425 else |
5175 echo "$ac_t""no" 1>&6 | 5426 echo "$ac_t""no" 1>&6 |
5176 fi | 5427 fi |
5177 | 5428 |
5178 echo $ac_n "checking for dlsym in -ldl""... $ac_c" 1>&6 | 5429 echo $ac_n "checking for dlsym in -ldl""... $ac_c" 1>&6 |
5179 echo "configure:5180: checking for dlsym in -ldl" >&5 | 5430 echo "configure:5431: checking for dlsym in -ldl" >&5 |
5180 ac_lib_var=`echo dl'_'dlsym | sed 'y%./+-%__p_%'` | 5431 ac_lib_var=`echo dl'_'dlsym | sed 'y%./+-%__p_%'` |
5181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5432 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5182 echo $ac_n "(cached) $ac_c" 1>&6 | 5433 echo $ac_n "(cached) $ac_c" 1>&6 |
5183 else | 5434 else |
5184 ac_save_LIBS="$LIBS" | 5435 ac_save_LIBS="$LIBS" |
5185 LIBS="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5436 LIBS="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
5186 cat > conftest.$ac_ext <<EOF | 5437 cat > conftest.$ac_ext <<EOF |
5187 #line 5188 "configure" | 5438 #line 5439 "configure" |
5188 #include "confdefs.h" | 5439 #include "confdefs.h" |
5189 /* Override any gcc2 internal prototype to avoid an error. */ | 5440 /* Override any gcc2 internal prototype to avoid an error. */ |
5190 /* We use char because int might match the return type of a gcc2 | 5441 /* We use char because int might match the return type of a gcc2 |
5191 builtin and then its argument prototype would still apply. */ | 5442 builtin and then its argument prototype would still apply. */ |
5192 char dlsym(); | 5443 char dlsym(); |
5193 | 5444 |
5194 int main() { | 5445 int main() { |
5195 dlsym() | 5446 dlsym() |
5196 ; return 0; } | 5447 ; return 0; } |
5197 EOF | 5448 EOF |
5198 if { (eval echo configure:5199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5449 if { (eval echo configure:5450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5199 rm -rf conftest* | 5450 rm -rf conftest* |
5200 eval "ac_cv_lib_$ac_lib_var=yes" | 5451 eval "ac_cv_lib_$ac_lib_var=yes" |
5201 else | 5452 else |
5202 echo "configure: failed program was:" >&5 | 5453 echo "configure: failed program was:" >&5 |
5203 cat conftest.$ac_ext >&5 | 5454 cat conftest.$ac_ext >&5 |
5214 else | 5465 else |
5215 echo "$ac_t""no" 1>&6 | 5466 echo "$ac_t""no" 1>&6 |
5216 fi | 5467 fi |
5217 | 5468 |
5218 echo $ac_n "checking for XmuCreateStippledPixmap in -lXmu""... $ac_c" 1>&6 | 5469 echo $ac_n "checking for XmuCreateStippledPixmap in -lXmu""... $ac_c" 1>&6 |
5219 echo "configure:5220: checking for XmuCreateStippledPixmap in -lXmu" >&5 | 5470 echo "configure:5471: checking for XmuCreateStippledPixmap in -lXmu" >&5 |
5220 ac_lib_var=`echo Xmu'_'XmuCreateStippledPixmap | sed 'y%./+-%__p_%'` | 5471 ac_lib_var=`echo Xmu'_'XmuCreateStippledPixmap | sed 'y%./+-%__p_%'` |
5221 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5472 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5222 echo $ac_n "(cached) $ac_c" 1>&6 | 5473 echo $ac_n "(cached) $ac_c" 1>&6 |
5223 else | 5474 else |
5224 ac_save_LIBS="$LIBS" | 5475 ac_save_LIBS="$LIBS" |
5225 LIBS="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5476 LIBS="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
5226 cat > conftest.$ac_ext <<EOF | 5477 cat > conftest.$ac_ext <<EOF |
5227 #line 5228 "configure" | 5478 #line 5479 "configure" |
5228 #include "confdefs.h" | 5479 #include "confdefs.h" |
5229 /* Override any gcc2 internal prototype to avoid an error. */ | 5480 /* Override any gcc2 internal prototype to avoid an error. */ |
5230 /* We use char because int might match the return type of a gcc2 | 5481 /* We use char because int might match the return type of a gcc2 |
5231 builtin and then its argument prototype would still apply. */ | 5482 builtin and then its argument prototype would still apply. */ |
5232 char XmuCreateStippledPixmap(); | 5483 char XmuCreateStippledPixmap(); |
5233 | 5484 |
5234 int main() { | 5485 int main() { |
5235 XmuCreateStippledPixmap() | 5486 XmuCreateStippledPixmap() |
5236 ; return 0; } | 5487 ; return 0; } |
5237 EOF | 5488 EOF |
5238 if { (eval echo configure:5239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5489 if { (eval echo configure:5490: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5239 rm -rf conftest* | 5490 rm -rf conftest* |
5240 eval "ac_cv_lib_$ac_lib_var=yes" | 5491 eval "ac_cv_lib_$ac_lib_var=yes" |
5241 else | 5492 else |
5242 echo "configure: failed program was:" >&5 | 5493 echo "configure: failed program was:" >&5 |
5243 cat conftest.$ac_ext >&5 | 5494 cat conftest.$ac_ext >&5 |
5255 echo "$ac_t""no" 1>&6 | 5506 echo "$ac_t""no" 1>&6 |
5256 fi | 5507 fi |
5257 | 5508 |
5258 if test -z "$SKIP_MOTIF"; then | 5509 if test -z "$SKIP_MOTIF"; then |
5259 echo $ac_n "checking for XpEndJob in -lXp""... $ac_c" 1>&6 | 5510 echo $ac_n "checking for XpEndJob in -lXp""... $ac_c" 1>&6 |
5260 echo "configure:5261: checking for XpEndJob in -lXp" >&5 | 5511 echo "configure:5512: checking for XpEndJob in -lXp" >&5 |
5261 ac_lib_var=`echo Xp'_'XpEndJob | sed 'y%./+-%__p_%'` | 5512 ac_lib_var=`echo Xp'_'XpEndJob | sed 'y%./+-%__p_%'` |
5262 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5513 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5263 echo $ac_n "(cached) $ac_c" 1>&6 | 5514 echo $ac_n "(cached) $ac_c" 1>&6 |
5264 else | 5515 else |
5265 ac_save_LIBS="$LIBS" | 5516 ac_save_LIBS="$LIBS" |
5266 LIBS="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5517 LIBS="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
5267 cat > conftest.$ac_ext <<EOF | 5518 cat > conftest.$ac_ext <<EOF |
5268 #line 5269 "configure" | 5519 #line 5520 "configure" |
5269 #include "confdefs.h" | 5520 #include "confdefs.h" |
5270 /* Override any gcc2 internal prototype to avoid an error. */ | 5521 /* Override any gcc2 internal prototype to avoid an error. */ |
5271 /* We use char because int might match the return type of a gcc2 | 5522 /* We use char because int might match the return type of a gcc2 |
5272 builtin and then its argument prototype would still apply. */ | 5523 builtin and then its argument prototype would still apply. */ |
5273 char XpEndJob(); | 5524 char XpEndJob(); |
5274 | 5525 |
5275 int main() { | 5526 int main() { |
5276 XpEndJob() | 5527 XpEndJob() |
5277 ; return 0; } | 5528 ; return 0; } |
5278 EOF | 5529 EOF |
5279 if { (eval echo configure:5280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5530 if { (eval echo configure:5531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5280 rm -rf conftest* | 5531 rm -rf conftest* |
5281 eval "ac_cv_lib_$ac_lib_var=yes" | 5532 eval "ac_cv_lib_$ac_lib_var=yes" |
5282 else | 5533 else |
5283 echo "configure: failed program was:" >&5 | 5534 echo "configure: failed program was:" >&5 |
5284 cat conftest.$ac_ext >&5 | 5535 cat conftest.$ac_ext >&5 |
5298 | 5549 |
5299 fi | 5550 fi |
5300 LDFLAGS=$ldflags_save | 5551 LDFLAGS=$ldflags_save |
5301 | 5552 |
5302 echo $ac_n "checking for extra X11 defines""... $ac_c" 1>&6 | 5553 echo $ac_n "checking for extra X11 defines""... $ac_c" 1>&6 |
5303 echo "configure:5304: checking for extra X11 defines" >&5 | 5554 echo "configure:5555: checking for extra X11 defines" >&5 |
5304 NARROW_PROTO= | 5555 NARROW_PROTO= |
5305 rm -fr conftestdir | 5556 rm -fr conftestdir |
5306 if mkdir conftestdir; then | 5557 if mkdir conftestdir; then |
5307 cd conftestdir | 5558 cd conftestdir |
5308 cat > Imakefile <<'EOF' | 5559 cat > Imakefile <<'EOF' |
5328 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5579 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
5329 for ac_hdr in X11/SM/SMlib.h | 5580 for ac_hdr in X11/SM/SMlib.h |
5330 do | 5581 do |
5331 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5582 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5332 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5583 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5333 echo "configure:5334: checking for $ac_hdr" >&5 | 5584 echo "configure:5585: checking for $ac_hdr" >&5 |
5334 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5585 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5335 echo $ac_n "(cached) $ac_c" 1>&6 | 5586 echo $ac_n "(cached) $ac_c" 1>&6 |
5336 else | 5587 else |
5337 cat > conftest.$ac_ext <<EOF | 5588 cat > conftest.$ac_ext <<EOF |
5338 #line 5339 "configure" | 5589 #line 5590 "configure" |
5339 #include "confdefs.h" | 5590 #include "confdefs.h" |
5340 #include <$ac_hdr> | 5591 #include <$ac_hdr> |
5341 EOF | 5592 EOF |
5342 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5593 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5343 { (eval echo configure:5344: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5594 { (eval echo configure:5595: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5344 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5595 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5345 if test -z "$ac_err"; then | 5596 if test -z "$ac_err"; then |
5346 rm -rf conftest* | 5597 rm -rf conftest* |
5347 eval "ac_cv_header_$ac_safe=yes" | 5598 eval "ac_cv_header_$ac_safe=yes" |
5348 else | 5599 else |
5375 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5626 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
5376 for ac_hdr in X11/xpm.h X11/Sunkeysym.h | 5627 for ac_hdr in X11/xpm.h X11/Sunkeysym.h |
5377 do | 5628 do |
5378 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5629 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5379 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5630 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5380 echo "configure:5381: checking for $ac_hdr" >&5 | 5631 echo "configure:5632: checking for $ac_hdr" >&5 |
5381 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5632 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5382 echo $ac_n "(cached) $ac_c" 1>&6 | 5633 echo $ac_n "(cached) $ac_c" 1>&6 |
5383 else | 5634 else |
5384 cat > conftest.$ac_ext <<EOF | 5635 cat > conftest.$ac_ext <<EOF |
5385 #line 5386 "configure" | 5636 #line 5637 "configure" |
5386 #include "confdefs.h" | 5637 #include "confdefs.h" |
5387 #include <$ac_hdr> | 5638 #include <$ac_hdr> |
5388 EOF | 5639 EOF |
5389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5640 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5390 { (eval echo configure:5391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5641 { (eval echo configure:5642: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5642 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5392 if test -z "$ac_err"; then | 5643 if test -z "$ac_err"; then |
5393 rm -rf conftest* | 5644 rm -rf conftest* |
5394 eval "ac_cv_header_$ac_safe=yes" | 5645 eval "ac_cv_header_$ac_safe=yes" |
5395 else | 5646 else |
5414 done | 5665 done |
5415 | 5666 |
5416 | 5667 |
5417 if test ! "$enable_xim" = "no"; then | 5668 if test ! "$enable_xim" = "no"; then |
5418 echo $ac_n "checking for XIMText in X11/Xlib.h""... $ac_c" 1>&6 | 5669 echo $ac_n "checking for XIMText in X11/Xlib.h""... $ac_c" 1>&6 |
5419 echo "configure:5420: checking for XIMText in X11/Xlib.h" >&5 | 5670 echo "configure:5671: checking for XIMText in X11/Xlib.h" >&5 |
5420 cat > conftest.$ac_ext <<EOF | 5671 cat > conftest.$ac_ext <<EOF |
5421 #line 5422 "configure" | 5672 #line 5673 "configure" |
5422 #include "confdefs.h" | 5673 #include "confdefs.h" |
5423 #include <X11/Xlib.h> | 5674 #include <X11/Xlib.h> |
5424 EOF | 5675 EOF |
5425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5676 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5426 egrep "XIMText" >/dev/null 2>&1; then | 5677 egrep "XIMText" >/dev/null 2>&1; then |
5447 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5698 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
5448 for ac_hdr in X11/Xmu/Editres.h | 5699 for ac_hdr in X11/Xmu/Editres.h |
5449 do | 5700 do |
5450 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5701 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5451 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5702 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5452 echo "configure:5453: checking for $ac_hdr" >&5 | 5703 echo "configure:5704: checking for $ac_hdr" >&5 |
5453 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5704 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5454 echo $ac_n "(cached) $ac_c" 1>&6 | 5705 echo $ac_n "(cached) $ac_c" 1>&6 |
5455 else | 5706 else |
5456 cat > conftest.$ac_ext <<EOF | 5707 cat > conftest.$ac_ext <<EOF |
5457 #line 5458 "configure" | 5708 #line 5709 "configure" |
5458 #include "confdefs.h" | 5709 #include "confdefs.h" |
5459 #include <$ac_hdr> | 5710 #include <$ac_hdr> |
5460 EOF | 5711 EOF |
5461 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5712 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5462 { (eval echo configure:5463: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5713 { (eval echo configure:5714: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5463 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5714 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5464 if test -z "$ac_err"; then | 5715 if test -z "$ac_err"; then |
5465 rm -rf conftest* | 5716 rm -rf conftest* |
5466 eval "ac_cv_header_$ac_safe=yes" | 5717 eval "ac_cv_header_$ac_safe=yes" |
5467 else | 5718 else |
5493 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5744 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
5494 for ac_hdr in Xm/Xm.h Xm/XpmP.h | 5745 for ac_hdr in Xm/Xm.h Xm/XpmP.h |
5495 do | 5746 do |
5496 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5747 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5497 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5748 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5498 echo "configure:5499: checking for $ac_hdr" >&5 | 5749 echo "configure:5750: checking for $ac_hdr" >&5 |
5499 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5750 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5500 echo $ac_n "(cached) $ac_c" 1>&6 | 5751 echo $ac_n "(cached) $ac_c" 1>&6 |
5501 else | 5752 else |
5502 cat > conftest.$ac_ext <<EOF | 5753 cat > conftest.$ac_ext <<EOF |
5503 #line 5504 "configure" | 5754 #line 5755 "configure" |
5504 #include "confdefs.h" | 5755 #include "confdefs.h" |
5505 #include <$ac_hdr> | 5756 #include <$ac_hdr> |
5506 EOF | 5757 EOF |
5507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5758 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5508 { (eval echo configure:5509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5759 { (eval echo configure:5760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5760 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5510 if test -z "$ac_err"; then | 5761 if test -z "$ac_err"; then |
5511 rm -rf conftest* | 5762 rm -rf conftest* |
5512 eval "ac_cv_header_$ac_safe=yes" | 5763 eval "ac_cv_header_$ac_safe=yes" |
5513 else | 5764 else |
5596 fi | 5847 fi |
5597 fi | 5848 fi |
5598 | 5849 |
5599 | 5850 |
5600 echo $ac_n "checking quality of toupper""... $ac_c" 1>&6 | 5851 echo $ac_n "checking quality of toupper""... $ac_c" 1>&6 |
5601 echo "configure:5602: checking quality of toupper" >&5 | 5852 echo "configure:5853: checking quality of toupper" >&5 |
5602 if test "$cross_compiling" = yes; then | 5853 if test "$cross_compiling" = yes; then |
5603 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 5854 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
5604 else | 5855 else |
5605 cat > conftest.$ac_ext <<EOF | 5856 cat > conftest.$ac_ext <<EOF |
5606 #line 5607 "configure" | 5857 #line 5858 "configure" |
5607 #include "confdefs.h" | 5858 #include "confdefs.h" |
5608 #include <ctype.h> | 5859 #include <ctype.h> |
5609 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); } | 5860 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); } |
5610 EOF | 5861 EOF |
5611 if { (eval echo configure:5612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5862 if { (eval echo configure:5863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5612 then | 5863 then |
5613 cat >> confdefs.h <<\EOF | 5864 cat >> confdefs.h <<\EOF |
5614 #define BROKEN_TOUPPER 1 | 5865 #define BROKEN_TOUPPER 1 |
5615 EOF | 5866 EOF |
5616 echo "$ac_t""bad" 1>&6 | 5867 echo "$ac_t""bad" 1>&6 |
5623 rm -fr conftest* | 5874 rm -fr conftest* |
5624 fi | 5875 fi |
5625 | 5876 |
5626 | 5877 |
5627 echo $ac_n "checking whether __DATE__ and __TIME__ work""... $ac_c" 1>&6 | 5878 echo $ac_n "checking whether __DATE__ and __TIME__ work""... $ac_c" 1>&6 |
5628 echo "configure:5629: checking whether __DATE__ and __TIME__ work" >&5 | 5879 echo "configure:5880: checking whether __DATE__ and __TIME__ work" >&5 |
5629 cat > conftest.$ac_ext <<EOF | 5880 cat > conftest.$ac_ext <<EOF |
5630 #line 5631 "configure" | 5881 #line 5882 "configure" |
5631 #include "confdefs.h" | 5882 #include "confdefs.h" |
5632 | 5883 |
5633 int main() { | 5884 int main() { |
5634 printf("(" __DATE__ " " __TIME__ ")"); | 5885 printf("(" __DATE__ " " __TIME__ ")"); |
5635 ; return 0; } | 5886 ; return 0; } |
5636 EOF | 5887 EOF |
5637 if { (eval echo configure:5638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5888 if { (eval echo configure:5889: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5638 rm -rf conftest* | 5889 rm -rf conftest* |
5639 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 5890 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
5640 #define HAVE_DATE_TIME 1 | 5891 #define HAVE_DATE_TIME 1 |
5641 EOF | 5892 EOF |
5642 | 5893 |
5648 fi | 5899 fi |
5649 rm -f conftest* | 5900 rm -f conftest* |
5650 | 5901 |
5651 ac_safe=`echo "elf.h" | sed 'y%./+-%__p_%'` | 5902 ac_safe=`echo "elf.h" | sed 'y%./+-%__p_%'` |
5652 echo $ac_n "checking for elf.h""... $ac_c" 1>&6 | 5903 echo $ac_n "checking for elf.h""... $ac_c" 1>&6 |
5653 echo "configure:5654: checking for elf.h" >&5 | 5904 echo "configure:5905: checking for elf.h" >&5 |
5654 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5905 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5655 echo $ac_n "(cached) $ac_c" 1>&6 | 5906 echo $ac_n "(cached) $ac_c" 1>&6 |
5656 else | 5907 else |
5657 cat > conftest.$ac_ext <<EOF | 5908 cat > conftest.$ac_ext <<EOF |
5658 #line 5659 "configure" | 5909 #line 5910 "configure" |
5659 #include "confdefs.h" | 5910 #include "confdefs.h" |
5660 #include <elf.h> | 5911 #include <elf.h> |
5661 EOF | 5912 EOF |
5662 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5913 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5663 { (eval echo configure:5664: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5914 { (eval echo configure:5915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5664 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5915 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5665 if test -z "$ac_err"; then | 5916 if test -z "$ac_err"; then |
5666 rm -rf conftest* | 5917 rm -rf conftest* |
5667 eval "ac_cv_header_$ac_safe=yes" | 5918 eval "ac_cv_header_$ac_safe=yes" |
5668 else | 5919 else |
5681 echo "$ac_t""no" 1>&6 | 5932 echo "$ac_t""no" 1>&6 |
5682 fi | 5933 fi |
5683 | 5934 |
5684 if test "$HAS_ELF" = 1; then | 5935 if test "$HAS_ELF" = 1; then |
5685 echo $ac_n "checking for main in -lelf""... $ac_c" 1>&6 | 5936 echo $ac_n "checking for main in -lelf""... $ac_c" 1>&6 |
5686 echo "configure:5687: checking for main in -lelf" >&5 | 5937 echo "configure:5938: checking for main in -lelf" >&5 |
5687 ac_lib_var=`echo elf'_'main | sed 'y%./+-%__p_%'` | 5938 ac_lib_var=`echo elf'_'main | sed 'y%./+-%__p_%'` |
5688 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5939 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5689 echo $ac_n "(cached) $ac_c" 1>&6 | 5940 echo $ac_n "(cached) $ac_c" 1>&6 |
5690 else | 5941 else |
5691 ac_save_LIBS="$LIBS" | 5942 ac_save_LIBS="$LIBS" |
5692 LIBS="-lelf $LIBS" | 5943 LIBS="-lelf $LIBS" |
5693 cat > conftest.$ac_ext <<EOF | 5944 cat > conftest.$ac_ext <<EOF |
5694 #line 5695 "configure" | 5945 #line 5946 "configure" |
5695 #include "confdefs.h" | 5946 #include "confdefs.h" |
5696 | 5947 |
5697 int main() { | 5948 int main() { |
5698 main() | 5949 main() |
5699 ; return 0; } | 5950 ; return 0; } |
5700 EOF | 5951 EOF |
5701 if { (eval echo configure:5702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5952 if { (eval echo configure:5953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5702 rm -rf conftest* | 5953 rm -rf conftest* |
5703 eval "ac_cv_lib_$ac_lib_var=yes" | 5954 eval "ac_cv_lib_$ac_lib_var=yes" |
5704 else | 5955 else |
5705 echo "configure: failed program was:" >&5 | 5956 echo "configure: failed program was:" >&5 |
5706 cat conftest.$ac_ext >&5 | 5957 cat conftest.$ac_ext >&5 |
5730 ac_header_dirent=no | 5981 ac_header_dirent=no |
5731 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h | 5982 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h |
5732 do | 5983 do |
5733 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5984 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5734 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | 5985 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
5735 echo "configure:5736: checking for $ac_hdr that defines DIR" >&5 | 5986 echo "configure:5987: checking for $ac_hdr that defines DIR" >&5 |
5736 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then | 5987 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
5737 echo $ac_n "(cached) $ac_c" 1>&6 | 5988 echo $ac_n "(cached) $ac_c" 1>&6 |
5738 else | 5989 else |
5739 cat > conftest.$ac_ext <<EOF | 5990 cat > conftest.$ac_ext <<EOF |
5740 #line 5741 "configure" | 5991 #line 5992 "configure" |
5741 #include "confdefs.h" | 5992 #include "confdefs.h" |
5742 #include <sys/types.h> | 5993 #include <sys/types.h> |
5743 #include <$ac_hdr> | 5994 #include <$ac_hdr> |
5744 int main() { | 5995 int main() { |
5745 DIR *dirp = 0; | 5996 DIR *dirp = 0; |
5746 ; return 0; } | 5997 ; return 0; } |
5747 EOF | 5998 EOF |
5748 if { (eval echo configure:5749: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5999 if { (eval echo configure:6000: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5749 rm -rf conftest* | 6000 rm -rf conftest* |
5750 eval "ac_cv_header_dirent_$ac_safe=yes" | 6001 eval "ac_cv_header_dirent_$ac_safe=yes" |
5751 else | 6002 else |
5752 echo "configure: failed program was:" >&5 | 6003 echo "configure: failed program was:" >&5 |
5753 cat conftest.$ac_ext >&5 | 6004 cat conftest.$ac_ext >&5 |
5768 fi | 6019 fi |
5769 done | 6020 done |
5770 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 6021 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
5771 if test $ac_header_dirent = dirent.h; then | 6022 if test $ac_header_dirent = dirent.h; then |
5772 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | 6023 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
5773 echo "configure:5774: checking for opendir in -ldir" >&5 | 6024 echo "configure:6025: checking for opendir in -ldir" >&5 |
5774 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` | 6025 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
5775 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6026 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5776 echo $ac_n "(cached) $ac_c" 1>&6 | 6027 echo $ac_n "(cached) $ac_c" 1>&6 |
5777 else | 6028 else |
5778 ac_save_LIBS="$LIBS" | 6029 ac_save_LIBS="$LIBS" |
5779 LIBS="-ldir $LIBS" | 6030 LIBS="-ldir $LIBS" |
5780 cat > conftest.$ac_ext <<EOF | 6031 cat > conftest.$ac_ext <<EOF |
5781 #line 5782 "configure" | 6032 #line 6033 "configure" |
5782 #include "confdefs.h" | 6033 #include "confdefs.h" |
5783 /* Override any gcc2 internal prototype to avoid an error. */ | 6034 /* Override any gcc2 internal prototype to avoid an error. */ |
5784 /* We use char because int might match the return type of a gcc2 | 6035 /* We use char because int might match the return type of a gcc2 |
5785 builtin and then its argument prototype would still apply. */ | 6036 builtin and then its argument prototype would still apply. */ |
5786 char opendir(); | 6037 char opendir(); |
5787 | 6038 |
5788 int main() { | 6039 int main() { |
5789 opendir() | 6040 opendir() |
5790 ; return 0; } | 6041 ; return 0; } |
5791 EOF | 6042 EOF |
5792 if { (eval echo configure:5793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6043 if { (eval echo configure:6044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5793 rm -rf conftest* | 6044 rm -rf conftest* |
5794 eval "ac_cv_lib_$ac_lib_var=yes" | 6045 eval "ac_cv_lib_$ac_lib_var=yes" |
5795 else | 6046 else |
5796 echo "configure: failed program was:" >&5 | 6047 echo "configure: failed program was:" >&5 |
5797 cat conftest.$ac_ext >&5 | 6048 cat conftest.$ac_ext >&5 |
5809 echo "$ac_t""no" 1>&6 | 6060 echo "$ac_t""no" 1>&6 |
5810 fi | 6061 fi |
5811 | 6062 |
5812 else | 6063 else |
5813 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | 6064 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
5814 echo "configure:5815: checking for opendir in -lx" >&5 | 6065 echo "configure:6066: checking for opendir in -lx" >&5 |
5815 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` | 6066 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
5816 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6067 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5817 echo $ac_n "(cached) $ac_c" 1>&6 | 6068 echo $ac_n "(cached) $ac_c" 1>&6 |
5818 else | 6069 else |
5819 ac_save_LIBS="$LIBS" | 6070 ac_save_LIBS="$LIBS" |
5820 LIBS="-lx $LIBS" | 6071 LIBS="-lx $LIBS" |
5821 cat > conftest.$ac_ext <<EOF | 6072 cat > conftest.$ac_ext <<EOF |
5822 #line 5823 "configure" | 6073 #line 6074 "configure" |
5823 #include "confdefs.h" | 6074 #include "confdefs.h" |
5824 /* Override any gcc2 internal prototype to avoid an error. */ | 6075 /* Override any gcc2 internal prototype to avoid an error. */ |
5825 /* We use char because int might match the return type of a gcc2 | 6076 /* We use char because int might match the return type of a gcc2 |
5826 builtin and then its argument prototype would still apply. */ | 6077 builtin and then its argument prototype would still apply. */ |
5827 char opendir(); | 6078 char opendir(); |
5828 | 6079 |
5829 int main() { | 6080 int main() { |
5830 opendir() | 6081 opendir() |
5831 ; return 0; } | 6082 ; return 0; } |
5832 EOF | 6083 EOF |
5833 if { (eval echo configure:5834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6084 if { (eval echo configure:6085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5834 rm -rf conftest* | 6085 rm -rf conftest* |
5835 eval "ac_cv_lib_$ac_lib_var=yes" | 6086 eval "ac_cv_lib_$ac_lib_var=yes" |
5836 else | 6087 else |
5837 echo "configure: failed program was:" >&5 | 6088 echo "configure: failed program was:" >&5 |
5838 cat conftest.$ac_ext >&5 | 6089 cat conftest.$ac_ext >&5 |
5852 | 6103 |
5853 fi | 6104 fi |
5854 | 6105 |
5855 | 6106 |
5856 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 6107 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
5857 echo "configure:5858: checking for ANSI C header files" >&5 | 6108 echo "configure:6109: checking for ANSI C header files" >&5 |
5858 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 6109 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
5859 echo $ac_n "(cached) $ac_c" 1>&6 | 6110 echo $ac_n "(cached) $ac_c" 1>&6 |
5860 else | 6111 else |
5861 cat > conftest.$ac_ext <<EOF | 6112 cat > conftest.$ac_ext <<EOF |
5862 #line 5863 "configure" | 6113 #line 6114 "configure" |
5863 #include "confdefs.h" | 6114 #include "confdefs.h" |
5864 #include <stdlib.h> | 6115 #include <stdlib.h> |
5865 #include <stdarg.h> | 6116 #include <stdarg.h> |
5866 #include <string.h> | 6117 #include <string.h> |
5867 #include <float.h> | 6118 #include <float.h> |
5868 EOF | 6119 EOF |
5869 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6120 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5870 { (eval echo configure:5871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6121 { (eval echo configure:6122: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5871 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6122 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5872 if test -z "$ac_err"; then | 6123 if test -z "$ac_err"; then |
5873 rm -rf conftest* | 6124 rm -rf conftest* |
5874 ac_cv_header_stdc=yes | 6125 ac_cv_header_stdc=yes |
5875 else | 6126 else |
5882 rm -f conftest* | 6133 rm -f conftest* |
5883 | 6134 |
5884 if test $ac_cv_header_stdc = yes; then | 6135 if test $ac_cv_header_stdc = yes; then |
5885 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 6136 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
5886 cat > conftest.$ac_ext <<EOF | 6137 cat > conftest.$ac_ext <<EOF |
5887 #line 5888 "configure" | 6138 #line 6139 "configure" |
5888 #include "confdefs.h" | 6139 #include "confdefs.h" |
5889 #include <string.h> | 6140 #include <string.h> |
5890 EOF | 6141 EOF |
5891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6142 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5892 egrep "memchr" >/dev/null 2>&1; then | 6143 egrep "memchr" >/dev/null 2>&1; then |
5900 fi | 6151 fi |
5901 | 6152 |
5902 if test $ac_cv_header_stdc = yes; then | 6153 if test $ac_cv_header_stdc = yes; then |
5903 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 6154 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
5904 cat > conftest.$ac_ext <<EOF | 6155 cat > conftest.$ac_ext <<EOF |
5905 #line 5906 "configure" | 6156 #line 6157 "configure" |
5906 #include "confdefs.h" | 6157 #include "confdefs.h" |
5907 #include <stdlib.h> | 6158 #include <stdlib.h> |
5908 EOF | 6159 EOF |
5909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6160 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5910 egrep "free" >/dev/null 2>&1; then | 6161 egrep "free" >/dev/null 2>&1; then |
5921 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 6172 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
5922 if test "$cross_compiling" = yes; then | 6173 if test "$cross_compiling" = yes; then |
5923 : | 6174 : |
5924 else | 6175 else |
5925 cat > conftest.$ac_ext <<EOF | 6176 cat > conftest.$ac_ext <<EOF |
5926 #line 5927 "configure" | 6177 #line 6178 "configure" |
5927 #include "confdefs.h" | 6178 #include "confdefs.h" |
5928 #include <ctype.h> | 6179 #include <ctype.h> |
5929 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 6180 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
5930 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 6181 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
5931 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 6182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
5932 int main () { int i; for (i = 0; i < 256; i++) | 6183 int main () { int i; for (i = 0; i < 256; i++) |
5933 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 6184 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
5934 exit (0); } | 6185 exit (0); } |
5935 | 6186 |
5936 EOF | 6187 EOF |
5937 if { (eval echo configure:5938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6188 if { (eval echo configure:6189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5938 then | 6189 then |
5939 : | 6190 : |
5940 else | 6191 else |
5941 echo "configure: failed program was:" >&5 | 6192 echo "configure: failed program was:" >&5 |
5942 cat conftest.$ac_ext >&5 | 6193 cat conftest.$ac_ext >&5 |
5956 EOF | 6207 EOF |
5957 | 6208 |
5958 fi | 6209 fi |
5959 | 6210 |
5960 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 6211 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
5961 echo "configure:5962: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 6212 echo "configure:6213: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
5962 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then | 6213 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
5963 echo $ac_n "(cached) $ac_c" 1>&6 | 6214 echo $ac_n "(cached) $ac_c" 1>&6 |
5964 else | 6215 else |
5965 cat > conftest.$ac_ext <<EOF | 6216 cat > conftest.$ac_ext <<EOF |
5966 #line 5967 "configure" | 6217 #line 6218 "configure" |
5967 #include "confdefs.h" | 6218 #include "confdefs.h" |
5968 #include <sys/types.h> | 6219 #include <sys/types.h> |
5969 #include <sys/wait.h> | 6220 #include <sys/wait.h> |
5970 #ifndef WEXITSTATUS | 6221 #ifndef WEXITSTATUS |
5971 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 6222 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
5977 int s; | 6228 int s; |
5978 wait (&s); | 6229 wait (&s); |
5979 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 6230 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
5980 ; return 0; } | 6231 ; return 0; } |
5981 EOF | 6232 EOF |
5982 if { (eval echo configure:5983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6233 if { (eval echo configure:6234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5983 rm -rf conftest* | 6234 rm -rf conftest* |
5984 ac_cv_header_sys_wait_h=yes | 6235 ac_cv_header_sys_wait_h=yes |
5985 else | 6236 else |
5986 echo "configure: failed program was:" >&5 | 6237 echo "configure: failed program was:" >&5 |
5987 cat conftest.$ac_ext >&5 | 6238 cat conftest.$ac_ext >&5 |
6000 fi | 6251 fi |
6001 | 6252 |
6002 | 6253 |
6003 if test $ac_cv_header_sys_wait_h = no; then | 6254 if test $ac_cv_header_sys_wait_h = no; then |
6004 echo $ac_n "checking for sys/wait.h that defines union wait""... $ac_c" 1>&6 | 6255 echo $ac_n "checking for sys/wait.h that defines union wait""... $ac_c" 1>&6 |
6005 echo "configure:6006: checking for sys/wait.h that defines union wait" >&5 | 6256 echo "configure:6257: checking for sys/wait.h that defines union wait" >&5 |
6006 cat > conftest.$ac_ext <<EOF | 6257 cat > conftest.$ac_ext <<EOF |
6007 #line 6008 "configure" | 6258 #line 6259 "configure" |
6008 #include "confdefs.h" | 6259 #include "confdefs.h" |
6009 #include <sys/wait.h> | 6260 #include <sys/wait.h> |
6010 int main() { | 6261 int main() { |
6011 union wait xx, yy; xx = yy | 6262 union wait xx, yy; xx = yy |
6012 ; return 0; } | 6263 ; return 0; } |
6013 EOF | 6264 EOF |
6014 if { (eval echo configure:6015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6265 if { (eval echo configure:6266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6015 rm -rf conftest* | 6266 rm -rf conftest* |
6016 echo "$ac_t""yes" 1>&6 | 6267 echo "$ac_t""yes" 1>&6 |
6017 cat >> confdefs.h <<\EOF | 6268 cat >> confdefs.h <<\EOF |
6018 #define HAVE_SYS_WAIT_H 1 | 6269 #define HAVE_SYS_WAIT_H 1 |
6019 EOF | 6270 EOF |
6040 libgen.h util/debug.h util/msg18n.h frame.h pthread_np.h \ | 6291 libgen.h util/debug.h util/msg18n.h frame.h pthread_np.h \ |
6041 sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h | 6292 sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h |
6042 do | 6293 do |
6043 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6294 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6044 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6295 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6045 echo "configure:6046: checking for $ac_hdr" >&5 | 6296 echo "configure:6297: checking for $ac_hdr" >&5 |
6046 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6297 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6047 echo $ac_n "(cached) $ac_c" 1>&6 | 6298 echo $ac_n "(cached) $ac_c" 1>&6 |
6048 else | 6299 else |
6049 cat > conftest.$ac_ext <<EOF | 6300 cat > conftest.$ac_ext <<EOF |
6050 #line 6051 "configure" | 6301 #line 6302 "configure" |
6051 #include "confdefs.h" | 6302 #include "confdefs.h" |
6052 #include <$ac_hdr> | 6303 #include <$ac_hdr> |
6053 EOF | 6304 EOF |
6054 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6305 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6055 { (eval echo configure:6056: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6306 { (eval echo configure:6307: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6056 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6307 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6057 if test -z "$ac_err"; then | 6308 if test -z "$ac_err"; then |
6058 rm -rf conftest* | 6309 rm -rf conftest* |
6059 eval "ac_cv_header_$ac_safe=yes" | 6310 eval "ac_cv_header_$ac_safe=yes" |
6060 else | 6311 else |
6082 if test "x$MACOSX" != "xyes"; then | 6333 if test "x$MACOSX" != "xyes"; then |
6083 for ac_hdr in strings.h | 6334 for ac_hdr in strings.h |
6084 do | 6335 do |
6085 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6336 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
6086 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6337 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
6087 echo "configure:6088: checking for $ac_hdr" >&5 | 6338 echo "configure:6339: checking for $ac_hdr" >&5 |
6088 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6339 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
6089 echo $ac_n "(cached) $ac_c" 1>&6 | 6340 echo $ac_n "(cached) $ac_c" 1>&6 |
6090 else | 6341 else |
6091 cat > conftest.$ac_ext <<EOF | 6342 cat > conftest.$ac_ext <<EOF |
6092 #line 6093 "configure" | 6343 #line 6344 "configure" |
6093 #include "confdefs.h" | 6344 #include "confdefs.h" |
6094 #include <$ac_hdr> | 6345 #include <$ac_hdr> |
6095 EOF | 6346 EOF |
6096 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6347 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
6097 { (eval echo configure:6098: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6348 { (eval echo configure:6349: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
6098 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6349 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
6099 if test -z "$ac_err"; then | 6350 if test -z "$ac_err"; then |
6100 rm -rf conftest* | 6351 rm -rf conftest* |
6101 eval "ac_cv_header_$ac_safe=yes" | 6352 eval "ac_cv_header_$ac_safe=yes" |
6102 else | 6353 else |
6121 done | 6372 done |
6122 | 6373 |
6123 fi | 6374 fi |
6124 | 6375 |
6125 echo $ac_n "checking if strings.h can be included after string.h""... $ac_c" 1>&6 | 6376 echo $ac_n "checking if strings.h can be included after string.h""... $ac_c" 1>&6 |
6126 echo "configure:6127: checking if strings.h can be included after string.h" >&5 | 6377 echo "configure:6378: checking if strings.h can be included after string.h" >&5 |
6127 cppflags_save=$CPPFLAGS | 6378 cppflags_save=$CPPFLAGS |
6128 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 6379 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
6129 cat > conftest.$ac_ext <<EOF | 6380 cat > conftest.$ac_ext <<EOF |
6130 #line 6131 "configure" | 6381 #line 6382 "configure" |
6131 #include "confdefs.h" | 6382 #include "confdefs.h" |
6132 | 6383 |
6133 #if defined(_AIX) && !defined(_AIX51) && !defined(_NO_PROTO) | 6384 #if defined(_AIX) && !defined(_AIX51) && !defined(_NO_PROTO) |
6134 # define _NO_PROTO /* like in os_unix.h, causes conflict for AIX (Winn) */ | 6385 # define _NO_PROTO /* like in os_unix.h, causes conflict for AIX (Winn) */ |
6135 /* but don't do it on AIX 5.1 (Uribarri) */ | 6386 /* but don't do it on AIX 5.1 (Uribarri) */ |
6146 | 6397 |
6147 int main() { | 6398 int main() { |
6148 int i; i = 0; | 6399 int i; i = 0; |
6149 ; return 0; } | 6400 ; return 0; } |
6150 EOF | 6401 EOF |
6151 if { (eval echo configure:6152: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6402 if { (eval echo configure:6403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6152 rm -rf conftest* | 6403 rm -rf conftest* |
6153 echo "$ac_t""yes" 1>&6 | 6404 echo "$ac_t""yes" 1>&6 |
6154 else | 6405 else |
6155 echo "configure: failed program was:" >&5 | 6406 echo "configure: failed program was:" >&5 |
6156 cat conftest.$ac_ext >&5 | 6407 cat conftest.$ac_ext >&5 |
6164 rm -f conftest* | 6415 rm -f conftest* |
6165 CPPFLAGS=$cppflags_save | 6416 CPPFLAGS=$cppflags_save |
6166 | 6417 |
6167 if test $ac_cv_prog_gcc = yes; then | 6418 if test $ac_cv_prog_gcc = yes; then |
6168 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 | 6419 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
6169 echo "configure:6170: checking whether ${CC-cc} needs -traditional" >&5 | 6420 echo "configure:6421: checking whether ${CC-cc} needs -traditional" >&5 |
6170 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then | 6421 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
6171 echo $ac_n "(cached) $ac_c" 1>&6 | 6422 echo $ac_n "(cached) $ac_c" 1>&6 |
6172 else | 6423 else |
6173 ac_pattern="Autoconf.*'x'" | 6424 ac_pattern="Autoconf.*'x'" |
6174 cat > conftest.$ac_ext <<EOF | 6425 cat > conftest.$ac_ext <<EOF |
6175 #line 6176 "configure" | 6426 #line 6427 "configure" |
6176 #include "confdefs.h" | 6427 #include "confdefs.h" |
6177 #include <sgtty.h> | 6428 #include <sgtty.h> |
6178 Autoconf TIOCGETP | 6429 Autoconf TIOCGETP |
6179 EOF | 6430 EOF |
6180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6188 rm -f conftest* | 6439 rm -f conftest* |
6189 | 6440 |
6190 | 6441 |
6191 if test $ac_cv_prog_gcc_traditional = no; then | 6442 if test $ac_cv_prog_gcc_traditional = no; then |
6192 cat > conftest.$ac_ext <<EOF | 6443 cat > conftest.$ac_ext <<EOF |
6193 #line 6194 "configure" | 6444 #line 6445 "configure" |
6194 #include "confdefs.h" | 6445 #include "confdefs.h" |
6195 #include <termio.h> | 6446 #include <termio.h> |
6196 Autoconf TCGETA | 6447 Autoconf TCGETA |
6197 EOF | 6448 EOF |
6198 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6449 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6210 CC="$CC -traditional" | 6461 CC="$CC -traditional" |
6211 fi | 6462 fi |
6212 fi | 6463 fi |
6213 | 6464 |
6214 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 6465 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
6215 echo "configure:6216: checking for working const" >&5 | 6466 echo "configure:6467: checking for working const" >&5 |
6216 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 6467 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
6217 echo $ac_n "(cached) $ac_c" 1>&6 | 6468 echo $ac_n "(cached) $ac_c" 1>&6 |
6218 else | 6469 else |
6219 cat > conftest.$ac_ext <<EOF | 6470 cat > conftest.$ac_ext <<EOF |
6220 #line 6221 "configure" | 6471 #line 6472 "configure" |
6221 #include "confdefs.h" | 6472 #include "confdefs.h" |
6222 | 6473 |
6223 int main() { | 6474 int main() { |
6224 | 6475 |
6225 /* Ultrix mips cc rejects this. */ | 6476 /* Ultrix mips cc rejects this. */ |
6264 const int foo = 10; | 6515 const int foo = 10; |
6265 } | 6516 } |
6266 | 6517 |
6267 ; return 0; } | 6518 ; return 0; } |
6268 EOF | 6519 EOF |
6269 if { (eval echo configure:6270: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6520 if { (eval echo configure:6521: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6270 rm -rf conftest* | 6521 rm -rf conftest* |
6271 ac_cv_c_const=yes | 6522 ac_cv_c_const=yes |
6272 else | 6523 else |
6273 echo "configure: failed program was:" >&5 | 6524 echo "configure: failed program was:" >&5 |
6274 cat conftest.$ac_ext >&5 | 6525 cat conftest.$ac_ext >&5 |
6285 EOF | 6536 EOF |
6286 | 6537 |
6287 fi | 6538 fi |
6288 | 6539 |
6289 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 6540 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
6290 echo "configure:6291: checking for mode_t" >&5 | 6541 echo "configure:6542: checking for mode_t" >&5 |
6291 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then | 6542 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then |
6292 echo $ac_n "(cached) $ac_c" 1>&6 | 6543 echo $ac_n "(cached) $ac_c" 1>&6 |
6293 else | 6544 else |
6294 cat > conftest.$ac_ext <<EOF | 6545 cat > conftest.$ac_ext <<EOF |
6295 #line 6296 "configure" | 6546 #line 6547 "configure" |
6296 #include "confdefs.h" | 6547 #include "confdefs.h" |
6297 #include <sys/types.h> | 6548 #include <sys/types.h> |
6298 #if STDC_HEADERS | 6549 #if STDC_HEADERS |
6299 #include <stdlib.h> | 6550 #include <stdlib.h> |
6300 #include <stddef.h> | 6551 #include <stddef.h> |
6318 EOF | 6569 EOF |
6319 | 6570 |
6320 fi | 6571 fi |
6321 | 6572 |
6322 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 6573 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
6323 echo "configure:6324: checking for off_t" >&5 | 6574 echo "configure:6575: checking for off_t" >&5 |
6324 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then | 6575 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
6325 echo $ac_n "(cached) $ac_c" 1>&6 | 6576 echo $ac_n "(cached) $ac_c" 1>&6 |
6326 else | 6577 else |
6327 cat > conftest.$ac_ext <<EOF | 6578 cat > conftest.$ac_ext <<EOF |
6328 #line 6329 "configure" | 6579 #line 6580 "configure" |
6329 #include "confdefs.h" | 6580 #include "confdefs.h" |
6330 #include <sys/types.h> | 6581 #include <sys/types.h> |
6331 #if STDC_HEADERS | 6582 #if STDC_HEADERS |
6332 #include <stdlib.h> | 6583 #include <stdlib.h> |
6333 #include <stddef.h> | 6584 #include <stddef.h> |
6351 EOF | 6602 EOF |
6352 | 6603 |
6353 fi | 6604 fi |
6354 | 6605 |
6355 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 6606 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
6356 echo "configure:6357: checking for pid_t" >&5 | 6607 echo "configure:6608: checking for pid_t" >&5 |
6357 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 6608 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
6358 echo $ac_n "(cached) $ac_c" 1>&6 | 6609 echo $ac_n "(cached) $ac_c" 1>&6 |
6359 else | 6610 else |
6360 cat > conftest.$ac_ext <<EOF | 6611 cat > conftest.$ac_ext <<EOF |
6361 #line 6362 "configure" | 6612 #line 6613 "configure" |
6362 #include "confdefs.h" | 6613 #include "confdefs.h" |
6363 #include <sys/types.h> | 6614 #include <sys/types.h> |
6364 #if STDC_HEADERS | 6615 #if STDC_HEADERS |
6365 #include <stdlib.h> | 6616 #include <stdlib.h> |
6366 #include <stddef.h> | 6617 #include <stddef.h> |
6384 EOF | 6635 EOF |
6385 | 6636 |
6386 fi | 6637 fi |
6387 | 6638 |
6388 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 6639 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
6389 echo "configure:6390: checking for size_t" >&5 | 6640 echo "configure:6641: checking for size_t" >&5 |
6390 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 6641 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
6391 echo $ac_n "(cached) $ac_c" 1>&6 | 6642 echo $ac_n "(cached) $ac_c" 1>&6 |
6392 else | 6643 else |
6393 cat > conftest.$ac_ext <<EOF | 6644 cat > conftest.$ac_ext <<EOF |
6394 #line 6395 "configure" | 6645 #line 6646 "configure" |
6395 #include "confdefs.h" | 6646 #include "confdefs.h" |
6396 #include <sys/types.h> | 6647 #include <sys/types.h> |
6397 #if STDC_HEADERS | 6648 #if STDC_HEADERS |
6398 #include <stdlib.h> | 6649 #include <stdlib.h> |
6399 #include <stddef.h> | 6650 #include <stddef.h> |
6417 EOF | 6668 EOF |
6418 | 6669 |
6419 fi | 6670 fi |
6420 | 6671 |
6421 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 6672 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
6422 echo "configure:6423: checking for uid_t in sys/types.h" >&5 | 6673 echo "configure:6674: checking for uid_t in sys/types.h" >&5 |
6423 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then | 6674 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
6424 echo $ac_n "(cached) $ac_c" 1>&6 | 6675 echo $ac_n "(cached) $ac_c" 1>&6 |
6425 else | 6676 else |
6426 cat > conftest.$ac_ext <<EOF | 6677 cat > conftest.$ac_ext <<EOF |
6427 #line 6428 "configure" | 6678 #line 6679 "configure" |
6428 #include "confdefs.h" | 6679 #include "confdefs.h" |
6429 #include <sys/types.h> | 6680 #include <sys/types.h> |
6430 EOF | 6681 EOF |
6431 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6432 egrep "uid_t" >/dev/null 2>&1; then | 6683 egrep "uid_t" >/dev/null 2>&1; then |
6451 EOF | 6702 EOF |
6452 | 6703 |
6453 fi | 6704 fi |
6454 | 6705 |
6455 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 6706 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
6456 echo "configure:6457: checking whether time.h and sys/time.h may both be included" >&5 | 6707 echo "configure:6708: checking whether time.h and sys/time.h may both be included" >&5 |
6457 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 6708 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
6458 echo $ac_n "(cached) $ac_c" 1>&6 | 6709 echo $ac_n "(cached) $ac_c" 1>&6 |
6459 else | 6710 else |
6460 cat > conftest.$ac_ext <<EOF | 6711 cat > conftest.$ac_ext <<EOF |
6461 #line 6462 "configure" | 6712 #line 6713 "configure" |
6462 #include "confdefs.h" | 6713 #include "confdefs.h" |
6463 #include <sys/types.h> | 6714 #include <sys/types.h> |
6464 #include <sys/time.h> | 6715 #include <sys/time.h> |
6465 #include <time.h> | 6716 #include <time.h> |
6466 int main() { | 6717 int main() { |
6467 struct tm *tp; | 6718 struct tm *tp; |
6468 ; return 0; } | 6719 ; return 0; } |
6469 EOF | 6720 EOF |
6470 if { (eval echo configure:6471: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6721 if { (eval echo configure:6722: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6471 rm -rf conftest* | 6722 rm -rf conftest* |
6472 ac_cv_header_time=yes | 6723 ac_cv_header_time=yes |
6473 else | 6724 else |
6474 echo "configure: failed program was:" >&5 | 6725 echo "configure: failed program was:" >&5 |
6475 cat conftest.$ac_ext >&5 | 6726 cat conftest.$ac_ext >&5 |
6486 EOF | 6737 EOF |
6487 | 6738 |
6488 fi | 6739 fi |
6489 | 6740 |
6490 echo $ac_n "checking for ino_t""... $ac_c" 1>&6 | 6741 echo $ac_n "checking for ino_t""... $ac_c" 1>&6 |
6491 echo "configure:6492: checking for ino_t" >&5 | 6742 echo "configure:6743: checking for ino_t" >&5 |
6492 if eval "test \"`echo '$''{'ac_cv_type_ino_t'+set}'`\" = set"; then | 6743 if eval "test \"`echo '$''{'ac_cv_type_ino_t'+set}'`\" = set"; then |
6493 echo $ac_n "(cached) $ac_c" 1>&6 | 6744 echo $ac_n "(cached) $ac_c" 1>&6 |
6494 else | 6745 else |
6495 cat > conftest.$ac_ext <<EOF | 6746 cat > conftest.$ac_ext <<EOF |
6496 #line 6497 "configure" | 6747 #line 6748 "configure" |
6497 #include "confdefs.h" | 6748 #include "confdefs.h" |
6498 #include <sys/types.h> | 6749 #include <sys/types.h> |
6499 #if STDC_HEADERS | 6750 #if STDC_HEADERS |
6500 #include <stdlib.h> | 6751 #include <stdlib.h> |
6501 #include <stddef.h> | 6752 #include <stddef.h> |
6519 EOF | 6770 EOF |
6520 | 6771 |
6521 fi | 6772 fi |
6522 | 6773 |
6523 echo $ac_n "checking for dev_t""... $ac_c" 1>&6 | 6774 echo $ac_n "checking for dev_t""... $ac_c" 1>&6 |
6524 echo "configure:6525: checking for dev_t" >&5 | 6775 echo "configure:6776: checking for dev_t" >&5 |
6525 if eval "test \"`echo '$''{'ac_cv_type_dev_t'+set}'`\" = set"; then | 6776 if eval "test \"`echo '$''{'ac_cv_type_dev_t'+set}'`\" = set"; then |
6526 echo $ac_n "(cached) $ac_c" 1>&6 | 6777 echo $ac_n "(cached) $ac_c" 1>&6 |
6527 else | 6778 else |
6528 cat > conftest.$ac_ext <<EOF | 6779 cat > conftest.$ac_ext <<EOF |
6529 #line 6530 "configure" | 6780 #line 6781 "configure" |
6530 #include "confdefs.h" | 6781 #include "confdefs.h" |
6531 #include <sys/types.h> | 6782 #include <sys/types.h> |
6532 #if STDC_HEADERS | 6783 #if STDC_HEADERS |
6533 #include <stdlib.h> | 6784 #include <stdlib.h> |
6534 #include <stddef.h> | 6785 #include <stddef.h> |
6553 | 6804 |
6554 fi | 6805 fi |
6555 | 6806 |
6556 | 6807 |
6557 echo $ac_n "checking for rlim_t""... $ac_c" 1>&6 | 6808 echo $ac_n "checking for rlim_t""... $ac_c" 1>&6 |
6558 echo "configure:6559: checking for rlim_t" >&5 | 6809 echo "configure:6810: checking for rlim_t" >&5 |
6559 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then | 6810 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then |
6560 echo "$ac_t""(cached) $ac_cv_type_rlim_t" 1>&6 | 6811 echo "$ac_t""(cached) $ac_cv_type_rlim_t" 1>&6 |
6561 else | 6812 else |
6562 cat > conftest.$ac_ext <<EOF | 6813 cat > conftest.$ac_ext <<EOF |
6563 #line 6564 "configure" | 6814 #line 6815 "configure" |
6564 #include "confdefs.h" | 6815 #include "confdefs.h" |
6565 | 6816 |
6566 #include <sys/types.h> | 6817 #include <sys/types.h> |
6567 #if STDC_HEADERS | 6818 #if STDC_HEADERS |
6568 #include <stdlib.h> | 6819 #include <stdlib.h> |
6590 #define rlim_t unsigned long | 6841 #define rlim_t unsigned long |
6591 EOF | 6842 EOF |
6592 fi | 6843 fi |
6593 | 6844 |
6594 echo $ac_n "checking for stack_t""... $ac_c" 1>&6 | 6845 echo $ac_n "checking for stack_t""... $ac_c" 1>&6 |
6595 echo "configure:6596: checking for stack_t" >&5 | 6846 echo "configure:6847: checking for stack_t" >&5 |
6596 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then | 6847 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then |
6597 echo "$ac_t""(cached) $ac_cv_type_stack_t" 1>&6 | 6848 echo "$ac_t""(cached) $ac_cv_type_stack_t" 1>&6 |
6598 else | 6849 else |
6599 cat > conftest.$ac_ext <<EOF | 6850 cat > conftest.$ac_ext <<EOF |
6600 #line 6601 "configure" | 6851 #line 6852 "configure" |
6601 #include "confdefs.h" | 6852 #include "confdefs.h" |
6602 | 6853 |
6603 #include <sys/types.h> | 6854 #include <sys/types.h> |
6604 #if STDC_HEADERS | 6855 #if STDC_HEADERS |
6605 #include <stdlib.h> | 6856 #include <stdlib.h> |
6625 #define stack_t struct sigaltstack | 6876 #define stack_t struct sigaltstack |
6626 EOF | 6877 EOF |
6627 fi | 6878 fi |
6628 | 6879 |
6629 echo $ac_n "checking whether stack_t has an ss_base field""... $ac_c" 1>&6 | 6880 echo $ac_n "checking whether stack_t has an ss_base field""... $ac_c" 1>&6 |
6630 echo "configure:6631: checking whether stack_t has an ss_base field" >&5 | 6881 echo "configure:6882: checking whether stack_t has an ss_base field" >&5 |
6631 cat > conftest.$ac_ext <<EOF | 6882 cat > conftest.$ac_ext <<EOF |
6632 #line 6633 "configure" | 6883 #line 6884 "configure" |
6633 #include "confdefs.h" | 6884 #include "confdefs.h" |
6634 | 6885 |
6635 #include <sys/types.h> | 6886 #include <sys/types.h> |
6636 #if STDC_HEADERS | 6887 #if STDC_HEADERS |
6637 #include <stdlib.h> | 6888 #include <stdlib.h> |
6642 | 6893 |
6643 int main() { | 6894 int main() { |
6644 stack_t sigstk; sigstk.ss_base = 0; | 6895 stack_t sigstk; sigstk.ss_base = 0; |
6645 ; return 0; } | 6896 ; return 0; } |
6646 EOF | 6897 EOF |
6647 if { (eval echo configure:6648: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6898 if { (eval echo configure:6899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6648 rm -rf conftest* | 6899 rm -rf conftest* |
6649 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 6900 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6650 #define HAVE_SS_BASE 1 | 6901 #define HAVE_SS_BASE 1 |
6651 EOF | 6902 EOF |
6652 | 6903 |
6658 fi | 6909 fi |
6659 rm -f conftest* | 6910 rm -f conftest* |
6660 | 6911 |
6661 olibs="$LIBS" | 6912 olibs="$LIBS" |
6662 echo $ac_n "checking --with-tlib argument""... $ac_c" 1>&6 | 6913 echo $ac_n "checking --with-tlib argument""... $ac_c" 1>&6 |
6663 echo "configure:6664: checking --with-tlib argument" >&5 | 6914 echo "configure:6915: checking --with-tlib argument" >&5 |
6664 # Check whether --with-tlib or --without-tlib was given. | 6915 # Check whether --with-tlib or --without-tlib was given. |
6665 if test "${with_tlib+set}" = set; then | 6916 if test "${with_tlib+set}" = set; then |
6666 withval="$with_tlib" | 6917 withval="$with_tlib" |
6667 : | 6918 : |
6668 fi | 6919 fi |
6676 OSF1) tlibs="ncurses curses termlib termcap";; | 6927 OSF1) tlibs="ncurses curses termlib termcap";; |
6677 *) tlibs="ncurses termlib termcap curses";; | 6928 *) tlibs="ncurses termlib termcap curses";; |
6678 esac | 6929 esac |
6679 for libname in $tlibs; do | 6930 for libname in $tlibs; do |
6680 echo $ac_n "checking for tgetent in -l${libname}""... $ac_c" 1>&6 | 6931 echo $ac_n "checking for tgetent in -l${libname}""... $ac_c" 1>&6 |
6681 echo "configure:6682: checking for tgetent in -l${libname}" >&5 | 6932 echo "configure:6933: checking for tgetent in -l${libname}" >&5 |
6682 ac_lib_var=`echo ${libname}'_'tgetent | sed 'y%./+-%__p_%'` | 6933 ac_lib_var=`echo ${libname}'_'tgetent | sed 'y%./+-%__p_%'` |
6683 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6934 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6684 echo $ac_n "(cached) $ac_c" 1>&6 | 6935 echo $ac_n "(cached) $ac_c" 1>&6 |
6685 else | 6936 else |
6686 ac_save_LIBS="$LIBS" | 6937 ac_save_LIBS="$LIBS" |
6687 LIBS="-l${libname} $LIBS" | 6938 LIBS="-l${libname} $LIBS" |
6688 cat > conftest.$ac_ext <<EOF | 6939 cat > conftest.$ac_ext <<EOF |
6689 #line 6690 "configure" | 6940 #line 6941 "configure" |
6690 #include "confdefs.h" | 6941 #include "confdefs.h" |
6691 /* Override any gcc2 internal prototype to avoid an error. */ | 6942 /* Override any gcc2 internal prototype to avoid an error. */ |
6692 /* We use char because int might match the return type of a gcc2 | 6943 /* We use char because int might match the return type of a gcc2 |
6693 builtin and then its argument prototype would still apply. */ | 6944 builtin and then its argument prototype would still apply. */ |
6694 char tgetent(); | 6945 char tgetent(); |
6695 | 6946 |
6696 int main() { | 6947 int main() { |
6697 tgetent() | 6948 tgetent() |
6698 ; return 0; } | 6949 ; return 0; } |
6699 EOF | 6950 EOF |
6700 if { (eval echo configure:6701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6951 if { (eval echo configure:6952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6701 rm -rf conftest* | 6952 rm -rf conftest* |
6702 eval "ac_cv_lib_$ac_lib_var=yes" | 6953 eval "ac_cv_lib_$ac_lib_var=yes" |
6703 else | 6954 else |
6704 echo "configure: failed program was:" >&5 | 6955 echo "configure: failed program was:" >&5 |
6705 cat conftest.$ac_ext >&5 | 6956 cat conftest.$ac_ext >&5 |
6727 if test "x$olibs" != "x$LIBS"; then | 6978 if test "x$olibs" != "x$LIBS"; then |
6728 if test "$cross_compiling" = yes; then | 6979 if test "$cross_compiling" = yes; then |
6729 res="FAIL" | 6980 res="FAIL" |
6730 else | 6981 else |
6731 cat > conftest.$ac_ext <<EOF | 6982 cat > conftest.$ac_ext <<EOF |
6732 #line 6733 "configure" | 6983 #line 6984 "configure" |
6733 #include "confdefs.h" | 6984 #include "confdefs.h" |
6734 | 6985 |
6735 #ifdef HAVE_TERMCAP_H | 6986 #ifdef HAVE_TERMCAP_H |
6736 # include <termcap.h> | 6987 # include <termcap.h> |
6737 #endif | 6988 #endif |
6738 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); } | 6989 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); } |
6739 EOF | 6990 EOF |
6740 if { (eval echo configure:6741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6991 if { (eval echo configure:6992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6741 then | 6992 then |
6742 res="OK" | 6993 res="OK" |
6743 else | 6994 else |
6744 echo "configure: failed program was:" >&5 | 6995 echo "configure: failed program was:" >&5 |
6745 cat conftest.$ac_ext >&5 | 6996 cat conftest.$ac_ext >&5 |
6757 fi | 7008 fi |
6758 done | 7009 done |
6759 fi | 7010 fi |
6760 if test "x$olibs" != "x$LIBS"; then | 7011 if test "x$olibs" != "x$LIBS"; then |
6761 echo $ac_n "checking whether we talk terminfo""... $ac_c" 1>&6 | 7012 echo $ac_n "checking whether we talk terminfo""... $ac_c" 1>&6 |
6762 echo "configure:6763: checking whether we talk terminfo" >&5 | 7013 echo "configure:7014: checking whether we talk terminfo" >&5 |
6763 if test "$cross_compiling" = yes; then | 7014 if test "$cross_compiling" = yes; then |
6764 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } | 7015 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } |
6765 else | 7016 else |
6766 cat > conftest.$ac_ext <<EOF | 7017 cat > conftest.$ac_ext <<EOF |
6767 #line 6768 "configure" | 7018 #line 7019 "configure" |
6768 #include "confdefs.h" | 7019 #include "confdefs.h" |
6769 | 7020 |
6770 #ifdef HAVE_TERMCAP_H | 7021 #ifdef HAVE_TERMCAP_H |
6771 # include <termcap.h> | 7022 # include <termcap.h> |
6772 #endif | 7023 #endif |
6773 main() | 7024 main() |
6774 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); } | 7025 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); } |
6775 EOF | 7026 EOF |
6776 if { (eval echo configure:6777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7027 if { (eval echo configure:7028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6777 then | 7028 then |
6778 echo "$ac_t""no -- we are in termcap land" 1>&6 | 7029 echo "$ac_t""no -- we are in termcap land" 1>&6 |
6779 else | 7030 else |
6780 echo "configure: failed program was:" >&5 | 7031 echo "configure: failed program was:" >&5 |
6781 cat conftest.$ac_ext >&5 | 7032 cat conftest.$ac_ext >&5 |
6792 echo "$ac_t""none found" 1>&6 | 7043 echo "$ac_t""none found" 1>&6 |
6793 fi | 7044 fi |
6794 | 7045 |
6795 if test "x$olibs" != "x$LIBS"; then | 7046 if test "x$olibs" != "x$LIBS"; then |
6796 echo $ac_n "checking what tgetent() returns for an unknown terminal""... $ac_c" 1>&6 | 7047 echo $ac_n "checking what tgetent() returns for an unknown terminal""... $ac_c" 1>&6 |
6797 echo "configure:6798: checking what tgetent() returns for an unknown terminal" >&5 | 7048 echo "configure:7049: checking what tgetent() returns for an unknown terminal" >&5 |
6798 if test "$cross_compiling" = yes; then | 7049 if test "$cross_compiling" = yes; then |
6799 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } | 7050 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } |
6800 else | 7051 else |
6801 cat > conftest.$ac_ext <<EOF | 7052 cat > conftest.$ac_ext <<EOF |
6802 #line 6803 "configure" | 7053 #line 7054 "configure" |
6803 #include "confdefs.h" | 7054 #include "confdefs.h" |
6804 | 7055 |
6805 #ifdef HAVE_TERMCAP_H | 7056 #ifdef HAVE_TERMCAP_H |
6806 # include <termcap.h> | 7057 # include <termcap.h> |
6807 #endif | 7058 #endif |
6808 main() | 7059 main() |
6809 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); } | 7060 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); } |
6810 EOF | 7061 EOF |
6811 if { (eval echo configure:6812: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7062 if { (eval echo configure:7063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6812 then | 7063 then |
6813 echo "$ac_t""zero" 1>&6; cat >> confdefs.h <<\EOF | 7064 echo "$ac_t""zero" 1>&6; cat >> confdefs.h <<\EOF |
6814 #define TGETENT_ZERO_ERR 0 | 7065 #define TGETENT_ZERO_ERR 0 |
6815 EOF | 7066 EOF |
6816 | 7067 |
6824 fi | 7075 fi |
6825 | 7076 |
6826 fi | 7077 fi |
6827 | 7078 |
6828 echo $ac_n "checking whether termcap.h contains ospeed""... $ac_c" 1>&6 | 7079 echo $ac_n "checking whether termcap.h contains ospeed""... $ac_c" 1>&6 |
6829 echo "configure:6830: checking whether termcap.h contains ospeed" >&5 | 7080 echo "configure:7081: checking whether termcap.h contains ospeed" >&5 |
6830 cat > conftest.$ac_ext <<EOF | 7081 cat > conftest.$ac_ext <<EOF |
6831 #line 6832 "configure" | 7082 #line 7083 "configure" |
6832 #include "confdefs.h" | 7083 #include "confdefs.h" |
6833 | 7084 |
6834 #ifdef HAVE_TERMCAP_H | 7085 #ifdef HAVE_TERMCAP_H |
6835 # include <termcap.h> | 7086 # include <termcap.h> |
6836 #endif | 7087 #endif |
6837 | 7088 |
6838 int main() { | 7089 int main() { |
6839 ospeed = 20000 | 7090 ospeed = 20000 |
6840 ; return 0; } | 7091 ; return 0; } |
6841 EOF | 7092 EOF |
6842 if { (eval echo configure:6843: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7093 if { (eval echo configure:7094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6843 rm -rf conftest* | 7094 rm -rf conftest* |
6844 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7095 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6845 #define HAVE_OSPEED 1 | 7096 #define HAVE_OSPEED 1 |
6846 EOF | 7097 EOF |
6847 | 7098 |
6849 echo "configure: failed program was:" >&5 | 7100 echo "configure: failed program was:" >&5 |
6850 cat conftest.$ac_ext >&5 | 7101 cat conftest.$ac_ext >&5 |
6851 rm -rf conftest* | 7102 rm -rf conftest* |
6852 echo "$ac_t""no" 1>&6 | 7103 echo "$ac_t""no" 1>&6 |
6853 echo $ac_n "checking whether ospeed can be extern""... $ac_c" 1>&6 | 7104 echo $ac_n "checking whether ospeed can be extern""... $ac_c" 1>&6 |
6854 echo "configure:6855: checking whether ospeed can be extern" >&5 | 7105 echo "configure:7106: checking whether ospeed can be extern" >&5 |
6855 cat > conftest.$ac_ext <<EOF | 7106 cat > conftest.$ac_ext <<EOF |
6856 #line 6857 "configure" | 7107 #line 7108 "configure" |
6857 #include "confdefs.h" | 7108 #include "confdefs.h" |
6858 | 7109 |
6859 #ifdef HAVE_TERMCAP_H | 7110 #ifdef HAVE_TERMCAP_H |
6860 # include <termcap.h> | 7111 # include <termcap.h> |
6861 #endif | 7112 #endif |
6863 | 7114 |
6864 int main() { | 7115 int main() { |
6865 ospeed = 20000 | 7116 ospeed = 20000 |
6866 ; return 0; } | 7117 ; return 0; } |
6867 EOF | 7118 EOF |
6868 if { (eval echo configure:6869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6869 rm -rf conftest* | 7120 rm -rf conftest* |
6870 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7121 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6871 #define OSPEED_EXTERN 1 | 7122 #define OSPEED_EXTERN 1 |
6872 EOF | 7123 EOF |
6873 | 7124 |
6881 | 7132 |
6882 fi | 7133 fi |
6883 rm -f conftest* | 7134 rm -f conftest* |
6884 | 7135 |
6885 echo $ac_n "checking whether termcap.h contains UP, BC and PC""... $ac_c" 1>&6 | 7136 echo $ac_n "checking whether termcap.h contains UP, BC and PC""... $ac_c" 1>&6 |
6886 echo "configure:6887: checking whether termcap.h contains UP, BC and PC" >&5 | 7137 echo "configure:7138: checking whether termcap.h contains UP, BC and PC" >&5 |
6887 cat > conftest.$ac_ext <<EOF | 7138 cat > conftest.$ac_ext <<EOF |
6888 #line 6889 "configure" | 7139 #line 7140 "configure" |
6889 #include "confdefs.h" | 7140 #include "confdefs.h" |
6890 | 7141 |
6891 #ifdef HAVE_TERMCAP_H | 7142 #ifdef HAVE_TERMCAP_H |
6892 # include <termcap.h> | 7143 # include <termcap.h> |
6893 #endif | 7144 #endif |
6894 | 7145 |
6895 int main() { | 7146 int main() { |
6896 if (UP == 0 && BC == 0) PC = 1 | 7147 if (UP == 0 && BC == 0) PC = 1 |
6897 ; return 0; } | 7148 ; return 0; } |
6898 EOF | 7149 EOF |
6899 if { (eval echo configure:6900: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7150 if { (eval echo configure:7151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6900 rm -rf conftest* | 7151 rm -rf conftest* |
6901 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7152 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6902 #define HAVE_UP_BC_PC 1 | 7153 #define HAVE_UP_BC_PC 1 |
6903 EOF | 7154 EOF |
6904 | 7155 |
6906 echo "configure: failed program was:" >&5 | 7157 echo "configure: failed program was:" >&5 |
6907 cat conftest.$ac_ext >&5 | 7158 cat conftest.$ac_ext >&5 |
6908 rm -rf conftest* | 7159 rm -rf conftest* |
6909 echo "$ac_t""no" 1>&6 | 7160 echo "$ac_t""no" 1>&6 |
6910 echo $ac_n "checking whether UP, BC and PC can be extern""... $ac_c" 1>&6 | 7161 echo $ac_n "checking whether UP, BC and PC can be extern""... $ac_c" 1>&6 |
6911 echo "configure:6912: checking whether UP, BC and PC can be extern" >&5 | 7162 echo "configure:7163: checking whether UP, BC and PC can be extern" >&5 |
6912 cat > conftest.$ac_ext <<EOF | 7163 cat > conftest.$ac_ext <<EOF |
6913 #line 6914 "configure" | 7164 #line 7165 "configure" |
6914 #include "confdefs.h" | 7165 #include "confdefs.h" |
6915 | 7166 |
6916 #ifdef HAVE_TERMCAP_H | 7167 #ifdef HAVE_TERMCAP_H |
6917 # include <termcap.h> | 7168 # include <termcap.h> |
6918 #endif | 7169 #endif |
6920 | 7171 |
6921 int main() { | 7172 int main() { |
6922 if (UP == 0 && BC == 0) PC = 1 | 7173 if (UP == 0 && BC == 0) PC = 1 |
6923 ; return 0; } | 7174 ; return 0; } |
6924 EOF | 7175 EOF |
6925 if { (eval echo configure:6926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7176 if { (eval echo configure:7177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6926 rm -rf conftest* | 7177 rm -rf conftest* |
6927 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7178 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6928 #define UP_BC_PC_EXTERN 1 | 7179 #define UP_BC_PC_EXTERN 1 |
6929 EOF | 7180 EOF |
6930 | 7181 |
6938 | 7189 |
6939 fi | 7190 fi |
6940 rm -f conftest* | 7191 rm -f conftest* |
6941 | 7192 |
6942 echo $ac_n "checking whether tputs() uses outfuntype""... $ac_c" 1>&6 | 7193 echo $ac_n "checking whether tputs() uses outfuntype""... $ac_c" 1>&6 |
6943 echo "configure:6944: checking whether tputs() uses outfuntype" >&5 | 7194 echo "configure:7195: checking whether tputs() uses outfuntype" >&5 |
6944 cat > conftest.$ac_ext <<EOF | 7195 cat > conftest.$ac_ext <<EOF |
6945 #line 6946 "configure" | 7196 #line 7197 "configure" |
6946 #include "confdefs.h" | 7197 #include "confdefs.h" |
6947 | 7198 |
6948 #ifdef HAVE_TERMCAP_H | 7199 #ifdef HAVE_TERMCAP_H |
6949 # include <termcap.h> | 7200 # include <termcap.h> |
6950 #endif | 7201 #endif |
6951 | 7202 |
6952 int main() { | 7203 int main() { |
6953 extern int xx(); tputs("test", 1, (outfuntype)xx) | 7204 extern int xx(); tputs("test", 1, (outfuntype)xx) |
6954 ; return 0; } | 7205 ; return 0; } |
6955 EOF | 7206 EOF |
6956 if { (eval echo configure:6957: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7207 if { (eval echo configure:7208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6957 rm -rf conftest* | 7208 rm -rf conftest* |
6958 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7209 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6959 #define HAVE_OUTFUNTYPE 1 | 7210 #define HAVE_OUTFUNTYPE 1 |
6960 EOF | 7211 EOF |
6961 | 7212 |
6966 echo "$ac_t""no" 1>&6 | 7217 echo "$ac_t""no" 1>&6 |
6967 fi | 7218 fi |
6968 rm -f conftest* | 7219 rm -f conftest* |
6969 | 7220 |
6970 echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6 | 7221 echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6 |
6971 echo "configure:6972: checking whether sys/select.h and sys/time.h may both be included" >&5 | 7222 echo "configure:7223: checking whether sys/select.h and sys/time.h may both be included" >&5 |
6972 cat > conftest.$ac_ext <<EOF | 7223 cat > conftest.$ac_ext <<EOF |
6973 #line 6974 "configure" | 7224 #line 7225 "configure" |
6974 #include "confdefs.h" | 7225 #include "confdefs.h" |
6975 | 7226 |
6976 #include <sys/types.h> | 7227 #include <sys/types.h> |
6977 #include <sys/time.h> | 7228 #include <sys/time.h> |
6978 #include <sys/select.h> | 7229 #include <sys/select.h> |
6979 int main() { | 7230 int main() { |
6980 | 7231 |
6981 ; return 0; } | 7232 ; return 0; } |
6982 EOF | 7233 EOF |
6983 if { (eval echo configure:6984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7234 if { (eval echo configure:7235: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6984 rm -rf conftest* | 7235 rm -rf conftest* |
6985 echo "$ac_t""yes" 1>&6 | 7236 echo "$ac_t""yes" 1>&6 |
6986 cat >> confdefs.h <<\EOF | 7237 cat >> confdefs.h <<\EOF |
6987 #define SYS_SELECT_WITH_SYS_TIME 1 | 7238 #define SYS_SELECT_WITH_SYS_TIME 1 |
6988 EOF | 7239 EOF |
6995 fi | 7246 fi |
6996 rm -f conftest* | 7247 rm -f conftest* |
6997 | 7248 |
6998 | 7249 |
6999 echo $ac_n "checking for /dev/ptc""... $ac_c" 1>&6 | 7250 echo $ac_n "checking for /dev/ptc""... $ac_c" 1>&6 |
7000 echo "configure:7001: checking for /dev/ptc" >&5 | 7251 echo "configure:7252: checking for /dev/ptc" >&5 |
7001 if test -r /dev/ptc; then | 7252 if test -r /dev/ptc; then |
7002 cat >> confdefs.h <<\EOF | 7253 cat >> confdefs.h <<\EOF |
7003 #define HAVE_DEV_PTC 1 | 7254 #define HAVE_DEV_PTC 1 |
7004 EOF | 7255 EOF |
7005 | 7256 |
7007 else | 7258 else |
7008 echo "$ac_t""no" 1>&6 | 7259 echo "$ac_t""no" 1>&6 |
7009 fi | 7260 fi |
7010 | 7261 |
7011 echo $ac_n "checking for SVR4 ptys""... $ac_c" 1>&6 | 7262 echo $ac_n "checking for SVR4 ptys""... $ac_c" 1>&6 |
7012 echo "configure:7013: checking for SVR4 ptys" >&5 | 7263 echo "configure:7264: checking for SVR4 ptys" >&5 |
7013 if test -c /dev/ptmx ; then | 7264 if test -c /dev/ptmx ; then |
7014 cat > conftest.$ac_ext <<EOF | 7265 cat > conftest.$ac_ext <<EOF |
7015 #line 7016 "configure" | 7266 #line 7267 "configure" |
7016 #include "confdefs.h" | 7267 #include "confdefs.h" |
7017 | 7268 |
7018 int main() { | 7269 int main() { |
7019 ptsname(0);grantpt(0);unlockpt(0); | 7270 ptsname(0);grantpt(0);unlockpt(0); |
7020 ; return 0; } | 7271 ; return 0; } |
7021 EOF | 7272 EOF |
7022 if { (eval echo configure:7023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7273 if { (eval echo configure:7274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7023 rm -rf conftest* | 7274 rm -rf conftest* |
7024 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7275 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7025 #define HAVE_SVR4_PTYS 1 | 7276 #define HAVE_SVR4_PTYS 1 |
7026 EOF | 7277 EOF |
7027 | 7278 |
7035 else | 7286 else |
7036 echo "$ac_t""no" 1>&6 | 7287 echo "$ac_t""no" 1>&6 |
7037 fi | 7288 fi |
7038 | 7289 |
7039 echo $ac_n "checking for ptyranges""... $ac_c" 1>&6 | 7290 echo $ac_n "checking for ptyranges""... $ac_c" 1>&6 |
7040 echo "configure:7041: checking for ptyranges" >&5 | 7291 echo "configure:7292: checking for ptyranges" >&5 |
7041 if test -d /dev/ptym ; then | 7292 if test -d /dev/ptym ; then |
7042 pdir='/dev/ptym' | 7293 pdir='/dev/ptym' |
7043 else | 7294 else |
7044 pdir='/dev' | 7295 pdir='/dev' |
7045 fi | 7296 fi |
7046 cat > conftest.$ac_ext <<EOF | 7297 cat > conftest.$ac_ext <<EOF |
7047 #line 7048 "configure" | 7298 #line 7299 "configure" |
7048 #include "confdefs.h" | 7299 #include "confdefs.h" |
7049 #ifdef M_UNIX | 7300 #ifdef M_UNIX |
7050 yes; | 7301 yes; |
7051 #endif | 7302 #endif |
7052 | 7303 |
7076 else | 7327 else |
7077 echo "$ac_t""don't know" 1>&6 | 7328 echo "$ac_t""don't know" 1>&6 |
7078 fi | 7329 fi |
7079 | 7330 |
7080 echo $ac_n "checking default tty permissions/group""... $ac_c" 1>&6 | 7331 echo $ac_n "checking default tty permissions/group""... $ac_c" 1>&6 |
7081 echo "configure:7082: checking default tty permissions/group" >&5 | 7332 echo "configure:7333: checking default tty permissions/group" >&5 |
7082 rm -f conftest_grp | 7333 rm -f conftest_grp |
7083 if test "$cross_compiling" = yes; then | 7334 if test "$cross_compiling" = yes; then |
7084 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7335 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7085 else | 7336 else |
7086 cat > conftest.$ac_ext <<EOF | 7337 cat > conftest.$ac_ext <<EOF |
7087 #line 7088 "configure" | 7338 #line 7339 "configure" |
7088 #include "confdefs.h" | 7339 #include "confdefs.h" |
7089 | 7340 |
7090 #include <sys/types.h> | 7341 #include <sys/types.h> |
7091 #include <sys/stat.h> | 7342 #include <sys/stat.h> |
7092 #include <stdio.h> | 7343 #include <stdio.h> |
7114 fclose(fp); | 7365 fclose(fp); |
7115 exit(0); | 7366 exit(0); |
7116 } | 7367 } |
7117 | 7368 |
7118 EOF | 7369 EOF |
7119 if { (eval echo configure:7120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7370 if { (eval echo configure:7371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7120 then | 7371 then |
7121 | 7372 |
7122 if test -f conftest_grp; then | 7373 if test -f conftest_grp; then |
7123 ptygrp=`cat conftest_grp` | 7374 ptygrp=`cat conftest_grp` |
7124 echo "$ac_t""pty mode: 0620, group: $ptygrp" 1>&6 | 7375 echo "$ac_t""pty mode: 0620, group: $ptygrp" 1>&6 |
7145 | 7396 |
7146 rm -f conftest_grp | 7397 rm -f conftest_grp |
7147 | 7398 |
7148 | 7399 |
7149 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 7400 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
7150 echo "configure:7151: checking return type of signal handlers" >&5 | 7401 echo "configure:7402: checking return type of signal handlers" >&5 |
7151 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 7402 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
7152 echo $ac_n "(cached) $ac_c" 1>&6 | 7403 echo $ac_n "(cached) $ac_c" 1>&6 |
7153 else | 7404 else |
7154 cat > conftest.$ac_ext <<EOF | 7405 cat > conftest.$ac_ext <<EOF |
7155 #line 7156 "configure" | 7406 #line 7407 "configure" |
7156 #include "confdefs.h" | 7407 #include "confdefs.h" |
7157 #include <sys/types.h> | 7408 #include <sys/types.h> |
7158 #include <signal.h> | 7409 #include <signal.h> |
7159 #ifdef signal | 7410 #ifdef signal |
7160 #undef signal | 7411 #undef signal |
7167 | 7418 |
7168 int main() { | 7419 int main() { |
7169 int i; | 7420 int i; |
7170 ; return 0; } | 7421 ; return 0; } |
7171 EOF | 7422 EOF |
7172 if { (eval echo configure:7173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7423 if { (eval echo configure:7424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7173 rm -rf conftest* | 7424 rm -rf conftest* |
7174 ac_cv_type_signal=void | 7425 ac_cv_type_signal=void |
7175 else | 7426 else |
7176 echo "configure: failed program was:" >&5 | 7427 echo "configure: failed program was:" >&5 |
7177 cat conftest.$ac_ext >&5 | 7428 cat conftest.$ac_ext >&5 |
7199 EOF | 7450 EOF |
7200 | 7451 |
7201 fi | 7452 fi |
7202 | 7453 |
7203 echo $ac_n "checking for struct sigcontext""... $ac_c" 1>&6 | 7454 echo $ac_n "checking for struct sigcontext""... $ac_c" 1>&6 |
7204 echo "configure:7205: checking for struct sigcontext" >&5 | 7455 echo "configure:7456: checking for struct sigcontext" >&5 |
7205 cat > conftest.$ac_ext <<EOF | 7456 cat > conftest.$ac_ext <<EOF |
7206 #line 7207 "configure" | 7457 #line 7458 "configure" |
7207 #include "confdefs.h" | 7458 #include "confdefs.h" |
7208 | 7459 |
7209 #include <signal.h> | 7460 #include <signal.h> |
7210 test_sig() | 7461 test_sig() |
7211 { | 7462 { |
7215 } | 7466 } |
7216 int main() { | 7467 int main() { |
7217 | 7468 |
7218 ; return 0; } | 7469 ; return 0; } |
7219 EOF | 7470 EOF |
7220 if { (eval echo configure:7221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7471 if { (eval echo configure:7472: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7221 rm -rf conftest* | 7472 rm -rf conftest* |
7222 echo "$ac_t""yes" 1>&6 | 7473 echo "$ac_t""yes" 1>&6 |
7223 cat >> confdefs.h <<\EOF | 7474 cat >> confdefs.h <<\EOF |
7224 #define HAVE_SIGCONTEXT 1 | 7475 #define HAVE_SIGCONTEXT 1 |
7225 EOF | 7476 EOF |
7231 echo "$ac_t""no" 1>&6 | 7482 echo "$ac_t""no" 1>&6 |
7232 fi | 7483 fi |
7233 rm -f conftest* | 7484 rm -f conftest* |
7234 | 7485 |
7235 echo $ac_n "checking getcwd implementation""... $ac_c" 1>&6 | 7486 echo $ac_n "checking getcwd implementation""... $ac_c" 1>&6 |
7236 echo "configure:7237: checking getcwd implementation" >&5 | 7487 echo "configure:7488: checking getcwd implementation" >&5 |
7237 if test "$cross_compiling" = yes; then | 7488 if test "$cross_compiling" = yes; then |
7238 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7489 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7239 else | 7490 else |
7240 cat > conftest.$ac_ext <<EOF | 7491 cat > conftest.$ac_ext <<EOF |
7241 #line 7242 "configure" | 7492 #line 7493 "configure" |
7242 #include "confdefs.h" | 7493 #include "confdefs.h" |
7243 | 7494 |
7244 char *dagger[] = { "IFS=pwd", 0 }; | 7495 char *dagger[] = { "IFS=pwd", 0 }; |
7245 main() | 7496 main() |
7246 { | 7497 { |
7248 extern char **environ; | 7499 extern char **environ; |
7249 environ = dagger; | 7500 environ = dagger; |
7250 return getcwd(buffer, 500) ? 0 : 1; | 7501 return getcwd(buffer, 500) ? 0 : 1; |
7251 } | 7502 } |
7252 EOF | 7503 EOF |
7253 if { (eval echo configure:7254: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7504 if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7254 then | 7505 then |
7255 echo "$ac_t""it is usable" 1>&6 | 7506 echo "$ac_t""it is usable" 1>&6 |
7256 else | 7507 else |
7257 echo "configure: failed program was:" >&5 | 7508 echo "configure: failed program was:" >&5 |
7258 cat conftest.$ac_ext >&5 | 7509 cat conftest.$ac_ext >&5 |
7273 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \ | 7524 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \ |
7274 sigvec snprintf strcasecmp strerror strftime stricmp strncasecmp \ | 7525 sigvec snprintf strcasecmp strerror strftime stricmp strncasecmp \ |
7275 strnicmp strpbrk strtol tgetent towlower towupper usleep utime utimes | 7526 strnicmp strpbrk strtol tgetent towlower towupper usleep utime utimes |
7276 do | 7527 do |
7277 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7528 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7278 echo "configure:7279: checking for $ac_func" >&5 | 7529 echo "configure:7530: checking for $ac_func" >&5 |
7279 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7530 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
7280 echo $ac_n "(cached) $ac_c" 1>&6 | 7531 echo $ac_n "(cached) $ac_c" 1>&6 |
7281 else | 7532 else |
7282 cat > conftest.$ac_ext <<EOF | 7533 cat > conftest.$ac_ext <<EOF |
7283 #line 7284 "configure" | 7534 #line 7535 "configure" |
7284 #include "confdefs.h" | 7535 #include "confdefs.h" |
7285 /* System header to define __stub macros and hopefully few prototypes, | 7536 /* System header to define __stub macros and hopefully few prototypes, |
7286 which can conflict with char $ac_func(); below. */ | 7537 which can conflict with char $ac_func(); below. */ |
7287 #include <assert.h> | 7538 #include <assert.h> |
7288 /* Override any gcc2 internal prototype to avoid an error. */ | 7539 /* Override any gcc2 internal prototype to avoid an error. */ |
7301 $ac_func(); | 7552 $ac_func(); |
7302 #endif | 7553 #endif |
7303 | 7554 |
7304 ; return 0; } | 7555 ; return 0; } |
7305 EOF | 7556 EOF |
7306 if { (eval echo configure:7307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7557 if { (eval echo configure:7558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7307 rm -rf conftest* | 7558 rm -rf conftest* |
7308 eval "ac_cv_func_$ac_func=yes" | 7559 eval "ac_cv_func_$ac_func=yes" |
7309 else | 7560 else |
7310 echo "configure: failed program was:" >&5 | 7561 echo "configure: failed program was:" >&5 |
7311 cat conftest.$ac_ext >&5 | 7562 cat conftest.$ac_ext >&5 |
7327 fi | 7578 fi |
7328 done | 7579 done |
7329 | 7580 |
7330 | 7581 |
7331 echo $ac_n "checking for st_blksize""... $ac_c" 1>&6 | 7582 echo $ac_n "checking for st_blksize""... $ac_c" 1>&6 |
7332 echo "configure:7333: checking for st_blksize" >&5 | 7583 echo "configure:7584: checking for st_blksize" >&5 |
7333 cat > conftest.$ac_ext <<EOF | 7584 cat > conftest.$ac_ext <<EOF |
7334 #line 7335 "configure" | 7585 #line 7586 "configure" |
7335 #include "confdefs.h" | 7586 #include "confdefs.h" |
7336 #include <sys/types.h> | 7587 #include <sys/types.h> |
7337 #include <sys/stat.h> | 7588 #include <sys/stat.h> |
7338 int main() { | 7589 int main() { |
7339 struct stat st; | 7590 struct stat st; |
7341 | 7592 |
7342 stat("/", &st); | 7593 stat("/", &st); |
7343 n = (int)st.st_blksize; | 7594 n = (int)st.st_blksize; |
7344 ; return 0; } | 7595 ; return 0; } |
7345 EOF | 7596 EOF |
7346 if { (eval echo configure:7347: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7597 if { (eval echo configure:7598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7347 rm -rf conftest* | 7598 rm -rf conftest* |
7348 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7599 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7349 #define HAVE_ST_BLKSIZE 1 | 7600 #define HAVE_ST_BLKSIZE 1 |
7350 EOF | 7601 EOF |
7351 | 7602 |
7356 echo "$ac_t""no" 1>&6 | 7607 echo "$ac_t""no" 1>&6 |
7357 fi | 7608 fi |
7358 rm -f conftest* | 7609 rm -f conftest* |
7359 | 7610 |
7360 echo $ac_n "checking whether stat() ignores a trailing slash""... $ac_c" 1>&6 | 7611 echo $ac_n "checking whether stat() ignores a trailing slash""... $ac_c" 1>&6 |
7361 echo "configure:7362: checking whether stat() ignores a trailing slash" >&5 | 7612 echo "configure:7613: checking whether stat() ignores a trailing slash" >&5 |
7362 if test "$cross_compiling" = yes; then | 7613 if test "$cross_compiling" = yes; then |
7363 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7614 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7364 else | 7615 else |
7365 cat > conftest.$ac_ext <<EOF | 7616 cat > conftest.$ac_ext <<EOF |
7366 #line 7367 "configure" | 7617 #line 7618 "configure" |
7367 #include "confdefs.h" | 7618 #include "confdefs.h" |
7368 #include <sys/types.h> | 7619 #include <sys/types.h> |
7369 #include <sys/stat.h> | 7620 #include <sys/stat.h> |
7370 main() {struct stat st; exit(stat("configure/", &st) != 0); } | 7621 main() {struct stat st; exit(stat("configure/", &st) != 0); } |
7371 EOF | 7622 EOF |
7372 if { (eval echo configure:7373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7623 if { (eval echo configure:7624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7373 then | 7624 then |
7374 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7625 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7375 #define STAT_IGNORES_SLASH 1 | 7626 #define STAT_IGNORES_SLASH 1 |
7376 EOF | 7627 EOF |
7377 | 7628 |
7384 rm -fr conftest* | 7635 rm -fr conftest* |
7385 fi | 7636 fi |
7386 | 7637 |
7387 | 7638 |
7388 echo $ac_n "checking for iconv_open()""... $ac_c" 1>&6 | 7639 echo $ac_n "checking for iconv_open()""... $ac_c" 1>&6 |
7389 echo "configure:7390: checking for iconv_open()" >&5 | 7640 echo "configure:7641: checking for iconv_open()" >&5 |
7390 save_LIBS="$LIBS" | 7641 save_LIBS="$LIBS" |
7391 LIBS="$LIBS -liconv" | 7642 LIBS="$LIBS -liconv" |
7392 cat > conftest.$ac_ext <<EOF | 7643 cat > conftest.$ac_ext <<EOF |
7393 #line 7394 "configure" | 7644 #line 7645 "configure" |
7394 #include "confdefs.h" | 7645 #include "confdefs.h" |
7395 | 7646 |
7396 #ifdef HAVE_ICONV_H | 7647 #ifdef HAVE_ICONV_H |
7397 # include <iconv.h> | 7648 # include <iconv.h> |
7398 #endif | 7649 #endif |
7399 | 7650 |
7400 int main() { | 7651 int main() { |
7401 iconv_open("fr", "to"); | 7652 iconv_open("fr", "to"); |
7402 ; return 0; } | 7653 ; return 0; } |
7403 EOF | 7654 EOF |
7404 if { (eval echo configure:7405: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7655 if { (eval echo configure:7656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7405 rm -rf conftest* | 7656 rm -rf conftest* |
7406 echo "$ac_t""yes; with -liconv" 1>&6; cat >> confdefs.h <<\EOF | 7657 echo "$ac_t""yes; with -liconv" 1>&6; cat >> confdefs.h <<\EOF |
7407 #define HAVE_ICONV 1 | 7658 #define HAVE_ICONV 1 |
7408 EOF | 7659 EOF |
7409 | 7660 |
7411 echo "configure: failed program was:" >&5 | 7662 echo "configure: failed program was:" >&5 |
7412 cat conftest.$ac_ext >&5 | 7663 cat conftest.$ac_ext >&5 |
7413 rm -rf conftest* | 7664 rm -rf conftest* |
7414 LIBS="$save_LIBS" | 7665 LIBS="$save_LIBS" |
7415 cat > conftest.$ac_ext <<EOF | 7666 cat > conftest.$ac_ext <<EOF |
7416 #line 7417 "configure" | 7667 #line 7668 "configure" |
7417 #include "confdefs.h" | 7668 #include "confdefs.h" |
7418 | 7669 |
7419 #ifdef HAVE_ICONV_H | 7670 #ifdef HAVE_ICONV_H |
7420 # include <iconv.h> | 7671 # include <iconv.h> |
7421 #endif | 7672 #endif |
7422 | 7673 |
7423 int main() { | 7674 int main() { |
7424 iconv_open("fr", "to"); | 7675 iconv_open("fr", "to"); |
7425 ; return 0; } | 7676 ; return 0; } |
7426 EOF | 7677 EOF |
7427 if { (eval echo configure:7428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7678 if { (eval echo configure:7679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7428 rm -rf conftest* | 7679 rm -rf conftest* |
7429 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7680 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7430 #define HAVE_ICONV 1 | 7681 #define HAVE_ICONV 1 |
7431 EOF | 7682 EOF |
7432 | 7683 |
7440 fi | 7691 fi |
7441 rm -f conftest* | 7692 rm -f conftest* |
7442 | 7693 |
7443 | 7694 |
7444 echo $ac_n "checking for nl_langinfo(CODESET)""... $ac_c" 1>&6 | 7695 echo $ac_n "checking for nl_langinfo(CODESET)""... $ac_c" 1>&6 |
7445 echo "configure:7446: checking for nl_langinfo(CODESET)" >&5 | 7696 echo "configure:7697: checking for nl_langinfo(CODESET)" >&5 |
7446 cat > conftest.$ac_ext <<EOF | 7697 cat > conftest.$ac_ext <<EOF |
7447 #line 7448 "configure" | 7698 #line 7699 "configure" |
7448 #include "confdefs.h" | 7699 #include "confdefs.h" |
7449 | 7700 |
7450 #ifdef HAVE_LANGINFO_H | 7701 #ifdef HAVE_LANGINFO_H |
7451 # include <langinfo.h> | 7702 # include <langinfo.h> |
7452 #endif | 7703 #endif |
7453 | 7704 |
7454 int main() { | 7705 int main() { |
7455 char *cs = nl_langinfo(CODESET); | 7706 char *cs = nl_langinfo(CODESET); |
7456 ; return 0; } | 7707 ; return 0; } |
7457 EOF | 7708 EOF |
7458 if { (eval echo configure:7459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7709 if { (eval echo configure:7710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7459 rm -rf conftest* | 7710 rm -rf conftest* |
7460 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7711 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7461 #define HAVE_NL_LANGINFO_CODESET 1 | 7712 #define HAVE_NL_LANGINFO_CODESET 1 |
7462 EOF | 7713 EOF |
7463 | 7714 |
7468 echo "$ac_t""no" 1>&6 | 7719 echo "$ac_t""no" 1>&6 |
7469 fi | 7720 fi |
7470 rm -f conftest* | 7721 rm -f conftest* |
7471 | 7722 |
7472 echo $ac_n "checking --disable-acl argument""... $ac_c" 1>&6 | 7723 echo $ac_n "checking --disable-acl argument""... $ac_c" 1>&6 |
7473 echo "configure:7474: checking --disable-acl argument" >&5 | 7724 echo "configure:7725: checking --disable-acl argument" >&5 |
7474 # Check whether --enable-acl or --disable-acl was given. | 7725 # Check whether --enable-acl or --disable-acl was given. |
7475 if test "${enable_acl+set}" = set; then | 7726 if test "${enable_acl+set}" = set; then |
7476 enableval="$enable_acl" | 7727 enableval="$enable_acl" |
7477 : | 7728 : |
7478 else | 7729 else |
7480 fi | 7731 fi |
7481 | 7732 |
7482 if test "$enable_acl" = "yes"; then | 7733 if test "$enable_acl" = "yes"; then |
7483 echo "$ac_t""no" 1>&6 | 7734 echo "$ac_t""no" 1>&6 |
7484 echo $ac_n "checking for acl_get_file in -lposix1e""... $ac_c" 1>&6 | 7735 echo $ac_n "checking for acl_get_file in -lposix1e""... $ac_c" 1>&6 |
7485 echo "configure:7486: checking for acl_get_file in -lposix1e" >&5 | 7736 echo "configure:7737: checking for acl_get_file in -lposix1e" >&5 |
7486 ac_lib_var=`echo posix1e'_'acl_get_file | sed 'y%./+-%__p_%'` | 7737 ac_lib_var=`echo posix1e'_'acl_get_file | sed 'y%./+-%__p_%'` |
7487 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7738 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7488 echo $ac_n "(cached) $ac_c" 1>&6 | 7739 echo $ac_n "(cached) $ac_c" 1>&6 |
7489 else | 7740 else |
7490 ac_save_LIBS="$LIBS" | 7741 ac_save_LIBS="$LIBS" |
7491 LIBS="-lposix1e $LIBS" | 7742 LIBS="-lposix1e $LIBS" |
7492 cat > conftest.$ac_ext <<EOF | 7743 cat > conftest.$ac_ext <<EOF |
7493 #line 7494 "configure" | 7744 #line 7745 "configure" |
7494 #include "confdefs.h" | 7745 #include "confdefs.h" |
7495 /* Override any gcc2 internal prototype to avoid an error. */ | 7746 /* Override any gcc2 internal prototype to avoid an error. */ |
7496 /* We use char because int might match the return type of a gcc2 | 7747 /* We use char because int might match the return type of a gcc2 |
7497 builtin and then its argument prototype would still apply. */ | 7748 builtin and then its argument prototype would still apply. */ |
7498 char acl_get_file(); | 7749 char acl_get_file(); |
7499 | 7750 |
7500 int main() { | 7751 int main() { |
7501 acl_get_file() | 7752 acl_get_file() |
7502 ; return 0; } | 7753 ; return 0; } |
7503 EOF | 7754 EOF |
7504 if { (eval echo configure:7505: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7755 if { (eval echo configure:7756: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7505 rm -rf conftest* | 7756 rm -rf conftest* |
7506 eval "ac_cv_lib_$ac_lib_var=yes" | 7757 eval "ac_cv_lib_$ac_lib_var=yes" |
7507 else | 7758 else |
7508 echo "configure: failed program was:" >&5 | 7759 echo "configure: failed program was:" >&5 |
7509 cat conftest.$ac_ext >&5 | 7760 cat conftest.$ac_ext >&5 |
7518 echo "$ac_t""yes" 1>&6 | 7769 echo "$ac_t""yes" 1>&6 |
7519 LIBS="$LIBS -lposix1e" | 7770 LIBS="$LIBS -lposix1e" |
7520 else | 7771 else |
7521 echo "$ac_t""no" 1>&6 | 7772 echo "$ac_t""no" 1>&6 |
7522 echo $ac_n "checking for acl_get_file in -lacl""... $ac_c" 1>&6 | 7773 echo $ac_n "checking for acl_get_file in -lacl""... $ac_c" 1>&6 |
7523 echo "configure:7524: checking for acl_get_file in -lacl" >&5 | 7774 echo "configure:7775: checking for acl_get_file in -lacl" >&5 |
7524 ac_lib_var=`echo acl'_'acl_get_file | sed 'y%./+-%__p_%'` | 7775 ac_lib_var=`echo acl'_'acl_get_file | sed 'y%./+-%__p_%'` |
7525 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7776 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7526 echo $ac_n "(cached) $ac_c" 1>&6 | 7777 echo $ac_n "(cached) $ac_c" 1>&6 |
7527 else | 7778 else |
7528 ac_save_LIBS="$LIBS" | 7779 ac_save_LIBS="$LIBS" |
7529 LIBS="-lacl $LIBS" | 7780 LIBS="-lacl $LIBS" |
7530 cat > conftest.$ac_ext <<EOF | 7781 cat > conftest.$ac_ext <<EOF |
7531 #line 7532 "configure" | 7782 #line 7783 "configure" |
7532 #include "confdefs.h" | 7783 #include "confdefs.h" |
7533 /* Override any gcc2 internal prototype to avoid an error. */ | 7784 /* Override any gcc2 internal prototype to avoid an error. */ |
7534 /* We use char because int might match the return type of a gcc2 | 7785 /* We use char because int might match the return type of a gcc2 |
7535 builtin and then its argument prototype would still apply. */ | 7786 builtin and then its argument prototype would still apply. */ |
7536 char acl_get_file(); | 7787 char acl_get_file(); |
7537 | 7788 |
7538 int main() { | 7789 int main() { |
7539 acl_get_file() | 7790 acl_get_file() |
7540 ; return 0; } | 7791 ; return 0; } |
7541 EOF | 7792 EOF |
7542 if { (eval echo configure:7543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7793 if { (eval echo configure:7794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7543 rm -rf conftest* | 7794 rm -rf conftest* |
7544 eval "ac_cv_lib_$ac_lib_var=yes" | 7795 eval "ac_cv_lib_$ac_lib_var=yes" |
7545 else | 7796 else |
7546 echo "configure: failed program was:" >&5 | 7797 echo "configure: failed program was:" >&5 |
7547 cat conftest.$ac_ext >&5 | 7798 cat conftest.$ac_ext >&5 |
7554 fi | 7805 fi |
7555 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 7806 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
7556 echo "$ac_t""yes" 1>&6 | 7807 echo "$ac_t""yes" 1>&6 |
7557 LIBS="$LIBS -lacl" | 7808 LIBS="$LIBS -lacl" |
7558 echo $ac_n "checking for fgetxattr in -lattr""... $ac_c" 1>&6 | 7809 echo $ac_n "checking for fgetxattr in -lattr""... $ac_c" 1>&6 |
7559 echo "configure:7560: checking for fgetxattr in -lattr" >&5 | 7810 echo "configure:7811: checking for fgetxattr in -lattr" >&5 |
7560 ac_lib_var=`echo attr'_'fgetxattr | sed 'y%./+-%__p_%'` | 7811 ac_lib_var=`echo attr'_'fgetxattr | sed 'y%./+-%__p_%'` |
7561 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7812 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7562 echo $ac_n "(cached) $ac_c" 1>&6 | 7813 echo $ac_n "(cached) $ac_c" 1>&6 |
7563 else | 7814 else |
7564 ac_save_LIBS="$LIBS" | 7815 ac_save_LIBS="$LIBS" |
7565 LIBS="-lattr $LIBS" | 7816 LIBS="-lattr $LIBS" |
7566 cat > conftest.$ac_ext <<EOF | 7817 cat > conftest.$ac_ext <<EOF |
7567 #line 7568 "configure" | 7818 #line 7819 "configure" |
7568 #include "confdefs.h" | 7819 #include "confdefs.h" |
7569 /* Override any gcc2 internal prototype to avoid an error. */ | 7820 /* Override any gcc2 internal prototype to avoid an error. */ |
7570 /* We use char because int might match the return type of a gcc2 | 7821 /* We use char because int might match the return type of a gcc2 |
7571 builtin and then its argument prototype would still apply. */ | 7822 builtin and then its argument prototype would still apply. */ |
7572 char fgetxattr(); | 7823 char fgetxattr(); |
7573 | 7824 |
7574 int main() { | 7825 int main() { |
7575 fgetxattr() | 7826 fgetxattr() |
7576 ; return 0; } | 7827 ; return 0; } |
7577 EOF | 7828 EOF |
7578 if { (eval echo configure:7579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7829 if { (eval echo configure:7830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7579 rm -rf conftest* | 7830 rm -rf conftest* |
7580 eval "ac_cv_lib_$ac_lib_var=yes" | 7831 eval "ac_cv_lib_$ac_lib_var=yes" |
7581 else | 7832 else |
7582 echo "configure: failed program was:" >&5 | 7833 echo "configure: failed program was:" >&5 |
7583 cat conftest.$ac_ext >&5 | 7834 cat conftest.$ac_ext >&5 |
7601 | 7852 |
7602 fi | 7853 fi |
7603 | 7854 |
7604 | 7855 |
7605 echo $ac_n "checking for POSIX ACL support""... $ac_c" 1>&6 | 7856 echo $ac_n "checking for POSIX ACL support""... $ac_c" 1>&6 |
7606 echo "configure:7607: checking for POSIX ACL support" >&5 | 7857 echo "configure:7858: checking for POSIX ACL support" >&5 |
7607 cat > conftest.$ac_ext <<EOF | 7858 cat > conftest.$ac_ext <<EOF |
7608 #line 7609 "configure" | 7859 #line 7860 "configure" |
7609 #include "confdefs.h" | 7860 #include "confdefs.h" |
7610 | 7861 |
7611 #include <sys/types.h> | 7862 #include <sys/types.h> |
7612 #ifdef HAVE_SYS_ACL_H | 7863 #ifdef HAVE_SYS_ACL_H |
7613 # include <sys/acl.h> | 7864 # include <sys/acl.h> |
7617 acl = acl_get_file("foo", ACL_TYPE_ACCESS); | 7868 acl = acl_get_file("foo", ACL_TYPE_ACCESS); |
7618 acl_set_file("foo", ACL_TYPE_ACCESS, acl); | 7869 acl_set_file("foo", ACL_TYPE_ACCESS, acl); |
7619 acl_free(acl); | 7870 acl_free(acl); |
7620 ; return 0; } | 7871 ; return 0; } |
7621 EOF | 7872 EOF |
7622 if { (eval echo configure:7623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7873 if { (eval echo configure:7874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7623 rm -rf conftest* | 7874 rm -rf conftest* |
7624 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7875 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7625 #define HAVE_POSIX_ACL 1 | 7876 #define HAVE_POSIX_ACL 1 |
7626 EOF | 7877 EOF |
7627 | 7878 |
7632 echo "$ac_t""no" 1>&6 | 7883 echo "$ac_t""no" 1>&6 |
7633 fi | 7884 fi |
7634 rm -f conftest* | 7885 rm -f conftest* |
7635 | 7886 |
7636 echo $ac_n "checking for Solaris ACL support""... $ac_c" 1>&6 | 7887 echo $ac_n "checking for Solaris ACL support""... $ac_c" 1>&6 |
7637 echo "configure:7638: checking for Solaris ACL support" >&5 | 7888 echo "configure:7889: checking for Solaris ACL support" >&5 |
7638 cat > conftest.$ac_ext <<EOF | 7889 cat > conftest.$ac_ext <<EOF |
7639 #line 7640 "configure" | 7890 #line 7891 "configure" |
7640 #include "confdefs.h" | 7891 #include "confdefs.h" |
7641 | 7892 |
7642 #ifdef HAVE_SYS_ACL_H | 7893 #ifdef HAVE_SYS_ACL_H |
7643 # include <sys/acl.h> | 7894 # include <sys/acl.h> |
7644 #endif | 7895 #endif |
7645 int main() { | 7896 int main() { |
7646 acl("foo", GETACLCNT, 0, NULL); | 7897 acl("foo", GETACLCNT, 0, NULL); |
7647 | 7898 |
7648 ; return 0; } | 7899 ; return 0; } |
7649 EOF | 7900 EOF |
7650 if { (eval echo configure:7651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7901 if { (eval echo configure:7902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7651 rm -rf conftest* | 7902 rm -rf conftest* |
7652 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7903 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7653 #define HAVE_SOLARIS_ACL 1 | 7904 #define HAVE_SOLARIS_ACL 1 |
7654 EOF | 7905 EOF |
7655 | 7906 |
7660 echo "$ac_t""no" 1>&6 | 7911 echo "$ac_t""no" 1>&6 |
7661 fi | 7912 fi |
7662 rm -f conftest* | 7913 rm -f conftest* |
7663 | 7914 |
7664 echo $ac_n "checking for AIX ACL support""... $ac_c" 1>&6 | 7915 echo $ac_n "checking for AIX ACL support""... $ac_c" 1>&6 |
7665 echo "configure:7666: checking for AIX ACL support" >&5 | 7916 echo "configure:7917: checking for AIX ACL support" >&5 |
7666 cat > conftest.$ac_ext <<EOF | 7917 cat > conftest.$ac_ext <<EOF |
7667 #line 7668 "configure" | 7918 #line 7919 "configure" |
7668 #include "confdefs.h" | 7919 #include "confdefs.h" |
7669 | 7920 |
7670 #ifdef HAVE_SYS_ACL_H | 7921 #ifdef HAVE_SYS_ACL_H |
7671 # include <sys/acl.h> | 7922 # include <sys/acl.h> |
7672 #endif | 7923 #endif |
7684 aclent = (void *)malloc(aclsize); | 7935 aclent = (void *)malloc(aclsize); |
7685 statacl("foo", STX_NORMAL, aclent, aclsize); | 7936 statacl("foo", STX_NORMAL, aclent, aclsize); |
7686 | 7937 |
7687 ; return 0; } | 7938 ; return 0; } |
7688 EOF | 7939 EOF |
7689 if { (eval echo configure:7690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7940 if { (eval echo configure:7941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7690 rm -rf conftest* | 7941 rm -rf conftest* |
7691 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7942 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7692 #define HAVE_AIX_ACL 1 | 7943 #define HAVE_AIX_ACL 1 |
7693 EOF | 7944 EOF |
7694 | 7945 |
7702 else | 7953 else |
7703 echo "$ac_t""yes" 1>&6 | 7954 echo "$ac_t""yes" 1>&6 |
7704 fi | 7955 fi |
7705 | 7956 |
7706 echo $ac_n "checking --disable-gpm argument""... $ac_c" 1>&6 | 7957 echo $ac_n "checking --disable-gpm argument""... $ac_c" 1>&6 |
7707 echo "configure:7708: checking --disable-gpm argument" >&5 | 7958 echo "configure:7959: checking --disable-gpm argument" >&5 |
7708 # Check whether --enable-gpm or --disable-gpm was given. | 7959 # Check whether --enable-gpm or --disable-gpm was given. |
7709 if test "${enable_gpm+set}" = set; then | 7960 if test "${enable_gpm+set}" = set; then |
7710 enableval="$enable_gpm" | 7961 enableval="$enable_gpm" |
7711 : | 7962 : |
7712 else | 7963 else |
7715 | 7966 |
7716 | 7967 |
7717 if test "$enable_gpm" = "yes"; then | 7968 if test "$enable_gpm" = "yes"; then |
7718 echo "$ac_t""no" 1>&6 | 7969 echo "$ac_t""no" 1>&6 |
7719 echo $ac_n "checking for gpm""... $ac_c" 1>&6 | 7970 echo $ac_n "checking for gpm""... $ac_c" 1>&6 |
7720 echo "configure:7721: checking for gpm" >&5 | 7971 echo "configure:7972: checking for gpm" >&5 |
7721 if eval "test \"`echo '$''{'vi_cv_have_gpm'+set}'`\" = set"; then | 7972 if eval "test \"`echo '$''{'vi_cv_have_gpm'+set}'`\" = set"; then |
7722 echo $ac_n "(cached) $ac_c" 1>&6 | 7973 echo $ac_n "(cached) $ac_c" 1>&6 |
7723 else | 7974 else |
7724 olibs="$LIBS" ; LIBS="-lgpm" | 7975 olibs="$LIBS" ; LIBS="-lgpm" |
7725 cat > conftest.$ac_ext <<EOF | 7976 cat > conftest.$ac_ext <<EOF |
7726 #line 7727 "configure" | 7977 #line 7978 "configure" |
7727 #include "confdefs.h" | 7978 #include "confdefs.h" |
7728 #include <gpm.h> | 7979 #include <gpm.h> |
7729 #include <linux/keyboard.h> | 7980 #include <linux/keyboard.h> |
7730 int main() { | 7981 int main() { |
7731 Gpm_GetLibVersion(NULL); | 7982 Gpm_GetLibVersion(NULL); |
7732 ; return 0; } | 7983 ; return 0; } |
7733 EOF | 7984 EOF |
7734 if { (eval echo configure:7735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7985 if { (eval echo configure:7986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7735 rm -rf conftest* | 7986 rm -rf conftest* |
7736 vi_cv_have_gpm=yes | 7987 vi_cv_have_gpm=yes |
7737 else | 7988 else |
7738 echo "configure: failed program was:" >&5 | 7989 echo "configure: failed program was:" >&5 |
7739 cat conftest.$ac_ext >&5 | 7990 cat conftest.$ac_ext >&5 |
7756 else | 8007 else |
7757 echo "$ac_t""yes" 1>&6 | 8008 echo "$ac_t""yes" 1>&6 |
7758 fi | 8009 fi |
7759 | 8010 |
7760 echo $ac_n "checking for vsnprintf()""... $ac_c" 1>&6 | 8011 echo $ac_n "checking for vsnprintf()""... $ac_c" 1>&6 |
7761 echo "configure:7762: checking for vsnprintf()" >&5 | 8012 echo "configure:8013: checking for vsnprintf()" >&5 |
7762 if test "$cross_compiling" = yes; then | 8013 if test "$cross_compiling" = yes; then |
7763 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 8014 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7764 else | 8015 else |
7765 cat > conftest.$ac_ext <<EOF | 8016 cat > conftest.$ac_ext <<EOF |
7766 #line 7767 "configure" | 8017 #line 8018 "configure" |
7767 #include "confdefs.h" | 8018 #include "confdefs.h" |
7768 | 8019 |
7769 #include <stdio.h> | 8020 #include <stdio.h> |
7770 #include <stdarg.h> | 8021 #include <stdarg.h> |
7771 /* Check use of vsnprintf() */ | 8022 /* Check use of vsnprintf() */ |
7782 warn("testing %s\n", "a very long string that won't fit"); | 8033 warn("testing %s\n", "a very long string that won't fit"); |
7783 exit(0); | 8034 exit(0); |
7784 } | 8035 } |
7785 | 8036 |
7786 EOF | 8037 EOF |
7787 if { (eval echo configure:7788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8038 if { (eval echo configure:8039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7788 then | 8039 then |
7789 cat >> confdefs.h <<\EOF | 8040 cat >> confdefs.h <<\EOF |
7790 #define HAVE_VSNPRINTF 1 | 8041 #define HAVE_VSNPRINTF 1 |
7791 EOF | 8042 EOF |
7792 echo "$ac_t""yes" 1>&6 | 8043 echo "$ac_t""yes" 1>&6 |
7800 fi | 8051 fi |
7801 | 8052 |
7802 | 8053 |
7803 | 8054 |
7804 echo $ac_n "checking for rename""... $ac_c" 1>&6 | 8055 echo $ac_n "checking for rename""... $ac_c" 1>&6 |
7805 echo "configure:7806: checking for rename" >&5 | 8056 echo "configure:8057: checking for rename" >&5 |
7806 cat > conftest.$ac_ext <<EOF | 8057 cat > conftest.$ac_ext <<EOF |
7807 #line 7808 "configure" | 8058 #line 8059 "configure" |
7808 #include "confdefs.h" | 8059 #include "confdefs.h" |
7809 #include <stdio.h> | 8060 #include <stdio.h> |
7810 int main() { | 8061 int main() { |
7811 rename("this", "that") | 8062 rename("this", "that") |
7812 ; return 0; } | 8063 ; return 0; } |
7813 EOF | 8064 EOF |
7814 if { (eval echo configure:7815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8065 if { (eval echo configure:8066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7815 rm -rf conftest* | 8066 rm -rf conftest* |
7816 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 8067 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7817 #define HAVE_RENAME 1 | 8068 #define HAVE_RENAME 1 |
7818 EOF | 8069 EOF |
7819 | 8070 |
7824 echo "$ac_t""no" 1>&6 | 8075 echo "$ac_t""no" 1>&6 |
7825 fi | 8076 fi |
7826 rm -f conftest* | 8077 rm -f conftest* |
7827 | 8078 |
7828 echo $ac_n "checking for sysctl""... $ac_c" 1>&6 | 8079 echo $ac_n "checking for sysctl""... $ac_c" 1>&6 |
7829 echo "configure:7830: checking for sysctl" >&5 | 8080 echo "configure:8081: checking for sysctl" >&5 |
7830 cat > conftest.$ac_ext <<EOF | 8081 cat > conftest.$ac_ext <<EOF |
7831 #line 7832 "configure" | 8082 #line 8083 "configure" |
7832 #include "confdefs.h" | 8083 #include "confdefs.h" |
7833 #include <sys/types.h> | 8084 #include <sys/types.h> |
7834 #include <sys/sysctl.h> | 8085 #include <sys/sysctl.h> |
7835 int main() { | 8086 int main() { |
7836 int mib[2], r; | 8087 int mib[2], r; |
7841 len = sizeof(r); | 8092 len = sizeof(r); |
7842 (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0); | 8093 (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0); |
7843 | 8094 |
7844 ; return 0; } | 8095 ; return 0; } |
7845 EOF | 8096 EOF |
7846 if { (eval echo configure:7847: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8097 if { (eval echo configure:8098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7847 rm -rf conftest* | 8098 rm -rf conftest* |
7848 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 8099 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7849 #define HAVE_SYSCTL 1 | 8100 #define HAVE_SYSCTL 1 |
7850 EOF | 8101 EOF |
7851 | 8102 |
7856 echo "$ac_t""not usable" 1>&6 | 8107 echo "$ac_t""not usable" 1>&6 |
7857 fi | 8108 fi |
7858 rm -f conftest* | 8109 rm -f conftest* |
7859 | 8110 |
7860 echo $ac_n "checking for sysinfo""... $ac_c" 1>&6 | 8111 echo $ac_n "checking for sysinfo""... $ac_c" 1>&6 |
7861 echo "configure:7862: checking for sysinfo" >&5 | 8112 echo "configure:8113: checking for sysinfo" >&5 |
7862 cat > conftest.$ac_ext <<EOF | 8113 cat > conftest.$ac_ext <<EOF |
7863 #line 7864 "configure" | 8114 #line 8115 "configure" |
7864 #include "confdefs.h" | 8115 #include "confdefs.h" |
7865 #include <sys/types.h> | 8116 #include <sys/types.h> |
7866 #include <sys/sysinfo.h> | 8117 #include <sys/sysinfo.h> |
7867 int main() { | 8118 int main() { |
7868 struct sysinfo sinfo; | 8119 struct sysinfo sinfo; |
7871 (void)sysinfo(&sinfo); | 8122 (void)sysinfo(&sinfo); |
7872 t = sinfo.totalram; | 8123 t = sinfo.totalram; |
7873 | 8124 |
7874 ; return 0; } | 8125 ; return 0; } |
7875 EOF | 8126 EOF |
7876 if { (eval echo configure:7877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8127 if { (eval echo configure:8128: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7877 rm -rf conftest* | 8128 rm -rf conftest* |
7878 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 8129 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7879 #define HAVE_SYSINFO 1 | 8130 #define HAVE_SYSINFO 1 |
7880 EOF | 8131 EOF |
7881 | 8132 |
7886 echo "$ac_t""not usable" 1>&6 | 8137 echo "$ac_t""not usable" 1>&6 |
7887 fi | 8138 fi |
7888 rm -f conftest* | 8139 rm -f conftest* |
7889 | 8140 |
7890 echo $ac_n "checking for sysconf""... $ac_c" 1>&6 | 8141 echo $ac_n "checking for sysconf""... $ac_c" 1>&6 |
7891 echo "configure:7892: checking for sysconf" >&5 | 8142 echo "configure:8143: checking for sysconf" >&5 |
7892 cat > conftest.$ac_ext <<EOF | 8143 cat > conftest.$ac_ext <<EOF |
7893 #line 7894 "configure" | 8144 #line 8145 "configure" |
7894 #include "confdefs.h" | 8145 #include "confdefs.h" |
7895 #include <unistd.h> | 8146 #include <unistd.h> |
7896 int main() { | 8147 int main() { |
7897 (void)sysconf(_SC_PAGESIZE); | 8148 (void)sysconf(_SC_PAGESIZE); |
7898 (void)sysconf(_SC_PHYS_PAGES); | 8149 (void)sysconf(_SC_PHYS_PAGES); |
7899 | 8150 |
7900 ; return 0; } | 8151 ; return 0; } |
7901 EOF | 8152 EOF |
7902 if { (eval echo configure:7903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8153 if { (eval echo configure:8154: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7903 rm -rf conftest* | 8154 rm -rf conftest* |
7904 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 8155 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7905 #define HAVE_SYSCONF 1 | 8156 #define HAVE_SYSCONF 1 |
7906 EOF | 8157 EOF |
7907 | 8158 |
7913 fi | 8164 fi |
7914 rm -f conftest* | 8165 rm -f conftest* |
7915 | 8166 |
7916 | 8167 |
7917 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 8168 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
7918 echo "configure:7919: checking size of int" >&5 | 8169 echo "configure:8170: checking size of int" >&5 |
7919 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 8170 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
7920 echo $ac_n "(cached) $ac_c" 1>&6 | 8171 echo $ac_n "(cached) $ac_c" 1>&6 |
7921 else | 8172 else |
7922 if test "$cross_compiling" = yes; then | 8173 if test "$cross_compiling" = yes; then |
7923 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 8174 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7924 else | 8175 else |
7925 cat > conftest.$ac_ext <<EOF | 8176 cat > conftest.$ac_ext <<EOF |
7926 #line 7927 "configure" | 8177 #line 8178 "configure" |
7927 #include "confdefs.h" | 8178 #include "confdefs.h" |
7928 #include <stdio.h> | 8179 #include <stdio.h> |
7929 main() | 8180 main() |
7930 { | 8181 { |
7931 FILE *f=fopen("conftestval", "w"); | 8182 FILE *f=fopen("conftestval", "w"); |
7932 if (!f) exit(1); | 8183 if (!f) exit(1); |
7933 fprintf(f, "%d\n", (int)sizeof(int)); | 8184 fprintf(f, "%d\n", (int)sizeof(int)); |
7934 exit(0); | 8185 exit(0); |
7935 } | 8186 } |
7936 EOF | 8187 EOF |
7937 if { (eval echo configure:7938: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8188 if { (eval echo configure:8189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7938 then | 8189 then |
7939 ac_cv_sizeof_int=`cat conftestval` | 8190 ac_cv_sizeof_int=`cat conftestval` |
7940 else | 8191 else |
7941 echo "configure: failed program was:" >&5 | 8192 echo "configure: failed program was:" >&5 |
7942 cat conftest.$ac_ext >&5 | 8193 cat conftest.$ac_ext >&5 |
7953 #define SIZEOF_INT $ac_cv_sizeof_int | 8204 #define SIZEOF_INT $ac_cv_sizeof_int |
7954 EOF | 8205 EOF |
7955 | 8206 |
7956 | 8207 |
7957 echo $ac_n "checking whether memmove/bcopy/memcpy handle overlaps""... $ac_c" 1>&6 | 8208 echo $ac_n "checking whether memmove/bcopy/memcpy handle overlaps""... $ac_c" 1>&6 |
7958 echo "configure:7959: checking whether memmove/bcopy/memcpy handle overlaps" >&5 | 8209 echo "configure:8210: checking whether memmove/bcopy/memcpy handle overlaps" >&5 |
7959 bcopy_test_prog=' | 8210 bcopy_test_prog=' |
7960 main() { | 8211 main() { |
7961 char buf[10]; | 8212 char buf[10]; |
7962 strcpy(buf, "abcdefghi"); | 8213 strcpy(buf, "abcdefghi"); |
7963 mch_memmove(buf, buf + 2, 3); | 8214 mch_memmove(buf, buf + 2, 3); |
7973 | 8224 |
7974 if test "$cross_compiling" = yes; then | 8225 if test "$cross_compiling" = yes; then |
7975 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 8226 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7976 else | 8227 else |
7977 cat > conftest.$ac_ext <<EOF | 8228 cat > conftest.$ac_ext <<EOF |
7978 #line 7979 "configure" | 8229 #line 8230 "configure" |
7979 #include "confdefs.h" | 8230 #include "confdefs.h" |
7980 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog | 8231 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog |
7981 EOF | 8232 EOF |
7982 if { (eval echo configure:7983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8233 if { (eval echo configure:8234: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7983 then | 8234 then |
7984 cat >> confdefs.h <<\EOF | 8235 cat >> confdefs.h <<\EOF |
7985 #define USEMEMMOVE 1 | 8236 #define USEMEMMOVE 1 |
7986 EOF | 8237 EOF |
7987 echo "$ac_t""memmove does" 1>&6 | 8238 echo "$ac_t""memmove does" 1>&6 |
7991 rm -fr conftest* | 8242 rm -fr conftest* |
7992 if test "$cross_compiling" = yes; then | 8243 if test "$cross_compiling" = yes; then |
7993 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 8244 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7994 else | 8245 else |
7995 cat > conftest.$ac_ext <<EOF | 8246 cat > conftest.$ac_ext <<EOF |
7996 #line 7997 "configure" | 8247 #line 8248 "configure" |
7997 #include "confdefs.h" | 8248 #include "confdefs.h" |
7998 #define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog | 8249 #define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog |
7999 EOF | 8250 EOF |
8000 if { (eval echo configure:8001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8251 if { (eval echo configure:8252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8001 then | 8252 then |
8002 cat >> confdefs.h <<\EOF | 8253 cat >> confdefs.h <<\EOF |
8003 #define USEBCOPY 1 | 8254 #define USEBCOPY 1 |
8004 EOF | 8255 EOF |
8005 echo "$ac_t""bcopy does" 1>&6 | 8256 echo "$ac_t""bcopy does" 1>&6 |
8009 rm -fr conftest* | 8260 rm -fr conftest* |
8010 if test "$cross_compiling" = yes; then | 8261 if test "$cross_compiling" = yes; then |
8011 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 8262 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
8012 else | 8263 else |
8013 cat > conftest.$ac_ext <<EOF | 8264 cat > conftest.$ac_ext <<EOF |
8014 #line 8015 "configure" | 8265 #line 8266 "configure" |
8015 #include "confdefs.h" | 8266 #include "confdefs.h" |
8016 #define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog | 8267 #define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog |
8017 EOF | 8268 EOF |
8018 if { (eval echo configure:8019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8269 if { (eval echo configure:8270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
8019 then | 8270 then |
8020 cat >> confdefs.h <<\EOF | 8271 cat >> confdefs.h <<\EOF |
8021 #define USEMEMCPY 1 | 8272 #define USEMEMCPY 1 |
8022 EOF | 8273 EOF |
8023 echo "$ac_t""memcpy does" 1>&6 | 8274 echo "$ac_t""memcpy does" 1>&6 |
8045 ldflags_save=$LDFLAGS | 8296 ldflags_save=$LDFLAGS |
8046 if test -n "$x_includes" ; then | 8297 if test -n "$x_includes" ; then |
8047 CFLAGS="$CFLAGS -I$x_includes" | 8298 CFLAGS="$CFLAGS -I$x_includes" |
8048 LDFLAGS="$X_LIBS $LDFLAGS -lX11" | 8299 LDFLAGS="$X_LIBS $LDFLAGS -lX11" |
8049 echo $ac_n "checking whether X_LOCALE needed""... $ac_c" 1>&6 | 8300 echo $ac_n "checking whether X_LOCALE needed""... $ac_c" 1>&6 |
8050 echo "configure:8051: checking whether X_LOCALE needed" >&5 | 8301 echo "configure:8302: checking whether X_LOCALE needed" >&5 |
8051 cat > conftest.$ac_ext <<EOF | 8302 cat > conftest.$ac_ext <<EOF |
8052 #line 8053 "configure" | 8303 #line 8304 "configure" |
8053 #include "confdefs.h" | 8304 #include "confdefs.h" |
8054 #include <X11/Xlocale.h> | 8305 #include <X11/Xlocale.h> |
8055 int main() { | 8306 int main() { |
8056 | 8307 |
8057 ; return 0; } | 8308 ; return 0; } |
8058 EOF | 8309 EOF |
8059 if { (eval echo configure:8060: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8310 if { (eval echo configure:8311: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
8060 rm -rf conftest* | 8311 rm -rf conftest* |
8061 cat > conftest.$ac_ext <<EOF | 8312 cat > conftest.$ac_ext <<EOF |
8062 #line 8063 "configure" | 8313 #line 8314 "configure" |
8063 #include "confdefs.h" | 8314 #include "confdefs.h" |
8064 /* Override any gcc2 internal prototype to avoid an error. */ | 8315 /* Override any gcc2 internal prototype to avoid an error. */ |
8065 /* We use char because int might match the return type of a gcc2 | 8316 /* We use char because int might match the return type of a gcc2 |
8066 builtin and then its argument prototype would still apply. */ | 8317 builtin and then its argument prototype would still apply. */ |
8067 char _Xsetlocale(); | 8318 char _Xsetlocale(); |
8068 | 8319 |
8069 int main() { | 8320 int main() { |
8070 _Xsetlocale() | 8321 _Xsetlocale() |
8071 ; return 0; } | 8322 ; return 0; } |
8072 EOF | 8323 EOF |
8073 if { (eval echo configure:8074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8324 if { (eval echo configure:8325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8074 rm -rf conftest* | 8325 rm -rf conftest* |
8075 echo "$ac_t""yes" 1>&6 | 8326 echo "$ac_t""yes" 1>&6 |
8076 cat >> confdefs.h <<\EOF | 8327 cat >> confdefs.h <<\EOF |
8077 #define X_LOCALE 1 | 8328 #define X_LOCALE 1 |
8078 EOF | 8329 EOF |
8095 CFLAGS=$cflags_save | 8346 CFLAGS=$cflags_save |
8096 LDFLAGS=$ldflags_save | 8347 LDFLAGS=$ldflags_save |
8097 fi | 8348 fi |
8098 | 8349 |
8099 echo $ac_n "checking for _xpg4_setrunelocale in -lxpg4""... $ac_c" 1>&6 | 8350 echo $ac_n "checking for _xpg4_setrunelocale in -lxpg4""... $ac_c" 1>&6 |
8100 echo "configure:8101: checking for _xpg4_setrunelocale in -lxpg4" >&5 | 8351 echo "configure:8352: checking for _xpg4_setrunelocale in -lxpg4" >&5 |
8101 ac_lib_var=`echo xpg4'_'_xpg4_setrunelocale | sed 'y%./+-%__p_%'` | 8352 ac_lib_var=`echo xpg4'_'_xpg4_setrunelocale | sed 'y%./+-%__p_%'` |
8102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 8353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
8103 echo $ac_n "(cached) $ac_c" 1>&6 | 8354 echo $ac_n "(cached) $ac_c" 1>&6 |
8104 else | 8355 else |
8105 ac_save_LIBS="$LIBS" | 8356 ac_save_LIBS="$LIBS" |
8106 LIBS="-lxpg4 $LIBS" | 8357 LIBS="-lxpg4 $LIBS" |
8107 cat > conftest.$ac_ext <<EOF | 8358 cat > conftest.$ac_ext <<EOF |
8108 #line 8109 "configure" | 8359 #line 8360 "configure" |
8109 #include "confdefs.h" | 8360 #include "confdefs.h" |
8110 /* Override any gcc2 internal prototype to avoid an error. */ | 8361 /* Override any gcc2 internal prototype to avoid an error. */ |
8111 /* We use char because int might match the return type of a gcc2 | 8362 /* We use char because int might match the return type of a gcc2 |
8112 builtin and then its argument prototype would still apply. */ | 8363 builtin and then its argument prototype would still apply. */ |
8113 char _xpg4_setrunelocale(); | 8364 char _xpg4_setrunelocale(); |
8114 | 8365 |
8115 int main() { | 8366 int main() { |
8116 _xpg4_setrunelocale() | 8367 _xpg4_setrunelocale() |
8117 ; return 0; } | 8368 ; return 0; } |
8118 EOF | 8369 EOF |
8119 if { (eval echo configure:8120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8370 if { (eval echo configure:8371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8120 rm -rf conftest* | 8371 rm -rf conftest* |
8121 eval "ac_cv_lib_$ac_lib_var=yes" | 8372 eval "ac_cv_lib_$ac_lib_var=yes" |
8122 else | 8373 else |
8123 echo "configure: failed program was:" >&5 | 8374 echo "configure: failed program was:" >&5 |
8124 cat conftest.$ac_ext >&5 | 8375 cat conftest.$ac_ext >&5 |
8136 echo "$ac_t""no" 1>&6 | 8387 echo "$ac_t""no" 1>&6 |
8137 fi | 8388 fi |
8138 | 8389 |
8139 | 8390 |
8140 echo $ac_n "checking how to create tags""... $ac_c" 1>&6 | 8391 echo $ac_n "checking how to create tags""... $ac_c" 1>&6 |
8141 echo "configure:8142: checking how to create tags" >&5 | 8392 echo "configure:8393: checking how to create tags" >&5 |
8142 test -f tags && mv tags tags.save | 8393 test -f tags && mv tags tags.save |
8143 if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then | 8394 if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then |
8144 TAGPRG="ctags" | 8395 TAGPRG="ctags" |
8145 else | 8396 else |
8146 (eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags" | 8397 (eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags" |
8153 fi | 8404 fi |
8154 test -f tags.save && mv tags.save tags | 8405 test -f tags.save && mv tags.save tags |
8155 echo "$ac_t""$TAGPRG" 1>&6 | 8406 echo "$ac_t""$TAGPRG" 1>&6 |
8156 | 8407 |
8157 echo $ac_n "checking how to run man with a section nr""... $ac_c" 1>&6 | 8408 echo $ac_n "checking how to run man with a section nr""... $ac_c" 1>&6 |
8158 echo "configure:8159: checking how to run man with a section nr" >&5 | 8409 echo "configure:8410: checking how to run man with a section nr" >&5 |
8159 MANDEF="man" | 8410 MANDEF="man" |
8160 (eval man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s" | 8411 (eval man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s" |
8161 echo "$ac_t""$MANDEF" 1>&6 | 8412 echo "$ac_t""$MANDEF" 1>&6 |
8162 if test "$MANDEF" = "man -s"; then | 8413 if test "$MANDEF" = "man -s"; then |
8163 cat >> confdefs.h <<\EOF | 8414 cat >> confdefs.h <<\EOF |
8165 EOF | 8416 EOF |
8166 | 8417 |
8167 fi | 8418 fi |
8168 | 8419 |
8169 echo $ac_n "checking --disable-nls argument""... $ac_c" 1>&6 | 8420 echo $ac_n "checking --disable-nls argument""... $ac_c" 1>&6 |
8170 echo "configure:8171: checking --disable-nls argument" >&5 | 8421 echo "configure:8422: checking --disable-nls argument" >&5 |
8171 # Check whether --enable-nls or --disable-nls was given. | 8422 # Check whether --enable-nls or --disable-nls was given. |
8172 if test "${enable_nls+set}" = set; then | 8423 if test "${enable_nls+set}" = set; then |
8173 enableval="$enable_nls" | 8424 enableval="$enable_nls" |
8174 : | 8425 : |
8175 else | 8426 else |
8180 if test "$enable_nls" = "yes"; then | 8431 if test "$enable_nls" = "yes"; then |
8181 echo "$ac_t""no" 1>&6 | 8432 echo "$ac_t""no" 1>&6 |
8182 # Extract the first word of "msgfmt", so it can be a program name with args. | 8433 # Extract the first word of "msgfmt", so it can be a program name with args. |
8183 set dummy msgfmt; ac_word=$2 | 8434 set dummy msgfmt; ac_word=$2 |
8184 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 8435 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
8185 echo "configure:8186: checking for $ac_word" >&5 | 8436 echo "configure:8437: checking for $ac_word" >&5 |
8186 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then | 8437 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then |
8187 echo $ac_n "(cached) $ac_c" 1>&6 | 8438 echo $ac_n "(cached) $ac_c" 1>&6 |
8188 else | 8439 else |
8189 if test -n "$MSGFMT"; then | 8440 if test -n "$MSGFMT"; then |
8190 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test. | 8441 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test. |
8207 else | 8458 else |
8208 echo "$ac_t""no" 1>&6 | 8459 echo "$ac_t""no" 1>&6 |
8209 fi | 8460 fi |
8210 | 8461 |
8211 echo $ac_n "checking for NLS""... $ac_c" 1>&6 | 8462 echo $ac_n "checking for NLS""... $ac_c" 1>&6 |
8212 echo "configure:8213: checking for NLS" >&5 | 8463 echo "configure:8464: checking for NLS" >&5 |
8213 if test -f po/Makefile; then | 8464 if test -f po/Makefile; then |
8214 have_gettext="no" | 8465 have_gettext="no" |
8215 if test -n "$MSGFMT"; then | 8466 if test -n "$MSGFMT"; then |
8216 cat > conftest.$ac_ext <<EOF | 8467 cat > conftest.$ac_ext <<EOF |
8217 #line 8218 "configure" | 8468 #line 8469 "configure" |
8218 #include "confdefs.h" | 8469 #include "confdefs.h" |
8219 #include <libintl.h> | 8470 #include <libintl.h> |
8220 int main() { | 8471 int main() { |
8221 gettext("Test"); | 8472 gettext("Test"); |
8222 ; return 0; } | 8473 ; return 0; } |
8223 EOF | 8474 EOF |
8224 if { (eval echo configure:8225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8475 if { (eval echo configure:8476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8225 rm -rf conftest* | 8476 rm -rf conftest* |
8226 echo "$ac_t""gettext() works" 1>&6; have_gettext="yes" | 8477 echo "$ac_t""gettext() works" 1>&6; have_gettext="yes" |
8227 else | 8478 else |
8228 echo "configure: failed program was:" >&5 | 8479 echo "configure: failed program was:" >&5 |
8229 cat conftest.$ac_ext >&5 | 8480 cat conftest.$ac_ext >&5 |
8230 rm -rf conftest* | 8481 rm -rf conftest* |
8231 olibs=$LIBS | 8482 olibs=$LIBS |
8232 LIBS="$LIBS -lintl" | 8483 LIBS="$LIBS -lintl" |
8233 cat > conftest.$ac_ext <<EOF | 8484 cat > conftest.$ac_ext <<EOF |
8234 #line 8235 "configure" | 8485 #line 8486 "configure" |
8235 #include "confdefs.h" | 8486 #include "confdefs.h" |
8236 #include <libintl.h> | 8487 #include <libintl.h> |
8237 int main() { | 8488 int main() { |
8238 gettext("Test"); | 8489 gettext("Test"); |
8239 ; return 0; } | 8490 ; return 0; } |
8240 EOF | 8491 EOF |
8241 if { (eval echo configure:8242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8492 if { (eval echo configure:8493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8242 rm -rf conftest* | 8493 rm -rf conftest* |
8243 echo "$ac_t""gettext() works with -lintl" 1>&6; have_gettext="yes" | 8494 echo "$ac_t""gettext() works with -lintl" 1>&6; have_gettext="yes" |
8244 else | 8495 else |
8245 echo "configure: failed program was:" >&5 | 8496 echo "configure: failed program was:" >&5 |
8246 cat conftest.$ac_ext >&5 | 8497 cat conftest.$ac_ext >&5 |
8262 MAKEMO=yes | 8513 MAKEMO=yes |
8263 | 8514 |
8264 for ac_func in bind_textdomain_codeset | 8515 for ac_func in bind_textdomain_codeset |
8265 do | 8516 do |
8266 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8517 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
8267 echo "configure:8268: checking for $ac_func" >&5 | 8518 echo "configure:8519: checking for $ac_func" >&5 |
8268 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 8519 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
8269 echo $ac_n "(cached) $ac_c" 1>&6 | 8520 echo $ac_n "(cached) $ac_c" 1>&6 |
8270 else | 8521 else |
8271 cat > conftest.$ac_ext <<EOF | 8522 cat > conftest.$ac_ext <<EOF |
8272 #line 8273 "configure" | 8523 #line 8524 "configure" |
8273 #include "confdefs.h" | 8524 #include "confdefs.h" |
8274 /* System header to define __stub macros and hopefully few prototypes, | 8525 /* System header to define __stub macros and hopefully few prototypes, |
8275 which can conflict with char $ac_func(); below. */ | 8526 which can conflict with char $ac_func(); below. */ |
8276 #include <assert.h> | 8527 #include <assert.h> |
8277 /* Override any gcc2 internal prototype to avoid an error. */ | 8528 /* Override any gcc2 internal prototype to avoid an error. */ |
8290 $ac_func(); | 8541 $ac_func(); |
8291 #endif | 8542 #endif |
8292 | 8543 |
8293 ; return 0; } | 8544 ; return 0; } |
8294 EOF | 8545 EOF |
8295 if { (eval echo configure:8296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8546 if { (eval echo configure:8547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8296 rm -rf conftest* | 8547 rm -rf conftest* |
8297 eval "ac_cv_func_$ac_func=yes" | 8548 eval "ac_cv_func_$ac_func=yes" |
8298 else | 8549 else |
8299 echo "configure: failed program was:" >&5 | 8550 echo "configure: failed program was:" >&5 |
8300 cat conftest.$ac_ext >&5 | 8551 cat conftest.$ac_ext >&5 |
8315 echo "$ac_t""no" 1>&6 | 8566 echo "$ac_t""no" 1>&6 |
8316 fi | 8567 fi |
8317 done | 8568 done |
8318 | 8569 |
8319 echo $ac_n "checking for _nl_msg_cat_cntr""... $ac_c" 1>&6 | 8570 echo $ac_n "checking for _nl_msg_cat_cntr""... $ac_c" 1>&6 |
8320 echo "configure:8321: checking for _nl_msg_cat_cntr" >&5 | 8571 echo "configure:8572: checking for _nl_msg_cat_cntr" >&5 |
8321 cat > conftest.$ac_ext <<EOF | 8572 cat > conftest.$ac_ext <<EOF |
8322 #line 8323 "configure" | 8573 #line 8574 "configure" |
8323 #include "confdefs.h" | 8574 #include "confdefs.h" |
8324 #include <libintl.h> | 8575 #include <libintl.h> |
8325 extern int _nl_msg_cat_cntr; | 8576 extern int _nl_msg_cat_cntr; |
8326 int main() { | 8577 int main() { |
8327 ++_nl_msg_cat_cntr; | 8578 ++_nl_msg_cat_cntr; |
8328 ; return 0; } | 8579 ; return 0; } |
8329 EOF | 8580 EOF |
8330 if { (eval echo configure:8331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8581 if { (eval echo configure:8582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8331 rm -rf conftest* | 8582 rm -rf conftest* |
8332 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 8583 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
8333 #define HAVE_NL_MSG_CAT_CNTR 1 | 8584 #define HAVE_NL_MSG_CAT_CNTR 1 |
8334 EOF | 8585 EOF |
8335 | 8586 |
8348 echo "$ac_t""yes" 1>&6 | 8599 echo "$ac_t""yes" 1>&6 |
8349 fi | 8600 fi |
8350 | 8601 |
8351 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 8602 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
8352 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 8603 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
8353 echo "configure:8354: checking for dlfcn.h" >&5 | 8604 echo "configure:8605: checking for dlfcn.h" >&5 |
8354 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8605 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8355 echo $ac_n "(cached) $ac_c" 1>&6 | 8606 echo $ac_n "(cached) $ac_c" 1>&6 |
8356 else | 8607 else |
8357 cat > conftest.$ac_ext <<EOF | 8608 cat > conftest.$ac_ext <<EOF |
8358 #line 8359 "configure" | 8609 #line 8610 "configure" |
8359 #include "confdefs.h" | 8610 #include "confdefs.h" |
8360 #include <dlfcn.h> | 8611 #include <dlfcn.h> |
8361 EOF | 8612 EOF |
8362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8613 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8363 { (eval echo configure:8364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8614 { (eval echo configure:8615: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8615 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8365 if test -z "$ac_err"; then | 8616 if test -z "$ac_err"; then |
8366 rm -rf conftest* | 8617 rm -rf conftest* |
8367 eval "ac_cv_header_$ac_safe=yes" | 8618 eval "ac_cv_header_$ac_safe=yes" |
8368 else | 8619 else |
8379 DLL=dlfcn.h | 8630 DLL=dlfcn.h |
8380 else | 8631 else |
8381 echo "$ac_t""no" 1>&6 | 8632 echo "$ac_t""no" 1>&6 |
8382 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` | 8633 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` |
8383 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 | 8634 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 |
8384 echo "configure:8385: checking for dl.h" >&5 | 8635 echo "configure:8636: checking for dl.h" >&5 |
8385 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8636 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8386 echo $ac_n "(cached) $ac_c" 1>&6 | 8637 echo $ac_n "(cached) $ac_c" 1>&6 |
8387 else | 8638 else |
8388 cat > conftest.$ac_ext <<EOF | 8639 cat > conftest.$ac_ext <<EOF |
8389 #line 8390 "configure" | 8640 #line 8641 "configure" |
8390 #include "confdefs.h" | 8641 #include "confdefs.h" |
8391 #include <dl.h> | 8642 #include <dl.h> |
8392 EOF | 8643 EOF |
8393 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8394 { (eval echo configure:8395: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8645 { (eval echo configure:8646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8395 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8396 if test -z "$ac_err"; then | 8647 if test -z "$ac_err"; then |
8397 rm -rf conftest* | 8648 rm -rf conftest* |
8398 eval "ac_cv_header_$ac_safe=yes" | 8649 eval "ac_cv_header_$ac_safe=yes" |
8399 else | 8650 else |
8418 cat >> confdefs.h <<\EOF | 8669 cat >> confdefs.h <<\EOF |
8419 #define HAVE_DLFCN_H 1 | 8670 #define HAVE_DLFCN_H 1 |
8420 EOF | 8671 EOF |
8421 | 8672 |
8422 echo $ac_n "checking for dlopen()""... $ac_c" 1>&6 | 8673 echo $ac_n "checking for dlopen()""... $ac_c" 1>&6 |
8423 echo "configure:8424: checking for dlopen()" >&5 | 8674 echo "configure:8675: checking for dlopen()" >&5 |
8424 cat > conftest.$ac_ext <<EOF | 8675 cat > conftest.$ac_ext <<EOF |
8425 #line 8426 "configure" | 8676 #line 8677 "configure" |
8426 #include "confdefs.h" | 8677 #include "confdefs.h" |
8427 | 8678 |
8428 int main() { | 8679 int main() { |
8429 | 8680 |
8430 extern void* dlopen(); | 8681 extern void* dlopen(); |
8431 dlopen(); | 8682 dlopen(); |
8432 | 8683 |
8433 ; return 0; } | 8684 ; return 0; } |
8434 EOF | 8685 EOF |
8435 if { (eval echo configure:8436: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8686 if { (eval echo configure:8687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8436 rm -rf conftest* | 8687 rm -rf conftest* |
8437 echo "$ac_t""yes" 1>&6; | 8688 echo "$ac_t""yes" 1>&6; |
8438 cat >> confdefs.h <<\EOF | 8689 cat >> confdefs.h <<\EOF |
8439 #define HAVE_DLOPEN 1 | 8690 #define HAVE_DLOPEN 1 |
8440 EOF | 8691 EOF |
8443 echo "configure: failed program was:" >&5 | 8694 echo "configure: failed program was:" >&5 |
8444 cat conftest.$ac_ext >&5 | 8695 cat conftest.$ac_ext >&5 |
8445 rm -rf conftest* | 8696 rm -rf conftest* |
8446 echo "$ac_t""no" 1>&6; | 8697 echo "$ac_t""no" 1>&6; |
8447 echo $ac_n "checking for dlopen() in -ldl""... $ac_c" 1>&6 | 8698 echo $ac_n "checking for dlopen() in -ldl""... $ac_c" 1>&6 |
8448 echo "configure:8449: checking for dlopen() in -ldl" >&5 | 8699 echo "configure:8700: checking for dlopen() in -ldl" >&5 |
8449 olibs=$LIBS | 8700 olibs=$LIBS |
8450 LIBS="$LIBS -ldl" | 8701 LIBS="$LIBS -ldl" |
8451 cat > conftest.$ac_ext <<EOF | 8702 cat > conftest.$ac_ext <<EOF |
8452 #line 8453 "configure" | 8703 #line 8704 "configure" |
8453 #include "confdefs.h" | 8704 #include "confdefs.h" |
8454 | 8705 |
8455 int main() { | 8706 int main() { |
8456 | 8707 |
8457 extern void* dlopen(); | 8708 extern void* dlopen(); |
8458 dlopen(); | 8709 dlopen(); |
8459 | 8710 |
8460 ; return 0; } | 8711 ; return 0; } |
8461 EOF | 8712 EOF |
8462 if { (eval echo configure:8463: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8713 if { (eval echo configure:8714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8463 rm -rf conftest* | 8714 rm -rf conftest* |
8464 echo "$ac_t""yes" 1>&6; | 8715 echo "$ac_t""yes" 1>&6; |
8465 cat >> confdefs.h <<\EOF | 8716 cat >> confdefs.h <<\EOF |
8466 #define HAVE_DLOPEN 1 | 8717 #define HAVE_DLOPEN 1 |
8467 EOF | 8718 EOF |
8475 fi | 8726 fi |
8476 rm -f conftest* | 8727 rm -f conftest* |
8477 fi | 8728 fi |
8478 rm -f conftest* | 8729 rm -f conftest* |
8479 echo $ac_n "checking for dlsym()""... $ac_c" 1>&6 | 8730 echo $ac_n "checking for dlsym()""... $ac_c" 1>&6 |
8480 echo "configure:8481: checking for dlsym()" >&5 | 8731 echo "configure:8732: checking for dlsym()" >&5 |
8481 cat > conftest.$ac_ext <<EOF | 8732 cat > conftest.$ac_ext <<EOF |
8482 #line 8483 "configure" | 8733 #line 8734 "configure" |
8483 #include "confdefs.h" | 8734 #include "confdefs.h" |
8484 | 8735 |
8485 int main() { | 8736 int main() { |
8486 | 8737 |
8487 extern void* dlsym(); | 8738 extern void* dlsym(); |
8488 dlsym(); | 8739 dlsym(); |
8489 | 8740 |
8490 ; return 0; } | 8741 ; return 0; } |
8491 EOF | 8742 EOF |
8492 if { (eval echo configure:8493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8743 if { (eval echo configure:8744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8493 rm -rf conftest* | 8744 rm -rf conftest* |
8494 echo "$ac_t""yes" 1>&6; | 8745 echo "$ac_t""yes" 1>&6; |
8495 cat >> confdefs.h <<\EOF | 8746 cat >> confdefs.h <<\EOF |
8496 #define HAVE_DLSYM 1 | 8747 #define HAVE_DLSYM 1 |
8497 EOF | 8748 EOF |
8500 echo "configure: failed program was:" >&5 | 8751 echo "configure: failed program was:" >&5 |
8501 cat conftest.$ac_ext >&5 | 8752 cat conftest.$ac_ext >&5 |
8502 rm -rf conftest* | 8753 rm -rf conftest* |
8503 echo "$ac_t""no" 1>&6; | 8754 echo "$ac_t""no" 1>&6; |
8504 echo $ac_n "checking for dlsym() in -ldl""... $ac_c" 1>&6 | 8755 echo $ac_n "checking for dlsym() in -ldl""... $ac_c" 1>&6 |
8505 echo "configure:8506: checking for dlsym() in -ldl" >&5 | 8756 echo "configure:8757: checking for dlsym() in -ldl" >&5 |
8506 olibs=$LIBS | 8757 olibs=$LIBS |
8507 LIBS="$LIBS -ldl" | 8758 LIBS="$LIBS -ldl" |
8508 cat > conftest.$ac_ext <<EOF | 8759 cat > conftest.$ac_ext <<EOF |
8509 #line 8510 "configure" | 8760 #line 8761 "configure" |
8510 #include "confdefs.h" | 8761 #include "confdefs.h" |
8511 | 8762 |
8512 int main() { | 8763 int main() { |
8513 | 8764 |
8514 extern void* dlsym(); | 8765 extern void* dlsym(); |
8515 dlsym(); | 8766 dlsym(); |
8516 | 8767 |
8517 ; return 0; } | 8768 ; return 0; } |
8518 EOF | 8769 EOF |
8519 if { (eval echo configure:8520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8770 if { (eval echo configure:8771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8520 rm -rf conftest* | 8771 rm -rf conftest* |
8521 echo "$ac_t""yes" 1>&6; | 8772 echo "$ac_t""yes" 1>&6; |
8522 cat >> confdefs.h <<\EOF | 8773 cat >> confdefs.h <<\EOF |
8523 #define HAVE_DLSYM 1 | 8774 #define HAVE_DLSYM 1 |
8524 EOF | 8775 EOF |
8537 cat >> confdefs.h <<\EOF | 8788 cat >> confdefs.h <<\EOF |
8538 #define HAVE_DL_H 1 | 8789 #define HAVE_DL_H 1 |
8539 EOF | 8790 EOF |
8540 | 8791 |
8541 echo $ac_n "checking for shl_load()""... $ac_c" 1>&6 | 8792 echo $ac_n "checking for shl_load()""... $ac_c" 1>&6 |
8542 echo "configure:8543: checking for shl_load()" >&5 | 8793 echo "configure:8794: checking for shl_load()" >&5 |
8543 cat > conftest.$ac_ext <<EOF | 8794 cat > conftest.$ac_ext <<EOF |
8544 #line 8545 "configure" | 8795 #line 8796 "configure" |
8545 #include "confdefs.h" | 8796 #include "confdefs.h" |
8546 | 8797 |
8547 int main() { | 8798 int main() { |
8548 | 8799 |
8549 extern void* shl_load(); | 8800 extern void* shl_load(); |
8550 shl_load(); | 8801 shl_load(); |
8551 | 8802 |
8552 ; return 0; } | 8803 ; return 0; } |
8553 EOF | 8804 EOF |
8554 if { (eval echo configure:8555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8805 if { (eval echo configure:8806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8555 rm -rf conftest* | 8806 rm -rf conftest* |
8556 echo "$ac_t""yes" 1>&6; | 8807 echo "$ac_t""yes" 1>&6; |
8557 cat >> confdefs.h <<\EOF | 8808 cat >> confdefs.h <<\EOF |
8558 #define HAVE_SHL_LOAD 1 | 8809 #define HAVE_SHL_LOAD 1 |
8559 EOF | 8810 EOF |
8562 echo "configure: failed program was:" >&5 | 8813 echo "configure: failed program was:" >&5 |
8563 cat conftest.$ac_ext >&5 | 8814 cat conftest.$ac_ext >&5 |
8564 rm -rf conftest* | 8815 rm -rf conftest* |
8565 echo "$ac_t""no" 1>&6; | 8816 echo "$ac_t""no" 1>&6; |
8566 echo $ac_n "checking for shl_load() in -ldld""... $ac_c" 1>&6 | 8817 echo $ac_n "checking for shl_load() in -ldld""... $ac_c" 1>&6 |
8567 echo "configure:8568: checking for shl_load() in -ldld" >&5 | 8818 echo "configure:8819: checking for shl_load() in -ldld" >&5 |
8568 olibs=$LIBS | 8819 olibs=$LIBS |
8569 LIBS="$LIBS -ldld" | 8820 LIBS="$LIBS -ldld" |
8570 cat > conftest.$ac_ext <<EOF | 8821 cat > conftest.$ac_ext <<EOF |
8571 #line 8572 "configure" | 8822 #line 8823 "configure" |
8572 #include "confdefs.h" | 8823 #include "confdefs.h" |
8573 | 8824 |
8574 int main() { | 8825 int main() { |
8575 | 8826 |
8576 extern void* shl_load(); | 8827 extern void* shl_load(); |
8577 shl_load(); | 8828 shl_load(); |
8578 | 8829 |
8579 ; return 0; } | 8830 ; return 0; } |
8580 EOF | 8831 EOF |
8581 if { (eval echo configure:8582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8832 if { (eval echo configure:8833: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8582 rm -rf conftest* | 8833 rm -rf conftest* |
8583 echo "$ac_t""yes" 1>&6; | 8834 echo "$ac_t""yes" 1>&6; |
8584 cat >> confdefs.h <<\EOF | 8835 cat >> confdefs.h <<\EOF |
8585 #define HAVE_SHL_LOAD 1 | 8836 #define HAVE_SHL_LOAD 1 |
8586 EOF | 8837 EOF |
8598 fi | 8849 fi |
8599 for ac_hdr in setjmp.h | 8850 for ac_hdr in setjmp.h |
8600 do | 8851 do |
8601 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 8852 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
8602 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 8853 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
8603 echo "configure:8604: checking for $ac_hdr" >&5 | 8854 echo "configure:8855: checking for $ac_hdr" >&5 |
8604 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8855 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8605 echo $ac_n "(cached) $ac_c" 1>&6 | 8856 echo $ac_n "(cached) $ac_c" 1>&6 |
8606 else | 8857 else |
8607 cat > conftest.$ac_ext <<EOF | 8858 cat > conftest.$ac_ext <<EOF |
8608 #line 8609 "configure" | 8859 #line 8860 "configure" |
8609 #include "confdefs.h" | 8860 #include "confdefs.h" |
8610 #include <$ac_hdr> | 8861 #include <$ac_hdr> |
8611 EOF | 8862 EOF |
8612 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8863 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8613 { (eval echo configure:8614: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8864 { (eval echo configure:8865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8614 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8865 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8615 if test -z "$ac_err"; then | 8866 if test -z "$ac_err"; then |
8616 rm -rf conftest* | 8867 rm -rf conftest* |
8617 eval "ac_cv_header_$ac_safe=yes" | 8868 eval "ac_cv_header_$ac_safe=yes" |
8618 else | 8869 else |
8645 fi | 8896 fi |
8646 | 8897 |
8647 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \ | 8898 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \ |
8648 && test "x$GUITYPE" != "xCARBONGUI"; then | 8899 && test "x$GUITYPE" != "xCARBONGUI"; then |
8649 echo $ac_n "checking whether we need -framework Carbon""... $ac_c" 1>&6 | 8900 echo $ac_n "checking whether we need -framework Carbon""... $ac_c" 1>&6 |
8650 echo "configure:8651: checking whether we need -framework Carbon" >&5 | 8901 echo "configure:8902: checking whether we need -framework Carbon" >&5 |
8651 if test "x$enable_multibyte" = "xyes" || test "x$features" == "xbig" \ | 8902 if test "x$enable_multibyte" = "xyes" || test "x$features" == "xbig" \ |
8652 || test "x$features" = "xhuge"; then | 8903 || test "x$features" = "xhuge"; then |
8653 LIBS="$LIBS -framework Carbon" | 8904 LIBS="$LIBS -framework Carbon" |
8654 echo "$ac_t""yes" 1>&6 | 8905 echo "$ac_t""yes" 1>&6 |
8655 else | 8906 else |
8804 s%@VIEWNAME@%$VIEWNAME%g | 9055 s%@VIEWNAME@%$VIEWNAME%g |
8805 s%@line_break@%$line_break%g | 9056 s%@line_break@%$line_break%g |
8806 s%@dovimdiff@%$dovimdiff%g | 9057 s%@dovimdiff@%$dovimdiff%g |
8807 s%@dogvimdiff@%$dogvimdiff%g | 9058 s%@dogvimdiff@%$dogvimdiff%g |
8808 s%@compiledby@%$compiledby%g | 9059 s%@compiledby@%$compiledby%g |
9060 s%@vi_cv_path_mzscheme@%$vi_cv_path_mzscheme%g | |
9061 s%@MZSCHEME_SRC@%$MZSCHEME_SRC%g | |
9062 s%@MZSCHEME_OBJ@%$MZSCHEME_OBJ%g | |
9063 s%@MZSCHEME_PRO@%$MZSCHEME_PRO%g | |
9064 s%@MZSCHEME_LIBS@%$MZSCHEME_LIBS%g | |
9065 s%@MZSCHEME_CFLAGS@%$MZSCHEME_CFLAGS%g | |
8809 s%@vi_cv_path_perl@%$vi_cv_path_perl%g | 9066 s%@vi_cv_path_perl@%$vi_cv_path_perl%g |
8810 s%@vi_cv_perllib@%$vi_cv_perllib%g | 9067 s%@vi_cv_perllib@%$vi_cv_perllib%g |
8811 s%@shrpenv@%$shrpenv%g | 9068 s%@shrpenv@%$shrpenv%g |
8812 s%@PERL_SRC@%$PERL_SRC%g | 9069 s%@PERL_SRC@%$PERL_SRC%g |
8813 s%@PERL_OBJ@%$PERL_OBJ%g | 9070 s%@PERL_OBJ@%$PERL_OBJ%g |