Mercurial > vim
comparison src/auto/configure @ 11:4424b47a0797
updated for version 7.0003
author | vimboss |
---|---|
date | Wed, 30 Jun 2004 16:16:41 +0000 |
parents | 3fc0f57ecb91 |
children | 24d5189d3956 |
comparison
equal
deleted
inserted
replaced
10:4e2284e71352 | 11:4424b47a0797 |
---|---|
60 ac_help="$ac_help | 60 ac_help="$ac_help |
61 --enable-fontset Include X fontset output support." | 61 --enable-fontset Include X fontset output support." |
62 ac_help="$ac_help | 62 ac_help="$ac_help |
63 --with-x use the X Window System" | 63 --with-x use the X Window System" |
64 ac_help="$ac_help | 64 ac_help="$ac_help |
65 --enable-gui[=OPTS] X11 GUI [default=auto] [OPTS=auto/no/gtk/gtk2/gnome/gnome2/motif/athena/neXtaw/beos/photon/carbon]" | 65 --enable-gui[=OPTS] X11 GUI [default=auto] [OPTS=auto/no/gtk/gtk2/gnome/gnome2/kde/motif/athena/neXtaw/beos/photon/carbon]" |
66 ac_help="$ac_help | |
67 --enable-kde-check If auto-select GUI, check for KDE [default=no]" | |
66 ac_help="$ac_help | 68 ac_help="$ac_help |
67 --enable-gtk-check If auto-select GUI, check for GTK [default=yes]" | 69 --enable-gtk-check If auto-select GUI, check for GTK [default=yes]" |
68 ac_help="$ac_help | 70 ac_help="$ac_help |
69 --enable-gtk2-check If GTK GUI, check for GTK+ 2 [default=yes]" | 71 --enable-gtk2-check If GTK GUI, check for GTK+ 2 [default=yes]" |
70 ac_help="$ac_help | 72 ac_help="$ac_help |
75 --enable-athena-check If auto-select GUI, check for Athena [default=yes]" | 77 --enable-athena-check If auto-select GUI, check for Athena [default=yes]" |
76 ac_help="$ac_help | 78 ac_help="$ac_help |
77 --enable-nextaw-check If auto-select GUI, check for neXtaw [default=yes]" | 79 --enable-nextaw-check If auto-select GUI, check for neXtaw [default=yes]" |
78 ac_help="$ac_help | 80 ac_help="$ac_help |
79 --enable-carbon-check If auto-select GUI, check for Carbon [default=yes]" | 81 --enable-carbon-check If auto-select GUI, check for Carbon [default=yes]" |
82 ac_help="$ac_help | |
83 --with-qt-dir=DIR Specify prefix of QT files" | |
84 ac_help="$ac_help | |
85 --with-qt-includes=DIR Specify location of Qt headers" | |
86 ac_help="$ac_help | |
87 --with-qt-libs=DIR Specify location of Qt libraries" | |
88 ac_help="$ac_help | |
89 --enable-kde-toolbar if KDE GUI is selected, enable a KDE-look toolbar [default=no]" | |
90 ac_help="$ac_help | |
91 --disable-rpath Disable rpath." | |
92 ac_help="$ac_help | |
93 --with-kde-prefix=PFX Prefix where KDE is installed (optional)" | |
94 ac_help="$ac_help | |
95 --with-kde-includes=DIR Specify location of KDE headers" | |
96 ac_help="$ac_help | |
97 --with-kde-libs=DIR Specify location of KDE libraries" | |
98 ac_help="$ac_help | |
99 --disable-kdetest Do not try to compile and run a test KDE program" | |
80 ac_help="$ac_help | 100 ac_help="$ac_help |
81 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)" | 101 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)" |
82 ac_help="$ac_help | 102 ac_help="$ac_help |
83 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)" | 103 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)" |
84 ac_help="$ac_help | 104 ac_help="$ac_help |
614 cat >> confdefs.h <<\EOF | 634 cat >> confdefs.h <<\EOF |
615 #define UNIX 1 | 635 #define UNIX 1 |
616 EOF | 636 EOF |
617 | 637 |
618 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 | 638 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
619 echo "configure:620: checking whether ${MAKE-make} sets \${MAKE}" >&5 | 639 echo "configure:640: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
620 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` | 640 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
621 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then | 641 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
622 echo $ac_n "(cached) $ac_c" 1>&6 | 642 echo $ac_n "(cached) $ac_c" 1>&6 |
623 else | 643 else |
624 cat > conftestmake <<\EOF | 644 cat > conftestmake <<\EOF |
644 | 664 |
645 | 665 |
646 # Extract the first word of "gcc", so it can be a program name with args. | 666 # Extract the first word of "gcc", so it can be a program name with args. |
647 set dummy gcc; ac_word=$2 | 667 set dummy gcc; ac_word=$2 |
648 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
649 echo "configure:650: checking for $ac_word" >&5 | 669 echo "configure:670: checking for $ac_word" >&5 |
650 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 670 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
651 echo $ac_n "(cached) $ac_c" 1>&6 | 671 echo $ac_n "(cached) $ac_c" 1>&6 |
652 else | 672 else |
653 if test -n "$CC"; then | 673 if test -n "$CC"; then |
654 ac_cv_prog_CC="$CC" # Let the user override the test. | 674 ac_cv_prog_CC="$CC" # Let the user override the test. |
674 | 694 |
675 if test -z "$CC"; then | 695 if test -z "$CC"; then |
676 # Extract the first word of "cc", so it can be a program name with args. | 696 # Extract the first word of "cc", so it can be a program name with args. |
677 set dummy cc; ac_word=$2 | 697 set dummy cc; ac_word=$2 |
678 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 698 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
679 echo "configure:680: checking for $ac_word" >&5 | 699 echo "configure:700: checking for $ac_word" >&5 |
680 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 700 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
681 echo $ac_n "(cached) $ac_c" 1>&6 | 701 echo $ac_n "(cached) $ac_c" 1>&6 |
682 else | 702 else |
683 if test -n "$CC"; then | 703 if test -n "$CC"; then |
684 ac_cv_prog_CC="$CC" # Let the user override the test. | 704 ac_cv_prog_CC="$CC" # Let the user override the test. |
725 case "`uname -s`" in | 745 case "`uname -s`" in |
726 *win32* | *WIN32*) | 746 *win32* | *WIN32*) |
727 # Extract the first word of "cl", so it can be a program name with args. | 747 # Extract the first word of "cl", so it can be a program name with args. |
728 set dummy cl; ac_word=$2 | 748 set dummy cl; ac_word=$2 |
729 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 749 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
730 echo "configure:731: checking for $ac_word" >&5 | 750 echo "configure:751: checking for $ac_word" >&5 |
731 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then | 751 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
732 echo $ac_n "(cached) $ac_c" 1>&6 | 752 echo $ac_n "(cached) $ac_c" 1>&6 |
733 else | 753 else |
734 if test -n "$CC"; then | 754 if test -n "$CC"; then |
735 ac_cv_prog_CC="$CC" # Let the user override the test. | 755 ac_cv_prog_CC="$CC" # Let the user override the test. |
757 fi | 777 fi |
758 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } | 778 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
759 fi | 779 fi |
760 | 780 |
761 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 | 781 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
762 echo "configure:763: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 | 782 echo "configure:783: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
763 | 783 |
764 ac_ext=c | 784 ac_ext=c |
765 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. | 785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
766 ac_cpp='$CPP $CPPFLAGS' | 786 ac_cpp='$CPP $CPPFLAGS' |
767 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' | 787 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
768 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' | 788 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
769 cross_compiling=$ac_cv_prog_cc_cross | 789 cross_compiling=$ac_cv_prog_cc_cross |
770 | 790 |
771 cat > conftest.$ac_ext << EOF | 791 cat > conftest.$ac_ext << EOF |
772 | 792 |
773 #line 774 "configure" | 793 #line 794 "configure" |
774 #include "confdefs.h" | 794 #include "confdefs.h" |
775 | 795 |
776 main(){return(0);} | 796 main(){return(0);} |
777 EOF | 797 EOF |
778 if { (eval echo configure:779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 798 if { (eval echo configure:799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
779 ac_cv_prog_cc_works=yes | 799 ac_cv_prog_cc_works=yes |
780 # If we can't run a trivial program, we are probably using a cross compiler. | 800 # If we can't run a trivial program, we are probably using a cross compiler. |
781 if (./conftest; exit) 2>/dev/null; then | 801 if (./conftest; exit) 2>/dev/null; then |
782 ac_cv_prog_cc_cross=no | 802 ac_cv_prog_cc_cross=no |
783 else | 803 else |
799 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 | 819 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
800 if test $ac_cv_prog_cc_works = no; then | 820 if test $ac_cv_prog_cc_works = no; then |
801 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } | 821 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
802 fi | 822 fi |
803 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 | 823 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
804 echo "configure:805: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 | 824 echo "configure:825: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
805 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 | 825 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
806 cross_compiling=$ac_cv_prog_cc_cross | 826 cross_compiling=$ac_cv_prog_cc_cross |
807 | 827 |
808 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 | 828 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
809 echo "configure:810: checking whether we are using GNU C" >&5 | 829 echo "configure:830: checking whether we are using GNU C" >&5 |
810 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then | 830 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
811 echo $ac_n "(cached) $ac_c" 1>&6 | 831 echo $ac_n "(cached) $ac_c" 1>&6 |
812 else | 832 else |
813 cat > conftest.c <<EOF | 833 cat > conftest.c <<EOF |
814 #ifdef __GNUC__ | 834 #ifdef __GNUC__ |
815 yes; | 835 yes; |
816 #endif | 836 #endif |
817 EOF | 837 EOF |
818 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then | 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 |
819 ac_cv_prog_gcc=yes | 839 ac_cv_prog_gcc=yes |
820 else | 840 else |
821 ac_cv_prog_gcc=no | 841 ac_cv_prog_gcc=no |
822 fi | 842 fi |
823 fi | 843 fi |
832 | 852 |
833 ac_test_CFLAGS="${CFLAGS+set}" | 853 ac_test_CFLAGS="${CFLAGS+set}" |
834 ac_save_CFLAGS="$CFLAGS" | 854 ac_save_CFLAGS="$CFLAGS" |
835 CFLAGS= | 855 CFLAGS= |
836 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 | 856 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
837 echo "configure:838: checking whether ${CC-cc} accepts -g" >&5 | 857 echo "configure:858: checking whether ${CC-cc} accepts -g" >&5 |
838 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then | 858 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
839 echo $ac_n "(cached) $ac_c" 1>&6 | 859 echo $ac_n "(cached) $ac_c" 1>&6 |
840 else | 860 else |
841 echo 'void f(){}' > conftest.c | 861 echo 'void f(){}' > conftest.c |
842 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then | 862 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
863 else | 883 else |
864 CFLAGS= | 884 CFLAGS= |
865 fi | 885 fi |
866 fi | 886 fi |
867 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 | 887 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
868 echo "configure:869: checking how to run the C preprocessor" >&5 | 888 echo "configure:889: checking how to run the C preprocessor" >&5 |
869 # On Suns, sometimes $CPP names a directory. | 889 # On Suns, sometimes $CPP names a directory. |
870 if test -n "$CPP" && test -d "$CPP"; then | 890 if test -n "$CPP" && test -d "$CPP"; then |
871 CPP= | 891 CPP= |
872 fi | 892 fi |
873 if test -z "$CPP"; then | 893 if test -z "$CPP"; then |
878 # substituted into the Makefile and "${CC-cc}" will confuse make. | 898 # substituted into the Makefile and "${CC-cc}" will confuse make. |
879 CPP="${CC-cc} -E" | 899 CPP="${CC-cc} -E" |
880 # On the NeXT, cc -E runs the code through the compiler's parser, | 900 # On the NeXT, cc -E runs the code through the compiler's parser, |
881 # not just through cpp. | 901 # not just through cpp. |
882 cat > conftest.$ac_ext <<EOF | 902 cat > conftest.$ac_ext <<EOF |
883 #line 884 "configure" | 903 #line 904 "configure" |
884 #include "confdefs.h" | 904 #include "confdefs.h" |
885 #include <assert.h> | 905 #include <assert.h> |
886 Syntax Error | 906 Syntax Error |
887 EOF | 907 EOF |
888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 908 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
889 { (eval echo configure:890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 909 { (eval echo configure:910: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 910 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
891 if test -z "$ac_err"; then | 911 if test -z "$ac_err"; then |
892 : | 912 : |
893 else | 913 else |
894 echo "$ac_err" >&5 | 914 echo "$ac_err" >&5 |
895 echo "configure: failed program was:" >&5 | 915 echo "configure: failed program was:" >&5 |
896 cat conftest.$ac_ext >&5 | 916 cat conftest.$ac_ext >&5 |
897 rm -rf conftest* | 917 rm -rf conftest* |
898 CPP="${CC-cc} -E -traditional-cpp" | 918 CPP="${CC-cc} -E -traditional-cpp" |
899 cat > conftest.$ac_ext <<EOF | 919 cat > conftest.$ac_ext <<EOF |
900 #line 901 "configure" | 920 #line 921 "configure" |
901 #include "confdefs.h" | 921 #include "confdefs.h" |
902 #include <assert.h> | 922 #include <assert.h> |
903 Syntax Error | 923 Syntax Error |
904 EOF | 924 EOF |
905 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 925 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
906 { (eval echo configure:907: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 926 { (eval echo configure:927: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
907 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 927 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
908 if test -z "$ac_err"; then | 928 if test -z "$ac_err"; then |
909 : | 929 : |
910 else | 930 else |
911 echo "$ac_err" >&5 | 931 echo "$ac_err" >&5 |
912 echo "configure: failed program was:" >&5 | 932 echo "configure: failed program was:" >&5 |
913 cat conftest.$ac_ext >&5 | 933 cat conftest.$ac_ext >&5 |
914 rm -rf conftest* | 934 rm -rf conftest* |
915 CPP="${CC-cc} -nologo -E" | 935 CPP="${CC-cc} -nologo -E" |
916 cat > conftest.$ac_ext <<EOF | 936 cat > conftest.$ac_ext <<EOF |
917 #line 918 "configure" | 937 #line 938 "configure" |
918 #include "confdefs.h" | 938 #include "confdefs.h" |
919 #include <assert.h> | 939 #include <assert.h> |
920 Syntax Error | 940 Syntax Error |
921 EOF | 941 EOF |
922 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 942 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
923 { (eval echo configure:924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 943 { (eval echo configure:944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
924 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 944 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
925 if test -z "$ac_err"; then | 945 if test -z "$ac_err"; then |
926 : | 946 : |
927 else | 947 else |
928 echo "$ac_err" >&5 | 948 echo "$ac_err" >&5 |
942 else | 962 else |
943 ac_cv_prog_CPP="$CPP" | 963 ac_cv_prog_CPP="$CPP" |
944 fi | 964 fi |
945 echo "$ac_t""$CPP" 1>&6 | 965 echo "$ac_t""$CPP" 1>&6 |
946 cat > conftest.$ac_ext <<EOF | 966 cat > conftest.$ac_ext <<EOF |
947 #line 948 "configure" | 967 #line 968 "configure" |
948 #include "confdefs.h" | 968 #include "confdefs.h" |
949 | 969 |
950 EOF | 970 EOF |
951 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 971 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
952 egrep "" >/dev/null 2>&1; then | 972 egrep "" >/dev/null 2>&1; then |
953 : | 973 : |
954 fi | 974 fi |
955 rm -f conftest* | 975 rm -f conftest* |
956 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 | 976 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 |
957 echo "configure:958: checking for POSIXized ISC" >&5 | 977 echo "configure:978: checking for POSIXized ISC" >&5 |
958 if test -d /etc/conf/kconfig.d && | 978 if test -d /etc/conf/kconfig.d && |
959 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 | 979 grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 |
960 then | 980 then |
961 echo "$ac_t""yes" 1>&6 | 981 echo "$ac_t""yes" 1>&6 |
962 ISC=yes # If later tests want to check for ISC. | 982 ISC=yes # If later tests want to check for ISC. |
976 for ac_prog in mawk gawk nawk awk | 996 for ac_prog in mawk gawk nawk awk |
977 do | 997 do |
978 # Extract the first word of "$ac_prog", so it can be a program name with args. | 998 # Extract the first word of "$ac_prog", so it can be a program name with args. |
979 set dummy $ac_prog; ac_word=$2 | 999 set dummy $ac_prog; ac_word=$2 |
980 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1000 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
981 echo "configure:982: checking for $ac_word" >&5 | 1001 echo "configure:1002: checking for $ac_word" >&5 |
982 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then | 1002 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
983 echo $ac_n "(cached) $ac_c" 1>&6 | 1003 echo $ac_n "(cached) $ac_c" 1>&6 |
984 else | 1004 else |
985 if test -n "$AWK"; then | 1005 if test -n "$AWK"; then |
986 ac_cv_prog_AWK="$AWK" # Let the user override the test. | 1006 ac_cv_prog_AWK="$AWK" # Let the user override the test. |
1008 done | 1028 done |
1009 | 1029 |
1010 # Extract the first word of "strip", so it can be a program name with args. | 1030 # Extract the first word of "strip", so it can be a program name with args. |
1011 set dummy strip; ac_word=$2 | 1031 set dummy strip; ac_word=$2 |
1012 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1032 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1013 echo "configure:1014: checking for $ac_word" >&5 | 1033 echo "configure:1034: checking for $ac_word" >&5 |
1014 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then | 1034 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then |
1015 echo $ac_n "(cached) $ac_c" 1>&6 | 1035 echo $ac_n "(cached) $ac_c" 1>&6 |
1016 else | 1036 else |
1017 if test -n "$STRIP"; then | 1037 if test -n "$STRIP"; then |
1018 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. | 1038 ac_cv_prog_STRIP="$STRIP" # Let the user override the test. |
1037 echo "$ac_t""no" 1>&6 | 1057 echo "$ac_t""no" 1>&6 |
1038 fi | 1058 fi |
1039 | 1059 |
1040 | 1060 |
1041 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 | 1061 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6 |
1042 echo "configure:1043: checking for Cygwin environment" >&5 | 1062 echo "configure:1063: checking for Cygwin environment" >&5 |
1043 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then | 1063 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then |
1044 echo $ac_n "(cached) $ac_c" 1>&6 | 1064 echo $ac_n "(cached) $ac_c" 1>&6 |
1045 else | 1065 else |
1046 cat > conftest.$ac_ext <<EOF | 1066 cat > conftest.$ac_ext <<EOF |
1047 #line 1048 "configure" | 1067 #line 1068 "configure" |
1048 #include "confdefs.h" | 1068 #include "confdefs.h" |
1049 | 1069 |
1050 int main() { | 1070 int main() { |
1051 | 1071 |
1052 #ifndef __CYGWIN__ | 1072 #ifndef __CYGWIN__ |
1053 #define __CYGWIN__ __CYGWIN32__ | 1073 #define __CYGWIN__ __CYGWIN32__ |
1054 #endif | 1074 #endif |
1055 return __CYGWIN__; | 1075 return __CYGWIN__; |
1056 ; return 0; } | 1076 ; return 0; } |
1057 EOF | 1077 EOF |
1058 if { (eval echo configure:1059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1078 if { (eval echo configure:1079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1059 rm -rf conftest* | 1079 rm -rf conftest* |
1060 ac_cv_cygwin=yes | 1080 ac_cv_cygwin=yes |
1061 else | 1081 else |
1062 echo "configure: failed program was:" >&5 | 1082 echo "configure: failed program was:" >&5 |
1063 cat conftest.$ac_ext >&5 | 1083 cat conftest.$ac_ext >&5 |
1070 | 1090 |
1071 echo "$ac_t""$ac_cv_cygwin" 1>&6 | 1091 echo "$ac_t""$ac_cv_cygwin" 1>&6 |
1072 CYGWIN= | 1092 CYGWIN= |
1073 test "$ac_cv_cygwin" = yes && CYGWIN=yes | 1093 test "$ac_cv_cygwin" = yes && CYGWIN=yes |
1074 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 | 1094 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6 |
1075 echo "configure:1076: checking for mingw32 environment" >&5 | 1095 echo "configure:1096: checking for mingw32 environment" >&5 |
1076 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then | 1096 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then |
1077 echo $ac_n "(cached) $ac_c" 1>&6 | 1097 echo $ac_n "(cached) $ac_c" 1>&6 |
1078 else | 1098 else |
1079 cat > conftest.$ac_ext <<EOF | 1099 cat > conftest.$ac_ext <<EOF |
1080 #line 1081 "configure" | 1100 #line 1101 "configure" |
1081 #include "confdefs.h" | 1101 #include "confdefs.h" |
1082 | 1102 |
1083 int main() { | 1103 int main() { |
1084 return __MINGW32__; | 1104 return __MINGW32__; |
1085 ; return 0; } | 1105 ; return 0; } |
1086 EOF | 1106 EOF |
1087 if { (eval echo configure:1088: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1107 if { (eval echo configure:1108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1088 rm -rf conftest* | 1108 rm -rf conftest* |
1089 ac_cv_mingw32=yes | 1109 ac_cv_mingw32=yes |
1090 else | 1110 else |
1091 echo "configure: failed program was:" >&5 | 1111 echo "configure: failed program was:" >&5 |
1092 cat conftest.$ac_ext >&5 | 1112 cat conftest.$ac_ext >&5 |
1101 MINGW32= | 1121 MINGW32= |
1102 test "$ac_cv_mingw32" = yes && MINGW32=yes | 1122 test "$ac_cv_mingw32" = yes && MINGW32=yes |
1103 | 1123 |
1104 | 1124 |
1105 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 | 1125 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6 |
1106 echo "configure:1107: checking for executable suffix" >&5 | 1126 echo "configure:1127: checking for executable suffix" >&5 |
1107 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then | 1127 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then |
1108 echo $ac_n "(cached) $ac_c" 1>&6 | 1128 echo $ac_n "(cached) $ac_c" 1>&6 |
1109 else | 1129 else |
1110 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then | 1130 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then |
1111 ac_cv_exeext=.exe | 1131 ac_cv_exeext=.exe |
1112 else | 1132 else |
1113 rm -f conftest* | 1133 rm -f conftest* |
1114 echo 'int main () { return 0; }' > conftest.$ac_ext | 1134 echo 'int main () { return 0; }' > conftest.$ac_ext |
1115 ac_cv_exeext= | 1135 ac_cv_exeext= |
1116 if { (eval echo configure:1117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then | 1136 if { (eval echo configure:1137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then |
1117 for file in conftest.*; do | 1137 for file in conftest.*; do |
1118 case $file in | 1138 case $file in |
1119 *.c | *.o | *.obj) ;; | 1139 *.c | *.o | *.obj) ;; |
1120 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; | 1140 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;; |
1121 esac | 1141 esac |
1158 | 1178 |
1159 test "$GCC" = yes && CPP_MM=M; | 1179 test "$GCC" = yes && CPP_MM=M; |
1160 | 1180 |
1161 if test -f ./toolcheck; then | 1181 if test -f ./toolcheck; then |
1162 echo "checking for buggy tools" 1>&6 | 1182 echo "checking for buggy tools" 1>&6 |
1163 echo "configure:1164: checking for buggy tools" >&5 | 1183 echo "configure:1184: checking for buggy tools" >&5 |
1164 sh ./toolcheck 1>&6 | 1184 sh ./toolcheck 1>&6 |
1165 fi | 1185 fi |
1166 | 1186 |
1167 OS_EXTRA_SRC=""; OS_EXTRA_OBJ="" | 1187 OS_EXTRA_SRC=""; OS_EXTRA_OBJ="" |
1168 | 1188 |
1169 echo $ac_n "checking for BeOS""... $ac_c" 1>&6 | 1189 echo $ac_n "checking for BeOS""... $ac_c" 1>&6 |
1170 echo "configure:1171: checking for BeOS" >&5 | 1190 echo "configure:1191: checking for BeOS" >&5 |
1171 case `uname` in | 1191 case `uname` in |
1172 BeOS) OS_EXTRA_SRC=os_beos.c; OS_EXTRA_OBJ=objects/os_beos.o | 1192 BeOS) OS_EXTRA_SRC=os_beos.c; OS_EXTRA_OBJ=objects/os_beos.o |
1173 BEOS=yes; echo "$ac_t""yes" 1>&6;; | 1193 BEOS=yes; echo "$ac_t""yes" 1>&6;; |
1174 *) BEOS=no; echo "$ac_t""no" 1>&6;; | 1194 *) BEOS=no; echo "$ac_t""no" 1>&6;; |
1175 esac | 1195 esac |
1176 | 1196 |
1177 echo $ac_n "checking for QNX""... $ac_c" 1>&6 | 1197 echo $ac_n "checking for QNX""... $ac_c" 1>&6 |
1178 echo "configure:1179: checking for QNX" >&5 | 1198 echo "configure:1199: checking for QNX" >&5 |
1179 case `uname` in | 1199 case `uname` in |
1180 QNX) OS_EXTRA_SRC=os_qnx.c; OS_EXTRA_OBJ=objects/os_qnx.o | 1200 QNX) OS_EXTRA_SRC=os_qnx.c; OS_EXTRA_OBJ=objects/os_qnx.o |
1181 test -z "$with_x" && with_x=no | 1201 test -z "$with_x" && with_x=no |
1182 QNX=yes; echo "$ac_t""yes" 1>&6;; | 1202 QNX=yes; echo "$ac_t""yes" 1>&6;; |
1183 *) QNX=no; echo "$ac_t""no" 1>&6;; | 1203 *) QNX=no; echo "$ac_t""no" 1>&6;; |
1184 esac | 1204 esac |
1185 | 1205 |
1186 DEFAULT_VIMNAME=vim | 1206 DEFAULT_VIMNAME=vim |
1187 echo $ac_n "checking for Darwin (Mac OS X)""... $ac_c" 1>&6 | 1207 echo $ac_n "checking for Darwin (Mac OS X)""... $ac_c" 1>&6 |
1188 echo "configure:1189: checking for Darwin (Mac OS X)" >&5 | 1208 echo "configure:1209: checking for Darwin (Mac OS X)" >&5 |
1189 if test "`(uname) 2>/dev/null`" = Darwin; then | 1209 if test "`(uname) 2>/dev/null`" = Darwin; then |
1190 echo "$ac_t""yes" 1>&6 | 1210 echo "$ac_t""yes" 1>&6 |
1191 | 1211 |
1192 echo $ac_n "checking --disable-darwin argument""... $ac_c" 1>&6 | 1212 echo $ac_n "checking --disable-darwin argument""... $ac_c" 1>&6 |
1193 echo "configure:1194: checking --disable-darwin argument" >&5 | 1213 echo "configure:1214: checking --disable-darwin argument" >&5 |
1194 # Check whether --enable-darwin or --disable-darwin was given. | 1214 # Check whether --enable-darwin or --disable-darwin was given. |
1195 if test "${enable_darwin+set}" = set; then | 1215 if test "${enable_darwin+set}" = set; then |
1196 enableval="$enable_darwin" | 1216 enableval="$enable_darwin" |
1197 : | 1217 : |
1198 else | 1218 else |
1200 fi | 1220 fi |
1201 | 1221 |
1202 if test "$enable_darwin" = "yes"; then | 1222 if test "$enable_darwin" = "yes"; then |
1203 echo "$ac_t""no" 1>&6 | 1223 echo "$ac_t""no" 1>&6 |
1204 echo $ac_n "checking if Darwin files are there""... $ac_c" 1>&6 | 1224 echo $ac_n "checking if Darwin files are there""... $ac_c" 1>&6 |
1205 echo "configure:1206: checking if Darwin files are there" >&5 | 1225 echo "configure:1226: checking if Darwin files are there" >&5 |
1206 if test -f os_macosx.c; then | 1226 if test -f os_macosx.c; then |
1207 echo "$ac_t""yes" 1>&6 | 1227 echo "$ac_t""yes" 1>&6 |
1208 else | 1228 else |
1209 echo "$ac_t""no, Darwin support disabled" 1>&6 | 1229 echo "$ac_t""no, Darwin support disabled" 1>&6 |
1210 enable_darwin=no | 1230 enable_darwin=no |
1219 OS_EXTRA_OBJ="objects/os_macosx.o" | 1239 OS_EXTRA_OBJ="objects/os_macosx.o" |
1220 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -I/Developer/Headers/FlatCarbon -no-cpp-precomp" | 1240 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -I/Developer/Headers/FlatCarbon -no-cpp-precomp" |
1221 | 1241 |
1222 ac_safe=`echo "Carbon/Carbon.h" | sed 'y%./+-%__p_%'` | 1242 ac_safe=`echo "Carbon/Carbon.h" | sed 'y%./+-%__p_%'` |
1223 echo $ac_n "checking for Carbon/Carbon.h""... $ac_c" 1>&6 | 1243 echo $ac_n "checking for Carbon/Carbon.h""... $ac_c" 1>&6 |
1224 echo "configure:1225: checking for Carbon/Carbon.h" >&5 | 1244 echo "configure:1245: checking for Carbon/Carbon.h" >&5 |
1225 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 1245 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
1226 echo $ac_n "(cached) $ac_c" 1>&6 | 1246 echo $ac_n "(cached) $ac_c" 1>&6 |
1227 else | 1247 else |
1228 cat > conftest.$ac_ext <<EOF | 1248 cat > conftest.$ac_ext <<EOF |
1229 #line 1230 "configure" | 1249 #line 1250 "configure" |
1230 #include "confdefs.h" | 1250 #include "confdefs.h" |
1231 #include <Carbon/Carbon.h> | 1251 #include <Carbon/Carbon.h> |
1232 EOF | 1252 EOF |
1233 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 1253 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
1234 { (eval echo configure:1235: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 1254 { (eval echo configure:1255: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
1235 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 1255 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
1236 if test -z "$ac_err"; then | 1256 if test -z "$ac_err"; then |
1237 rm -rf conftest* | 1257 rm -rf conftest* |
1238 eval "ac_cv_header_$ac_safe=yes" | 1258 eval "ac_cv_header_$ac_safe=yes" |
1239 else | 1259 else |
1286 CPPFLAGS="$CPPFLAGS -I/usr/local/include" | 1306 CPPFLAGS="$CPPFLAGS -I/usr/local/include" |
1287 fi | 1307 fi |
1288 fi | 1308 fi |
1289 | 1309 |
1290 echo $ac_n "checking --with-vim-name argument""... $ac_c" 1>&6 | 1310 echo $ac_n "checking --with-vim-name argument""... $ac_c" 1>&6 |
1291 echo "configure:1292: checking --with-vim-name argument" >&5 | 1311 echo "configure:1312: checking --with-vim-name argument" >&5 |
1292 # Check whether --with-vim-name or --without-vim-name was given. | 1312 # Check whether --with-vim-name or --without-vim-name was given. |
1293 if test "${with_vim_name+set}" = set; then | 1313 if test "${with_vim_name+set}" = set; then |
1294 withval="$with_vim_name" | 1314 withval="$with_vim_name" |
1295 VIMNAME="$withval"; echo "$ac_t""$VIMNAME" 1>&6 | 1315 VIMNAME="$withval"; echo "$ac_t""$VIMNAME" 1>&6 |
1296 else | 1316 else |
1297 VIMNAME="$DEFAULT_VIMNAME"; echo "$ac_t""Defaulting to $VIMNAME" 1>&6 | 1317 VIMNAME="$DEFAULT_VIMNAME"; echo "$ac_t""Defaulting to $VIMNAME" 1>&6 |
1298 fi | 1318 fi |
1299 | 1319 |
1300 | 1320 |
1301 echo $ac_n "checking --with-ex-name argument""... $ac_c" 1>&6 | 1321 echo $ac_n "checking --with-ex-name argument""... $ac_c" 1>&6 |
1302 echo "configure:1303: checking --with-ex-name argument" >&5 | 1322 echo "configure:1323: checking --with-ex-name argument" >&5 |
1303 # Check whether --with-ex-name or --without-ex-name was given. | 1323 # Check whether --with-ex-name or --without-ex-name was given. |
1304 if test "${with_ex_name+set}" = set; then | 1324 if test "${with_ex_name+set}" = set; then |
1305 withval="$with_ex_name" | 1325 withval="$with_ex_name" |
1306 EXNAME="$withval"; echo "$ac_t""$EXNAME" 1>&6 | 1326 EXNAME="$withval"; echo "$ac_t""$EXNAME" 1>&6 |
1307 else | 1327 else |
1308 EXNAME="ex"; echo "$ac_t""Defaulting to ex" 1>&6 | 1328 EXNAME="ex"; echo "$ac_t""Defaulting to ex" 1>&6 |
1309 fi | 1329 fi |
1310 | 1330 |
1311 | 1331 |
1312 echo $ac_n "checking --with-view-name argument""... $ac_c" 1>&6 | 1332 echo $ac_n "checking --with-view-name argument""... $ac_c" 1>&6 |
1313 echo "configure:1314: checking --with-view-name argument" >&5 | 1333 echo "configure:1334: checking --with-view-name argument" >&5 |
1314 # Check whether --with-view-name or --without-view-name was given. | 1334 # Check whether --with-view-name or --without-view-name was given. |
1315 if test "${with_view_name+set}" = set; then | 1335 if test "${with_view_name+set}" = set; then |
1316 withval="$with_view_name" | 1336 withval="$with_view_name" |
1317 VIEWNAME="$withval"; echo "$ac_t""$VIEWNAME" 1>&6 | 1337 VIEWNAME="$withval"; echo "$ac_t""$VIEWNAME" 1>&6 |
1318 else | 1338 else |
1320 fi | 1340 fi |
1321 | 1341 |
1322 | 1342 |
1323 | 1343 |
1324 echo $ac_n "checking --with-global-runtime argument""... $ac_c" 1>&6 | 1344 echo $ac_n "checking --with-global-runtime argument""... $ac_c" 1>&6 |
1325 echo "configure:1326: checking --with-global-runtime argument" >&5 | 1345 echo "configure:1346: checking --with-global-runtime argument" >&5 |
1326 # Check whether --with-global-runtime or --without-global-runtime was given. | 1346 # Check whether --with-global-runtime or --without-global-runtime was given. |
1327 if test "${with_global_runtime+set}" = set; then | 1347 if test "${with_global_runtime+set}" = set; then |
1328 withval="$with_global_runtime" | 1348 withval="$with_global_runtime" |
1329 echo "$ac_t""$withval" 1>&6; cat >> confdefs.h <<EOF | 1349 echo "$ac_t""$withval" 1>&6; cat >> confdefs.h <<EOF |
1330 #define RUNTIME_GLOBAL "$withval" | 1350 #define RUNTIME_GLOBAL "$withval" |
1334 echo "$ac_t""no" 1>&6 | 1354 echo "$ac_t""no" 1>&6 |
1335 fi | 1355 fi |
1336 | 1356 |
1337 | 1357 |
1338 echo $ac_n "checking --with-modified-by argument""... $ac_c" 1>&6 | 1358 echo $ac_n "checking --with-modified-by argument""... $ac_c" 1>&6 |
1339 echo "configure:1340: checking --with-modified-by argument" >&5 | 1359 echo "configure:1360: checking --with-modified-by argument" >&5 |
1340 # Check whether --with-modified-by or --without-modified-by was given. | 1360 # Check whether --with-modified-by or --without-modified-by was given. |
1341 if test "${with_modified_by+set}" = set; then | 1361 if test "${with_modified_by+set}" = set; then |
1342 withval="$with_modified_by" | 1362 withval="$with_modified_by" |
1343 echo "$ac_t""$withval" 1>&6; cat >> confdefs.h <<EOF | 1363 echo "$ac_t""$withval" 1>&6; cat >> confdefs.h <<EOF |
1344 #define MODIFIED_BY "$withval" | 1364 #define MODIFIED_BY "$withval" |
1348 echo "$ac_t""no" 1>&6 | 1368 echo "$ac_t""no" 1>&6 |
1349 fi | 1369 fi |
1350 | 1370 |
1351 | 1371 |
1352 echo $ac_n "checking if character set is EBCDIC""... $ac_c" 1>&6 | 1372 echo $ac_n "checking if character set is EBCDIC""... $ac_c" 1>&6 |
1353 echo "configure:1354: checking if character set is EBCDIC" >&5 | 1373 echo "configure:1374: checking if character set is EBCDIC" >&5 |
1354 cat > conftest.$ac_ext <<EOF | 1374 cat > conftest.$ac_ext <<EOF |
1355 #line 1356 "configure" | 1375 #line 1376 "configure" |
1356 #include "confdefs.h" | 1376 #include "confdefs.h" |
1357 | 1377 |
1358 int main() { | 1378 int main() { |
1359 /* TryCompile function for CharSet. | 1379 /* TryCompile function for CharSet. |
1360 Treat any failure as ASCII for compatibility with existing art. | 1380 Treat any failure as ASCII for compatibility with existing art. |
1363 #if '0'!=240 | 1383 #if '0'!=240 |
1364 make an error "Character set is not EBCDIC" | 1384 make an error "Character set is not EBCDIC" |
1365 #endif | 1385 #endif |
1366 ; return 0; } | 1386 ; return 0; } |
1367 EOF | 1387 EOF |
1368 if { (eval echo configure:1369: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 1388 if { (eval echo configure:1389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
1369 rm -rf conftest* | 1389 rm -rf conftest* |
1370 # TryCompile action if true | 1390 # TryCompile action if true |
1371 cf_cv_ebcdic=yes | 1391 cf_cv_ebcdic=yes |
1372 else | 1392 else |
1373 echo "configure: failed program was:" >&5 | 1393 echo "configure: failed program was:" >&5 |
1391 esac | 1411 esac |
1392 | 1412 |
1393 | 1413 |
1394 if test "$cf_cv_ebcdic" = "yes"; then | 1414 if test "$cf_cv_ebcdic" = "yes"; then |
1395 echo $ac_n "checking for OS/390 Unix""... $ac_c" 1>&6 | 1415 echo $ac_n "checking for OS/390 Unix""... $ac_c" 1>&6 |
1396 echo "configure:1397: checking for OS/390 Unix" >&5 | 1416 echo "configure:1417: checking for OS/390 Unix" >&5 |
1397 case `uname` in | 1417 case `uname` in |
1398 OS/390) OS390Unix="yes"; | 1418 OS/390) OS390Unix="yes"; |
1399 if test "$CC" = "cc"; then | 1419 if test "$CC" = "cc"; then |
1400 ccm="$_CC_CCMODE" | 1420 ccm="$_CC_CCMODE" |
1401 ccn="CC" | 1421 ccn="CC" |
1428 fi | 1448 fi |
1429 | 1449 |
1430 | 1450 |
1431 | 1451 |
1432 echo $ac_n "checking --with-features argument""... $ac_c" 1>&6 | 1452 echo $ac_n "checking --with-features argument""... $ac_c" 1>&6 |
1433 echo "configure:1434: checking --with-features argument" >&5 | 1453 echo "configure:1454: checking --with-features argument" >&5 |
1434 # Check whether --with-features or --without-features was given. | 1454 # Check whether --with-features or --without-features was given. |
1435 if test "${with_features+set}" = set; then | 1455 if test "${with_features+set}" = set; then |
1436 withval="$with_features" | 1456 withval="$with_features" |
1437 features="$withval"; echo "$ac_t""$features" 1>&6 | 1457 features="$withval"; echo "$ac_t""$features" 1>&6 |
1438 else | 1458 else |
1471 | 1491 |
1472 | 1492 |
1473 | 1493 |
1474 | 1494 |
1475 echo $ac_n "checking --with-compiledby argument""... $ac_c" 1>&6 | 1495 echo $ac_n "checking --with-compiledby argument""... $ac_c" 1>&6 |
1476 echo "configure:1477: checking --with-compiledby argument" >&5 | 1496 echo "configure:1497: checking --with-compiledby argument" >&5 |
1477 # Check whether --with-compiledby or --without-compiledby was given. | 1497 # Check whether --with-compiledby or --without-compiledby was given. |
1478 if test "${with_compiledby+set}" = set; then | 1498 if test "${with_compiledby+set}" = set; then |
1479 withval="$with_compiledby" | 1499 withval="$with_compiledby" |
1480 compiledby="$withval"; echo "$ac_t""$withval" 1>&6 | 1500 compiledby="$withval"; echo "$ac_t""$withval" 1>&6 |
1481 else | 1501 else |
1483 fi | 1503 fi |
1484 | 1504 |
1485 | 1505 |
1486 | 1506 |
1487 echo $ac_n "checking --disable-xsmp argument""... $ac_c" 1>&6 | 1507 echo $ac_n "checking --disable-xsmp argument""... $ac_c" 1>&6 |
1488 echo "configure:1489: checking --disable-xsmp argument" >&5 | 1508 echo "configure:1509: checking --disable-xsmp argument" >&5 |
1489 # Check whether --enable-xsmp or --disable-xsmp was given. | 1509 # Check whether --enable-xsmp or --disable-xsmp was given. |
1490 if test "${enable_xsmp+set}" = set; then | 1510 if test "${enable_xsmp+set}" = set; then |
1491 enableval="$enable_xsmp" | 1511 enableval="$enable_xsmp" |
1492 : | 1512 : |
1493 else | 1513 else |
1496 | 1516 |
1497 | 1517 |
1498 if test "$enable_xsmp" = "yes"; then | 1518 if test "$enable_xsmp" = "yes"; then |
1499 echo "$ac_t""no" 1>&6 | 1519 echo "$ac_t""no" 1>&6 |
1500 echo $ac_n "checking --disable-xsmp-interact argument""... $ac_c" 1>&6 | 1520 echo $ac_n "checking --disable-xsmp-interact argument""... $ac_c" 1>&6 |
1501 echo "configure:1502: checking --disable-xsmp-interact argument" >&5 | 1521 echo "configure:1522: checking --disable-xsmp-interact argument" >&5 |
1502 # Check whether --enable-xsmp-interact or --disable-xsmp-interact was given. | 1522 # Check whether --enable-xsmp-interact or --disable-xsmp-interact was given. |
1503 if test "${enable_xsmp_interact+set}" = set; then | 1523 if test "${enable_xsmp_interact+set}" = set; then |
1504 enableval="$enable_xsmp_interact" | 1524 enableval="$enable_xsmp_interact" |
1505 : | 1525 : |
1506 else | 1526 else |
1519 else | 1539 else |
1520 echo "$ac_t""yes" 1>&6 | 1540 echo "$ac_t""yes" 1>&6 |
1521 fi | 1541 fi |
1522 | 1542 |
1523 echo $ac_n "checking --enable-perlinterp argument""... $ac_c" 1>&6 | 1543 echo $ac_n "checking --enable-perlinterp argument""... $ac_c" 1>&6 |
1524 echo "configure:1525: checking --enable-perlinterp argument" >&5 | 1544 echo "configure:1545: checking --enable-perlinterp argument" >&5 |
1525 # Check whether --enable-perlinterp or --disable-perlinterp was given. | 1545 # Check whether --enable-perlinterp or --disable-perlinterp was given. |
1526 if test "${enable_perlinterp+set}" = set; then | 1546 if test "${enable_perlinterp+set}" = set; then |
1527 enableval="$enable_perlinterp" | 1547 enableval="$enable_perlinterp" |
1528 : | 1548 : |
1529 else | 1549 else |
1534 if test "$enable_perlinterp" = "yes"; then | 1554 if test "$enable_perlinterp" = "yes"; then |
1535 | 1555 |
1536 # Extract the first word of "perl", so it can be a program name with args. | 1556 # Extract the first word of "perl", so it can be a program name with args. |
1537 set dummy perl; ac_word=$2 | 1557 set dummy perl; ac_word=$2 |
1538 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1558 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1539 echo "configure:1540: checking for $ac_word" >&5 | 1559 echo "configure:1560: checking for $ac_word" >&5 |
1540 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_perl'+set}'`\" = set"; then | 1560 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_perl'+set}'`\" = set"; then |
1541 echo $ac_n "(cached) $ac_c" 1>&6 | 1561 echo $ac_n "(cached) $ac_c" 1>&6 |
1542 else | 1562 else |
1543 case "$vi_cv_path_perl" in | 1563 case "$vi_cv_path_perl" in |
1544 /*) | 1564 /*) |
1568 echo "$ac_t""no" 1>&6 | 1588 echo "$ac_t""no" 1>&6 |
1569 fi | 1589 fi |
1570 | 1590 |
1571 if test "X$vi_cv_path_perl" != "X"; then | 1591 if test "X$vi_cv_path_perl" != "X"; then |
1572 echo $ac_n "checking Perl version""... $ac_c" 1>&6 | 1592 echo $ac_n "checking Perl version""... $ac_c" 1>&6 |
1573 echo "configure:1574: checking Perl version" >&5 | 1593 echo "configure:1594: checking Perl version" >&5 |
1574 if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then | 1594 if $vi_cv_path_perl -e 'require 5.003_01' >/dev/null 2>/dev/null; then |
1575 eval `$vi_cv_path_perl -V:usethreads` | 1595 eval `$vi_cv_path_perl -V:usethreads` |
1576 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then | 1596 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then |
1577 badthreads=no | 1597 badthreads=no |
1578 else | 1598 else |
1604 -e 's/-bE:perl.exp//' -e 's/-lc //'` | 1624 -e 's/-bE:perl.exp//' -e 's/-lc //'` |
1605 perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \ | 1625 perlldflags=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \ |
1606 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'` | 1626 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'` |
1607 | 1627 |
1608 echo $ac_n "checking if compile and link flags for Perl are sane""... $ac_c" 1>&6 | 1628 echo $ac_n "checking if compile and link flags for Perl are sane""... $ac_c" 1>&6 |
1609 echo "configure:1610: checking if compile and link flags for Perl are sane" >&5 | 1629 echo "configure:1630: checking if compile and link flags for Perl are sane" >&5 |
1610 cflags_save=$CFLAGS | 1630 cflags_save=$CFLAGS |
1611 libs_save=$LIBS | 1631 libs_save=$LIBS |
1612 ldflags_save=$LDFLAGS | 1632 ldflags_save=$LDFLAGS |
1613 CFLAGS="$CFLAGS $perlcppflags" | 1633 CFLAGS="$CFLAGS $perlcppflags" |
1614 LIBS="$LIBS $perllibs" | 1634 LIBS="$LIBS $perllibs" |
1615 LDFLAGS="$perlldflags $LDFLAGS" | 1635 LDFLAGS="$perlldflags $LDFLAGS" |
1616 cat > conftest.$ac_ext <<EOF | 1636 cat > conftest.$ac_ext <<EOF |
1617 #line 1618 "configure" | 1637 #line 1638 "configure" |
1618 #include "confdefs.h" | 1638 #include "confdefs.h" |
1619 | 1639 |
1620 int main() { | 1640 int main() { |
1621 | 1641 |
1622 ; return 0; } | 1642 ; return 0; } |
1623 EOF | 1643 EOF |
1624 if { (eval echo configure:1625: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1644 if { (eval echo configure:1645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1625 rm -rf conftest* | 1645 rm -rf conftest* |
1626 echo "$ac_t""yes" 1>&6; perl_ok=yes | 1646 echo "$ac_t""yes" 1>&6; perl_ok=yes |
1627 else | 1647 else |
1628 echo "configure: failed program was:" >&5 | 1648 echo "configure: failed program was:" >&5 |
1629 cat conftest.$ac_ext >&5 | 1649 cat conftest.$ac_ext >&5 |
1682 | 1702 |
1683 | 1703 |
1684 | 1704 |
1685 | 1705 |
1686 echo $ac_n "checking --enable-pythoninterp argument""... $ac_c" 1>&6 | 1706 echo $ac_n "checking --enable-pythoninterp argument""... $ac_c" 1>&6 |
1687 echo "configure:1688: checking --enable-pythoninterp argument" >&5 | 1707 echo "configure:1708: checking --enable-pythoninterp argument" >&5 |
1688 # Check whether --enable-pythoninterp or --disable-pythoninterp was given. | 1708 # Check whether --enable-pythoninterp or --disable-pythoninterp was given. |
1689 if test "${enable_pythoninterp+set}" = set; then | 1709 if test "${enable_pythoninterp+set}" = set; then |
1690 enableval="$enable_pythoninterp" | 1710 enableval="$enable_pythoninterp" |
1691 : | 1711 : |
1692 else | 1712 else |
1696 echo "$ac_t""$enable_pythoninterp" 1>&6 | 1716 echo "$ac_t""$enable_pythoninterp" 1>&6 |
1697 if test "$enable_pythoninterp" = "yes"; then | 1717 if test "$enable_pythoninterp" = "yes"; then |
1698 # Extract the first word of "python", so it can be a program name with args. | 1718 # Extract the first word of "python", so it can be a program name with args. |
1699 set dummy python; ac_word=$2 | 1719 set dummy python; ac_word=$2 |
1700 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 1720 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1701 echo "configure:1702: checking for $ac_word" >&5 | 1721 echo "configure:1722: checking for $ac_word" >&5 |
1702 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_python'+set}'`\" = set"; then | 1722 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_python'+set}'`\" = set"; then |
1703 echo $ac_n "(cached) $ac_c" 1>&6 | 1723 echo $ac_n "(cached) $ac_c" 1>&6 |
1704 else | 1724 else |
1705 case "$vi_cv_path_python" in | 1725 case "$vi_cv_path_python" in |
1706 /*) | 1726 /*) |
1731 fi | 1751 fi |
1732 | 1752 |
1733 if test "X$vi_cv_path_python" != "X"; then | 1753 if test "X$vi_cv_path_python" != "X"; then |
1734 | 1754 |
1735 echo $ac_n "checking Python version""... $ac_c" 1>&6 | 1755 echo $ac_n "checking Python version""... $ac_c" 1>&6 |
1736 echo "configure:1737: checking Python version" >&5 | 1756 echo "configure:1757: checking Python version" >&5 |
1737 if eval "test \"`echo '$''{'vi_cv_var_python_version'+set}'`\" = set"; then | 1757 if eval "test \"`echo '$''{'vi_cv_var_python_version'+set}'`\" = set"; then |
1738 echo $ac_n "(cached) $ac_c" 1>&6 | 1758 echo $ac_n "(cached) $ac_c" 1>&6 |
1739 else | 1759 else |
1740 vi_cv_var_python_version=` | 1760 vi_cv_var_python_version=` |
1741 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'` | 1761 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'` |
1743 fi | 1763 fi |
1744 | 1764 |
1745 echo "$ac_t""$vi_cv_var_python_version" 1>&6 | 1765 echo "$ac_t""$vi_cv_var_python_version" 1>&6 |
1746 | 1766 |
1747 echo $ac_n "checking Python is 1.4 or better""... $ac_c" 1>&6 | 1767 echo $ac_n "checking Python is 1.4 or better""... $ac_c" 1>&6 |
1748 echo "configure:1749: checking Python is 1.4 or better" >&5 | 1768 echo "configure:1769: checking Python is 1.4 or better" >&5 |
1749 if ${vi_cv_path_python} -c \ | 1769 if ${vi_cv_path_python} -c \ |
1750 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)" | 1770 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)" |
1751 then | 1771 then |
1752 echo "$ac_t""yep" 1>&6 | 1772 echo "$ac_t""yep" 1>&6 |
1753 | 1773 |
1754 echo $ac_n "checking Python's install prefix""... $ac_c" 1>&6 | 1774 echo $ac_n "checking Python's install prefix""... $ac_c" 1>&6 |
1755 echo "configure:1756: checking Python's install prefix" >&5 | 1775 echo "configure:1776: checking Python's install prefix" >&5 |
1756 if eval "test \"`echo '$''{'vi_cv_path_python_pfx'+set}'`\" = set"; then | 1776 if eval "test \"`echo '$''{'vi_cv_path_python_pfx'+set}'`\" = set"; then |
1757 echo $ac_n "(cached) $ac_c" 1>&6 | 1777 echo $ac_n "(cached) $ac_c" 1>&6 |
1758 else | 1778 else |
1759 vi_cv_path_python_pfx=` | 1779 vi_cv_path_python_pfx=` |
1760 ${vi_cv_path_python} -c \ | 1780 ${vi_cv_path_python} -c \ |
1762 fi | 1782 fi |
1763 | 1783 |
1764 echo "$ac_t""$vi_cv_path_python_pfx" 1>&6 | 1784 echo "$ac_t""$vi_cv_path_python_pfx" 1>&6 |
1765 | 1785 |
1766 echo $ac_n "checking Python's execution prefix""... $ac_c" 1>&6 | 1786 echo $ac_n "checking Python's execution prefix""... $ac_c" 1>&6 |
1767 echo "configure:1768: checking Python's execution prefix" >&5 | 1787 echo "configure:1788: checking Python's execution prefix" >&5 |
1768 if eval "test \"`echo '$''{'vi_cv_path_python_epfx'+set}'`\" = set"; then | 1788 if eval "test \"`echo '$''{'vi_cv_path_python_epfx'+set}'`\" = set"; then |
1769 echo $ac_n "(cached) $ac_c" 1>&6 | 1789 echo $ac_n "(cached) $ac_c" 1>&6 |
1770 else | 1790 else |
1771 vi_cv_path_python_epfx=` | 1791 vi_cv_path_python_epfx=` |
1772 ${vi_cv_path_python} -c \ | 1792 ${vi_cv_path_python} -c \ |
1793 vi_cv_path_python_conf="${withval}" | 1813 vi_cv_path_python_conf="${withval}" |
1794 fi | 1814 fi |
1795 | 1815 |
1796 | 1816 |
1797 echo $ac_n "checking Python's configuration directory""... $ac_c" 1>&6 | 1817 echo $ac_n "checking Python's configuration directory""... $ac_c" 1>&6 |
1798 echo "configure:1799: checking Python's configuration directory" >&5 | 1818 echo "configure:1819: checking Python's configuration directory" >&5 |
1799 if eval "test \"`echo '$''{'vi_cv_path_python_conf'+set}'`\" = set"; then | 1819 if eval "test \"`echo '$''{'vi_cv_path_python_conf'+set}'`\" = set"; then |
1800 echo $ac_n "(cached) $ac_c" 1>&6 | 1820 echo $ac_n "(cached) $ac_c" 1>&6 |
1801 else | 1821 else |
1802 | 1822 |
1803 vi_cv_path_python_conf= | 1823 vi_cv_path_python_conf= |
1866 PYTHON_OBJ="$PYTHON_OBJ objects/py_getpath.o" | 1886 PYTHON_OBJ="$PYTHON_OBJ objects/py_getpath.o" |
1867 fi | 1887 fi |
1868 PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'" | 1888 PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'" |
1869 | 1889 |
1870 echo $ac_n "checking if -pthread should be used""... $ac_c" 1>&6 | 1890 echo $ac_n "checking if -pthread should be used""... $ac_c" 1>&6 |
1871 echo "configure:1872: checking if -pthread should be used" >&5 | 1891 echo "configure:1892: checking if -pthread should be used" >&5 |
1872 threadsafe_flag= | 1892 threadsafe_flag= |
1873 thread_lib= | 1893 thread_lib= |
1874 if test "x$MACOSX" != "xyes"; then | 1894 if test "x$MACOSX" != "xyes"; then |
1875 test "$GCC" = yes && threadsafe_flag="-pthread" | 1895 test "$GCC" = yes && threadsafe_flag="-pthread" |
1876 if test "`(uname) 2>/dev/null`" = FreeBSD; then | 1896 if test "`(uname) 2>/dev/null`" = FreeBSD; then |
1882 if test -n "$threadsafe_flag"; then | 1902 if test -n "$threadsafe_flag"; then |
1883 cflags_save=$CFLAGS | 1903 cflags_save=$CFLAGS |
1884 CFLAGS="$CFLAGS $threadsafe_flag" | 1904 CFLAGS="$CFLAGS $threadsafe_flag" |
1885 LIBS="$LIBS $thread_lib" | 1905 LIBS="$LIBS $thread_lib" |
1886 cat > conftest.$ac_ext <<EOF | 1906 cat > conftest.$ac_ext <<EOF |
1887 #line 1888 "configure" | 1907 #line 1908 "configure" |
1888 #include "confdefs.h" | 1908 #include "confdefs.h" |
1889 | 1909 |
1890 int main() { | 1910 int main() { |
1891 | 1911 |
1892 ; return 0; } | 1912 ; return 0; } |
1893 EOF | 1913 EOF |
1894 if { (eval echo configure:1895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1914 if { (eval echo configure:1915: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1895 rm -rf conftest* | 1915 rm -rf conftest* |
1896 echo "$ac_t""yes" 1>&6; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag" | 1916 echo "$ac_t""yes" 1>&6; PYTHON_CFLAGS="$PYTHON_CFLAGS $threadsafe_flag" |
1897 else | 1917 else |
1898 echo "configure: failed program was:" >&5 | 1918 echo "configure: failed program was:" >&5 |
1899 cat conftest.$ac_ext >&5 | 1919 cat conftest.$ac_ext >&5 |
1906 else | 1926 else |
1907 echo "$ac_t""no" 1>&6 | 1927 echo "$ac_t""no" 1>&6 |
1908 fi | 1928 fi |
1909 | 1929 |
1910 echo $ac_n "checking if compile and link flags for Python are sane""... $ac_c" 1>&6 | 1930 echo $ac_n "checking if compile and link flags for Python are sane""... $ac_c" 1>&6 |
1911 echo "configure:1912: checking if compile and link flags for Python are sane" >&5 | 1931 echo "configure:1932: checking if compile and link flags for Python are sane" >&5 |
1912 cflags_save=$CFLAGS | 1932 cflags_save=$CFLAGS |
1913 libs_save=$LIBS | 1933 libs_save=$LIBS |
1914 CFLAGS="$CFLAGS $PYTHON_CFLAGS" | 1934 CFLAGS="$CFLAGS $PYTHON_CFLAGS" |
1915 LIBS="$LIBS $PYTHON_LIBS" | 1935 LIBS="$LIBS $PYTHON_LIBS" |
1916 cat > conftest.$ac_ext <<EOF | 1936 cat > conftest.$ac_ext <<EOF |
1917 #line 1918 "configure" | 1937 #line 1938 "configure" |
1918 #include "confdefs.h" | 1938 #include "confdefs.h" |
1919 | 1939 |
1920 int main() { | 1940 int main() { |
1921 | 1941 |
1922 ; return 0; } | 1942 ; return 0; } |
1923 EOF | 1943 EOF |
1924 if { (eval echo configure:1925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 1944 if { (eval echo configure:1945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
1925 rm -rf conftest* | 1945 rm -rf conftest* |
1926 echo "$ac_t""yes" 1>&6; python_ok=yes | 1946 echo "$ac_t""yes" 1>&6; python_ok=yes |
1927 else | 1947 else |
1928 echo "configure: failed program was:" >&5 | 1948 echo "configure: failed program was:" >&5 |
1929 cat conftest.$ac_ext >&5 | 1949 cat conftest.$ac_ext >&5 |
1958 | 1978 |
1959 | 1979 |
1960 | 1980 |
1961 | 1981 |
1962 echo $ac_n "checking --enable-tclinterp argument""... $ac_c" 1>&6 | 1982 echo $ac_n "checking --enable-tclinterp argument""... $ac_c" 1>&6 |
1963 echo "configure:1964: checking --enable-tclinterp argument" >&5 | 1983 echo "configure:1984: checking --enable-tclinterp argument" >&5 |
1964 # Check whether --enable-tclinterp or --disable-tclinterp was given. | 1984 # Check whether --enable-tclinterp or --disable-tclinterp was given. |
1965 if test "${enable_tclinterp+set}" = set; then | 1985 if test "${enable_tclinterp+set}" = set; then |
1966 enableval="$enable_tclinterp" | 1986 enableval="$enable_tclinterp" |
1967 : | 1987 : |
1968 else | 1988 else |
1972 echo "$ac_t""$enable_tclinterp" 1>&6 | 1992 echo "$ac_t""$enable_tclinterp" 1>&6 |
1973 | 1993 |
1974 if test "$enable_tclinterp" = "yes"; then | 1994 if test "$enable_tclinterp" = "yes"; then |
1975 | 1995 |
1976 echo $ac_n "checking --with-tclsh argument""... $ac_c" 1>&6 | 1996 echo $ac_n "checking --with-tclsh argument""... $ac_c" 1>&6 |
1977 echo "configure:1978: checking --with-tclsh argument" >&5 | 1997 echo "configure:1998: checking --with-tclsh argument" >&5 |
1978 # Check whether --with-tclsh or --without-tclsh was given. | 1998 # Check whether --with-tclsh or --without-tclsh was given. |
1979 if test "${with_tclsh+set}" = set; then | 1999 if test "${with_tclsh+set}" = set; then |
1980 withval="$with_tclsh" | 2000 withval="$with_tclsh" |
1981 tclsh_name="$withval"; echo "$ac_t""$tclsh_name" 1>&6 | 2001 tclsh_name="$withval"; echo "$ac_t""$tclsh_name" 1>&6 |
1982 else | 2002 else |
1984 fi | 2004 fi |
1985 | 2005 |
1986 # Extract the first word of "$tclsh_name", so it can be a program name with args. | 2006 # Extract the first word of "$tclsh_name", so it can be a program name with args. |
1987 set dummy $tclsh_name; ac_word=$2 | 2007 set dummy $tclsh_name; ac_word=$2 |
1988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2008 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
1989 echo "configure:1990: checking for $ac_word" >&5 | 2009 echo "configure:2010: checking for $ac_word" >&5 |
1990 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then | 2010 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then |
1991 echo $ac_n "(cached) $ac_c" 1>&6 | 2011 echo $ac_n "(cached) $ac_c" 1>&6 |
1992 else | 2012 else |
1993 case "$vi_cv_path_tcl" in | 2013 case "$vi_cv_path_tcl" in |
1994 /*) | 2014 /*) |
2023 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.0"; then | 2043 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.0"; then |
2024 tclsh_name="tclsh8.2" | 2044 tclsh_name="tclsh8.2" |
2025 # Extract the first word of "$tclsh_name", so it can be a program name with args. | 2045 # Extract the first word of "$tclsh_name", so it can be a program name with args. |
2026 set dummy $tclsh_name; ac_word=$2 | 2046 set dummy $tclsh_name; ac_word=$2 |
2027 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2047 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2028 echo "configure:2029: checking for $ac_word" >&5 | 2048 echo "configure:2049: checking for $ac_word" >&5 |
2029 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then | 2049 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then |
2030 echo $ac_n "(cached) $ac_c" 1>&6 | 2050 echo $ac_n "(cached) $ac_c" 1>&6 |
2031 else | 2051 else |
2032 case "$vi_cv_path_tcl" in | 2052 case "$vi_cv_path_tcl" in |
2033 /*) | 2053 /*) |
2061 if test "X$vi_cv_path_tcl" = "X"; then | 2081 if test "X$vi_cv_path_tcl" = "X"; then |
2062 tclsh_name="tclsh" | 2082 tclsh_name="tclsh" |
2063 # Extract the first word of "$tclsh_name", so it can be a program name with args. | 2083 # Extract the first word of "$tclsh_name", so it can be a program name with args. |
2064 set dummy $tclsh_name; ac_word=$2 | 2084 set dummy $tclsh_name; ac_word=$2 |
2065 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2085 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2066 echo "configure:2067: checking for $ac_word" >&5 | 2086 echo "configure:2087: checking for $ac_word" >&5 |
2067 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then | 2087 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_tcl'+set}'`\" = set"; then |
2068 echo $ac_n "(cached) $ac_c" 1>&6 | 2088 echo $ac_n "(cached) $ac_c" 1>&6 |
2069 else | 2089 else |
2070 case "$vi_cv_path_tcl" in | 2090 case "$vi_cv_path_tcl" in |
2071 /*) | 2091 /*) |
2096 fi | 2116 fi |
2097 | 2117 |
2098 fi | 2118 fi |
2099 if test "X$vi_cv_path_tcl" != "X"; then | 2119 if test "X$vi_cv_path_tcl" != "X"; then |
2100 echo $ac_n "checking Tcl version""... $ac_c" 1>&6 | 2120 echo $ac_n "checking Tcl version""... $ac_c" 1>&6 |
2101 echo "configure:2102: checking Tcl version" >&5 | 2121 echo "configure:2122: checking Tcl version" >&5 |
2102 if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then | 2122 if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then |
2103 tclver=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -` | 2123 tclver=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -` |
2104 echo "$ac_t""$tclver - OK" 1>&6; | 2124 echo "$ac_t""$tclver - OK" 1>&6; |
2105 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 -` | 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 -` |
2106 | 2126 |
2107 echo $ac_n "checking for location of Tcl include""... $ac_c" 1>&6 | 2127 echo $ac_n "checking for location of Tcl include""... $ac_c" 1>&6 |
2108 echo "configure:2109: checking for location of Tcl include" >&5 | 2128 echo "configure:2129: checking for location of Tcl include" >&5 |
2109 if test "x$MACOSX" != "xyes"; then | 2129 if test "x$MACOSX" != "xyes"; then |
2110 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include" | 2130 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include" |
2111 else | 2131 else |
2112 tclinc="/System/Library/Frameworks/Tcl.framework/Headers" | 2132 tclinc="/System/Library/Frameworks/Tcl.framework/Headers" |
2113 fi | 2133 fi |
2122 echo "$ac_t""<not found>" 1>&6 | 2142 echo "$ac_t""<not found>" 1>&6 |
2123 SKIP_TCL=YES | 2143 SKIP_TCL=YES |
2124 fi | 2144 fi |
2125 if test -z "$SKIP_TCL"; then | 2145 if test -z "$SKIP_TCL"; then |
2126 echo $ac_n "checking for location of tclConfig.sh script""... $ac_c" 1>&6 | 2146 echo $ac_n "checking for location of tclConfig.sh script""... $ac_c" 1>&6 |
2127 echo "configure:2128: checking for location of tclConfig.sh script" >&5 | 2147 echo "configure:2148: checking for location of tclConfig.sh script" >&5 |
2128 if test "x$MACOSX" != "xyes"; then | 2148 if test "x$MACOSX" != "xyes"; then |
2129 tclcnf=`echo $tclinc | sed s/include/lib/g` | 2149 tclcnf=`echo $tclinc | sed s/include/lib/g` |
2130 else | 2150 else |
2131 tclcnf="/System/Library/Frameworks/Tcl.framework" | 2151 tclcnf="/System/Library/Frameworks/Tcl.framework" |
2132 fi | 2152 fi |
2140 fi | 2160 fi |
2141 done | 2161 done |
2142 if test -z "$TCL_LIBS"; then | 2162 if test -z "$TCL_LIBS"; then |
2143 echo "$ac_t""<not found>" 1>&6 | 2163 echo "$ac_t""<not found>" 1>&6 |
2144 echo $ac_n "checking for Tcl library by myself""... $ac_c" 1>&6 | 2164 echo $ac_n "checking for Tcl library by myself""... $ac_c" 1>&6 |
2145 echo "configure:2146: checking for Tcl library by myself" >&5 | 2165 echo "configure:2166: checking for Tcl library by myself" >&5 |
2146 tcllib=`echo $tclinc | sed s/include/lib/g` | 2166 tcllib=`echo $tclinc | sed s/include/lib/g` |
2147 for ext in .so .a ; do | 2167 for ext in .so .a ; do |
2148 for ver in "" $tclver ; do | 2168 for ver in "" $tclver ; do |
2149 for try in $tcllib ; do | 2169 for try in $tcllib ; do |
2150 trylib=tcl$ver$ext | 2170 trylib=tcl$ver$ext |
2186 | 2206 |
2187 | 2207 |
2188 | 2208 |
2189 | 2209 |
2190 echo $ac_n "checking --enable-rubyinterp argument""... $ac_c" 1>&6 | 2210 echo $ac_n "checking --enable-rubyinterp argument""... $ac_c" 1>&6 |
2191 echo "configure:2192: checking --enable-rubyinterp argument" >&5 | 2211 echo "configure:2212: checking --enable-rubyinterp argument" >&5 |
2192 # Check whether --enable-rubyinterp or --disable-rubyinterp was given. | 2212 # Check whether --enable-rubyinterp or --disable-rubyinterp was given. |
2193 if test "${enable_rubyinterp+set}" = set; then | 2213 if test "${enable_rubyinterp+set}" = set; then |
2194 enableval="$enable_rubyinterp" | 2214 enableval="$enable_rubyinterp" |
2195 : | 2215 : |
2196 else | 2216 else |
2201 if test "$enable_rubyinterp" = "yes"; then | 2221 if test "$enable_rubyinterp" = "yes"; then |
2202 | 2222 |
2203 # Extract the first word of "ruby", so it can be a program name with args. | 2223 # Extract the first word of "ruby", so it can be a program name with args. |
2204 set dummy ruby; ac_word=$2 | 2224 set dummy ruby; ac_word=$2 |
2205 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2225 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2206 echo "configure:2207: checking for $ac_word" >&5 | 2226 echo "configure:2227: checking for $ac_word" >&5 |
2207 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_ruby'+set}'`\" = set"; then | 2227 if eval "test \"`echo '$''{'ac_cv_path_vi_cv_path_ruby'+set}'`\" = set"; then |
2208 echo $ac_n "(cached) $ac_c" 1>&6 | 2228 echo $ac_n "(cached) $ac_c" 1>&6 |
2209 else | 2229 else |
2210 case "$vi_cv_path_ruby" in | 2230 case "$vi_cv_path_ruby" in |
2211 /*) | 2231 /*) |
2235 echo "$ac_t""no" 1>&6 | 2255 echo "$ac_t""no" 1>&6 |
2236 fi | 2256 fi |
2237 | 2257 |
2238 if test "X$vi_cv_path_ruby" != "X"; then | 2258 if test "X$vi_cv_path_ruby" != "X"; then |
2239 echo $ac_n "checking Ruby version""... $ac_c" 1>&6 | 2259 echo $ac_n "checking Ruby version""... $ac_c" 1>&6 |
2240 echo "configure:2241: checking Ruby version" >&5 | 2260 echo "configure:2261: checking Ruby version" >&5 |
2241 if $vi_cv_path_ruby -e 'VERSION >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then | 2261 if $vi_cv_path_ruby -e 'VERSION >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then |
2242 echo "$ac_t""OK" 1>&6 | 2262 echo "$ac_t""OK" 1>&6 |
2243 echo $ac_n "checking Ruby header files""... $ac_c" 1>&6 | 2263 echo $ac_n "checking Ruby header files""... $ac_c" 1>&6 |
2244 echo "configure:2245: checking Ruby header files" >&5 | 2264 echo "configure:2265: checking Ruby header files" >&5 |
2245 rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null` | 2265 rubyhdrdir=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null` |
2246 if test "X$rubyhdrdir" != "X"; then | 2266 if test "X$rubyhdrdir" != "X"; then |
2247 echo "$ac_t""$rubyhdrdir" 1>&6 | 2267 echo "$ac_t""$rubyhdrdir" 1>&6 |
2248 RUBY_CFLAGS="-I$rubyhdrdir" | 2268 RUBY_CFLAGS="-I$rubyhdrdir" |
2249 rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'` | 2269 rubylibs=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'` |
2291 | 2311 |
2292 | 2312 |
2293 | 2313 |
2294 | 2314 |
2295 echo $ac_n "checking --enable-cscope argument""... $ac_c" 1>&6 | 2315 echo $ac_n "checking --enable-cscope argument""... $ac_c" 1>&6 |
2296 echo "configure:2297: checking --enable-cscope argument" >&5 | 2316 echo "configure:2317: checking --enable-cscope argument" >&5 |
2297 # Check whether --enable-cscope or --disable-cscope was given. | 2317 # Check whether --enable-cscope or --disable-cscope was given. |
2298 if test "${enable_cscope+set}" = set; then | 2318 if test "${enable_cscope+set}" = set; then |
2299 enableval="$enable_cscope" | 2319 enableval="$enable_cscope" |
2300 : | 2320 : |
2301 else | 2321 else |
2309 EOF | 2329 EOF |
2310 | 2330 |
2311 fi | 2331 fi |
2312 | 2332 |
2313 echo $ac_n "checking --enable-workshop argument""... $ac_c" 1>&6 | 2333 echo $ac_n "checking --enable-workshop argument""... $ac_c" 1>&6 |
2314 echo "configure:2315: checking --enable-workshop argument" >&5 | 2334 echo "configure:2335: checking --enable-workshop argument" >&5 |
2315 # Check whether --enable-workshop or --disable-workshop was given. | 2335 # Check whether --enable-workshop or --disable-workshop was given. |
2316 if test "${enable_workshop+set}" = set; then | 2336 if test "${enable_workshop+set}" = set; then |
2317 enableval="$enable_workshop" | 2337 enableval="$enable_workshop" |
2318 : | 2338 : |
2319 else | 2339 else |
2334 enable_gui=motif | 2354 enable_gui=motif |
2335 fi | 2355 fi |
2336 fi | 2356 fi |
2337 | 2357 |
2338 echo $ac_n "checking --disable-netbeans argument""... $ac_c" 1>&6 | 2358 echo $ac_n "checking --disable-netbeans argument""... $ac_c" 1>&6 |
2339 echo "configure:2340: checking --disable-netbeans argument" >&5 | 2359 echo "configure:2360: checking --disable-netbeans argument" >&5 |
2340 # Check whether --enable-netbeans or --disable-netbeans was given. | 2360 # Check whether --enable-netbeans or --disable-netbeans was given. |
2341 if test "${enable_netbeans+set}" = set; then | 2361 if test "${enable_netbeans+set}" = set; then |
2342 enableval="$enable_netbeans" | 2362 enableval="$enable_netbeans" |
2343 : | 2363 : |
2344 else | 2364 else |
2346 fi | 2366 fi |
2347 | 2367 |
2348 if test "$enable_netbeans" = "yes"; then | 2368 if test "$enable_netbeans" = "yes"; then |
2349 echo "$ac_t""no" 1>&6 | 2369 echo "$ac_t""no" 1>&6 |
2350 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 | 2370 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 |
2351 echo "configure:2352: checking for socket in -lsocket" >&5 | 2371 echo "configure:2372: checking for socket in -lsocket" >&5 |
2352 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` | 2372 ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` |
2353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2373 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2354 echo $ac_n "(cached) $ac_c" 1>&6 | 2374 echo $ac_n "(cached) $ac_c" 1>&6 |
2355 else | 2375 else |
2356 ac_save_LIBS="$LIBS" | 2376 ac_save_LIBS="$LIBS" |
2357 LIBS="-lsocket $LIBS" | 2377 LIBS="-lsocket $LIBS" |
2358 cat > conftest.$ac_ext <<EOF | 2378 cat > conftest.$ac_ext <<EOF |
2359 #line 2360 "configure" | 2379 #line 2380 "configure" |
2360 #include "confdefs.h" | 2380 #include "confdefs.h" |
2361 /* Override any gcc2 internal prototype to avoid an error. */ | 2381 /* Override any gcc2 internal prototype to avoid an error. */ |
2362 /* We use char because int might match the return type of a gcc2 | 2382 /* We use char because int might match the return type of a gcc2 |
2363 builtin and then its argument prototype would still apply. */ | 2383 builtin and then its argument prototype would still apply. */ |
2364 char socket(); | 2384 char socket(); |
2365 | 2385 |
2366 int main() { | 2386 int main() { |
2367 socket() | 2387 socket() |
2368 ; return 0; } | 2388 ; return 0; } |
2369 EOF | 2389 EOF |
2370 if { (eval echo configure:2371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2390 if { (eval echo configure:2391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2371 rm -rf conftest* | 2391 rm -rf conftest* |
2372 eval "ac_cv_lib_$ac_lib_var=yes" | 2392 eval "ac_cv_lib_$ac_lib_var=yes" |
2373 else | 2393 else |
2374 echo "configure: failed program was:" >&5 | 2394 echo "configure: failed program was:" >&5 |
2375 cat conftest.$ac_ext >&5 | 2395 cat conftest.$ac_ext >&5 |
2393 else | 2413 else |
2394 echo "$ac_t""no" 1>&6 | 2414 echo "$ac_t""no" 1>&6 |
2395 fi | 2415 fi |
2396 | 2416 |
2397 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 2417 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
2398 echo "configure:2399: checking for gethostbyname in -lnsl" >&5 | 2418 echo "configure:2419: checking for gethostbyname in -lnsl" >&5 |
2399 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 2419 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
2400 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2420 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2401 echo $ac_n "(cached) $ac_c" 1>&6 | 2421 echo $ac_n "(cached) $ac_c" 1>&6 |
2402 else | 2422 else |
2403 ac_save_LIBS="$LIBS" | 2423 ac_save_LIBS="$LIBS" |
2404 LIBS="-lnsl $LIBS" | 2424 LIBS="-lnsl $LIBS" |
2405 cat > conftest.$ac_ext <<EOF | 2425 cat > conftest.$ac_ext <<EOF |
2406 #line 2407 "configure" | 2426 #line 2427 "configure" |
2407 #include "confdefs.h" | 2427 #include "confdefs.h" |
2408 /* Override any gcc2 internal prototype to avoid an error. */ | 2428 /* Override any gcc2 internal prototype to avoid an error. */ |
2409 /* We use char because int might match the return type of a gcc2 | 2429 /* We use char because int might match the return type of a gcc2 |
2410 builtin and then its argument prototype would still apply. */ | 2430 builtin and then its argument prototype would still apply. */ |
2411 char gethostbyname(); | 2431 char gethostbyname(); |
2412 | 2432 |
2413 int main() { | 2433 int main() { |
2414 gethostbyname() | 2434 gethostbyname() |
2415 ; return 0; } | 2435 ; return 0; } |
2416 EOF | 2436 EOF |
2417 if { (eval echo configure:2418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2437 if { (eval echo configure:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2418 rm -rf conftest* | 2438 rm -rf conftest* |
2419 eval "ac_cv_lib_$ac_lib_var=yes" | 2439 eval "ac_cv_lib_$ac_lib_var=yes" |
2420 else | 2440 else |
2421 echo "configure: failed program was:" >&5 | 2441 echo "configure: failed program was:" >&5 |
2422 cat conftest.$ac_ext >&5 | 2442 cat conftest.$ac_ext >&5 |
2440 else | 2460 else |
2441 echo "$ac_t""no" 1>&6 | 2461 echo "$ac_t""no" 1>&6 |
2442 fi | 2462 fi |
2443 | 2463 |
2444 echo $ac_n "checking whether compiling netbeans integration is possible""... $ac_c" 1>&6 | 2464 echo $ac_n "checking whether compiling netbeans integration is possible""... $ac_c" 1>&6 |
2445 echo "configure:2446: checking whether compiling netbeans integration is possible" >&5 | 2465 echo "configure:2466: checking whether compiling netbeans integration is possible" >&5 |
2446 cat > conftest.$ac_ext <<EOF | 2466 cat > conftest.$ac_ext <<EOF |
2447 #line 2448 "configure" | 2467 #line 2468 "configure" |
2448 #include "confdefs.h" | 2468 #include "confdefs.h" |
2449 | 2469 |
2450 #include <stdio.h> | 2470 #include <stdio.h> |
2451 #include <stdlib.h> | 2471 #include <stdlib.h> |
2452 #include <stdarg.h> | 2472 #include <stdarg.h> |
2472 if (errno == ECONNREFUSED) | 2492 if (errno == ECONNREFUSED) |
2473 (void)connect(1, (struct sockaddr *)&server, sizeof(server)); | 2493 (void)connect(1, (struct sockaddr *)&server, sizeof(server)); |
2474 | 2494 |
2475 ; return 0; } | 2495 ; return 0; } |
2476 EOF | 2496 EOF |
2477 if { (eval echo configure:2478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2497 if { (eval echo configure:2498: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2478 rm -rf conftest* | 2498 rm -rf conftest* |
2479 echo "$ac_t""yes" 1>&6 | 2499 echo "$ac_t""yes" 1>&6 |
2480 else | 2500 else |
2481 echo "configure: failed program was:" >&5 | 2501 echo "configure: failed program was:" >&5 |
2482 cat conftest.$ac_ext >&5 | 2502 cat conftest.$ac_ext >&5 |
2497 NETBEANS_OBJ="objects/netbeans.o" | 2517 NETBEANS_OBJ="objects/netbeans.o" |
2498 | 2518 |
2499 fi | 2519 fi |
2500 | 2520 |
2501 echo $ac_n "checking --enable-sniff argument""... $ac_c" 1>&6 | 2521 echo $ac_n "checking --enable-sniff argument""... $ac_c" 1>&6 |
2502 echo "configure:2503: checking --enable-sniff argument" >&5 | 2522 echo "configure:2523: checking --enable-sniff argument" >&5 |
2503 # Check whether --enable-sniff or --disable-sniff was given. | 2523 # Check whether --enable-sniff or --disable-sniff was given. |
2504 if test "${enable_sniff+set}" = set; then | 2524 if test "${enable_sniff+set}" = set; then |
2505 enableval="$enable_sniff" | 2525 enableval="$enable_sniff" |
2506 : | 2526 : |
2507 else | 2527 else |
2519 SNIFF_OBJ="objects/if_sniff.o" | 2539 SNIFF_OBJ="objects/if_sniff.o" |
2520 | 2540 |
2521 fi | 2541 fi |
2522 | 2542 |
2523 echo $ac_n "checking --enable-multibyte argument""... $ac_c" 1>&6 | 2543 echo $ac_n "checking --enable-multibyte argument""... $ac_c" 1>&6 |
2524 echo "configure:2525: checking --enable-multibyte argument" >&5 | 2544 echo "configure:2545: checking --enable-multibyte argument" >&5 |
2525 # Check whether --enable-multibyte or --disable-multibyte was given. | 2545 # Check whether --enable-multibyte or --disable-multibyte was given. |
2526 if test "${enable_multibyte+set}" = set; then | 2546 if test "${enable_multibyte+set}" = set; then |
2527 enableval="$enable_multibyte" | 2547 enableval="$enable_multibyte" |
2528 : | 2548 : |
2529 else | 2549 else |
2537 EOF | 2557 EOF |
2538 | 2558 |
2539 fi | 2559 fi |
2540 | 2560 |
2541 echo $ac_n "checking --enable-hangulinput argument""... $ac_c" 1>&6 | 2561 echo $ac_n "checking --enable-hangulinput argument""... $ac_c" 1>&6 |
2542 echo "configure:2543: checking --enable-hangulinput argument" >&5 | 2562 echo "configure:2563: checking --enable-hangulinput argument" >&5 |
2543 # Check whether --enable-hangulinput or --disable-hangulinput was given. | 2563 # Check whether --enable-hangulinput or --disable-hangulinput was given. |
2544 if test "${enable_hangulinput+set}" = set; then | 2564 if test "${enable_hangulinput+set}" = set; then |
2545 enableval="$enable_hangulinput" | 2565 enableval="$enable_hangulinput" |
2546 : | 2566 : |
2547 else | 2567 else |
2549 fi | 2569 fi |
2550 | 2570 |
2551 echo "$ac_t""$enable_hangulinput" 1>&6 | 2571 echo "$ac_t""$enable_hangulinput" 1>&6 |
2552 | 2572 |
2553 echo $ac_n "checking --enable-xim argument""... $ac_c" 1>&6 | 2573 echo $ac_n "checking --enable-xim argument""... $ac_c" 1>&6 |
2554 echo "configure:2555: checking --enable-xim argument" >&5 | 2574 echo "configure:2575: checking --enable-xim argument" >&5 |
2555 # Check whether --enable-xim or --disable-xim was given. | 2575 # Check whether --enable-xim or --disable-xim was given. |
2556 if test "${enable_xim+set}" = set; then | 2576 if test "${enable_xim+set}" = set; then |
2557 enableval="$enable_xim" | 2577 enableval="$enable_xim" |
2558 echo "$ac_t""$enable_xim" 1>&6 | 2578 echo "$ac_t""$enable_xim" 1>&6 |
2559 else | 2579 else |
2560 enable_xim="auto"; echo "$ac_t""defaulting to auto" 1>&6 | 2580 enable_xim="auto"; echo "$ac_t""defaulting to auto" 1>&6 |
2561 fi | 2581 fi |
2562 | 2582 |
2563 | 2583 |
2564 echo $ac_n "checking --enable-fontset argument""... $ac_c" 1>&6 | 2584 echo $ac_n "checking --enable-fontset argument""... $ac_c" 1>&6 |
2565 echo "configure:2566: checking --enable-fontset argument" >&5 | 2585 echo "configure:2586: checking --enable-fontset argument" >&5 |
2566 # Check whether --enable-fontset or --disable-fontset was given. | 2586 # Check whether --enable-fontset or --disable-fontset was given. |
2567 if test "${enable_fontset+set}" = set; then | 2587 if test "${enable_fontset+set}" = set; then |
2568 enableval="$enable_fontset" | 2588 enableval="$enable_fontset" |
2569 : | 2589 : |
2570 else | 2590 else |
2580 else | 2600 else |
2581 | 2601 |
2582 # Extract the first word of "xmkmf", so it can be a program name with args. | 2602 # Extract the first word of "xmkmf", so it can be a program name with args. |
2583 set dummy xmkmf; ac_word=$2 | 2603 set dummy xmkmf; ac_word=$2 |
2584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 2604 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
2585 echo "configure:2586: checking for $ac_word" >&5 | 2605 echo "configure:2606: checking for $ac_word" >&5 |
2586 if eval "test \"`echo '$''{'ac_cv_path_xmkmfpath'+set}'`\" = set"; then | 2606 if eval "test \"`echo '$''{'ac_cv_path_xmkmfpath'+set}'`\" = set"; then |
2587 echo $ac_n "(cached) $ac_c" 1>&6 | 2607 echo $ac_n "(cached) $ac_c" 1>&6 |
2588 else | 2608 else |
2589 case "$xmkmfpath" in | 2609 case "$xmkmfpath" in |
2590 /*) | 2610 /*) |
2618 # If we find X, set shell vars x_includes and x_libraries to the | 2638 # If we find X, set shell vars x_includes and x_libraries to the |
2619 # paths, otherwise set no_x=yes. | 2639 # paths, otherwise set no_x=yes. |
2620 # Uses ac_ vars as temps to allow command line to override cache and checks. | 2640 # Uses ac_ vars as temps to allow command line to override cache and checks. |
2621 # --without-x overrides everything else, but does not touch the cache. | 2641 # --without-x overrides everything else, but does not touch the cache. |
2622 echo $ac_n "checking for X""... $ac_c" 1>&6 | 2642 echo $ac_n "checking for X""... $ac_c" 1>&6 |
2623 echo "configure:2624: checking for X" >&5 | 2643 echo "configure:2644: checking for X" >&5 |
2624 | 2644 |
2625 # Check whether --with-x or --without-x was given. | 2645 # Check whether --with-x or --without-x was given. |
2626 if test "${with_x+set}" = set; then | 2646 if test "${with_x+set}" = set; then |
2627 withval="$with_x" | 2647 withval="$with_x" |
2628 : | 2648 : |
2680 # Guess where to find include files, by looking for this one X11 .h file. | 2700 # Guess where to find include files, by looking for this one X11 .h file. |
2681 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h | 2701 test -z "$x_direct_test_include" && x_direct_test_include=X11/Intrinsic.h |
2682 | 2702 |
2683 # First, try using that file with no special directory specified. | 2703 # First, try using that file with no special directory specified. |
2684 cat > conftest.$ac_ext <<EOF | 2704 cat > conftest.$ac_ext <<EOF |
2685 #line 2686 "configure" | 2705 #line 2706 "configure" |
2686 #include "confdefs.h" | 2706 #include "confdefs.h" |
2687 #include <$x_direct_test_include> | 2707 #include <$x_direct_test_include> |
2688 EOF | 2708 EOF |
2689 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 2709 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2690 { (eval echo configure:2691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 2710 { (eval echo configure:2711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2691 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 2711 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2692 if test -z "$ac_err"; then | 2712 if test -z "$ac_err"; then |
2693 rm -rf conftest* | 2713 rm -rf conftest* |
2694 # We can compile using X headers with no special include directory. | 2714 # We can compile using X headers with no special include directory. |
2695 ac_x_includes= | 2715 ac_x_includes= |
2754 # See if we find them without any special options. | 2774 # See if we find them without any special options. |
2755 # Don't add to $LIBS permanently. | 2775 # Don't add to $LIBS permanently. |
2756 ac_save_LIBS="$LIBS" | 2776 ac_save_LIBS="$LIBS" |
2757 LIBS="-l$x_direct_test_library $LIBS" | 2777 LIBS="-l$x_direct_test_library $LIBS" |
2758 cat > conftest.$ac_ext <<EOF | 2778 cat > conftest.$ac_ext <<EOF |
2759 #line 2760 "configure" | 2779 #line 2780 "configure" |
2760 #include "confdefs.h" | 2780 #include "confdefs.h" |
2761 | 2781 |
2762 int main() { | 2782 int main() { |
2763 ${x_direct_test_function}() | 2783 ${x_direct_test_function}() |
2764 ; return 0; } | 2784 ; return 0; } |
2765 EOF | 2785 EOF |
2766 if { (eval echo configure:2767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2786 if { (eval echo configure:2787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2767 rm -rf conftest* | 2787 rm -rf conftest* |
2768 LIBS="$ac_save_LIBS" | 2788 LIBS="$ac_save_LIBS" |
2769 # We can link X programs with no special library path. | 2789 # We can link X programs with no special library path. |
2770 ac_x_libraries= | 2790 ac_x_libraries= |
2771 else | 2791 else |
2867 # For Solaris; some versions of Sun CC require a space after -R and | 2887 # For Solaris; some versions of Sun CC require a space after -R and |
2868 # others require no space. Words are not sufficient . . . . | 2888 # others require no space. Words are not sufficient . . . . |
2869 case "`(uname -sr) 2>/dev/null`" in | 2889 case "`(uname -sr) 2>/dev/null`" in |
2870 "SunOS 5"*) | 2890 "SunOS 5"*) |
2871 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 | 2891 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6 |
2872 echo "configure:2873: checking whether -R must be followed by a space" >&5 | 2892 echo "configure:2893: checking whether -R must be followed by a space" >&5 |
2873 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" | 2893 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS -R$x_libraries" |
2874 cat > conftest.$ac_ext <<EOF | 2894 cat > conftest.$ac_ext <<EOF |
2875 #line 2876 "configure" | 2895 #line 2896 "configure" |
2876 #include "confdefs.h" | 2896 #include "confdefs.h" |
2877 | 2897 |
2878 int main() { | 2898 int main() { |
2879 | 2899 |
2880 ; return 0; } | 2900 ; return 0; } |
2881 EOF | 2901 EOF |
2882 if { (eval echo configure:2883: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2902 if { (eval echo configure:2903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2883 rm -rf conftest* | 2903 rm -rf conftest* |
2884 ac_R_nospace=yes | 2904 ac_R_nospace=yes |
2885 else | 2905 else |
2886 echo "configure: failed program was:" >&5 | 2906 echo "configure: failed program was:" >&5 |
2887 cat conftest.$ac_ext >&5 | 2907 cat conftest.$ac_ext >&5 |
2893 echo "$ac_t""no" 1>&6 | 2913 echo "$ac_t""no" 1>&6 |
2894 X_LIBS="$X_LIBS -R$x_libraries" | 2914 X_LIBS="$X_LIBS -R$x_libraries" |
2895 else | 2915 else |
2896 LIBS="$ac_xsave_LIBS -R $x_libraries" | 2916 LIBS="$ac_xsave_LIBS -R $x_libraries" |
2897 cat > conftest.$ac_ext <<EOF | 2917 cat > conftest.$ac_ext <<EOF |
2898 #line 2899 "configure" | 2918 #line 2919 "configure" |
2899 #include "confdefs.h" | 2919 #include "confdefs.h" |
2900 | 2920 |
2901 int main() { | 2921 int main() { |
2902 | 2922 |
2903 ; return 0; } | 2923 ; return 0; } |
2904 EOF | 2924 EOF |
2905 if { (eval echo configure:2906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2925 if { (eval echo configure:2926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2906 rm -rf conftest* | 2926 rm -rf conftest* |
2907 ac_R_space=yes | 2927 ac_R_space=yes |
2908 else | 2928 else |
2909 echo "configure: failed program was:" >&5 | 2929 echo "configure: failed program was:" >&5 |
2910 cat conftest.$ac_ext >&5 | 2930 cat conftest.$ac_ext >&5 |
2932 else | 2952 else |
2933 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X | 2953 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X |
2934 # libraries were built with DECnet support. And karl@cs.umb.edu says | 2954 # libraries were built with DECnet support. And karl@cs.umb.edu says |
2935 # the Alpha needs dnet_stub (dnet does not exist). | 2955 # the Alpha needs dnet_stub (dnet does not exist). |
2936 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 | 2956 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6 |
2937 echo "configure:2938: checking for dnet_ntoa in -ldnet" >&5 | 2957 echo "configure:2958: checking for dnet_ntoa in -ldnet" >&5 |
2938 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 2958 ac_lib_var=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2939 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 2959 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2940 echo $ac_n "(cached) $ac_c" 1>&6 | 2960 echo $ac_n "(cached) $ac_c" 1>&6 |
2941 else | 2961 else |
2942 ac_save_LIBS="$LIBS" | 2962 ac_save_LIBS="$LIBS" |
2943 LIBS="-ldnet $LIBS" | 2963 LIBS="-ldnet $LIBS" |
2944 cat > conftest.$ac_ext <<EOF | 2964 cat > conftest.$ac_ext <<EOF |
2945 #line 2946 "configure" | 2965 #line 2966 "configure" |
2946 #include "confdefs.h" | 2966 #include "confdefs.h" |
2947 /* Override any gcc2 internal prototype to avoid an error. */ | 2967 /* Override any gcc2 internal prototype to avoid an error. */ |
2948 /* We use char because int might match the return type of a gcc2 | 2968 /* We use char because int might match the return type of a gcc2 |
2949 builtin and then its argument prototype would still apply. */ | 2969 builtin and then its argument prototype would still apply. */ |
2950 char dnet_ntoa(); | 2970 char dnet_ntoa(); |
2951 | 2971 |
2952 int main() { | 2972 int main() { |
2953 dnet_ntoa() | 2973 dnet_ntoa() |
2954 ; return 0; } | 2974 ; return 0; } |
2955 EOF | 2975 EOF |
2956 if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 2976 if { (eval echo configure:2977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2957 rm -rf conftest* | 2977 rm -rf conftest* |
2958 eval "ac_cv_lib_$ac_lib_var=yes" | 2978 eval "ac_cv_lib_$ac_lib_var=yes" |
2959 else | 2979 else |
2960 echo "configure: failed program was:" >&5 | 2980 echo "configure: failed program was:" >&5 |
2961 cat conftest.$ac_ext >&5 | 2981 cat conftest.$ac_ext >&5 |
2973 echo "$ac_t""no" 1>&6 | 2993 echo "$ac_t""no" 1>&6 |
2974 fi | 2994 fi |
2975 | 2995 |
2976 if test $ac_cv_lib_dnet_dnet_ntoa = no; then | 2996 if test $ac_cv_lib_dnet_dnet_ntoa = no; then |
2977 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 | 2997 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6 |
2978 echo "configure:2979: checking for dnet_ntoa in -ldnet_stub" >&5 | 2998 echo "configure:2999: checking for dnet_ntoa in -ldnet_stub" >&5 |
2979 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` | 2999 ac_lib_var=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'` |
2980 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3000 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
2981 echo $ac_n "(cached) $ac_c" 1>&6 | 3001 echo $ac_n "(cached) $ac_c" 1>&6 |
2982 else | 3002 else |
2983 ac_save_LIBS="$LIBS" | 3003 ac_save_LIBS="$LIBS" |
2984 LIBS="-ldnet_stub $LIBS" | 3004 LIBS="-ldnet_stub $LIBS" |
2985 cat > conftest.$ac_ext <<EOF | 3005 cat > conftest.$ac_ext <<EOF |
2986 #line 2987 "configure" | 3006 #line 3007 "configure" |
2987 #include "confdefs.h" | 3007 #include "confdefs.h" |
2988 /* Override any gcc2 internal prototype to avoid an error. */ | 3008 /* Override any gcc2 internal prototype to avoid an error. */ |
2989 /* We use char because int might match the return type of a gcc2 | 3009 /* We use char because int might match the return type of a gcc2 |
2990 builtin and then its argument prototype would still apply. */ | 3010 builtin and then its argument prototype would still apply. */ |
2991 char dnet_ntoa(); | 3011 char dnet_ntoa(); |
2992 | 3012 |
2993 int main() { | 3013 int main() { |
2994 dnet_ntoa() | 3014 dnet_ntoa() |
2995 ; return 0; } | 3015 ; return 0; } |
2996 EOF | 3016 EOF |
2997 if { (eval echo configure:2998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3017 if { (eval echo configure:3018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2998 rm -rf conftest* | 3018 rm -rf conftest* |
2999 eval "ac_cv_lib_$ac_lib_var=yes" | 3019 eval "ac_cv_lib_$ac_lib_var=yes" |
3000 else | 3020 else |
3001 echo "configure: failed program was:" >&5 | 3021 echo "configure: failed program was:" >&5 |
3002 cat conftest.$ac_ext >&5 | 3022 cat conftest.$ac_ext >&5 |
3021 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) | 3041 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4) |
3022 # needs -lnsl. | 3042 # needs -lnsl. |
3023 # The nsl library prevents programs from opening the X display | 3043 # The nsl library prevents programs from opening the X display |
3024 # on Irix 5.2, according to dickey@clark.net. | 3044 # on Irix 5.2, according to dickey@clark.net. |
3025 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 | 3045 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6 |
3026 echo "configure:3027: checking for gethostbyname" >&5 | 3046 echo "configure:3047: checking for gethostbyname" >&5 |
3027 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then | 3047 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then |
3028 echo $ac_n "(cached) $ac_c" 1>&6 | 3048 echo $ac_n "(cached) $ac_c" 1>&6 |
3029 else | 3049 else |
3030 cat > conftest.$ac_ext <<EOF | 3050 cat > conftest.$ac_ext <<EOF |
3031 #line 3032 "configure" | 3051 #line 3052 "configure" |
3032 #include "confdefs.h" | 3052 #include "confdefs.h" |
3033 /* System header to define __stub macros and hopefully few prototypes, | 3053 /* System header to define __stub macros and hopefully few prototypes, |
3034 which can conflict with char gethostbyname(); below. */ | 3054 which can conflict with char gethostbyname(); below. */ |
3035 #include <assert.h> | 3055 #include <assert.h> |
3036 /* Override any gcc2 internal prototype to avoid an error. */ | 3056 /* Override any gcc2 internal prototype to avoid an error. */ |
3049 gethostbyname(); | 3069 gethostbyname(); |
3050 #endif | 3070 #endif |
3051 | 3071 |
3052 ; return 0; } | 3072 ; return 0; } |
3053 EOF | 3073 EOF |
3054 if { (eval echo configure:3055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3074 if { (eval echo configure:3075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3055 rm -rf conftest* | 3075 rm -rf conftest* |
3056 eval "ac_cv_func_gethostbyname=yes" | 3076 eval "ac_cv_func_gethostbyname=yes" |
3057 else | 3077 else |
3058 echo "configure: failed program was:" >&5 | 3078 echo "configure: failed program was:" >&5 |
3059 cat conftest.$ac_ext >&5 | 3079 cat conftest.$ac_ext >&5 |
3070 echo "$ac_t""no" 1>&6 | 3090 echo "$ac_t""no" 1>&6 |
3071 fi | 3091 fi |
3072 | 3092 |
3073 if test $ac_cv_func_gethostbyname = no; then | 3093 if test $ac_cv_func_gethostbyname = no; then |
3074 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 | 3094 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
3075 echo "configure:3076: checking for gethostbyname in -lnsl" >&5 | 3095 echo "configure:3096: checking for gethostbyname in -lnsl" >&5 |
3076 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` | 3096 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
3077 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 |
3078 echo $ac_n "(cached) $ac_c" 1>&6 | 3098 echo $ac_n "(cached) $ac_c" 1>&6 |
3079 else | 3099 else |
3080 ac_save_LIBS="$LIBS" | 3100 ac_save_LIBS="$LIBS" |
3081 LIBS="-lnsl $LIBS" | 3101 LIBS="-lnsl $LIBS" |
3082 cat > conftest.$ac_ext <<EOF | 3102 cat > conftest.$ac_ext <<EOF |
3083 #line 3084 "configure" | 3103 #line 3104 "configure" |
3084 #include "confdefs.h" | 3104 #include "confdefs.h" |
3085 /* Override any gcc2 internal prototype to avoid an error. */ | 3105 /* Override any gcc2 internal prototype to avoid an error. */ |
3086 /* 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 |
3087 builtin and then its argument prototype would still apply. */ | 3107 builtin and then its argument prototype would still apply. */ |
3088 char gethostbyname(); | 3108 char gethostbyname(); |
3089 | 3109 |
3090 int main() { | 3110 int main() { |
3091 gethostbyname() | 3111 gethostbyname() |
3092 ; return 0; } | 3112 ; return 0; } |
3093 EOF | 3113 EOF |
3094 if { (eval echo configure:3095: \"$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 |
3095 rm -rf conftest* | 3115 rm -rf conftest* |
3096 eval "ac_cv_lib_$ac_lib_var=yes" | 3116 eval "ac_cv_lib_$ac_lib_var=yes" |
3097 else | 3117 else |
3098 echo "configure: failed program was:" >&5 | 3118 echo "configure: failed program was:" >&5 |
3099 cat conftest.$ac_ext >&5 | 3119 cat conftest.$ac_ext >&5 |
3119 # on later versions), says simon@lia.di.epfl.ch: it contains | 3139 # on later versions), says simon@lia.di.epfl.ch: it contains |
3120 # gethostby* variants that don't use the nameserver (or something). | 3140 # gethostby* variants that don't use the nameserver (or something). |
3121 # -lsocket must be given before -lnsl if both are needed. | 3141 # -lsocket must be given before -lnsl if both are needed. |
3122 # We assume that if connect needs -lnsl, so does gethostbyname. | 3142 # We assume that if connect needs -lnsl, so does gethostbyname. |
3123 echo $ac_n "checking for connect""... $ac_c" 1>&6 | 3143 echo $ac_n "checking for connect""... $ac_c" 1>&6 |
3124 echo "configure:3125: checking for connect" >&5 | 3144 echo "configure:3145: checking for connect" >&5 |
3125 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then | 3145 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then |
3126 echo $ac_n "(cached) $ac_c" 1>&6 | 3146 echo $ac_n "(cached) $ac_c" 1>&6 |
3127 else | 3147 else |
3128 cat > conftest.$ac_ext <<EOF | 3148 cat > conftest.$ac_ext <<EOF |
3129 #line 3130 "configure" | 3149 #line 3150 "configure" |
3130 #include "confdefs.h" | 3150 #include "confdefs.h" |
3131 /* System header to define __stub macros and hopefully few prototypes, | 3151 /* System header to define __stub macros and hopefully few prototypes, |
3132 which can conflict with char connect(); below. */ | 3152 which can conflict with char connect(); below. */ |
3133 #include <assert.h> | 3153 #include <assert.h> |
3134 /* Override any gcc2 internal prototype to avoid an error. */ | 3154 /* Override any gcc2 internal prototype to avoid an error. */ |
3147 connect(); | 3167 connect(); |
3148 #endif | 3168 #endif |
3149 | 3169 |
3150 ; return 0; } | 3170 ; return 0; } |
3151 EOF | 3171 EOF |
3152 if { (eval echo configure:3153: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3172 if { (eval echo configure:3173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3153 rm -rf conftest* | 3173 rm -rf conftest* |
3154 eval "ac_cv_func_connect=yes" | 3174 eval "ac_cv_func_connect=yes" |
3155 else | 3175 else |
3156 echo "configure: failed program was:" >&5 | 3176 echo "configure: failed program was:" >&5 |
3157 cat conftest.$ac_ext >&5 | 3177 cat conftest.$ac_ext >&5 |
3168 echo "$ac_t""no" 1>&6 | 3188 echo "$ac_t""no" 1>&6 |
3169 fi | 3189 fi |
3170 | 3190 |
3171 if test $ac_cv_func_connect = no; then | 3191 if test $ac_cv_func_connect = no; then |
3172 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 | 3192 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6 |
3173 echo "configure:3174: checking for connect in -lsocket" >&5 | 3193 echo "configure:3194: checking for connect in -lsocket" >&5 |
3174 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` | 3194 ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` |
3175 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3195 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3176 echo $ac_n "(cached) $ac_c" 1>&6 | 3196 echo $ac_n "(cached) $ac_c" 1>&6 |
3177 else | 3197 else |
3178 ac_save_LIBS="$LIBS" | 3198 ac_save_LIBS="$LIBS" |
3179 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" | 3199 LIBS="-lsocket $X_EXTRA_LIBS $LIBS" |
3180 cat > conftest.$ac_ext <<EOF | 3200 cat > conftest.$ac_ext <<EOF |
3181 #line 3182 "configure" | 3201 #line 3202 "configure" |
3182 #include "confdefs.h" | 3202 #include "confdefs.h" |
3183 /* Override any gcc2 internal prototype to avoid an error. */ | 3203 /* Override any gcc2 internal prototype to avoid an error. */ |
3184 /* We use char because int might match the return type of a gcc2 | 3204 /* We use char because int might match the return type of a gcc2 |
3185 builtin and then its argument prototype would still apply. */ | 3205 builtin and then its argument prototype would still apply. */ |
3186 char connect(); | 3206 char connect(); |
3187 | 3207 |
3188 int main() { | 3208 int main() { |
3189 connect() | 3209 connect() |
3190 ; return 0; } | 3210 ; return 0; } |
3191 EOF | 3211 EOF |
3192 if { (eval echo configure:3193: \"$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 |
3193 rm -rf conftest* | 3213 rm -rf conftest* |
3194 eval "ac_cv_lib_$ac_lib_var=yes" | 3214 eval "ac_cv_lib_$ac_lib_var=yes" |
3195 else | 3215 else |
3196 echo "configure: failed program was:" >&5 | 3216 echo "configure: failed program was:" >&5 |
3197 cat conftest.$ac_ext >&5 | 3217 cat conftest.$ac_ext >&5 |
3211 | 3231 |
3212 fi | 3232 fi |
3213 | 3233 |
3214 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. | 3234 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX. |
3215 echo $ac_n "checking for remove""... $ac_c" 1>&6 | 3235 echo $ac_n "checking for remove""... $ac_c" 1>&6 |
3216 echo "configure:3217: checking for remove" >&5 | 3236 echo "configure:3237: checking for remove" >&5 |
3217 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then | 3237 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then |
3218 echo $ac_n "(cached) $ac_c" 1>&6 | 3238 echo $ac_n "(cached) $ac_c" 1>&6 |
3219 else | 3239 else |
3220 cat > conftest.$ac_ext <<EOF | 3240 cat > conftest.$ac_ext <<EOF |
3221 #line 3222 "configure" | 3241 #line 3242 "configure" |
3222 #include "confdefs.h" | 3242 #include "confdefs.h" |
3223 /* System header to define __stub macros and hopefully few prototypes, | 3243 /* System header to define __stub macros and hopefully few prototypes, |
3224 which can conflict with char remove(); below. */ | 3244 which can conflict with char remove(); below. */ |
3225 #include <assert.h> | 3245 #include <assert.h> |
3226 /* Override any gcc2 internal prototype to avoid an error. */ | 3246 /* Override any gcc2 internal prototype to avoid an error. */ |
3239 remove(); | 3259 remove(); |
3240 #endif | 3260 #endif |
3241 | 3261 |
3242 ; return 0; } | 3262 ; return 0; } |
3243 EOF | 3263 EOF |
3244 if { (eval echo configure:3245: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3264 if { (eval echo configure:3265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3245 rm -rf conftest* | 3265 rm -rf conftest* |
3246 eval "ac_cv_func_remove=yes" | 3266 eval "ac_cv_func_remove=yes" |
3247 else | 3267 else |
3248 echo "configure: failed program was:" >&5 | 3268 echo "configure: failed program was:" >&5 |
3249 cat conftest.$ac_ext >&5 | 3269 cat conftest.$ac_ext >&5 |
3260 echo "$ac_t""no" 1>&6 | 3280 echo "$ac_t""no" 1>&6 |
3261 fi | 3281 fi |
3262 | 3282 |
3263 if test $ac_cv_func_remove = no; then | 3283 if test $ac_cv_func_remove = no; then |
3264 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 | 3284 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6 |
3265 echo "configure:3266: checking for remove in -lposix" >&5 | 3285 echo "configure:3286: checking for remove in -lposix" >&5 |
3266 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` | 3286 ac_lib_var=`echo posix'_'remove | sed 'y%./+-%__p_%'` |
3267 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3287 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3268 echo $ac_n "(cached) $ac_c" 1>&6 | 3288 echo $ac_n "(cached) $ac_c" 1>&6 |
3269 else | 3289 else |
3270 ac_save_LIBS="$LIBS" | 3290 ac_save_LIBS="$LIBS" |
3271 LIBS="-lposix $LIBS" | 3291 LIBS="-lposix $LIBS" |
3272 cat > conftest.$ac_ext <<EOF | 3292 cat > conftest.$ac_ext <<EOF |
3273 #line 3274 "configure" | 3293 #line 3294 "configure" |
3274 #include "confdefs.h" | 3294 #include "confdefs.h" |
3275 /* Override any gcc2 internal prototype to avoid an error. */ | 3295 /* Override any gcc2 internal prototype to avoid an error. */ |
3276 /* We use char because int might match the return type of a gcc2 | 3296 /* We use char because int might match the return type of a gcc2 |
3277 builtin and then its argument prototype would still apply. */ | 3297 builtin and then its argument prototype would still apply. */ |
3278 char remove(); | 3298 char remove(); |
3279 | 3299 |
3280 int main() { | 3300 int main() { |
3281 remove() | 3301 remove() |
3282 ; return 0; } | 3302 ; return 0; } |
3283 EOF | 3303 EOF |
3284 if { (eval echo configure:3285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3304 if { (eval echo configure:3305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3285 rm -rf conftest* | 3305 rm -rf conftest* |
3286 eval "ac_cv_lib_$ac_lib_var=yes" | 3306 eval "ac_cv_lib_$ac_lib_var=yes" |
3287 else | 3307 else |
3288 echo "configure: failed program was:" >&5 | 3308 echo "configure: failed program was:" >&5 |
3289 cat conftest.$ac_ext >&5 | 3309 cat conftest.$ac_ext >&5 |
3303 | 3323 |
3304 fi | 3324 fi |
3305 | 3325 |
3306 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. | 3326 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. |
3307 echo $ac_n "checking for shmat""... $ac_c" 1>&6 | 3327 echo $ac_n "checking for shmat""... $ac_c" 1>&6 |
3308 echo "configure:3309: checking for shmat" >&5 | 3328 echo "configure:3329: checking for shmat" >&5 |
3309 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then | 3329 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then |
3310 echo $ac_n "(cached) $ac_c" 1>&6 | 3330 echo $ac_n "(cached) $ac_c" 1>&6 |
3311 else | 3331 else |
3312 cat > conftest.$ac_ext <<EOF | 3332 cat > conftest.$ac_ext <<EOF |
3313 #line 3314 "configure" | 3333 #line 3334 "configure" |
3314 #include "confdefs.h" | 3334 #include "confdefs.h" |
3315 /* System header to define __stub macros and hopefully few prototypes, | 3335 /* System header to define __stub macros and hopefully few prototypes, |
3316 which can conflict with char shmat(); below. */ | 3336 which can conflict with char shmat(); below. */ |
3317 #include <assert.h> | 3337 #include <assert.h> |
3318 /* Override any gcc2 internal prototype to avoid an error. */ | 3338 /* Override any gcc2 internal prototype to avoid an error. */ |
3331 shmat(); | 3351 shmat(); |
3332 #endif | 3352 #endif |
3333 | 3353 |
3334 ; return 0; } | 3354 ; return 0; } |
3335 EOF | 3355 EOF |
3336 if { (eval echo configure:3337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3356 if { (eval echo configure:3357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3337 rm -rf conftest* | 3357 rm -rf conftest* |
3338 eval "ac_cv_func_shmat=yes" | 3358 eval "ac_cv_func_shmat=yes" |
3339 else | 3359 else |
3340 echo "configure: failed program was:" >&5 | 3360 echo "configure: failed program was:" >&5 |
3341 cat conftest.$ac_ext >&5 | 3361 cat conftest.$ac_ext >&5 |
3352 echo "$ac_t""no" 1>&6 | 3372 echo "$ac_t""no" 1>&6 |
3353 fi | 3373 fi |
3354 | 3374 |
3355 if test $ac_cv_func_shmat = no; then | 3375 if test $ac_cv_func_shmat = no; then |
3356 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 | 3376 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6 |
3357 echo "configure:3358: checking for shmat in -lipc" >&5 | 3377 echo "configure:3378: checking for shmat in -lipc" >&5 |
3358 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` | 3378 ac_lib_var=`echo ipc'_'shmat | sed 'y%./+-%__p_%'` |
3359 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3379 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3360 echo $ac_n "(cached) $ac_c" 1>&6 | 3380 echo $ac_n "(cached) $ac_c" 1>&6 |
3361 else | 3381 else |
3362 ac_save_LIBS="$LIBS" | 3382 ac_save_LIBS="$LIBS" |
3363 LIBS="-lipc $LIBS" | 3383 LIBS="-lipc $LIBS" |
3364 cat > conftest.$ac_ext <<EOF | 3384 cat > conftest.$ac_ext <<EOF |
3365 #line 3366 "configure" | 3385 #line 3386 "configure" |
3366 #include "confdefs.h" | 3386 #include "confdefs.h" |
3367 /* Override any gcc2 internal prototype to avoid an error. */ | 3387 /* Override any gcc2 internal prototype to avoid an error. */ |
3368 /* We use char because int might match the return type of a gcc2 | 3388 /* We use char because int might match the return type of a gcc2 |
3369 builtin and then its argument prototype would still apply. */ | 3389 builtin and then its argument prototype would still apply. */ |
3370 char shmat(); | 3390 char shmat(); |
3371 | 3391 |
3372 int main() { | 3392 int main() { |
3373 shmat() | 3393 shmat() |
3374 ; return 0; } | 3394 ; return 0; } |
3375 EOF | 3395 EOF |
3376 if { (eval echo configure:3377: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3396 if { (eval echo configure:3397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3377 rm -rf conftest* | 3397 rm -rf conftest* |
3378 eval "ac_cv_lib_$ac_lib_var=yes" | 3398 eval "ac_cv_lib_$ac_lib_var=yes" |
3379 else | 3399 else |
3380 echo "configure: failed program was:" >&5 | 3400 echo "configure: failed program was:" >&5 |
3381 cat conftest.$ac_ext >&5 | 3401 cat conftest.$ac_ext >&5 |
3404 # we get undefined symbols. So assume we have SM if we have ICE. | 3424 # we get undefined symbols. So assume we have SM if we have ICE. |
3405 # These have to be linked with before -lX11, unlike the other | 3425 # These have to be linked with before -lX11, unlike the other |
3406 # libraries we check for below, so use a different variable. | 3426 # libraries we check for below, so use a different variable. |
3407 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. | 3427 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu. |
3408 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 | 3428 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6 |
3409 echo "configure:3410: checking for IceConnectionNumber in -lICE" >&5 | 3429 echo "configure:3430: checking for IceConnectionNumber in -lICE" >&5 |
3410 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` | 3430 ac_lib_var=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'` |
3411 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3431 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3412 echo $ac_n "(cached) $ac_c" 1>&6 | 3432 echo $ac_n "(cached) $ac_c" 1>&6 |
3413 else | 3433 else |
3414 ac_save_LIBS="$LIBS" | 3434 ac_save_LIBS="$LIBS" |
3415 LIBS="-lICE $X_EXTRA_LIBS $LIBS" | 3435 LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
3416 cat > conftest.$ac_ext <<EOF | 3436 cat > conftest.$ac_ext <<EOF |
3417 #line 3418 "configure" | 3437 #line 3438 "configure" |
3418 #include "confdefs.h" | 3438 #include "confdefs.h" |
3419 /* Override any gcc2 internal prototype to avoid an error. */ | 3439 /* Override any gcc2 internal prototype to avoid an error. */ |
3420 /* We use char because int might match the return type of a gcc2 | 3440 /* We use char because int might match the return type of a gcc2 |
3421 builtin and then its argument prototype would still apply. */ | 3441 builtin and then its argument prototype would still apply. */ |
3422 char IceConnectionNumber(); | 3442 char IceConnectionNumber(); |
3423 | 3443 |
3424 int main() { | 3444 int main() { |
3425 IceConnectionNumber() | 3445 IceConnectionNumber() |
3426 ; return 0; } | 3446 ; return 0; } |
3427 EOF | 3447 EOF |
3428 if { (eval echo configure:3429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3448 if { (eval echo configure:3449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3429 rm -rf conftest* | 3449 rm -rf conftest* |
3430 eval "ac_cv_lib_$ac_lib_var=yes" | 3450 eval "ac_cv_lib_$ac_lib_var=yes" |
3431 else | 3451 else |
3432 echo "configure: failed program was:" >&5 | 3452 echo "configure: failed program was:" >&5 |
3433 cat conftest.$ac_ext >&5 | 3453 cat conftest.$ac_ext >&5 |
3477 X_LIBS="`echo $X_LIBS\ | sed 's%-L/usr/lib %%'`" | 3497 X_LIBS="`echo $X_LIBS\ | sed 's%-L/usr/lib %%'`" |
3478 X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`" | 3498 X_LIBS="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`" |
3479 | 3499 |
3480 | 3500 |
3481 echo $ac_n "checking if X11 header files can be found""... $ac_c" 1>&6 | 3501 echo $ac_n "checking if X11 header files can be found""... $ac_c" 1>&6 |
3482 echo "configure:3483: checking if X11 header files can be found" >&5 | 3502 echo "configure:3503: checking if X11 header files can be found" >&5 |
3483 cflags_save=$CFLAGS | 3503 cflags_save=$CFLAGS |
3484 CFLAGS="$CFLAGS $X_CFLAGS" | 3504 CFLAGS="$CFLAGS $X_CFLAGS" |
3485 cat > conftest.$ac_ext <<EOF | 3505 cat > conftest.$ac_ext <<EOF |
3486 #line 3487 "configure" | 3506 #line 3507 "configure" |
3487 #include "confdefs.h" | 3507 #include "confdefs.h" |
3488 #include <X11/Xlib.h> | 3508 #include <X11/Xlib.h> |
3489 int main() { | 3509 int main() { |
3490 | 3510 |
3491 ; return 0; } | 3511 ; return 0; } |
3492 EOF | 3512 EOF |
3493 if { (eval echo configure:3494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3513 if { (eval echo configure:3514: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3494 rm -rf conftest* | 3514 rm -rf conftest* |
3495 echo "$ac_t""yes" 1>&6 | 3515 echo "$ac_t""yes" 1>&6 |
3496 else | 3516 else |
3497 echo "configure: failed program was:" >&5 | 3517 echo "configure: failed program was:" >&5 |
3498 cat conftest.$ac_ext >&5 | 3518 cat conftest.$ac_ext >&5 |
3514 | 3534 |
3515 ac_save_LDFLAGS="$LDFLAGS" | 3535 ac_save_LDFLAGS="$LDFLAGS" |
3516 LDFLAGS="-L$x_libraries $LDFLAGS" | 3536 LDFLAGS="-L$x_libraries $LDFLAGS" |
3517 | 3537 |
3518 echo $ac_n "checking for _XdmcpAuthDoIt in -lXdmcp""... $ac_c" 1>&6 | 3538 echo $ac_n "checking for _XdmcpAuthDoIt in -lXdmcp""... $ac_c" 1>&6 |
3519 echo "configure:3520: checking for _XdmcpAuthDoIt in -lXdmcp" >&5 | 3539 echo "configure:3540: checking for _XdmcpAuthDoIt in -lXdmcp" >&5 |
3520 ac_lib_var=`echo Xdmcp'_'_XdmcpAuthDoIt | sed 'y%./+-%__p_%'` | 3540 ac_lib_var=`echo Xdmcp'_'_XdmcpAuthDoIt | sed 'y%./+-%__p_%'` |
3521 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3541 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3522 echo $ac_n "(cached) $ac_c" 1>&6 | 3542 echo $ac_n "(cached) $ac_c" 1>&6 |
3523 else | 3543 else |
3524 ac_save_LIBS="$LIBS" | 3544 ac_save_LIBS="$LIBS" |
3525 LIBS="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS" | 3545 LIBS="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS" |
3526 cat > conftest.$ac_ext <<EOF | 3546 cat > conftest.$ac_ext <<EOF |
3527 #line 3528 "configure" | 3547 #line 3548 "configure" |
3528 #include "confdefs.h" | 3548 #include "confdefs.h" |
3529 /* Override any gcc2 internal prototype to avoid an error. */ | 3549 /* Override any gcc2 internal prototype to avoid an error. */ |
3530 /* We use char because int might match the return type of a gcc2 | 3550 /* We use char because int might match the return type of a gcc2 |
3531 builtin and then its argument prototype would still apply. */ | 3551 builtin and then its argument prototype would still apply. */ |
3532 char _XdmcpAuthDoIt(); | 3552 char _XdmcpAuthDoIt(); |
3533 | 3553 |
3534 int main() { | 3554 int main() { |
3535 _XdmcpAuthDoIt() | 3555 _XdmcpAuthDoIt() |
3536 ; return 0; } | 3556 ; return 0; } |
3537 EOF | 3557 EOF |
3538 if { (eval echo configure:3539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3558 if { (eval echo configure:3559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3539 rm -rf conftest* | 3559 rm -rf conftest* |
3540 eval "ac_cv_lib_$ac_lib_var=yes" | 3560 eval "ac_cv_lib_$ac_lib_var=yes" |
3541 else | 3561 else |
3542 echo "configure: failed program was:" >&5 | 3562 echo "configure: failed program was:" >&5 |
3543 cat conftest.$ac_ext >&5 | 3563 cat conftest.$ac_ext >&5 |
3555 echo "$ac_t""no" 1>&6 | 3575 echo "$ac_t""no" 1>&6 |
3556 fi | 3576 fi |
3557 | 3577 |
3558 | 3578 |
3559 echo $ac_n "checking for IceOpenConnection in -lICE""... $ac_c" 1>&6 | 3579 echo $ac_n "checking for IceOpenConnection in -lICE""... $ac_c" 1>&6 |
3560 echo "configure:3561: checking for IceOpenConnection in -lICE" >&5 | 3580 echo "configure:3581: checking for IceOpenConnection in -lICE" >&5 |
3561 ac_lib_var=`echo ICE'_'IceOpenConnection | sed 'y%./+-%__p_%'` | 3581 ac_lib_var=`echo ICE'_'IceOpenConnection | sed 'y%./+-%__p_%'` |
3562 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3582 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3563 echo $ac_n "(cached) $ac_c" 1>&6 | 3583 echo $ac_n "(cached) $ac_c" 1>&6 |
3564 else | 3584 else |
3565 ac_save_LIBS="$LIBS" | 3585 ac_save_LIBS="$LIBS" |
3566 LIBS="-lICE $X_EXTRA_LIBS $LIBS" | 3586 LIBS="-lICE $X_EXTRA_LIBS $LIBS" |
3567 cat > conftest.$ac_ext <<EOF | 3587 cat > conftest.$ac_ext <<EOF |
3568 #line 3569 "configure" | 3588 #line 3589 "configure" |
3569 #include "confdefs.h" | 3589 #include "confdefs.h" |
3570 /* Override any gcc2 internal prototype to avoid an error. */ | 3590 /* Override any gcc2 internal prototype to avoid an error. */ |
3571 /* We use char because int might match the return type of a gcc2 | 3591 /* We use char because int might match the return type of a gcc2 |
3572 builtin and then its argument prototype would still apply. */ | 3592 builtin and then its argument prototype would still apply. */ |
3573 char IceOpenConnection(); | 3593 char IceOpenConnection(); |
3574 | 3594 |
3575 int main() { | 3595 int main() { |
3576 IceOpenConnection() | 3596 IceOpenConnection() |
3577 ; return 0; } | 3597 ; return 0; } |
3578 EOF | 3598 EOF |
3579 if { (eval echo configure:3580: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3599 if { (eval echo configure:3600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3580 rm -rf conftest* | 3600 rm -rf conftest* |
3581 eval "ac_cv_lib_$ac_lib_var=yes" | 3601 eval "ac_cv_lib_$ac_lib_var=yes" |
3582 else | 3602 else |
3583 echo "configure: failed program was:" >&5 | 3603 echo "configure: failed program was:" >&5 |
3584 cat conftest.$ac_ext >&5 | 3604 cat conftest.$ac_ext >&5 |
3597 fi | 3617 fi |
3598 | 3618 |
3599 | 3619 |
3600 LDFLAGS="$X_LIBS $ac_save_LDFLAGS" | 3620 LDFLAGS="$X_LIBS $ac_save_LDFLAGS" |
3601 echo $ac_n "checking for XpmCreatePixmapFromData in -lXpm""... $ac_c" 1>&6 | 3621 echo $ac_n "checking for XpmCreatePixmapFromData in -lXpm""... $ac_c" 1>&6 |
3602 echo "configure:3603: checking for XpmCreatePixmapFromData in -lXpm" >&5 | 3622 echo "configure:3623: checking for XpmCreatePixmapFromData in -lXpm" >&5 |
3603 ac_lib_var=`echo Xpm'_'XpmCreatePixmapFromData | sed 'y%./+-%__p_%'` | 3623 ac_lib_var=`echo Xpm'_'XpmCreatePixmapFromData | sed 'y%./+-%__p_%'` |
3604 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 3624 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3605 echo $ac_n "(cached) $ac_c" 1>&6 | 3625 echo $ac_n "(cached) $ac_c" 1>&6 |
3606 else | 3626 else |
3607 ac_save_LIBS="$LIBS" | 3627 ac_save_LIBS="$LIBS" |
3608 LIBS="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS" | 3628 LIBS="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS" |
3609 cat > conftest.$ac_ext <<EOF | 3629 cat > conftest.$ac_ext <<EOF |
3610 #line 3611 "configure" | 3630 #line 3631 "configure" |
3611 #include "confdefs.h" | 3631 #include "confdefs.h" |
3612 /* Override any gcc2 internal prototype to avoid an error. */ | 3632 /* Override any gcc2 internal prototype to avoid an error. */ |
3613 /* We use char because int might match the return type of a gcc2 | 3633 /* We use char because int might match the return type of a gcc2 |
3614 builtin and then its argument prototype would still apply. */ | 3634 builtin and then its argument prototype would still apply. */ |
3615 char XpmCreatePixmapFromData(); | 3635 char XpmCreatePixmapFromData(); |
3616 | 3636 |
3617 int main() { | 3637 int main() { |
3618 XpmCreatePixmapFromData() | 3638 XpmCreatePixmapFromData() |
3619 ; return 0; } | 3639 ; return 0; } |
3620 EOF | 3640 EOF |
3621 if { (eval echo configure:3622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 3641 if { (eval echo configure:3642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3622 rm -rf conftest* | 3642 rm -rf conftest* |
3623 eval "ac_cv_lib_$ac_lib_var=yes" | 3643 eval "ac_cv_lib_$ac_lib_var=yes" |
3624 else | 3644 else |
3625 echo "configure: failed program was:" >&5 | 3645 echo "configure: failed program was:" >&5 |
3626 cat conftest.$ac_ext >&5 | 3646 cat conftest.$ac_ext >&5 |
3638 echo "$ac_t""no" 1>&6 | 3658 echo "$ac_t""no" 1>&6 |
3639 fi | 3659 fi |
3640 | 3660 |
3641 | 3661 |
3642 echo $ac_n "checking if X11 header files implicitly declare return values""... $ac_c" 1>&6 | 3662 echo $ac_n "checking if X11 header files implicitly declare return values""... $ac_c" 1>&6 |
3643 echo "configure:3644: checking if X11 header files implicitly declare return values" >&5 | 3663 echo "configure:3664: checking if X11 header files implicitly declare return values" >&5 |
3644 cflags_save=$CFLAGS | 3664 cflags_save=$CFLAGS |
3645 CFLAGS="$CFLAGS $X_CFLAGS -Werror" | 3665 CFLAGS="$CFLAGS $X_CFLAGS -Werror" |
3646 cat > conftest.$ac_ext <<EOF | 3666 cat > conftest.$ac_ext <<EOF |
3647 #line 3648 "configure" | 3667 #line 3668 "configure" |
3648 #include "confdefs.h" | 3668 #include "confdefs.h" |
3649 #include <X11/Xlib.h> | 3669 #include <X11/Xlib.h> |
3650 int main() { | 3670 int main() { |
3651 | 3671 |
3652 ; return 0; } | 3672 ; return 0; } |
3653 EOF | 3673 EOF |
3654 if { (eval echo configure:3655: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3674 if { (eval echo configure:3675: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3655 rm -rf conftest* | 3675 rm -rf conftest* |
3656 echo "$ac_t""no" 1>&6 | 3676 echo "$ac_t""no" 1>&6 |
3657 else | 3677 else |
3658 echo "configure: failed program was:" >&5 | 3678 echo "configure: failed program was:" >&5 |
3659 cat conftest.$ac_ext >&5 | 3679 cat conftest.$ac_ext >&5 |
3660 rm -rf conftest* | 3680 rm -rf conftest* |
3661 CFLAGS="$CFLAGS -Wno-implicit-int" | 3681 CFLAGS="$CFLAGS -Wno-implicit-int" |
3662 cat > conftest.$ac_ext <<EOF | 3682 cat > conftest.$ac_ext <<EOF |
3663 #line 3664 "configure" | 3683 #line 3684 "configure" |
3664 #include "confdefs.h" | 3684 #include "confdefs.h" |
3665 #include <X11/Xlib.h> | 3685 #include <X11/Xlib.h> |
3666 int main() { | 3686 int main() { |
3667 | 3687 |
3668 ; return 0; } | 3688 ; return 0; } |
3669 EOF | 3689 EOF |
3670 if { (eval echo configure:3671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 3690 if { (eval echo configure:3691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3671 rm -rf conftest* | 3691 rm -rf conftest* |
3672 echo "$ac_t""yes" 1>&6; cflags_save="$cflags_save -Wno-implicit-int" | 3692 echo "$ac_t""yes" 1>&6; cflags_save="$cflags_save -Wno-implicit-int" |
3673 else | 3693 else |
3674 echo "configure: failed program was:" >&5 | 3694 echo "configure: failed program was:" >&5 |
3675 cat conftest.$ac_ext >&5 | 3695 cat conftest.$ac_ext >&5 |
3689 fi | 3709 fi |
3690 | 3710 |
3691 test "x$with_x" = xno -a "x$BEOS" != "xyes" -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no | 3711 test "x$with_x" = xno -a "x$BEOS" != "xyes" -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no |
3692 | 3712 |
3693 echo $ac_n "checking --enable-gui argument""... $ac_c" 1>&6 | 3713 echo $ac_n "checking --enable-gui argument""... $ac_c" 1>&6 |
3694 echo "configure:3695: checking --enable-gui argument" >&5 | 3714 echo "configure:3715: checking --enable-gui argument" >&5 |
3695 # Check whether --enable-gui or --disable-gui was given. | 3715 # Check whether --enable-gui or --disable-gui was given. |
3696 if test "${enable_gui+set}" = set; then | 3716 if test "${enable_gui+set}" = set; then |
3697 enableval="$enable_gui" | 3717 enableval="$enable_gui" |
3698 : | 3718 : |
3699 else | 3719 else |
3751 SKIP_CARBON=YES ;; | 3771 SKIP_CARBON=YES ;; |
3752 esac | 3772 esac |
3753 | 3773 |
3754 else | 3774 else |
3755 | 3775 |
3756 | |
3757 case "$enable_gui_canon" in | 3776 case "$enable_gui_canon" in |
3758 no|none) echo "$ac_t""no GUI support" 1>&6 ;; | 3777 no|none) echo "$ac_t""no GUI support" 1>&6 ;; |
3759 yes|""|auto) echo "$ac_t""yes/auto - automatic GUI support" 1>&6 | 3778 yes|""|auto) echo "$ac_t""yes/auto - automatic GUI support" 1>&6 |
3760 SKIP_GTK= | 3779 SKIP_GTK= |
3761 SKIP_GTK2= | 3780 SKIP_GTK2= |
3762 SKIP_GNOME= | 3781 SKIP_GNOME= |
3763 SKIP_MOTIF= | 3782 SKIP_MOTIF= |
3764 SKIP_ATHENA= | 3783 SKIP_ATHENA= |
3765 SKIP_NEXTAW= | 3784 SKIP_NEXTAW= |
3766 SKIP_CARBON=;; | 3785 SKIP_CARBON=;; |
3786 kde|Kde|KDE) echo "$ac_t""KDE 2.x or 3.x GUI support" 1>&6 | |
3787 SKIP_KDE=;; | |
3767 gtk) echo "$ac_t""GTK+ 1.x GUI support" 1>&6 | 3788 gtk) echo "$ac_t""GTK+ 1.x GUI support" 1>&6 |
3768 SKIP_GTK=;; | 3789 SKIP_GTK=;; |
3769 gtk2) echo "$ac_t""GTK+ 2.x GUI support" 1>&6 | 3790 gtk2) echo "$ac_t""GTK+ 2.x GUI support" 1>&6 |
3770 SKIP_GTK= | 3791 SKIP_GTK= |
3771 SKIP_GTK2=;; | 3792 SKIP_GTK2=;; |
3785 *) echo "$ac_t""Sorry, $enable_gui GUI is not supported" 1>&6 ;; | 3806 *) echo "$ac_t""Sorry, $enable_gui GUI is not supported" 1>&6 ;; |
3786 esac | 3807 esac |
3787 | 3808 |
3788 fi | 3809 fi |
3789 | 3810 |
3811 if test "x$SKIP_KDE" != "xYES" -a "$enable_gui_canon" != "kde"; then | |
3812 echo $ac_n "checking whether or not to look for KDE""... $ac_c" 1>&6 | |
3813 echo "configure:3814: checking whether or not to look for KDE" >&5 | |
3814 # Check whether --enable-kde-check or --disable-kde-check was given. | |
3815 if test "${enable_kde_check+set}" = set; then | |
3816 enableval="$enable_kde_check" | |
3817 : | |
3818 else | |
3819 enable_kde_check="no" | |
3820 fi | |
3821 | |
3822 echo "$ac_t""$enable_kde_check" 1>&6; | |
3823 if test "x$enable_kde_check" = "xno"; then | |
3824 SKIP_KDE=YES | |
3825 fi | |
3826 fi | |
3827 | |
3790 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then | 3828 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then |
3791 echo $ac_n "checking whether or not to look for GTK""... $ac_c" 1>&6 | 3829 echo $ac_n "checking whether or not to look for GTK""... $ac_c" 1>&6 |
3792 echo "configure:3793: checking whether or not to look for GTK" >&5 | 3830 echo "configure:3831: checking whether or not to look for GTK" >&5 |
3793 # Check whether --enable-gtk-check or --disable-gtk-check was given. | 3831 # Check whether --enable-gtk-check or --disable-gtk-check was given. |
3794 if test "${enable_gtk_check+set}" = set; then | 3832 if test "${enable_gtk_check+set}" = set; then |
3795 enableval="$enable_gtk_check" | 3833 enableval="$enable_gtk_check" |
3796 : | 3834 : |
3797 else | 3835 else |
3806 fi | 3844 fi |
3807 | 3845 |
3808 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \ | 3846 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \ |
3809 -a "$enable_gui_canon" != "gnome2"; then | 3847 -a "$enable_gui_canon" != "gnome2"; then |
3810 echo $ac_n "checking whether or not to look for GTK+ 2""... $ac_c" 1>&6 | 3848 echo $ac_n "checking whether or not to look for GTK+ 2""... $ac_c" 1>&6 |
3811 echo "configure:3812: checking whether or not to look for GTK+ 2" >&5 | 3849 echo "configure:3850: checking whether or not to look for GTK+ 2" >&5 |
3812 # Check whether --enable-gtk2-check or --disable-gtk2-check was given. | 3850 # Check whether --enable-gtk2-check or --disable-gtk2-check was given. |
3813 if test "${enable_gtk2_check+set}" = set; then | 3851 if test "${enable_gtk2_check+set}" = set; then |
3814 enableval="$enable_gtk2_check" | 3852 enableval="$enable_gtk2_check" |
3815 : | 3853 : |
3816 else | 3854 else |
3824 fi | 3862 fi |
3825 | 3863 |
3826 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \ | 3864 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \ |
3827 -a "$enable_gui_canon" != "gnome2"; then | 3865 -a "$enable_gui_canon" != "gnome2"; then |
3828 echo $ac_n "checking whether or not to look for GNOME""... $ac_c" 1>&6 | 3866 echo $ac_n "checking whether or not to look for GNOME""... $ac_c" 1>&6 |
3829 echo "configure:3830: checking whether or not to look for GNOME" >&5 | 3867 echo "configure:3868: checking whether or not to look for GNOME" >&5 |
3830 # Check whether --enable-gnome-check or --disable-gnome-check was given. | 3868 # Check whether --enable-gnome-check or --disable-gnome-check was given. |
3831 if test "${enable_gnome_check+set}" = set; then | 3869 if test "${enable_gnome_check+set}" = set; then |
3832 enableval="$enable_gnome_check" | 3870 enableval="$enable_gnome_check" |
3833 : | 3871 : |
3834 else | 3872 else |
3841 fi | 3879 fi |
3842 fi | 3880 fi |
3843 | 3881 |
3844 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then | 3882 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then |
3845 echo $ac_n "checking whether or not to look for Motif""... $ac_c" 1>&6 | 3883 echo $ac_n "checking whether or not to look for Motif""... $ac_c" 1>&6 |
3846 echo "configure:3847: checking whether or not to look for Motif" >&5 | 3884 echo "configure:3885: checking whether or not to look for Motif" >&5 |
3847 # Check whether --enable-motif-check or --disable-motif-check was given. | 3885 # Check whether --enable-motif-check or --disable-motif-check was given. |
3848 if test "${enable_motif_check+set}" = set; then | 3886 if test "${enable_motif_check+set}" = set; then |
3849 enableval="$enable_motif_check" | 3887 enableval="$enable_motif_check" |
3850 : | 3888 : |
3851 else | 3889 else |
3858 fi | 3896 fi |
3859 fi | 3897 fi |
3860 | 3898 |
3861 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then | 3899 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then |
3862 echo $ac_n "checking whether or not to look for Athena""... $ac_c" 1>&6 | 3900 echo $ac_n "checking whether or not to look for Athena""... $ac_c" 1>&6 |
3863 echo "configure:3864: checking whether or not to look for Athena" >&5 | 3901 echo "configure:3902: checking whether or not to look for Athena" >&5 |
3864 # Check whether --enable-athena-check or --disable-athena-check was given. | 3902 # Check whether --enable-athena-check or --disable-athena-check was given. |
3865 if test "${enable_athena_check+set}" = set; then | 3903 if test "${enable_athena_check+set}" = set; then |
3866 enableval="$enable_athena_check" | 3904 enableval="$enable_athena_check" |
3867 : | 3905 : |
3868 else | 3906 else |
3875 fi | 3913 fi |
3876 fi | 3914 fi |
3877 | 3915 |
3878 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then | 3916 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then |
3879 echo $ac_n "checking whether or not to look for neXtaw""... $ac_c" 1>&6 | 3917 echo $ac_n "checking whether or not to look for neXtaw""... $ac_c" 1>&6 |
3880 echo "configure:3881: checking whether or not to look for neXtaw" >&5 | 3918 echo "configure:3919: checking whether or not to look for neXtaw" >&5 |
3881 # Check whether --enable-nextaw-check or --disable-nextaw-check was given. | 3919 # Check whether --enable-nextaw-check or --disable-nextaw-check was given. |
3882 if test "${enable_nextaw_check+set}" = set; then | 3920 if test "${enable_nextaw_check+set}" = set; then |
3883 enableval="$enable_nextaw_check" | 3921 enableval="$enable_nextaw_check" |
3884 : | 3922 : |
3885 else | 3923 else |
3892 fi | 3930 fi |
3893 fi | 3931 fi |
3894 | 3932 |
3895 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then | 3933 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then |
3896 echo $ac_n "checking whether or not to look for Carbon""... $ac_c" 1>&6 | 3934 echo $ac_n "checking whether or not to look for Carbon""... $ac_c" 1>&6 |
3897 echo "configure:3898: checking whether or not to look for Carbon" >&5 | 3935 echo "configure:3936: checking whether or not to look for Carbon" >&5 |
3898 # Check whether --enable-carbon-check or --disable-carbon-check was given. | 3936 # Check whether --enable-carbon-check or --disable-carbon-check was given. |
3899 if test "${enable_carbon_check+set}" = set; then | 3937 if test "${enable_carbon_check+set}" = set; then |
3900 enableval="$enable_carbon_check" | 3938 enableval="$enable_carbon_check" |
3901 : | 3939 : |
3902 else | 3940 else |
3907 if test "x$enable_carbon_check" = "xno"; then | 3945 if test "x$enable_carbon_check" = "xno"; then |
3908 SKIP_CARBON=YES | 3946 SKIP_CARBON=YES |
3909 fi | 3947 fi |
3910 fi | 3948 fi |
3911 | 3949 |
3950 | |
3951 if test -z "$SKIP_KDE"; then | |
3952 # Check whether --with-qt-dir or --without-qt-dir was given. | |
3953 if test "${with_qt_dir+set}" = set; then | |
3954 withval="$with_qt_dir" | |
3955 | |
3956 ROOTQT="$withval" | |
3957 MOC="$withval"/bin/moc | |
3958 QT_INCLUDES="$withval"/include | |
3959 QT_LIBS="$withval"/lib | |
3960 | |
3961 fi | |
3962 | |
3963 | |
3964 if test "x$ROOTQT" = "x"; then | |
3965 if test -z "$QTDIR"; then | |
3966 # Extract the first word of "moc", so it can be a program name with args. | |
3967 set dummy moc; ac_word=$2 | |
3968 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
3969 echo "configure:3970: checking for $ac_word" >&5 | |
3970 if eval "test \"`echo '$''{'ac_cv_path_MOC'+set}'`\" = set"; then | |
3971 echo $ac_n "(cached) $ac_c" 1>&6 | |
3972 else | |
3973 case "$MOC" in | |
3974 /*) | |
3975 ac_cv_path_MOC="$MOC" # Let the user override the test with a path. | |
3976 ;; | |
3977 ?:/*) | |
3978 ac_cv_path_MOC="$MOC" # Let the user override the test with a dos path. | |
3979 ;; | |
3980 *) | |
3981 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
3982 ac_dummy="$PATH" | |
3983 for ac_dir in $ac_dummy; do | |
3984 test -z "$ac_dir" && ac_dir=. | |
3985 if test -f $ac_dir/$ac_word; then | |
3986 ac_cv_path_MOC="$ac_dir/$ac_word" | |
3987 break | |
3988 fi | |
3989 done | |
3990 IFS="$ac_save_ifs" | |
3991 test -z "$ac_cv_path_MOC" && ac_cv_path_MOC="no" | |
3992 ;; | |
3993 esac | |
3994 fi | |
3995 MOC="$ac_cv_path_MOC" | |
3996 if test -n "$MOC"; then | |
3997 echo "$ac_t""$MOC" 1>&6 | |
3998 else | |
3999 echo "$ac_t""no" 1>&6 | |
4000 fi | |
4001 | |
4002 if text"x$MOC" = "x"; then | |
4003 { echo "configure: error: could not find Qt directory" 1>&2; exit 1; } | |
4004 else | |
4005 ROOTQT=`echo $MOC | sed 's+/bin/moc++'` | |
4006 fi | |
4007 else | |
4008 ROOTQT="$QTDIR" | |
4009 fi | |
4010 fi | |
4011 MOC="$ROOTQT"/bin/moc | |
4012 QT_INCLUDES="$ROOTQT"/include | |
4013 QT_LIBS="$ROOTQT"/lib | |
4014 | |
4015 # Check whether --with-qt-includes or --without-qt-includes was given. | |
4016 if test "${with_qt_includes+set}" = set; then | |
4017 withval="$with_qt_includes" | |
4018 QT_INCLUDES="$withval" | |
4019 | |
4020 fi | |
4021 | |
4022 | |
4023 # Check whether --with-qt-libraries or --without-qt-libraries was given. | |
4024 if test "${with_qt_libraries+set}" = set; then | |
4025 withval="$with_qt_libraries" | |
4026 QT_LIBS="$withval" | |
4027 | |
4028 fi | |
4029 | |
4030 | |
4031 if test "x$QT_LIBS" = "x" ; then | |
4032 QT_LIBS="$ROOTQT"/lib | |
4033 fi | |
4034 if test "x$QT_INCLUDES" = "x" ; then | |
4035 QT_INCLUDES="$ROOTQT"/include | |
4036 fi | |
4037 | |
4038 echo $ac_n "checking whether or not to use a KDE Toolbar in KVim""... $ac_c" 1>&6 | |
4039 echo "configure:4040: checking whether or not to use a KDE Toolbar in KVim" >&5 | |
4040 # Check whether --enable-kde-toolbar or --disable-kde-toolbar was given. | |
4041 if test "${enable_kde_toolbar+set}" = set; then | |
4042 enableval="$enable_kde_toolbar" | |
4043 : | |
4044 else | |
4045 enable_kde_toolbar="no" | |
4046 fi | |
4047 | |
4048 if test "x$enable_kde_toolbar" != "xno"; then | |
4049 cat >> confdefs.h <<\EOF | |
4050 #define FEAT_KDETOOLBAR 1 | |
4051 EOF | |
4052 | |
4053 fi | |
4054 echo "$ac_t""$enable_kde_toolbar" 1>&6; | |
4055 fi | |
4056 | |
4057 | |
4058 if test -z "$SKIP_KDE"; then | |
4059 | |
4060 | |
4061 echo $ac_n "checking --disable-rpath argument""... $ac_c" 1>&6 | |
4062 echo "configure:4063: checking --disable-rpath argument" >&5 | |
4063 # Check whether --enable-rpath or --disable-rpath was given. | |
4064 if test "${enable_rpath+set}" = set; then | |
4065 enableval="$enable_rpath" | |
4066 : | |
4067 else | |
4068 enable_rpath="yes" | |
4069 fi | |
4070 | |
4071 if test "$enable_rpath" = "yes"; then | |
4072 echo "$ac_t""no" 1>&6 | |
4073 else | |
4074 echo "$ac_t""yes" 1>&6 | |
4075 fi | |
4076 | |
4077 echo $ac_n "checking --with-kde-prefix argument""... $ac_c" 1>&6 | |
4078 echo "configure:4079: checking --with-kde-prefix argument" >&5 | |
4079 # Check whether --with-kde-prefix or --without-kde-prefix was given. | |
4080 if test "${with_kde_prefix+set}" = set; then | |
4081 withval="$with_kde_prefix" | |
4082 kde_config_prefix="$withval"; | |
4083 echo "$ac_t""$kde_config_prefix" 1>&6 | |
4084 else | |
4085 kde_config_prefix="";echo "$ac_t""no" 1>&6 | |
4086 fi | |
4087 | |
4088 | |
4089 # Check whether --with-kde-includes or --without-kde-includes was given. | |
4090 if test "${with_kde_includes+set}" = set; then | |
4091 withval="$with_kde_includes" | |
4092 KDE_INCLUDES="$withval" | |
4093 | |
4094 fi | |
4095 | |
4096 | |
4097 # Check whether --with-kde-libraries or --without-kde-libraries was given. | |
4098 if test "${with_kde_libraries+set}" = set; then | |
4099 withval="$with_kde_libraries" | |
4100 KDE_LIBS="$withval" | |
4101 | |
4102 fi | |
4103 | |
4104 | |
4105 echo $ac_n "checking --disable-kdetest argument""... $ac_c" 1>&6 | |
4106 echo "configure:4107: checking --disable-kdetest argument" >&5 | |
4107 # Check whether --enable-kdetest or --disable-kdetest was given. | |
4108 if test "${enable_kdetest+set}" = set; then | |
4109 enableval="$enable_kdetest" | |
4110 enable_kdetest=yes | |
4111 fi | |
4112 | |
4113 | |
4114 if test "x$enable_kdetest" = "xyes" ; then | |
4115 echo "$ac_t""kde test enabled" 1>&6 | |
4116 else | |
4117 echo "$ac_t""kde test disabled" 1>&6 | |
4118 fi | |
4119 | |
4120 if test "x$kde_config_prefix" != "x" ; then | |
4121 kde_config_args="" | |
4122 KDE_CONFIG=$kde_config_prefix/bin/kde-config | |
4123 fi | |
4124 | |
4125 if test "X$KDE_CONFIG" = "X"; then | |
4126 # Extract the first word of "kde-config", so it can be a program name with args. | |
4127 set dummy kde-config; ac_word=$2 | |
4128 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | |
4129 echo "configure:4130: checking for $ac_word" >&5 | |
4130 if eval "test \"`echo '$''{'ac_cv_path_KDE_CONFIG'+set}'`\" = set"; then | |
4131 echo $ac_n "(cached) $ac_c" 1>&6 | |
4132 else | |
4133 case "$KDE_CONFIG" in | |
4134 /*) | |
4135 ac_cv_path_KDE_CONFIG="$KDE_CONFIG" # Let the user override the test with a path. | |
4136 ;; | |
4137 ?:/*) | |
4138 ac_cv_path_KDE_CONFIG="$KDE_CONFIG" # Let the user override the test with a dos path. | |
4139 ;; | |
4140 *) | |
4141 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | |
4142 ac_dummy="$PATH" | |
4143 for ac_dir in $ac_dummy; do | |
4144 test -z "$ac_dir" && ac_dir=. | |
4145 if test -f $ac_dir/$ac_word; then | |
4146 ac_cv_path_KDE_CONFIG="$ac_dir/$ac_word" | |
4147 break | |
4148 fi | |
4149 done | |
4150 IFS="$ac_save_ifs" | |
4151 test -z "$ac_cv_path_KDE_CONFIG" && ac_cv_path_KDE_CONFIG="no" | |
4152 ;; | |
4153 esac | |
4154 fi | |
4155 KDE_CONFIG="$ac_cv_path_KDE_CONFIG" | |
4156 if test -n "$KDE_CONFIG"; then | |
4157 echo "$ac_t""$KDE_CONFIG" 1>&6 | |
4158 else | |
4159 echo "$ac_t""no" 1>&6 | |
4160 fi | |
4161 | |
4162 else | |
4163 echo "$ac_t""Using KDE configuration program $KDE_CONFIG" 1>&6 | |
4164 fi | |
4165 | |
4166 if test "X$KDE_CONFIG" != "X" ; then | |
4167 | |
4168 if test "X$KDE_CONFIG" != "X"; then | |
4169 min_kde_version=2.0.0 | |
4170 echo $ac_n "checking for KDE version >= $min_kde_version""... $ac_c" 1>&6 | |
4171 echo "configure:4172: checking for KDE version >= $min_kde_version" >&5 | |
4172 no_kde="" | |
4173 if test "$KDE_CONFIG" = "no" ; then | |
4174 no_kde=yes | |
4175 else | |
4176 KDE_PREFIX=`$KDE_CONFIG $kde_config_args --prefix` | |
4177 if test "x$KDE_LIBS" = "x"; then | |
4178 KDE_LIBS="$KDE_PREFIX/lib" | |
4179 fi | |
4180 if test "x$KDE_INCLUDES" = "x"; then | |
4181 KDE_INCLUDES="$KDE_PREFIX/include" | |
4182 fi | |
4183 kde_major_version=`$KDE_CONFIG --version | grep KDE | \ | |
4184 sed 's/KDE:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\1/'` | |
4185 kde_minor_version=`$KDE_CONFIG --version | grep KDE | \ | |
4186 sed 's/KDE:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\2/'` | |
4187 | |
4188 qt_major_version=`$KDE_CONFIG --version | grep Qt | sed -e \ | |
4189 's/Qt:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\1/'` | |
4190 qt_minor_version=`$KDE_CONFIG --version | grep Qt | sed -e \ | |
4191 's/Qt:\ //' | sed 's/\([0-9]*\).\([0-9]*.*\)/\2/'` | |
4192 | |
4193 if test "x$enable-kdetest" = "xyes" ; then | |
4194 ac_save_LIBS="$LIBS" | |
4195 LIBS="$LIBS $KDE_LIBS" | |
4196 | |
4197 if test "$cross_compiling" = yes; then | |
4198 echo $ac_n "cross compiling KDE ? ? how can i remove that ? :)" | |
4199 else | |
4200 cat > conftest.$ac_ext <<EOF | |
4201 #line 4202 "configure" | |
4202 #include "confdefs.h" | |
4203 | |
4204 #include <stdio.h> | |
4205 int | |
4206 main() | |
4207 { return 0; } | |
4208 | |
4209 EOF | |
4210 if { (eval echo configure:4211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | |
4211 then | |
4212 : | |
4213 else | |
4214 echo "configure: failed program was:" >&5 | |
4215 cat conftest.$ac_ext >&5 | |
4216 rm -fr conftest* | |
4217 no_kde=yes | |
4218 fi | |
4219 rm -fr conftest* | |
4220 fi | |
4221 | |
4222 LIBS="$ac_save_LIBS" | |
4223 fi | |
4224 fi | |
4225 if test "x$no_kde" = x ; then | |
4226 echo "$ac_t""found KDE $kde_major_version.$kde_minor_version" 1>&6 | |
4227 GUI_LIB_LOC="-L$KDE_LIBS -lkdeui -lkdecore -lDCOP" | |
4228 GUI_INC_LOC="-I$KDE_INCLUDES" | |
4229 KDEDIR="$KDE_PREFIX" | |
4230 else | |
4231 echo "$ac_t""no" 1>&6 | |
4232 KDE_LIBS="" | |
4233 : | |
4234 fi | |
4235 else | |
4236 echo "$ac_t""no" 1>&6 | |
4237 KDE_LIBS="" | |
4238 : | |
4239 fi | |
4240 | |
4241 | |
4242 | |
4243 | |
4244 if test "x$KDE_PREFIX" != "x"; then | |
4245 echo $ac_n "checking for QT version $qt_major_version.x""... $ac_c" 1>&6 | |
4246 echo "configure:4247: checking for QT version $qt_major_version.x" >&5 | |
4247 if test "x$ROOTQT" != "x" ; then | |
4248 GUI_INC_LOC="-I$QT_INCLUDES $GUI_INC_LOC" | |
4249 if test $qt_major_version -lt 2; then | |
4250 { 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; } | |
4251 fi | |
4252 if test "`(uname) 2>/dev/null`" = "FreeBSD"; then | |
4253 CFLAGS="$CFLAGS -D_THREAD_SAFE" | |
4254 CXXFLAGS="$CXXFLAGS -D_THREAD_SAFE" | |
4255 GUI_LIB_LOC="$GUI_LIB_LOC -pthread" | |
4256 LIBS="$LIBS -pthread" | |
4257 fi | |
4258 | |
4259 if test "x$enable_rpath" = "xyes"; then | |
4260 if test $qt_major_version = 2; then | |
4261 GUI_LIB_LOC="-L$KDE_LIBS -lkfile -L$QT_LIBS -lqt $GUI_LIB_LOC \ | |
4262 -Wl,--rpath -Wl,$KDE_LIBS -Wl,--rpath -Wl,$QT_LIBS" | |
4263 else | |
4264 GUI_LIB_LOC="-L$KDE_LIBS -lkio -L$QT_LIBS -lqt-mt $GUI_LIB_LOC \ | |
4265 -Wl,--rpath -Wl,$KDE_LIBS -Wl,--rpath -Wl,$QT_LIBS" | |
4266 fi | |
4267 else | |
4268 if test $qt_major_version = 2; then | |
4269 GUI_LIB_LOC="-L$KDE_LIBS -lkfile -L$QT_LIBS -lqt $GUI_LIB_LOC" | |
4270 else | |
4271 GUI_LIB_LOC="-L$KDE_LIBS -lkio -L$QT_LIBS -lqt-mt $GUI_LIB_LOC" | |
4272 fi | |
4273 fi | |
4274 | |
4275 GUI_INC_LOC="`echo $GUI_INC_LOC\ | sed 's%-I/usr/include %%'`" | |
4276 | |
4277 echo "$ac_t""found $qt_major_version.$qt_minor_version in $ROOTQT" 1>&6 | |
4278 SKIP_GTK=YES | |
4279 SKIP_ATHENA=YES | |
4280 SKIP_MOTIF=YES | |
4281 GUITYPE=KDE | |
4282 | |
4283 | |
4284 | |
4285 | |
4286 | |
4287 cat >> confdefs.h <<\EOF | |
4288 #define FEAT_GUI_KDE 1 | |
4289 EOF | |
4290 | |
4291 else | |
4292 { echo "configure: error: Detected QT version mismatched" 1>&2; exit 1; } | |
4293 fi | |
4294 else | |
4295 { echo "configure: error: Could not find KDE installation prefix" 1>&2; exit 1; } | |
4296 fi | |
4297 fi | |
4298 fi | |
4299 | |
3912 if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then | 4300 if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then |
3913 echo $ac_n "checking for Carbon GUI""... $ac_c" 1>&6 | 4301 echo $ac_n "checking for Carbon GUI""... $ac_c" 1>&6 |
3914 echo "configure:3915: checking for Carbon GUI" >&5 | 4302 echo "configure:4303: checking for Carbon GUI" >&5 |
3915 echo "$ac_t""yes" 1>&6; | 4303 echo "$ac_t""yes" 1>&6; |
3916 GUITYPE=CARBONGUI | 4304 GUITYPE=CARBONGUI |
3917 SKIP_GTK=YES; | 4305 SKIP_GTK=YES; |
3918 SKIP_GTK2=YES; | 4306 SKIP_GTK2=YES; |
3919 SKIP_GNOME=YES; | 4307 SKIP_GNOME=YES; |
3931 | 4319 |
3932 | 4320 |
3933 | 4321 |
3934 | 4322 |
3935 | 4323 |
3936 | |
3937 if test -z "$SKIP_GTK"; then | 4324 if test -z "$SKIP_GTK"; then |
3938 | 4325 |
3939 echo $ac_n "checking --with-gtk-prefix argument""... $ac_c" 1>&6 | 4326 echo $ac_n "checking --with-gtk-prefix argument""... $ac_c" 1>&6 |
3940 echo "configure:3941: checking --with-gtk-prefix argument" >&5 | 4327 echo "configure:4328: checking --with-gtk-prefix argument" >&5 |
3941 # Check whether --with-gtk-prefix or --without-gtk-prefix was given. | 4328 # Check whether --with-gtk-prefix or --without-gtk-prefix was given. |
3942 if test "${with_gtk_prefix+set}" = set; then | 4329 if test "${with_gtk_prefix+set}" = set; then |
3943 withval="$with_gtk_prefix" | 4330 withval="$with_gtk_prefix" |
3944 gtk_config_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 | 4331 gtk_config_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 |
3945 else | 4332 else |
3946 gtk_config_prefix=""; echo "$ac_t""no" 1>&6 | 4333 gtk_config_prefix=""; echo "$ac_t""no" 1>&6 |
3947 fi | 4334 fi |
3948 | 4335 |
3949 | 4336 |
3950 echo $ac_n "checking --with-gtk-exec-prefix argument""... $ac_c" 1>&6 | 4337 echo $ac_n "checking --with-gtk-exec-prefix argument""... $ac_c" 1>&6 |
3951 echo "configure:3952: checking --with-gtk-exec-prefix argument" >&5 | 4338 echo "configure:4339: checking --with-gtk-exec-prefix argument" >&5 |
3952 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. | 4339 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given. |
3953 if test "${with_gtk_exec_prefix+set}" = set; then | 4340 if test "${with_gtk_exec_prefix+set}" = set; then |
3954 withval="$with_gtk_exec_prefix" | 4341 withval="$with_gtk_exec_prefix" |
3955 gtk_config_exec_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 | 4342 gtk_config_exec_prefix="$withval"; echo "$ac_t""$gtk_config_prefix" 1>&6 |
3956 else | 4343 else |
3957 gtk_config_exec_prefix=""; echo "$ac_t""no" 1>&6 | 4344 gtk_config_exec_prefix=""; echo "$ac_t""no" 1>&6 |
3958 fi | 4345 fi |
3959 | 4346 |
3960 | 4347 |
3961 echo $ac_n "checking --disable-gtktest argument""... $ac_c" 1>&6 | 4348 echo $ac_n "checking --disable-gtktest argument""... $ac_c" 1>&6 |
3962 echo "configure:3963: checking --disable-gtktest argument" >&5 | 4349 echo "configure:4350: checking --disable-gtktest argument" >&5 |
3963 # Check whether --enable-gtktest or --disable-gtktest was given. | 4350 # Check whether --enable-gtktest or --disable-gtktest was given. |
3964 if test "${enable_gtktest+set}" = set; then | 4351 if test "${enable_gtktest+set}" = set; then |
3965 enableval="$enable_gtktest" | 4352 enableval="$enable_gtktest" |
3966 : | 4353 : |
3967 else | 4354 else |
3984 fi | 4371 fi |
3985 if test "X$GTK_CONFIG" = "X"; then | 4372 if test "X$GTK_CONFIG" = "X"; then |
3986 # Extract the first word of "gtk-config", so it can be a program name with args. | 4373 # Extract the first word of "gtk-config", so it can be a program name with args. |
3987 set dummy gtk-config; ac_word=$2 | 4374 set dummy gtk-config; ac_word=$2 |
3988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4375 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
3989 echo "configure:3990: checking for $ac_word" >&5 | 4376 echo "configure:4377: checking for $ac_word" >&5 |
3990 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then | 4377 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then |
3991 echo $ac_n "(cached) $ac_c" 1>&6 | 4378 echo $ac_n "(cached) $ac_c" 1>&6 |
3992 else | 4379 else |
3993 case "$GTK_CONFIG" in | 4380 case "$GTK_CONFIG" in |
3994 /*) | 4381 /*) |
4021 | 4408 |
4022 if test "X$GTK_CONFIG" = "Xno"; then | 4409 if test "X$GTK_CONFIG" = "Xno"; then |
4023 # Extract the first word of "gtk12-config", so it can be a program name with args. | 4410 # Extract the first word of "gtk12-config", so it can be a program name with args. |
4024 set dummy gtk12-config; ac_word=$2 | 4411 set dummy gtk12-config; ac_word=$2 |
4025 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4412 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4026 echo "configure:4027: checking for $ac_word" >&5 | 4413 echo "configure:4414: checking for $ac_word" >&5 |
4027 if eval "test \"`echo '$''{'ac_cv_path_GTK12_CONFIG'+set}'`\" = set"; then | 4414 if eval "test \"`echo '$''{'ac_cv_path_GTK12_CONFIG'+set}'`\" = set"; then |
4028 echo $ac_n "(cached) $ac_c" 1>&6 | 4415 echo $ac_n "(cached) $ac_c" 1>&6 |
4029 else | 4416 else |
4030 case "$GTK12_CONFIG" in | 4417 case "$GTK12_CONFIG" in |
4031 /*) | 4418 /*) |
4063 fi | 4450 fi |
4064 if test "X$PKG_CONFIG" = "X"; then | 4451 if test "X$PKG_CONFIG" = "X"; then |
4065 # Extract the first word of "pkg-config", so it can be a program name with args. | 4452 # Extract the first word of "pkg-config", so it can be a program name with args. |
4066 set dummy pkg-config; ac_word=$2 | 4453 set dummy pkg-config; ac_word=$2 |
4067 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4454 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4068 echo "configure:4069: checking for $ac_word" >&5 | 4455 echo "configure:4456: checking for $ac_word" >&5 |
4069 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then | 4456 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then |
4070 echo $ac_n "(cached) $ac_c" 1>&6 | 4457 echo $ac_n "(cached) $ac_c" 1>&6 |
4071 else | 4458 else |
4072 case "$PKG_CONFIG" in | 4459 case "$PKG_CONFIG" in |
4073 /*) | 4460 /*) |
4105 | 4492 |
4106 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then | 4493 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then |
4107 { | 4494 { |
4108 min_gtk_version=2.2.0 | 4495 min_gtk_version=2.2.0 |
4109 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 | 4496 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 |
4110 echo "configure:4111: checking for GTK - version >= $min_gtk_version" >&5 | 4497 echo "configure:4498: checking for GTK - version >= $min_gtk_version" >&5 |
4111 no_gtk="" | 4498 no_gtk="" |
4112 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ | 4499 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ |
4113 && $PKG_CONFIG --exists gtk+-2.0; then | 4500 && $PKG_CONFIG --exists gtk+-2.0; then |
4114 { | 4501 { |
4115 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` | 4502 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` |
4146 rm -f conf.gtktest | 4533 rm -f conf.gtktest |
4147 if test "$cross_compiling" = yes; then | 4534 if test "$cross_compiling" = yes; then |
4148 echo $ac_n "cross compiling; assumed OK... $ac_c" | 4535 echo $ac_n "cross compiling; assumed OK... $ac_c" |
4149 else | 4536 else |
4150 cat > conftest.$ac_ext <<EOF | 4537 cat > conftest.$ac_ext <<EOF |
4151 #line 4152 "configure" | 4538 #line 4539 "configure" |
4152 #include "confdefs.h" | 4539 #include "confdefs.h" |
4153 | 4540 |
4154 #include <gtk/gtk.h> | 4541 #include <gtk/gtk.h> |
4155 #include <stdio.h> | 4542 #include <stdio.h> |
4156 | 4543 |
4178 } | 4565 } |
4179 return 1; | 4566 return 1; |
4180 } | 4567 } |
4181 | 4568 |
4182 EOF | 4569 EOF |
4183 if { (eval echo configure:4184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4570 if { (eval echo configure:4571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4184 then | 4571 then |
4185 : | 4572 : |
4186 else | 4573 else |
4187 echo "configure: failed program was:" >&5 | 4574 echo "configure: failed program was:" >&5 |
4188 cat conftest.$ac_ext >&5 | 4575 cat conftest.$ac_ext >&5 |
4236 | 4623 |
4237 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then | 4624 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then |
4238 { | 4625 { |
4239 min_gtk_version=1.1.16 | 4626 min_gtk_version=1.1.16 |
4240 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 | 4627 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6 |
4241 echo "configure:4242: checking for GTK - version >= $min_gtk_version" >&5 | 4628 echo "configure:4629: checking for GTK - version >= $min_gtk_version" >&5 |
4242 no_gtk="" | 4629 no_gtk="" |
4243 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ | 4630 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \ |
4244 && $PKG_CONFIG --exists gtk+-2.0; then | 4631 && $PKG_CONFIG --exists gtk+-2.0; then |
4245 { | 4632 { |
4246 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` | 4633 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk+-2.0` |
4277 rm -f conf.gtktest | 4664 rm -f conf.gtktest |
4278 if test "$cross_compiling" = yes; then | 4665 if test "$cross_compiling" = yes; then |
4279 echo $ac_n "cross compiling; assumed OK... $ac_c" | 4666 echo $ac_n "cross compiling; assumed OK... $ac_c" |
4280 else | 4667 else |
4281 cat > conftest.$ac_ext <<EOF | 4668 cat > conftest.$ac_ext <<EOF |
4282 #line 4283 "configure" | 4669 #line 4670 "configure" |
4283 #include "confdefs.h" | 4670 #include "confdefs.h" |
4284 | 4671 |
4285 #include <gtk/gtk.h> | 4672 #include <gtk/gtk.h> |
4286 #include <stdio.h> | 4673 #include <stdio.h> |
4287 | 4674 |
4309 } | 4696 } |
4310 return 1; | 4697 return 1; |
4311 } | 4698 } |
4312 | 4699 |
4313 EOF | 4700 EOF |
4314 if { (eval echo configure:4315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 4701 if { (eval echo configure:4702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
4315 then | 4702 then |
4316 : | 4703 : |
4317 else | 4704 else |
4318 echo "configure: failed program was:" >&5 | 4705 echo "configure: failed program was:" >&5 |
4319 cat conftest.$ac_ext >&5 | 4706 cat conftest.$ac_ext >&5 |
4427 | 4814 |
4428 | 4815 |
4429 if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then | 4816 if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then |
4430 { | 4817 { |
4431 echo $ac_n "checking for libgnomeui-2.0""... $ac_c" 1>&6 | 4818 echo $ac_n "checking for libgnomeui-2.0""... $ac_c" 1>&6 |
4432 echo "configure:4433: checking for libgnomeui-2.0" >&5 | 4819 echo "configure:4820: checking for libgnomeui-2.0" >&5 |
4433 if $PKG_CONFIG --exists libgnomeui-2.0; then | 4820 if $PKG_CONFIG --exists libgnomeui-2.0; then |
4434 echo "$ac_t""yes" 1>&6 | 4821 echo "$ac_t""yes" 1>&6 |
4435 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0` | 4822 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0` |
4436 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0` | 4823 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0` |
4437 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0` | 4824 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0` |
4446 elif test "x$want_gnome" = xyes; then | 4833 elif test "x$want_gnome" = xyes; then |
4447 { | 4834 { |
4448 # Extract the first word of "gnome-config", so it can be a program name with args. | 4835 # Extract the first word of "gnome-config", so it can be a program name with args. |
4449 set dummy gnome-config; ac_word=$2 | 4836 set dummy gnome-config; ac_word=$2 |
4450 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 4837 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
4451 echo "configure:4452: checking for $ac_word" >&5 | 4838 echo "configure:4839: checking for $ac_word" >&5 |
4452 if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then | 4839 if eval "test \"`echo '$''{'ac_cv_path_GNOME_CONFIG'+set}'`\" = set"; then |
4453 echo $ac_n "(cached) $ac_c" 1>&6 | 4840 echo $ac_n "(cached) $ac_c" 1>&6 |
4454 else | 4841 else |
4455 case "$GNOME_CONFIG" in | 4842 case "$GNOME_CONFIG" in |
4456 /*) | 4843 /*) |
4483 | 4870 |
4484 if test "$GNOME_CONFIG" = "no"; then | 4871 if test "$GNOME_CONFIG" = "no"; then |
4485 no_gnome_config="yes" | 4872 no_gnome_config="yes" |
4486 else | 4873 else |
4487 echo $ac_n "checking if $GNOME_CONFIG works""... $ac_c" 1>&6 | 4874 echo $ac_n "checking if $GNOME_CONFIG works""... $ac_c" 1>&6 |
4488 echo "configure:4489: checking if $GNOME_CONFIG works" >&5 | 4875 echo "configure:4876: checking if $GNOME_CONFIG works" >&5 |
4489 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then | 4876 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then |
4490 echo "$ac_t""yes" 1>&6 | 4877 echo "$ac_t""yes" 1>&6 |
4491 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`" | 4878 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui`" |
4492 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`" | 4879 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`" |
4493 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`" | 4880 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui`" |
4508 gnome_prefix=`eval echo \`echo $libdir\`` | 4895 gnome_prefix=`eval echo \`echo $libdir\`` |
4509 fi | 4896 fi |
4510 | 4897 |
4511 if test "$no_gnome_config" = "yes"; then | 4898 if test "$no_gnome_config" = "yes"; then |
4512 echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6 | 4899 echo $ac_n "checking for gnomeConf.sh file in $gnome_prefix""... $ac_c" 1>&6 |
4513 echo "configure:4514: checking for gnomeConf.sh file in $gnome_prefix" >&5 | 4900 echo "configure:4901: checking for gnomeConf.sh file in $gnome_prefix" >&5 |
4514 if test -f $gnome_prefix/gnomeConf.sh; then | 4901 if test -f $gnome_prefix/gnomeConf.sh; then |
4515 echo "$ac_t""found" 1>&6 | 4902 echo "$ac_t""found" 1>&6 |
4516 echo "loading gnome configuration from" \ | 4903 echo "loading gnome configuration from" \ |
4517 "$gnome_prefix/gnomeConf.sh" | 4904 "$gnome_prefix/gnomeConf.sh" |
4518 . $gnome_prefix/gnomeConf.sh | 4905 . $gnome_prefix/gnomeConf.sh |
4546 if test -z "$SKIP_MOTIF"; then | 4933 if test -z "$SKIP_MOTIF"; then |
4547 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" | 4934 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" |
4548 GUI_INC_LOC="`echo $GUI_INC_LOC|sed 's%-I%%g'`" | 4935 GUI_INC_LOC="`echo $GUI_INC_LOC|sed 's%-I%%g'`" |
4549 | 4936 |
4550 echo $ac_n "checking for location of Motif GUI includes""... $ac_c" 1>&6 | 4937 echo $ac_n "checking for location of Motif GUI includes""... $ac_c" 1>&6 |
4551 echo "configure:4552: checking for location of Motif GUI includes" >&5 | 4938 echo "configure:4939: checking for location of Motif GUI includes" >&5 |
4552 gui_includes="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC" | 4939 gui_includes="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC" |
4553 GUI_INC_LOC= | 4940 GUI_INC_LOC= |
4554 for try in $gui_includes; do | 4941 for try in $gui_includes; do |
4555 if test -f "$try/Xm/Xm.h"; then | 4942 if test -f "$try/Xm/Xm.h"; then |
4556 GUI_INC_LOC=$try | 4943 GUI_INC_LOC=$try |
4570 fi | 4957 fi |
4571 | 4958 |
4572 | 4959 |
4573 if test -z "$SKIP_MOTIF"; then | 4960 if test -z "$SKIP_MOTIF"; then |
4574 echo $ac_n "checking --with-motif-lib argument""... $ac_c" 1>&6 | 4961 echo $ac_n "checking --with-motif-lib argument""... $ac_c" 1>&6 |
4575 echo "configure:4576: checking --with-motif-lib argument" >&5 | 4962 echo "configure:4963: checking --with-motif-lib argument" >&5 |
4576 # Check whether --with-motif-lib or --without-motif-lib was given. | 4963 # Check whether --with-motif-lib or --without-motif-lib was given. |
4577 if test "${with_motif_lib+set}" = set; then | 4964 if test "${with_motif_lib+set}" = set; then |
4578 withval="$with_motif_lib" | 4965 withval="$with_motif_lib" |
4579 MOTIF_LIBNAME="${withval}" | 4966 MOTIF_LIBNAME="${withval}" |
4580 fi | 4967 fi |
4587 echo "$ac_t""no" 1>&6 | 4974 echo "$ac_t""no" 1>&6 |
4588 | 4975 |
4589 GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`" | 4976 GUI_LIB_LOC="`echo $GUI_LIB_LOC|sed 's%-L%%g'`" |
4590 | 4977 |
4591 echo $ac_n "checking for location of Motif GUI libs""... $ac_c" 1>&6 | 4978 echo $ac_n "checking for location of Motif GUI libs""... $ac_c" 1>&6 |
4592 echo "configure:4593: checking for location of Motif GUI libs" >&5 | 4979 echo "configure:4980: checking for location of Motif GUI libs" >&5 |
4593 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" | 4980 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" |
4594 GUI_LIB_LOC= | 4981 GUI_LIB_LOC= |
4595 for try in $gui_libs; do | 4982 for try in $gui_libs; do |
4596 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl; do | 4983 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl; do |
4597 if test -f "$libtry"; then | 4984 if test -f "$libtry"; then |
4630 | 5017 |
4631 GUI_X_LIBS= | 5018 GUI_X_LIBS= |
4632 | 5019 |
4633 if test -z "$SKIP_ATHENA"; then | 5020 if test -z "$SKIP_ATHENA"; then |
4634 echo $ac_n "checking if Athena header files can be found""... $ac_c" 1>&6 | 5021 echo $ac_n "checking if Athena header files can be found""... $ac_c" 1>&6 |
4635 echo "configure:4636: checking if Athena header files can be found" >&5 | 5022 echo "configure:5023: checking if Athena header files can be found" >&5 |
4636 cflags_save=$CFLAGS | 5023 cflags_save=$CFLAGS |
4637 CFLAGS="$CFLAGS $X_CFLAGS" | 5024 CFLAGS="$CFLAGS $X_CFLAGS" |
4638 cat > conftest.$ac_ext <<EOF | 5025 cat > conftest.$ac_ext <<EOF |
4639 #line 4640 "configure" | 5026 #line 5027 "configure" |
4640 #include "confdefs.h" | 5027 #include "confdefs.h" |
4641 | 5028 |
4642 #include <X11/Intrinsic.h> | 5029 #include <X11/Intrinsic.h> |
4643 #include <X11/Xaw/Paned.h> | 5030 #include <X11/Xaw/Paned.h> |
4644 int main() { | 5031 int main() { |
4645 | 5032 |
4646 ; return 0; } | 5033 ; return 0; } |
4647 EOF | 5034 EOF |
4648 if { (eval echo configure:4649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5035 if { (eval echo configure:5036: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4649 rm -rf conftest* | 5036 rm -rf conftest* |
4650 echo "$ac_t""yes" 1>&6 | 5037 echo "$ac_t""yes" 1>&6 |
4651 else | 5038 else |
4652 echo "configure: failed program was:" >&5 | 5039 echo "configure: failed program was:" >&5 |
4653 cat conftest.$ac_ext >&5 | 5040 cat conftest.$ac_ext >&5 |
4662 GUITYPE=ATHENA | 5049 GUITYPE=ATHENA |
4663 fi | 5050 fi |
4664 | 5051 |
4665 if test -z "$SKIP_NEXTAW"; then | 5052 if test -z "$SKIP_NEXTAW"; then |
4666 echo $ac_n "checking if neXtaw header files can be found""... $ac_c" 1>&6 | 5053 echo $ac_n "checking if neXtaw header files can be found""... $ac_c" 1>&6 |
4667 echo "configure:4668: checking if neXtaw header files can be found" >&5 | 5054 echo "configure:5055: checking if neXtaw header files can be found" >&5 |
4668 cflags_save=$CFLAGS | 5055 cflags_save=$CFLAGS |
4669 CFLAGS="$CFLAGS $X_CFLAGS" | 5056 CFLAGS="$CFLAGS $X_CFLAGS" |
4670 cat > conftest.$ac_ext <<EOF | 5057 cat > conftest.$ac_ext <<EOF |
4671 #line 4672 "configure" | 5058 #line 5059 "configure" |
4672 #include "confdefs.h" | 5059 #include "confdefs.h" |
4673 | 5060 |
4674 #include <X11/Intrinsic.h> | 5061 #include <X11/Intrinsic.h> |
4675 #include <X11/neXtaw/Paned.h> | 5062 #include <X11/neXtaw/Paned.h> |
4676 int main() { | 5063 int main() { |
4677 | 5064 |
4678 ; return 0; } | 5065 ; return 0; } |
4679 EOF | 5066 EOF |
4680 if { (eval echo configure:4681: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5067 if { (eval echo configure:5068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
4681 rm -rf conftest* | 5068 rm -rf conftest* |
4682 echo "$ac_t""yes" 1>&6 | 5069 echo "$ac_t""yes" 1>&6 |
4683 else | 5070 else |
4684 echo "configure: failed program was:" >&5 | 5071 echo "configure: failed program was:" >&5 |
4685 cat conftest.$ac_ext >&5 | 5072 cat conftest.$ac_ext >&5 |
4703 fi | 5090 fi |
4704 | 5091 |
4705 ldflags_save=$LDFLAGS | 5092 ldflags_save=$LDFLAGS |
4706 LDFLAGS="$X_LIBS $LDFLAGS" | 5093 LDFLAGS="$X_LIBS $LDFLAGS" |
4707 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6 | 5094 echo $ac_n "checking for XShapeQueryExtension in -lXext""... $ac_c" 1>&6 |
4708 echo "configure:4709: checking for XShapeQueryExtension in -lXext" >&5 | 5095 echo "configure:5096: checking for XShapeQueryExtension in -lXext" >&5 |
4709 ac_lib_var=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'` | 5096 ac_lib_var=`echo Xext'_'XShapeQueryExtension | sed 'y%./+-%__p_%'` |
4710 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5097 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4711 echo $ac_n "(cached) $ac_c" 1>&6 | 5098 echo $ac_n "(cached) $ac_c" 1>&6 |
4712 else | 5099 else |
4713 ac_save_LIBS="$LIBS" | 5100 ac_save_LIBS="$LIBS" |
4714 LIBS="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5101 LIBS="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
4715 cat > conftest.$ac_ext <<EOF | 5102 cat > conftest.$ac_ext <<EOF |
4716 #line 4717 "configure" | 5103 #line 5104 "configure" |
4717 #include "confdefs.h" | 5104 #include "confdefs.h" |
4718 /* Override any gcc2 internal prototype to avoid an error. */ | 5105 /* Override any gcc2 internal prototype to avoid an error. */ |
4719 /* We use char because int might match the return type of a gcc2 | 5106 /* We use char because int might match the return type of a gcc2 |
4720 builtin and then its argument prototype would still apply. */ | 5107 builtin and then its argument prototype would still apply. */ |
4721 char XShapeQueryExtension(); | 5108 char XShapeQueryExtension(); |
4722 | 5109 |
4723 int main() { | 5110 int main() { |
4724 XShapeQueryExtension() | 5111 XShapeQueryExtension() |
4725 ; return 0; } | 5112 ; return 0; } |
4726 EOF | 5113 EOF |
4727 if { (eval echo configure:4728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5114 if { (eval echo configure:5115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4728 rm -rf conftest* | 5115 rm -rf conftest* |
4729 eval "ac_cv_lib_$ac_lib_var=yes" | 5116 eval "ac_cv_lib_$ac_lib_var=yes" |
4730 else | 5117 else |
4731 echo "configure: failed program was:" >&5 | 5118 echo "configure: failed program was:" >&5 |
4732 cat conftest.$ac_ext >&5 | 5119 cat conftest.$ac_ext >&5 |
4743 else | 5130 else |
4744 echo "$ac_t""no" 1>&6 | 5131 echo "$ac_t""no" 1>&6 |
4745 fi | 5132 fi |
4746 | 5133 |
4747 echo $ac_n "checking for wslen in -lw""... $ac_c" 1>&6 | 5134 echo $ac_n "checking for wslen in -lw""... $ac_c" 1>&6 |
4748 echo "configure:4749: checking for wslen in -lw" >&5 | 5135 echo "configure:5136: checking for wslen in -lw" >&5 |
4749 ac_lib_var=`echo w'_'wslen | sed 'y%./+-%__p_%'` | 5136 ac_lib_var=`echo w'_'wslen | sed 'y%./+-%__p_%'` |
4750 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5137 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4751 echo $ac_n "(cached) $ac_c" 1>&6 | 5138 echo $ac_n "(cached) $ac_c" 1>&6 |
4752 else | 5139 else |
4753 ac_save_LIBS="$LIBS" | 5140 ac_save_LIBS="$LIBS" |
4754 LIBS="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5141 LIBS="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
4755 cat > conftest.$ac_ext <<EOF | 5142 cat > conftest.$ac_ext <<EOF |
4756 #line 4757 "configure" | 5143 #line 5144 "configure" |
4757 #include "confdefs.h" | 5144 #include "confdefs.h" |
4758 /* Override any gcc2 internal prototype to avoid an error. */ | 5145 /* Override any gcc2 internal prototype to avoid an error. */ |
4759 /* We use char because int might match the return type of a gcc2 | 5146 /* We use char because int might match the return type of a gcc2 |
4760 builtin and then its argument prototype would still apply. */ | 5147 builtin and then its argument prototype would still apply. */ |
4761 char wslen(); | 5148 char wslen(); |
4762 | 5149 |
4763 int main() { | 5150 int main() { |
4764 wslen() | 5151 wslen() |
4765 ; return 0; } | 5152 ; return 0; } |
4766 EOF | 5153 EOF |
4767 if { (eval echo configure:4768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5154 if { (eval echo configure:5155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4768 rm -rf conftest* | 5155 rm -rf conftest* |
4769 eval "ac_cv_lib_$ac_lib_var=yes" | 5156 eval "ac_cv_lib_$ac_lib_var=yes" |
4770 else | 5157 else |
4771 echo "configure: failed program was:" >&5 | 5158 echo "configure: failed program was:" >&5 |
4772 cat conftest.$ac_ext >&5 | 5159 cat conftest.$ac_ext >&5 |
4783 else | 5170 else |
4784 echo "$ac_t""no" 1>&6 | 5171 echo "$ac_t""no" 1>&6 |
4785 fi | 5172 fi |
4786 | 5173 |
4787 echo $ac_n "checking for dlsym in -ldl""... $ac_c" 1>&6 | 5174 echo $ac_n "checking for dlsym in -ldl""... $ac_c" 1>&6 |
4788 echo "configure:4789: checking for dlsym in -ldl" >&5 | 5175 echo "configure:5176: checking for dlsym in -ldl" >&5 |
4789 ac_lib_var=`echo dl'_'dlsym | sed 'y%./+-%__p_%'` | 5176 ac_lib_var=`echo dl'_'dlsym | sed 'y%./+-%__p_%'` |
4790 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5177 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4791 echo $ac_n "(cached) $ac_c" 1>&6 | 5178 echo $ac_n "(cached) $ac_c" 1>&6 |
4792 else | 5179 else |
4793 ac_save_LIBS="$LIBS" | 5180 ac_save_LIBS="$LIBS" |
4794 LIBS="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5181 LIBS="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
4795 cat > conftest.$ac_ext <<EOF | 5182 cat > conftest.$ac_ext <<EOF |
4796 #line 4797 "configure" | 5183 #line 5184 "configure" |
4797 #include "confdefs.h" | 5184 #include "confdefs.h" |
4798 /* Override any gcc2 internal prototype to avoid an error. */ | 5185 /* Override any gcc2 internal prototype to avoid an error. */ |
4799 /* We use char because int might match the return type of a gcc2 | 5186 /* We use char because int might match the return type of a gcc2 |
4800 builtin and then its argument prototype would still apply. */ | 5187 builtin and then its argument prototype would still apply. */ |
4801 char dlsym(); | 5188 char dlsym(); |
4802 | 5189 |
4803 int main() { | 5190 int main() { |
4804 dlsym() | 5191 dlsym() |
4805 ; return 0; } | 5192 ; return 0; } |
4806 EOF | 5193 EOF |
4807 if { (eval echo configure:4808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5194 if { (eval echo configure:5195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4808 rm -rf conftest* | 5195 rm -rf conftest* |
4809 eval "ac_cv_lib_$ac_lib_var=yes" | 5196 eval "ac_cv_lib_$ac_lib_var=yes" |
4810 else | 5197 else |
4811 echo "configure: failed program was:" >&5 | 5198 echo "configure: failed program was:" >&5 |
4812 cat conftest.$ac_ext >&5 | 5199 cat conftest.$ac_ext >&5 |
4823 else | 5210 else |
4824 echo "$ac_t""no" 1>&6 | 5211 echo "$ac_t""no" 1>&6 |
4825 fi | 5212 fi |
4826 | 5213 |
4827 echo $ac_n "checking for XmuCreateStippledPixmap in -lXmu""... $ac_c" 1>&6 | 5214 echo $ac_n "checking for XmuCreateStippledPixmap in -lXmu""... $ac_c" 1>&6 |
4828 echo "configure:4829: checking for XmuCreateStippledPixmap in -lXmu" >&5 | 5215 echo "configure:5216: checking for XmuCreateStippledPixmap in -lXmu" >&5 |
4829 ac_lib_var=`echo Xmu'_'XmuCreateStippledPixmap | sed 'y%./+-%__p_%'` | 5216 ac_lib_var=`echo Xmu'_'XmuCreateStippledPixmap | sed 'y%./+-%__p_%'` |
4830 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5217 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4831 echo $ac_n "(cached) $ac_c" 1>&6 | 5218 echo $ac_n "(cached) $ac_c" 1>&6 |
4832 else | 5219 else |
4833 ac_save_LIBS="$LIBS" | 5220 ac_save_LIBS="$LIBS" |
4834 LIBS="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5221 LIBS="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
4835 cat > conftest.$ac_ext <<EOF | 5222 cat > conftest.$ac_ext <<EOF |
4836 #line 4837 "configure" | 5223 #line 5224 "configure" |
4837 #include "confdefs.h" | 5224 #include "confdefs.h" |
4838 /* Override any gcc2 internal prototype to avoid an error. */ | 5225 /* Override any gcc2 internal prototype to avoid an error. */ |
4839 /* We use char because int might match the return type of a gcc2 | 5226 /* We use char because int might match the return type of a gcc2 |
4840 builtin and then its argument prototype would still apply. */ | 5227 builtin and then its argument prototype would still apply. */ |
4841 char XmuCreateStippledPixmap(); | 5228 char XmuCreateStippledPixmap(); |
4842 | 5229 |
4843 int main() { | 5230 int main() { |
4844 XmuCreateStippledPixmap() | 5231 XmuCreateStippledPixmap() |
4845 ; return 0; } | 5232 ; return 0; } |
4846 EOF | 5233 EOF |
4847 if { (eval echo configure:4848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5234 if { (eval echo configure:5235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4848 rm -rf conftest* | 5235 rm -rf conftest* |
4849 eval "ac_cv_lib_$ac_lib_var=yes" | 5236 eval "ac_cv_lib_$ac_lib_var=yes" |
4850 else | 5237 else |
4851 echo "configure: failed program was:" >&5 | 5238 echo "configure: failed program was:" >&5 |
4852 cat conftest.$ac_ext >&5 | 5239 cat conftest.$ac_ext >&5 |
4864 echo "$ac_t""no" 1>&6 | 5251 echo "$ac_t""no" 1>&6 |
4865 fi | 5252 fi |
4866 | 5253 |
4867 if test -z "$SKIP_MOTIF"; then | 5254 if test -z "$SKIP_MOTIF"; then |
4868 echo $ac_n "checking for XpEndJob in -lXp""... $ac_c" 1>&6 | 5255 echo $ac_n "checking for XpEndJob in -lXp""... $ac_c" 1>&6 |
4869 echo "configure:4870: checking for XpEndJob in -lXp" >&5 | 5256 echo "configure:5257: checking for XpEndJob in -lXp" >&5 |
4870 ac_lib_var=`echo Xp'_'XpEndJob | sed 'y%./+-%__p_%'` | 5257 ac_lib_var=`echo Xp'_'XpEndJob | sed 'y%./+-%__p_%'` |
4871 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
4872 echo $ac_n "(cached) $ac_c" 1>&6 | 5259 echo $ac_n "(cached) $ac_c" 1>&6 |
4873 else | 5260 else |
4874 ac_save_LIBS="$LIBS" | 5261 ac_save_LIBS="$LIBS" |
4875 LIBS="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" | 5262 LIBS="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS" |
4876 cat > conftest.$ac_ext <<EOF | 5263 cat > conftest.$ac_ext <<EOF |
4877 #line 4878 "configure" | 5264 #line 5265 "configure" |
4878 #include "confdefs.h" | 5265 #include "confdefs.h" |
4879 /* Override any gcc2 internal prototype to avoid an error. */ | 5266 /* Override any gcc2 internal prototype to avoid an error. */ |
4880 /* We use char because int might match the return type of a gcc2 | 5267 /* We use char because int might match the return type of a gcc2 |
4881 builtin and then its argument prototype would still apply. */ | 5268 builtin and then its argument prototype would still apply. */ |
4882 char XpEndJob(); | 5269 char XpEndJob(); |
4883 | 5270 |
4884 int main() { | 5271 int main() { |
4885 XpEndJob() | 5272 XpEndJob() |
4886 ; return 0; } | 5273 ; return 0; } |
4887 EOF | 5274 EOF |
4888 if { (eval echo configure:4889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5275 if { (eval echo configure:5276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
4889 rm -rf conftest* | 5276 rm -rf conftest* |
4890 eval "ac_cv_lib_$ac_lib_var=yes" | 5277 eval "ac_cv_lib_$ac_lib_var=yes" |
4891 else | 5278 else |
4892 echo "configure: failed program was:" >&5 | 5279 echo "configure: failed program was:" >&5 |
4893 cat conftest.$ac_ext >&5 | 5280 cat conftest.$ac_ext >&5 |
4907 | 5294 |
4908 fi | 5295 fi |
4909 LDFLAGS=$ldflags_save | 5296 LDFLAGS=$ldflags_save |
4910 | 5297 |
4911 echo $ac_n "checking for extra X11 defines""... $ac_c" 1>&6 | 5298 echo $ac_n "checking for extra X11 defines""... $ac_c" 1>&6 |
4912 echo "configure:4913: checking for extra X11 defines" >&5 | 5299 echo "configure:5300: checking for extra X11 defines" >&5 |
4913 NARROW_PROTO= | 5300 NARROW_PROTO= |
4914 rm -fr conftestdir | 5301 rm -fr conftestdir |
4915 if mkdir conftestdir; then | 5302 if mkdir conftestdir; then |
4916 cd conftestdir | 5303 cd conftestdir |
4917 cat > Imakefile <<'EOF' | 5304 cat > Imakefile <<'EOF' |
4937 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5324 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
4938 for ac_hdr in X11/SM/SMlib.h | 5325 for ac_hdr in X11/SM/SMlib.h |
4939 do | 5326 do |
4940 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5327 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4941 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5328 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4942 echo "configure:4943: checking for $ac_hdr" >&5 | 5329 echo "configure:5330: checking for $ac_hdr" >&5 |
4943 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5330 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4944 echo $ac_n "(cached) $ac_c" 1>&6 | 5331 echo $ac_n "(cached) $ac_c" 1>&6 |
4945 else | 5332 else |
4946 cat > conftest.$ac_ext <<EOF | 5333 cat > conftest.$ac_ext <<EOF |
4947 #line 4948 "configure" | 5334 #line 5335 "configure" |
4948 #include "confdefs.h" | 5335 #include "confdefs.h" |
4949 #include <$ac_hdr> | 5336 #include <$ac_hdr> |
4950 EOF | 5337 EOF |
4951 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5338 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4952 { (eval echo configure:4953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5339 { (eval echo configure:5340: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
4953 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5340 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
4954 if test -z "$ac_err"; then | 5341 if test -z "$ac_err"; then |
4955 rm -rf conftest* | 5342 rm -rf conftest* |
4956 eval "ac_cv_header_$ac_safe=yes" | 5343 eval "ac_cv_header_$ac_safe=yes" |
4957 else | 5344 else |
4984 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5371 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
4985 for ac_hdr in X11/xpm.h X11/Sunkeysym.h | 5372 for ac_hdr in X11/xpm.h X11/Sunkeysym.h |
4986 do | 5373 do |
4987 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5374 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
4988 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5375 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
4989 echo "configure:4990: checking for $ac_hdr" >&5 | 5376 echo "configure:5377: checking for $ac_hdr" >&5 |
4990 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5377 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
4991 echo $ac_n "(cached) $ac_c" 1>&6 | 5378 echo $ac_n "(cached) $ac_c" 1>&6 |
4992 else | 5379 else |
4993 cat > conftest.$ac_ext <<EOF | 5380 cat > conftest.$ac_ext <<EOF |
4994 #line 4995 "configure" | 5381 #line 5382 "configure" |
4995 #include "confdefs.h" | 5382 #include "confdefs.h" |
4996 #include <$ac_hdr> | 5383 #include <$ac_hdr> |
4997 EOF | 5384 EOF |
4998 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5385 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
4999 { (eval echo configure:5000: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5386 { (eval echo configure:5387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5000 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5387 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5001 if test -z "$ac_err"; then | 5388 if test -z "$ac_err"; then |
5002 rm -rf conftest* | 5389 rm -rf conftest* |
5003 eval "ac_cv_header_$ac_safe=yes" | 5390 eval "ac_cv_header_$ac_safe=yes" |
5004 else | 5391 else |
5023 done | 5410 done |
5024 | 5411 |
5025 | 5412 |
5026 if test ! "$enable_xim" = "no"; then | 5413 if test ! "$enable_xim" = "no"; then |
5027 echo $ac_n "checking for XIMText in X11/Xlib.h""... $ac_c" 1>&6 | 5414 echo $ac_n "checking for XIMText in X11/Xlib.h""... $ac_c" 1>&6 |
5028 echo "configure:5029: checking for XIMText in X11/Xlib.h" >&5 | 5415 echo "configure:5416: checking for XIMText in X11/Xlib.h" >&5 |
5029 cat > conftest.$ac_ext <<EOF | 5416 cat > conftest.$ac_ext <<EOF |
5030 #line 5031 "configure" | 5417 #line 5418 "configure" |
5031 #include "confdefs.h" | 5418 #include "confdefs.h" |
5032 #include <X11/Xlib.h> | 5419 #include <X11/Xlib.h> |
5033 EOF | 5420 EOF |
5034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5035 egrep "XIMText" >/dev/null 2>&1; then | 5422 egrep "XIMText" >/dev/null 2>&1; then |
5056 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5443 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
5057 for ac_hdr in X11/Xmu/Editres.h | 5444 for ac_hdr in X11/Xmu/Editres.h |
5058 do | 5445 do |
5059 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5446 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5060 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5447 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5061 echo "configure:5062: checking for $ac_hdr" >&5 | 5448 echo "configure:5449: checking for $ac_hdr" >&5 |
5062 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5449 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5063 echo $ac_n "(cached) $ac_c" 1>&6 | 5450 echo $ac_n "(cached) $ac_c" 1>&6 |
5064 else | 5451 else |
5065 cat > conftest.$ac_ext <<EOF | 5452 cat > conftest.$ac_ext <<EOF |
5066 #line 5067 "configure" | 5453 #line 5454 "configure" |
5067 #include "confdefs.h" | 5454 #include "confdefs.h" |
5068 #include <$ac_hdr> | 5455 #include <$ac_hdr> |
5069 EOF | 5456 EOF |
5070 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5457 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5071 { (eval echo configure:5072: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5458 { (eval echo configure:5459: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5072 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5459 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5073 if test -z "$ac_err"; then | 5460 if test -z "$ac_err"; then |
5074 rm -rf conftest* | 5461 rm -rf conftest* |
5075 eval "ac_cv_header_$ac_safe=yes" | 5462 eval "ac_cv_header_$ac_safe=yes" |
5076 else | 5463 else |
5102 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 5489 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
5103 for ac_hdr in Xm/Xm.h Xm/XpmP.h | 5490 for ac_hdr in Xm/Xm.h Xm/XpmP.h |
5104 do | 5491 do |
5105 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5492 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5106 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 5493 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5107 echo "configure:5108: checking for $ac_hdr" >&5 | 5494 echo "configure:5495: checking for $ac_hdr" >&5 |
5108 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5495 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5109 echo $ac_n "(cached) $ac_c" 1>&6 | 5496 echo $ac_n "(cached) $ac_c" 1>&6 |
5110 else | 5497 else |
5111 cat > conftest.$ac_ext <<EOF | 5498 cat > conftest.$ac_ext <<EOF |
5112 #line 5113 "configure" | 5499 #line 5500 "configure" |
5113 #include "confdefs.h" | 5500 #include "confdefs.h" |
5114 #include <$ac_hdr> | 5501 #include <$ac_hdr> |
5115 EOF | 5502 EOF |
5116 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5503 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5117 { (eval echo configure:5118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5504 { (eval echo configure:5505: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5118 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5505 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5119 if test -z "$ac_err"; then | 5506 if test -z "$ac_err"; then |
5120 rm -rf conftest* | 5507 rm -rf conftest* |
5121 eval "ac_cv_header_$ac_safe=yes" | 5508 eval "ac_cv_header_$ac_safe=yes" |
5122 else | 5509 else |
5205 fi | 5592 fi |
5206 fi | 5593 fi |
5207 | 5594 |
5208 | 5595 |
5209 echo $ac_n "checking quality of toupper""... $ac_c" 1>&6 | 5596 echo $ac_n "checking quality of toupper""... $ac_c" 1>&6 |
5210 echo "configure:5211: checking quality of toupper" >&5 | 5597 echo "configure:5598: checking quality of toupper" >&5 |
5211 if test "$cross_compiling" = yes; then | 5598 if test "$cross_compiling" = yes; then |
5212 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 5599 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
5213 else | 5600 else |
5214 cat > conftest.$ac_ext <<EOF | 5601 cat > conftest.$ac_ext <<EOF |
5215 #line 5216 "configure" | 5602 #line 5603 "configure" |
5216 #include "confdefs.h" | 5603 #include "confdefs.h" |
5217 #include <ctype.h> | 5604 #include <ctype.h> |
5218 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); } | 5605 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); } |
5219 EOF | 5606 EOF |
5220 if { (eval echo configure:5221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5607 if { (eval echo configure:5608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5221 then | 5608 then |
5222 cat >> confdefs.h <<\EOF | 5609 cat >> confdefs.h <<\EOF |
5223 #define BROKEN_TOUPPER 1 | 5610 #define BROKEN_TOUPPER 1 |
5224 EOF | 5611 EOF |
5225 echo "$ac_t""bad" 1>&6 | 5612 echo "$ac_t""bad" 1>&6 |
5232 rm -fr conftest* | 5619 rm -fr conftest* |
5233 fi | 5620 fi |
5234 | 5621 |
5235 | 5622 |
5236 echo $ac_n "checking whether __DATE__ and __TIME__ work""... $ac_c" 1>&6 | 5623 echo $ac_n "checking whether __DATE__ and __TIME__ work""... $ac_c" 1>&6 |
5237 echo "configure:5238: checking whether __DATE__ and __TIME__ work" >&5 | 5624 echo "configure:5625: checking whether __DATE__ and __TIME__ work" >&5 |
5238 cat > conftest.$ac_ext <<EOF | 5625 cat > conftest.$ac_ext <<EOF |
5239 #line 5240 "configure" | 5626 #line 5627 "configure" |
5240 #include "confdefs.h" | 5627 #include "confdefs.h" |
5241 | 5628 |
5242 int main() { | 5629 int main() { |
5243 printf("(" __DATE__ " " __TIME__ ")"); | 5630 printf("(" __DATE__ " " __TIME__ ")"); |
5244 ; return 0; } | 5631 ; return 0; } |
5245 EOF | 5632 EOF |
5246 if { (eval echo configure:5247: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5633 if { (eval echo configure:5634: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5247 rm -rf conftest* | 5634 rm -rf conftest* |
5248 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 5635 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
5249 #define HAVE_DATE_TIME 1 | 5636 #define HAVE_DATE_TIME 1 |
5250 EOF | 5637 EOF |
5251 | 5638 |
5257 fi | 5644 fi |
5258 rm -f conftest* | 5645 rm -f conftest* |
5259 | 5646 |
5260 ac_safe=`echo "elf.h" | sed 'y%./+-%__p_%'` | 5647 ac_safe=`echo "elf.h" | sed 'y%./+-%__p_%'` |
5261 echo $ac_n "checking for elf.h""... $ac_c" 1>&6 | 5648 echo $ac_n "checking for elf.h""... $ac_c" 1>&6 |
5262 echo "configure:5263: checking for elf.h" >&5 | 5649 echo "configure:5650: checking for elf.h" >&5 |
5263 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 5650 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5264 echo $ac_n "(cached) $ac_c" 1>&6 | 5651 echo $ac_n "(cached) $ac_c" 1>&6 |
5265 else | 5652 else |
5266 cat > conftest.$ac_ext <<EOF | 5653 cat > conftest.$ac_ext <<EOF |
5267 #line 5268 "configure" | 5654 #line 5655 "configure" |
5268 #include "confdefs.h" | 5655 #include "confdefs.h" |
5269 #include <elf.h> | 5656 #include <elf.h> |
5270 EOF | 5657 EOF |
5271 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5658 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5272 { (eval echo configure:5273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5659 { (eval echo configure:5660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5273 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5660 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5274 if test -z "$ac_err"; then | 5661 if test -z "$ac_err"; then |
5275 rm -rf conftest* | 5662 rm -rf conftest* |
5276 eval "ac_cv_header_$ac_safe=yes" | 5663 eval "ac_cv_header_$ac_safe=yes" |
5277 else | 5664 else |
5290 echo "$ac_t""no" 1>&6 | 5677 echo "$ac_t""no" 1>&6 |
5291 fi | 5678 fi |
5292 | 5679 |
5293 if test "$HAS_ELF" = 1; then | 5680 if test "$HAS_ELF" = 1; then |
5294 echo $ac_n "checking for main in -lelf""... $ac_c" 1>&6 | 5681 echo $ac_n "checking for main in -lelf""... $ac_c" 1>&6 |
5295 echo "configure:5296: checking for main in -lelf" >&5 | 5682 echo "configure:5683: checking for main in -lelf" >&5 |
5296 ac_lib_var=`echo elf'_'main | sed 'y%./+-%__p_%'` | 5683 ac_lib_var=`echo elf'_'main | sed 'y%./+-%__p_%'` |
5297 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5684 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5298 echo $ac_n "(cached) $ac_c" 1>&6 | 5685 echo $ac_n "(cached) $ac_c" 1>&6 |
5299 else | 5686 else |
5300 ac_save_LIBS="$LIBS" | 5687 ac_save_LIBS="$LIBS" |
5301 LIBS="-lelf $LIBS" | 5688 LIBS="-lelf $LIBS" |
5302 cat > conftest.$ac_ext <<EOF | 5689 cat > conftest.$ac_ext <<EOF |
5303 #line 5304 "configure" | 5690 #line 5691 "configure" |
5304 #include "confdefs.h" | 5691 #include "confdefs.h" |
5305 | 5692 |
5306 int main() { | 5693 int main() { |
5307 main() | 5694 main() |
5308 ; return 0; } | 5695 ; return 0; } |
5309 EOF | 5696 EOF |
5310 if { (eval echo configure:5311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5697 if { (eval echo configure:5698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5311 rm -rf conftest* | 5698 rm -rf conftest* |
5312 eval "ac_cv_lib_$ac_lib_var=yes" | 5699 eval "ac_cv_lib_$ac_lib_var=yes" |
5313 else | 5700 else |
5314 echo "configure: failed program was:" >&5 | 5701 echo "configure: failed program was:" >&5 |
5315 cat conftest.$ac_ext >&5 | 5702 cat conftest.$ac_ext >&5 |
5339 ac_header_dirent=no | 5726 ac_header_dirent=no |
5340 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h | 5727 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h |
5341 do | 5728 do |
5342 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 5729 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5343 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 | 5730 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6 |
5344 echo "configure:5345: checking for $ac_hdr that defines DIR" >&5 | 5731 echo "configure:5732: checking for $ac_hdr that defines DIR" >&5 |
5345 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then | 5732 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then |
5346 echo $ac_n "(cached) $ac_c" 1>&6 | 5733 echo $ac_n "(cached) $ac_c" 1>&6 |
5347 else | 5734 else |
5348 cat > conftest.$ac_ext <<EOF | 5735 cat > conftest.$ac_ext <<EOF |
5349 #line 5350 "configure" | 5736 #line 5737 "configure" |
5350 #include "confdefs.h" | 5737 #include "confdefs.h" |
5351 #include <sys/types.h> | 5738 #include <sys/types.h> |
5352 #include <$ac_hdr> | 5739 #include <$ac_hdr> |
5353 int main() { | 5740 int main() { |
5354 DIR *dirp = 0; | 5741 DIR *dirp = 0; |
5355 ; return 0; } | 5742 ; return 0; } |
5356 EOF | 5743 EOF |
5357 if { (eval echo configure:5358: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5744 if { (eval echo configure:5745: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5358 rm -rf conftest* | 5745 rm -rf conftest* |
5359 eval "ac_cv_header_dirent_$ac_safe=yes" | 5746 eval "ac_cv_header_dirent_$ac_safe=yes" |
5360 else | 5747 else |
5361 echo "configure: failed program was:" >&5 | 5748 echo "configure: failed program was:" >&5 |
5362 cat conftest.$ac_ext >&5 | 5749 cat conftest.$ac_ext >&5 |
5377 fi | 5764 fi |
5378 done | 5765 done |
5379 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. | 5766 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix. |
5380 if test $ac_header_dirent = dirent.h; then | 5767 if test $ac_header_dirent = dirent.h; then |
5381 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 | 5768 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6 |
5382 echo "configure:5383: checking for opendir in -ldir" >&5 | 5769 echo "configure:5770: checking for opendir in -ldir" >&5 |
5383 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` | 5770 ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'` |
5384 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5771 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5385 echo $ac_n "(cached) $ac_c" 1>&6 | 5772 echo $ac_n "(cached) $ac_c" 1>&6 |
5386 else | 5773 else |
5387 ac_save_LIBS="$LIBS" | 5774 ac_save_LIBS="$LIBS" |
5388 LIBS="-ldir $LIBS" | 5775 LIBS="-ldir $LIBS" |
5389 cat > conftest.$ac_ext <<EOF | 5776 cat > conftest.$ac_ext <<EOF |
5390 #line 5391 "configure" | 5777 #line 5778 "configure" |
5391 #include "confdefs.h" | 5778 #include "confdefs.h" |
5392 /* Override any gcc2 internal prototype to avoid an error. */ | 5779 /* Override any gcc2 internal prototype to avoid an error. */ |
5393 /* We use char because int might match the return type of a gcc2 | 5780 /* We use char because int might match the return type of a gcc2 |
5394 builtin and then its argument prototype would still apply. */ | 5781 builtin and then its argument prototype would still apply. */ |
5395 char opendir(); | 5782 char opendir(); |
5396 | 5783 |
5397 int main() { | 5784 int main() { |
5398 opendir() | 5785 opendir() |
5399 ; return 0; } | 5786 ; return 0; } |
5400 EOF | 5787 EOF |
5401 if { (eval echo configure:5402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5788 if { (eval echo configure:5789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5402 rm -rf conftest* | 5789 rm -rf conftest* |
5403 eval "ac_cv_lib_$ac_lib_var=yes" | 5790 eval "ac_cv_lib_$ac_lib_var=yes" |
5404 else | 5791 else |
5405 echo "configure: failed program was:" >&5 | 5792 echo "configure: failed program was:" >&5 |
5406 cat conftest.$ac_ext >&5 | 5793 cat conftest.$ac_ext >&5 |
5418 echo "$ac_t""no" 1>&6 | 5805 echo "$ac_t""no" 1>&6 |
5419 fi | 5806 fi |
5420 | 5807 |
5421 else | 5808 else |
5422 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 | 5809 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6 |
5423 echo "configure:5424: checking for opendir in -lx" >&5 | 5810 echo "configure:5811: checking for opendir in -lx" >&5 |
5424 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` | 5811 ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'` |
5425 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 5812 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
5426 echo $ac_n "(cached) $ac_c" 1>&6 | 5813 echo $ac_n "(cached) $ac_c" 1>&6 |
5427 else | 5814 else |
5428 ac_save_LIBS="$LIBS" | 5815 ac_save_LIBS="$LIBS" |
5429 LIBS="-lx $LIBS" | 5816 LIBS="-lx $LIBS" |
5430 cat > conftest.$ac_ext <<EOF | 5817 cat > conftest.$ac_ext <<EOF |
5431 #line 5432 "configure" | 5818 #line 5819 "configure" |
5432 #include "confdefs.h" | 5819 #include "confdefs.h" |
5433 /* Override any gcc2 internal prototype to avoid an error. */ | 5820 /* Override any gcc2 internal prototype to avoid an error. */ |
5434 /* We use char because int might match the return type of a gcc2 | 5821 /* We use char because int might match the return type of a gcc2 |
5435 builtin and then its argument prototype would still apply. */ | 5822 builtin and then its argument prototype would still apply. */ |
5436 char opendir(); | 5823 char opendir(); |
5437 | 5824 |
5438 int main() { | 5825 int main() { |
5439 opendir() | 5826 opendir() |
5440 ; return 0; } | 5827 ; return 0; } |
5441 EOF | 5828 EOF |
5442 if { (eval echo configure:5443: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 5829 if { (eval echo configure:5830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
5443 rm -rf conftest* | 5830 rm -rf conftest* |
5444 eval "ac_cv_lib_$ac_lib_var=yes" | 5831 eval "ac_cv_lib_$ac_lib_var=yes" |
5445 else | 5832 else |
5446 echo "configure: failed program was:" >&5 | 5833 echo "configure: failed program was:" >&5 |
5447 cat conftest.$ac_ext >&5 | 5834 cat conftest.$ac_ext >&5 |
5461 | 5848 |
5462 fi | 5849 fi |
5463 | 5850 |
5464 | 5851 |
5465 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 | 5852 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
5466 echo "configure:5467: checking for ANSI C header files" >&5 | 5853 echo "configure:5854: checking for ANSI C header files" >&5 |
5467 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then | 5854 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
5468 echo $ac_n "(cached) $ac_c" 1>&6 | 5855 echo $ac_n "(cached) $ac_c" 1>&6 |
5469 else | 5856 else |
5470 cat > conftest.$ac_ext <<EOF | 5857 cat > conftest.$ac_ext <<EOF |
5471 #line 5472 "configure" | 5858 #line 5859 "configure" |
5472 #include "confdefs.h" | 5859 #include "confdefs.h" |
5473 #include <stdlib.h> | 5860 #include <stdlib.h> |
5474 #include <stdarg.h> | 5861 #include <stdarg.h> |
5475 #include <string.h> | 5862 #include <string.h> |
5476 #include <float.h> | 5863 #include <float.h> |
5477 EOF | 5864 EOF |
5478 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 5865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5479 { (eval echo configure:5480: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 5866 { (eval echo configure:5867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5480 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 5867 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5481 if test -z "$ac_err"; then | 5868 if test -z "$ac_err"; then |
5482 rm -rf conftest* | 5869 rm -rf conftest* |
5483 ac_cv_header_stdc=yes | 5870 ac_cv_header_stdc=yes |
5484 else | 5871 else |
5491 rm -f conftest* | 5878 rm -f conftest* |
5492 | 5879 |
5493 if test $ac_cv_header_stdc = yes; then | 5880 if test $ac_cv_header_stdc = yes; then |
5494 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | 5881 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
5495 cat > conftest.$ac_ext <<EOF | 5882 cat > conftest.$ac_ext <<EOF |
5496 #line 5497 "configure" | 5883 #line 5884 "configure" |
5497 #include "confdefs.h" | 5884 #include "confdefs.h" |
5498 #include <string.h> | 5885 #include <string.h> |
5499 EOF | 5886 EOF |
5500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5501 egrep "memchr" >/dev/null 2>&1; then | 5888 egrep "memchr" >/dev/null 2>&1; then |
5509 fi | 5896 fi |
5510 | 5897 |
5511 if test $ac_cv_header_stdc = yes; then | 5898 if test $ac_cv_header_stdc = yes; then |
5512 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | 5899 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
5513 cat > conftest.$ac_ext <<EOF | 5900 cat > conftest.$ac_ext <<EOF |
5514 #line 5515 "configure" | 5901 #line 5902 "configure" |
5515 #include "confdefs.h" | 5902 #include "confdefs.h" |
5516 #include <stdlib.h> | 5903 #include <stdlib.h> |
5517 EOF | 5904 EOF |
5518 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 5905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5519 egrep "free" >/dev/null 2>&1; then | 5906 egrep "free" >/dev/null 2>&1; then |
5530 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | 5917 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
5531 if test "$cross_compiling" = yes; then | 5918 if test "$cross_compiling" = yes; then |
5532 : | 5919 : |
5533 else | 5920 else |
5534 cat > conftest.$ac_ext <<EOF | 5921 cat > conftest.$ac_ext <<EOF |
5535 #line 5536 "configure" | 5922 #line 5923 "configure" |
5536 #include "confdefs.h" | 5923 #include "confdefs.h" |
5537 #include <ctype.h> | 5924 #include <ctype.h> |
5538 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | 5925 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
5539 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | 5926 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
5540 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) | 5927 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
5541 int main () { int i; for (i = 0; i < 256; i++) | 5928 int main () { int i; for (i = 0; i < 256; i++) |
5542 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); | 5929 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
5543 exit (0); } | 5930 exit (0); } |
5544 | 5931 |
5545 EOF | 5932 EOF |
5546 if { (eval echo configure:5547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 5933 if { (eval echo configure:5934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
5547 then | 5934 then |
5548 : | 5935 : |
5549 else | 5936 else |
5550 echo "configure: failed program was:" >&5 | 5937 echo "configure: failed program was:" >&5 |
5551 cat conftest.$ac_ext >&5 | 5938 cat conftest.$ac_ext >&5 |
5565 EOF | 5952 EOF |
5566 | 5953 |
5567 fi | 5954 fi |
5568 | 5955 |
5569 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 | 5956 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6 |
5570 echo "configure:5571: checking for sys/wait.h that is POSIX.1 compatible" >&5 | 5957 echo "configure:5958: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
5571 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then | 5958 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then |
5572 echo $ac_n "(cached) $ac_c" 1>&6 | 5959 echo $ac_n "(cached) $ac_c" 1>&6 |
5573 else | 5960 else |
5574 cat > conftest.$ac_ext <<EOF | 5961 cat > conftest.$ac_ext <<EOF |
5575 #line 5576 "configure" | 5962 #line 5963 "configure" |
5576 #include "confdefs.h" | 5963 #include "confdefs.h" |
5577 #include <sys/types.h> | 5964 #include <sys/types.h> |
5578 #include <sys/wait.h> | 5965 #include <sys/wait.h> |
5579 #ifndef WEXITSTATUS | 5966 #ifndef WEXITSTATUS |
5580 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) | 5967 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8) |
5586 int s; | 5973 int s; |
5587 wait (&s); | 5974 wait (&s); |
5588 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; | 5975 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
5589 ; return 0; } | 5976 ; return 0; } |
5590 EOF | 5977 EOF |
5591 if { (eval echo configure:5592: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 5978 if { (eval echo configure:5979: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5592 rm -rf conftest* | 5979 rm -rf conftest* |
5593 ac_cv_header_sys_wait_h=yes | 5980 ac_cv_header_sys_wait_h=yes |
5594 else | 5981 else |
5595 echo "configure: failed program was:" >&5 | 5982 echo "configure: failed program was:" >&5 |
5596 cat conftest.$ac_ext >&5 | 5983 cat conftest.$ac_ext >&5 |
5609 fi | 5996 fi |
5610 | 5997 |
5611 | 5998 |
5612 if test $ac_cv_header_sys_wait_h = no; then | 5999 if test $ac_cv_header_sys_wait_h = no; then |
5613 echo $ac_n "checking for sys/wait.h that defines union wait""... $ac_c" 1>&6 | 6000 echo $ac_n "checking for sys/wait.h that defines union wait""... $ac_c" 1>&6 |
5614 echo "configure:5615: checking for sys/wait.h that defines union wait" >&5 | 6001 echo "configure:6002: checking for sys/wait.h that defines union wait" >&5 |
5615 cat > conftest.$ac_ext <<EOF | 6002 cat > conftest.$ac_ext <<EOF |
5616 #line 5617 "configure" | 6003 #line 6004 "configure" |
5617 #include "confdefs.h" | 6004 #include "confdefs.h" |
5618 #include <sys/wait.h> | 6005 #include <sys/wait.h> |
5619 int main() { | 6006 int main() { |
5620 union wait xx, yy; xx = yy | 6007 union wait xx, yy; xx = yy |
5621 ; return 0; } | 6008 ; return 0; } |
5622 EOF | 6009 EOF |
5623 if { (eval echo configure:5624: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6010 if { (eval echo configure:6011: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5624 rm -rf conftest* | 6011 rm -rf conftest* |
5625 echo "$ac_t""yes" 1>&6 | 6012 echo "$ac_t""yes" 1>&6 |
5626 cat >> confdefs.h <<\EOF | 6013 cat >> confdefs.h <<\EOF |
5627 #define HAVE_SYS_WAIT_H 1 | 6014 #define HAVE_SYS_WAIT_H 1 |
5628 EOF | 6015 EOF |
5649 libgen.h util/debug.h util/msg18n.h frame.h pthread_np.h \ | 6036 libgen.h util/debug.h util/msg18n.h frame.h pthread_np.h \ |
5650 sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h | 6037 sys/acl.h sys/access.h sys/sysctl.h sys/sysinfo.h wchar.h |
5651 do | 6038 do |
5652 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6039 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5653 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6040 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5654 echo "configure:5655: checking for $ac_hdr" >&5 | 6041 echo "configure:6042: checking for $ac_hdr" >&5 |
5655 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6042 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5656 echo $ac_n "(cached) $ac_c" 1>&6 | 6043 echo $ac_n "(cached) $ac_c" 1>&6 |
5657 else | 6044 else |
5658 cat > conftest.$ac_ext <<EOF | 6045 cat > conftest.$ac_ext <<EOF |
5659 #line 5660 "configure" | 6046 #line 6047 "configure" |
5660 #include "confdefs.h" | 6047 #include "confdefs.h" |
5661 #include <$ac_hdr> | 6048 #include <$ac_hdr> |
5662 EOF | 6049 EOF |
5663 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6050 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5664 { (eval echo configure:5665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6051 { (eval echo configure:6052: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5665 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6052 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5666 if test -z "$ac_err"; then | 6053 if test -z "$ac_err"; then |
5667 rm -rf conftest* | 6054 rm -rf conftest* |
5668 eval "ac_cv_header_$ac_safe=yes" | 6055 eval "ac_cv_header_$ac_safe=yes" |
5669 else | 6056 else |
5691 if test "x$MACOSX" != "xyes"; then | 6078 if test "x$MACOSX" != "xyes"; then |
5692 for ac_hdr in strings.h | 6079 for ac_hdr in strings.h |
5693 do | 6080 do |
5694 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 6081 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
5695 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 6082 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
5696 echo "configure:5697: checking for $ac_hdr" >&5 | 6083 echo "configure:6084: checking for $ac_hdr" >&5 |
5697 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 6084 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
5698 echo $ac_n "(cached) $ac_c" 1>&6 | 6085 echo $ac_n "(cached) $ac_c" 1>&6 |
5699 else | 6086 else |
5700 cat > conftest.$ac_ext <<EOF | 6087 cat > conftest.$ac_ext <<EOF |
5701 #line 5702 "configure" | 6088 #line 6089 "configure" |
5702 #include "confdefs.h" | 6089 #include "confdefs.h" |
5703 #include <$ac_hdr> | 6090 #include <$ac_hdr> |
5704 EOF | 6091 EOF |
5705 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 6092 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
5706 { (eval echo configure:5707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 6093 { (eval echo configure:6094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
5707 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 6094 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
5708 if test -z "$ac_err"; then | 6095 if test -z "$ac_err"; then |
5709 rm -rf conftest* | 6096 rm -rf conftest* |
5710 eval "ac_cv_header_$ac_safe=yes" | 6097 eval "ac_cv_header_$ac_safe=yes" |
5711 else | 6098 else |
5730 done | 6117 done |
5731 | 6118 |
5732 fi | 6119 fi |
5733 | 6120 |
5734 echo $ac_n "checking if strings.h can be included after string.h""... $ac_c" 1>&6 | 6121 echo $ac_n "checking if strings.h can be included after string.h""... $ac_c" 1>&6 |
5735 echo "configure:5736: checking if strings.h can be included after string.h" >&5 | 6122 echo "configure:6123: checking if strings.h can be included after string.h" >&5 |
5736 cppflags_save=$CPPFLAGS | 6123 cppflags_save=$CPPFLAGS |
5737 CPPFLAGS="$CPPFLAGS $X_CFLAGS" | 6124 CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
5738 cat > conftest.$ac_ext <<EOF | 6125 cat > conftest.$ac_ext <<EOF |
5739 #line 5740 "configure" | 6126 #line 6127 "configure" |
5740 #include "confdefs.h" | 6127 #include "confdefs.h" |
5741 | 6128 |
5742 #if defined(_AIX) && !defined(_AIX51) && !defined(_NO_PROTO) | 6129 #if defined(_AIX) && !defined(_AIX51) && !defined(_NO_PROTO) |
5743 # define _NO_PROTO /* like in os_unix.h, causes conflict for AIX (Winn) */ | 6130 # define _NO_PROTO /* like in os_unix.h, causes conflict for AIX (Winn) */ |
5744 /* but don't do it on AIX 5.1 (Uribarri) */ | 6131 /* but don't do it on AIX 5.1 (Uribarri) */ |
5755 | 6142 |
5756 int main() { | 6143 int main() { |
5757 int i; i = 0; | 6144 int i; i = 0; |
5758 ; return 0; } | 6145 ; return 0; } |
5759 EOF | 6146 EOF |
5760 if { (eval echo configure:5761: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6147 if { (eval echo configure:6148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
5761 rm -rf conftest* | 6148 rm -rf conftest* |
5762 echo "$ac_t""yes" 1>&6 | 6149 echo "$ac_t""yes" 1>&6 |
5763 else | 6150 else |
5764 echo "configure: failed program was:" >&5 | 6151 echo "configure: failed program was:" >&5 |
5765 cat conftest.$ac_ext >&5 | 6152 cat conftest.$ac_ext >&5 |
5773 rm -f conftest* | 6160 rm -f conftest* |
5774 CPPFLAGS=$cppflags_save | 6161 CPPFLAGS=$cppflags_save |
5775 | 6162 |
5776 if test $ac_cv_prog_gcc = yes; then | 6163 if test $ac_cv_prog_gcc = yes; then |
5777 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 | 6164 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
5778 echo "configure:5779: checking whether ${CC-cc} needs -traditional" >&5 | 6165 echo "configure:6166: checking whether ${CC-cc} needs -traditional" >&5 |
5779 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then | 6166 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
5780 echo $ac_n "(cached) $ac_c" 1>&6 | 6167 echo $ac_n "(cached) $ac_c" 1>&6 |
5781 else | 6168 else |
5782 ac_pattern="Autoconf.*'x'" | 6169 ac_pattern="Autoconf.*'x'" |
5783 cat > conftest.$ac_ext <<EOF | 6170 cat > conftest.$ac_ext <<EOF |
5784 #line 5785 "configure" | 6171 #line 6172 "configure" |
5785 #include "confdefs.h" | 6172 #include "confdefs.h" |
5786 #include <sgtty.h> | 6173 #include <sgtty.h> |
5787 Autoconf TIOCGETP | 6174 Autoconf TIOCGETP |
5788 EOF | 6175 EOF |
5789 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5797 rm -f conftest* | 6184 rm -f conftest* |
5798 | 6185 |
5799 | 6186 |
5800 if test $ac_cv_prog_gcc_traditional = no; then | 6187 if test $ac_cv_prog_gcc_traditional = no; then |
5801 cat > conftest.$ac_ext <<EOF | 6188 cat > conftest.$ac_ext <<EOF |
5802 #line 5803 "configure" | 6189 #line 6190 "configure" |
5803 #include "confdefs.h" | 6190 #include "confdefs.h" |
5804 #include <termio.h> | 6191 #include <termio.h> |
5805 Autoconf TCGETA | 6192 Autoconf TCGETA |
5806 EOF | 6193 EOF |
5807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6194 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
5819 CC="$CC -traditional" | 6206 CC="$CC -traditional" |
5820 fi | 6207 fi |
5821 fi | 6208 fi |
5822 | 6209 |
5823 echo $ac_n "checking for working const""... $ac_c" 1>&6 | 6210 echo $ac_n "checking for working const""... $ac_c" 1>&6 |
5824 echo "configure:5825: checking for working const" >&5 | 6211 echo "configure:6212: checking for working const" >&5 |
5825 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then | 6212 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
5826 echo $ac_n "(cached) $ac_c" 1>&6 | 6213 echo $ac_n "(cached) $ac_c" 1>&6 |
5827 else | 6214 else |
5828 cat > conftest.$ac_ext <<EOF | 6215 cat > conftest.$ac_ext <<EOF |
5829 #line 5830 "configure" | 6216 #line 6217 "configure" |
5830 #include "confdefs.h" | 6217 #include "confdefs.h" |
5831 | 6218 |
5832 int main() { | 6219 int main() { |
5833 | 6220 |
5834 /* Ultrix mips cc rejects this. */ | 6221 /* Ultrix mips cc rejects this. */ |
5873 const int foo = 10; | 6260 const int foo = 10; |
5874 } | 6261 } |
5875 | 6262 |
5876 ; return 0; } | 6263 ; return 0; } |
5877 EOF | 6264 EOF |
5878 if { (eval echo configure:5879: \"$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 |
5879 rm -rf conftest* | 6266 rm -rf conftest* |
5880 ac_cv_c_const=yes | 6267 ac_cv_c_const=yes |
5881 else | 6268 else |
5882 echo "configure: failed program was:" >&5 | 6269 echo "configure: failed program was:" >&5 |
5883 cat conftest.$ac_ext >&5 | 6270 cat conftest.$ac_ext >&5 |
5894 EOF | 6281 EOF |
5895 | 6282 |
5896 fi | 6283 fi |
5897 | 6284 |
5898 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 | 6285 echo $ac_n "checking for mode_t""... $ac_c" 1>&6 |
5899 echo "configure:5900: checking for mode_t" >&5 | 6286 echo "configure:6287: checking for mode_t" >&5 |
5900 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then | 6287 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then |
5901 echo $ac_n "(cached) $ac_c" 1>&6 | 6288 echo $ac_n "(cached) $ac_c" 1>&6 |
5902 else | 6289 else |
5903 cat > conftest.$ac_ext <<EOF | 6290 cat > conftest.$ac_ext <<EOF |
5904 #line 5905 "configure" | 6291 #line 6292 "configure" |
5905 #include "confdefs.h" | 6292 #include "confdefs.h" |
5906 #include <sys/types.h> | 6293 #include <sys/types.h> |
5907 #if STDC_HEADERS | 6294 #if STDC_HEADERS |
5908 #include <stdlib.h> | 6295 #include <stdlib.h> |
5909 #include <stddef.h> | 6296 #include <stddef.h> |
5927 EOF | 6314 EOF |
5928 | 6315 |
5929 fi | 6316 fi |
5930 | 6317 |
5931 echo $ac_n "checking for off_t""... $ac_c" 1>&6 | 6318 echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
5932 echo "configure:5933: checking for off_t" >&5 | 6319 echo "configure:6320: checking for off_t" >&5 |
5933 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then | 6320 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
5934 echo $ac_n "(cached) $ac_c" 1>&6 | 6321 echo $ac_n "(cached) $ac_c" 1>&6 |
5935 else | 6322 else |
5936 cat > conftest.$ac_ext <<EOF | 6323 cat > conftest.$ac_ext <<EOF |
5937 #line 5938 "configure" | 6324 #line 6325 "configure" |
5938 #include "confdefs.h" | 6325 #include "confdefs.h" |
5939 #include <sys/types.h> | 6326 #include <sys/types.h> |
5940 #if STDC_HEADERS | 6327 #if STDC_HEADERS |
5941 #include <stdlib.h> | 6328 #include <stdlib.h> |
5942 #include <stddef.h> | 6329 #include <stddef.h> |
5960 EOF | 6347 EOF |
5961 | 6348 |
5962 fi | 6349 fi |
5963 | 6350 |
5964 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 | 6351 echo $ac_n "checking for pid_t""... $ac_c" 1>&6 |
5965 echo "configure:5966: checking for pid_t" >&5 | 6352 echo "configure:6353: checking for pid_t" >&5 |
5966 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then | 6353 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then |
5967 echo $ac_n "(cached) $ac_c" 1>&6 | 6354 echo $ac_n "(cached) $ac_c" 1>&6 |
5968 else | 6355 else |
5969 cat > conftest.$ac_ext <<EOF | 6356 cat > conftest.$ac_ext <<EOF |
5970 #line 5971 "configure" | 6357 #line 6358 "configure" |
5971 #include "confdefs.h" | 6358 #include "confdefs.h" |
5972 #include <sys/types.h> | 6359 #include <sys/types.h> |
5973 #if STDC_HEADERS | 6360 #if STDC_HEADERS |
5974 #include <stdlib.h> | 6361 #include <stdlib.h> |
5975 #include <stddef.h> | 6362 #include <stddef.h> |
5993 EOF | 6380 EOF |
5994 | 6381 |
5995 fi | 6382 fi |
5996 | 6383 |
5997 echo $ac_n "checking for size_t""... $ac_c" 1>&6 | 6384 echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
5998 echo "configure:5999: checking for size_t" >&5 | 6385 echo "configure:6386: checking for size_t" >&5 |
5999 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then | 6386 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
6000 echo $ac_n "(cached) $ac_c" 1>&6 | 6387 echo $ac_n "(cached) $ac_c" 1>&6 |
6001 else | 6388 else |
6002 cat > conftest.$ac_ext <<EOF | 6389 cat > conftest.$ac_ext <<EOF |
6003 #line 6004 "configure" | 6390 #line 6391 "configure" |
6004 #include "confdefs.h" | 6391 #include "confdefs.h" |
6005 #include <sys/types.h> | 6392 #include <sys/types.h> |
6006 #if STDC_HEADERS | 6393 #if STDC_HEADERS |
6007 #include <stdlib.h> | 6394 #include <stdlib.h> |
6008 #include <stddef.h> | 6395 #include <stddef.h> |
6026 EOF | 6413 EOF |
6027 | 6414 |
6028 fi | 6415 fi |
6029 | 6416 |
6030 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 | 6417 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
6031 echo "configure:6032: checking for uid_t in sys/types.h" >&5 | 6418 echo "configure:6419: checking for uid_t in sys/types.h" >&5 |
6032 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then | 6419 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
6033 echo $ac_n "(cached) $ac_c" 1>&6 | 6420 echo $ac_n "(cached) $ac_c" 1>&6 |
6034 else | 6421 else |
6035 cat > conftest.$ac_ext <<EOF | 6422 cat > conftest.$ac_ext <<EOF |
6036 #line 6037 "configure" | 6423 #line 6424 "configure" |
6037 #include "confdefs.h" | 6424 #include "confdefs.h" |
6038 #include <sys/types.h> | 6425 #include <sys/types.h> |
6039 EOF | 6426 EOF |
6040 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 6427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
6041 egrep "uid_t" >/dev/null 2>&1; then | 6428 egrep "uid_t" >/dev/null 2>&1; then |
6060 EOF | 6447 EOF |
6061 | 6448 |
6062 fi | 6449 fi |
6063 | 6450 |
6064 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 | 6451 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
6065 echo "configure:6066: checking whether time.h and sys/time.h may both be included" >&5 | 6452 echo "configure:6453: checking whether time.h and sys/time.h may both be included" >&5 |
6066 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then | 6453 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
6067 echo $ac_n "(cached) $ac_c" 1>&6 | 6454 echo $ac_n "(cached) $ac_c" 1>&6 |
6068 else | 6455 else |
6069 cat > conftest.$ac_ext <<EOF | 6456 cat > conftest.$ac_ext <<EOF |
6070 #line 6071 "configure" | 6457 #line 6458 "configure" |
6071 #include "confdefs.h" | 6458 #include "confdefs.h" |
6072 #include <sys/types.h> | 6459 #include <sys/types.h> |
6073 #include <sys/time.h> | 6460 #include <sys/time.h> |
6074 #include <time.h> | 6461 #include <time.h> |
6075 int main() { | 6462 int main() { |
6076 struct tm *tp; | 6463 struct tm *tp; |
6077 ; return 0; } | 6464 ; return 0; } |
6078 EOF | 6465 EOF |
6079 if { (eval echo configure:6080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6466 if { (eval echo configure:6467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6080 rm -rf conftest* | 6467 rm -rf conftest* |
6081 ac_cv_header_time=yes | 6468 ac_cv_header_time=yes |
6082 else | 6469 else |
6083 echo "configure: failed program was:" >&5 | 6470 echo "configure: failed program was:" >&5 |
6084 cat conftest.$ac_ext >&5 | 6471 cat conftest.$ac_ext >&5 |
6095 EOF | 6482 EOF |
6096 | 6483 |
6097 fi | 6484 fi |
6098 | 6485 |
6099 echo $ac_n "checking for ino_t""... $ac_c" 1>&6 | 6486 echo $ac_n "checking for ino_t""... $ac_c" 1>&6 |
6100 echo "configure:6101: checking for ino_t" >&5 | 6487 echo "configure:6488: checking for ino_t" >&5 |
6101 if eval "test \"`echo '$''{'ac_cv_type_ino_t'+set}'`\" = set"; then | 6488 if eval "test \"`echo '$''{'ac_cv_type_ino_t'+set}'`\" = set"; then |
6102 echo $ac_n "(cached) $ac_c" 1>&6 | 6489 echo $ac_n "(cached) $ac_c" 1>&6 |
6103 else | 6490 else |
6104 cat > conftest.$ac_ext <<EOF | 6491 cat > conftest.$ac_ext <<EOF |
6105 #line 6106 "configure" | 6492 #line 6493 "configure" |
6106 #include "confdefs.h" | 6493 #include "confdefs.h" |
6107 #include <sys/types.h> | 6494 #include <sys/types.h> |
6108 #if STDC_HEADERS | 6495 #if STDC_HEADERS |
6109 #include <stdlib.h> | 6496 #include <stdlib.h> |
6110 #include <stddef.h> | 6497 #include <stddef.h> |
6128 EOF | 6515 EOF |
6129 | 6516 |
6130 fi | 6517 fi |
6131 | 6518 |
6132 echo $ac_n "checking for dev_t""... $ac_c" 1>&6 | 6519 echo $ac_n "checking for dev_t""... $ac_c" 1>&6 |
6133 echo "configure:6134: checking for dev_t" >&5 | 6520 echo "configure:6521: checking for dev_t" >&5 |
6134 if eval "test \"`echo '$''{'ac_cv_type_dev_t'+set}'`\" = set"; then | 6521 if eval "test \"`echo '$''{'ac_cv_type_dev_t'+set}'`\" = set"; then |
6135 echo $ac_n "(cached) $ac_c" 1>&6 | 6522 echo $ac_n "(cached) $ac_c" 1>&6 |
6136 else | 6523 else |
6137 cat > conftest.$ac_ext <<EOF | 6524 cat > conftest.$ac_ext <<EOF |
6138 #line 6139 "configure" | 6525 #line 6526 "configure" |
6139 #include "confdefs.h" | 6526 #include "confdefs.h" |
6140 #include <sys/types.h> | 6527 #include <sys/types.h> |
6141 #if STDC_HEADERS | 6528 #if STDC_HEADERS |
6142 #include <stdlib.h> | 6529 #include <stdlib.h> |
6143 #include <stddef.h> | 6530 #include <stddef.h> |
6162 | 6549 |
6163 fi | 6550 fi |
6164 | 6551 |
6165 | 6552 |
6166 echo $ac_n "checking for rlim_t""... $ac_c" 1>&6 | 6553 echo $ac_n "checking for rlim_t""... $ac_c" 1>&6 |
6167 echo "configure:6168: checking for rlim_t" >&5 | 6554 echo "configure:6555: checking for rlim_t" >&5 |
6168 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then | 6555 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then |
6169 echo "$ac_t""(cached) $ac_cv_type_rlim_t" 1>&6 | 6556 echo "$ac_t""(cached) $ac_cv_type_rlim_t" 1>&6 |
6170 else | 6557 else |
6171 cat > conftest.$ac_ext <<EOF | 6558 cat > conftest.$ac_ext <<EOF |
6172 #line 6173 "configure" | 6559 #line 6560 "configure" |
6173 #include "confdefs.h" | 6560 #include "confdefs.h" |
6174 | 6561 |
6175 #include <sys/types.h> | 6562 #include <sys/types.h> |
6176 #if STDC_HEADERS | 6563 #if STDC_HEADERS |
6177 #include <stdlib.h> | 6564 #include <stdlib.h> |
6199 #define rlim_t unsigned long | 6586 #define rlim_t unsigned long |
6200 EOF | 6587 EOF |
6201 fi | 6588 fi |
6202 | 6589 |
6203 echo $ac_n "checking for stack_t""... $ac_c" 1>&6 | 6590 echo $ac_n "checking for stack_t""... $ac_c" 1>&6 |
6204 echo "configure:6205: checking for stack_t" >&5 | 6591 echo "configure:6592: checking for stack_t" >&5 |
6205 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then | 6592 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then |
6206 echo "$ac_t""(cached) $ac_cv_type_stack_t" 1>&6 | 6593 echo "$ac_t""(cached) $ac_cv_type_stack_t" 1>&6 |
6207 else | 6594 else |
6208 cat > conftest.$ac_ext <<EOF | 6595 cat > conftest.$ac_ext <<EOF |
6209 #line 6210 "configure" | 6596 #line 6597 "configure" |
6210 #include "confdefs.h" | 6597 #include "confdefs.h" |
6211 | 6598 |
6212 #include <sys/types.h> | 6599 #include <sys/types.h> |
6213 #if STDC_HEADERS | 6600 #if STDC_HEADERS |
6214 #include <stdlib.h> | 6601 #include <stdlib.h> |
6234 #define stack_t struct sigaltstack | 6621 #define stack_t struct sigaltstack |
6235 EOF | 6622 EOF |
6236 fi | 6623 fi |
6237 | 6624 |
6238 echo $ac_n "checking whether stack_t has an ss_base field""... $ac_c" 1>&6 | 6625 echo $ac_n "checking whether stack_t has an ss_base field""... $ac_c" 1>&6 |
6239 echo "configure:6240: checking whether stack_t has an ss_base field" >&5 | 6626 echo "configure:6627: checking whether stack_t has an ss_base field" >&5 |
6240 cat > conftest.$ac_ext <<EOF | 6627 cat > conftest.$ac_ext <<EOF |
6241 #line 6242 "configure" | 6628 #line 6629 "configure" |
6242 #include "confdefs.h" | 6629 #include "confdefs.h" |
6243 | 6630 |
6244 #include <sys/types.h> | 6631 #include <sys/types.h> |
6245 #if STDC_HEADERS | 6632 #if STDC_HEADERS |
6246 #include <stdlib.h> | 6633 #include <stdlib.h> |
6251 | 6638 |
6252 int main() { | 6639 int main() { |
6253 stack_t sigstk; sigstk.ss_base = 0; | 6640 stack_t sigstk; sigstk.ss_base = 0; |
6254 ; return 0; } | 6641 ; return 0; } |
6255 EOF | 6642 EOF |
6256 if { (eval echo configure:6257: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6643 if { (eval echo configure:6644: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6257 rm -rf conftest* | 6644 rm -rf conftest* |
6258 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 6645 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6259 #define HAVE_SS_BASE 1 | 6646 #define HAVE_SS_BASE 1 |
6260 EOF | 6647 EOF |
6261 | 6648 |
6267 fi | 6654 fi |
6268 rm -f conftest* | 6655 rm -f conftest* |
6269 | 6656 |
6270 olibs="$LIBS" | 6657 olibs="$LIBS" |
6271 echo $ac_n "checking --with-tlib argument""... $ac_c" 1>&6 | 6658 echo $ac_n "checking --with-tlib argument""... $ac_c" 1>&6 |
6272 echo "configure:6273: checking --with-tlib argument" >&5 | 6659 echo "configure:6660: checking --with-tlib argument" >&5 |
6273 # Check whether --with-tlib or --without-tlib was given. | 6660 # Check whether --with-tlib or --without-tlib was given. |
6274 if test "${with_tlib+set}" = set; then | 6661 if test "${with_tlib+set}" = set; then |
6275 withval="$with_tlib" | 6662 withval="$with_tlib" |
6276 : | 6663 : |
6277 fi | 6664 fi |
6285 OSF1) tlibs="ncurses curses termlib termcap";; | 6672 OSF1) tlibs="ncurses curses termlib termcap";; |
6286 *) tlibs="ncurses termlib termcap curses";; | 6673 *) tlibs="ncurses termlib termcap curses";; |
6287 esac | 6674 esac |
6288 for libname in $tlibs; do | 6675 for libname in $tlibs; do |
6289 echo $ac_n "checking for tgetent in -l${libname}""... $ac_c" 1>&6 | 6676 echo $ac_n "checking for tgetent in -l${libname}""... $ac_c" 1>&6 |
6290 echo "configure:6291: checking for tgetent in -l${libname}" >&5 | 6677 echo "configure:6678: checking for tgetent in -l${libname}" >&5 |
6291 ac_lib_var=`echo ${libname}'_'tgetent | sed 'y%./+-%__p_%'` | 6678 ac_lib_var=`echo ${libname}'_'tgetent | sed 'y%./+-%__p_%'` |
6292 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 6679 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
6293 echo $ac_n "(cached) $ac_c" 1>&6 | 6680 echo $ac_n "(cached) $ac_c" 1>&6 |
6294 else | 6681 else |
6295 ac_save_LIBS="$LIBS" | 6682 ac_save_LIBS="$LIBS" |
6296 LIBS="-l${libname} $LIBS" | 6683 LIBS="-l${libname} $LIBS" |
6297 cat > conftest.$ac_ext <<EOF | 6684 cat > conftest.$ac_ext <<EOF |
6298 #line 6299 "configure" | 6685 #line 6686 "configure" |
6299 #include "confdefs.h" | 6686 #include "confdefs.h" |
6300 /* Override any gcc2 internal prototype to avoid an error. */ | 6687 /* Override any gcc2 internal prototype to avoid an error. */ |
6301 /* We use char because int might match the return type of a gcc2 | 6688 /* We use char because int might match the return type of a gcc2 |
6302 builtin and then its argument prototype would still apply. */ | 6689 builtin and then its argument prototype would still apply. */ |
6303 char tgetent(); | 6690 char tgetent(); |
6304 | 6691 |
6305 int main() { | 6692 int main() { |
6306 tgetent() | 6693 tgetent() |
6307 ; return 0; } | 6694 ; return 0; } |
6308 EOF | 6695 EOF |
6309 if { (eval echo configure:6310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6696 if { (eval echo configure:6697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6310 rm -rf conftest* | 6697 rm -rf conftest* |
6311 eval "ac_cv_lib_$ac_lib_var=yes" | 6698 eval "ac_cv_lib_$ac_lib_var=yes" |
6312 else | 6699 else |
6313 echo "configure: failed program was:" >&5 | 6700 echo "configure: failed program was:" >&5 |
6314 cat conftest.$ac_ext >&5 | 6701 cat conftest.$ac_ext >&5 |
6336 if test "x$olibs" != "x$LIBS"; then | 6723 if test "x$olibs" != "x$LIBS"; then |
6337 if test "$cross_compiling" = yes; then | 6724 if test "$cross_compiling" = yes; then |
6338 res="FAIL" | 6725 res="FAIL" |
6339 else | 6726 else |
6340 cat > conftest.$ac_ext <<EOF | 6727 cat > conftest.$ac_ext <<EOF |
6341 #line 6342 "configure" | 6728 #line 6729 "configure" |
6342 #include "confdefs.h" | 6729 #include "confdefs.h" |
6343 | 6730 |
6344 #ifdef HAVE_TERMCAP_H | 6731 #ifdef HAVE_TERMCAP_H |
6345 # include <termcap.h> | 6732 # include <termcap.h> |
6346 #endif | 6733 #endif |
6347 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); } | 6734 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); } |
6348 EOF | 6735 EOF |
6349 if { (eval echo configure:6350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6736 if { (eval echo configure:6737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6350 then | 6737 then |
6351 res="OK" | 6738 res="OK" |
6352 else | 6739 else |
6353 echo "configure: failed program was:" >&5 | 6740 echo "configure: failed program was:" >&5 |
6354 cat conftest.$ac_ext >&5 | 6741 cat conftest.$ac_ext >&5 |
6366 fi | 6753 fi |
6367 done | 6754 done |
6368 fi | 6755 fi |
6369 if test "x$olibs" != "x$LIBS"; then | 6756 if test "x$olibs" != "x$LIBS"; then |
6370 echo $ac_n "checking whether we talk terminfo""... $ac_c" 1>&6 | 6757 echo $ac_n "checking whether we talk terminfo""... $ac_c" 1>&6 |
6371 echo "configure:6372: checking whether we talk terminfo" >&5 | 6758 echo "configure:6759: checking whether we talk terminfo" >&5 |
6372 if test "$cross_compiling" = yes; then | 6759 if test "$cross_compiling" = yes; then |
6373 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } | 6760 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } |
6374 else | 6761 else |
6375 cat > conftest.$ac_ext <<EOF | 6762 cat > conftest.$ac_ext <<EOF |
6376 #line 6377 "configure" | 6763 #line 6764 "configure" |
6377 #include "confdefs.h" | 6764 #include "confdefs.h" |
6378 | 6765 |
6379 #ifdef HAVE_TERMCAP_H | 6766 #ifdef HAVE_TERMCAP_H |
6380 # include <termcap.h> | 6767 # include <termcap.h> |
6381 #endif | 6768 #endif |
6382 main() | 6769 main() |
6383 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); } | 6770 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); } |
6384 EOF | 6771 EOF |
6385 if { (eval echo configure:6386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6772 if { (eval echo configure:6773: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6386 then | 6773 then |
6387 echo "$ac_t""no -- we are in termcap land" 1>&6 | 6774 echo "$ac_t""no -- we are in termcap land" 1>&6 |
6388 else | 6775 else |
6389 echo "configure: failed program was:" >&5 | 6776 echo "configure: failed program was:" >&5 |
6390 cat conftest.$ac_ext >&5 | 6777 cat conftest.$ac_ext >&5 |
6401 echo "$ac_t""none found" 1>&6 | 6788 echo "$ac_t""none found" 1>&6 |
6402 fi | 6789 fi |
6403 | 6790 |
6404 if test "x$olibs" != "x$LIBS"; then | 6791 if test "x$olibs" != "x$LIBS"; then |
6405 echo $ac_n "checking what tgetent() returns for an unknown terminal""... $ac_c" 1>&6 | 6792 echo $ac_n "checking what tgetent() returns for an unknown terminal""... $ac_c" 1>&6 |
6406 echo "configure:6407: checking what tgetent() returns for an unknown terminal" >&5 | 6793 echo "configure:6794: checking what tgetent() returns for an unknown terminal" >&5 |
6407 if test "$cross_compiling" = yes; then | 6794 if test "$cross_compiling" = yes; then |
6408 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } | 6795 { echo "configure: error: failed to compile test program." 1>&2; exit 1; } |
6409 else | 6796 else |
6410 cat > conftest.$ac_ext <<EOF | 6797 cat > conftest.$ac_ext <<EOF |
6411 #line 6412 "configure" | 6798 #line 6799 "configure" |
6412 #include "confdefs.h" | 6799 #include "confdefs.h" |
6413 | 6800 |
6414 #ifdef HAVE_TERMCAP_H | 6801 #ifdef HAVE_TERMCAP_H |
6415 # include <termcap.h> | 6802 # include <termcap.h> |
6416 #endif | 6803 #endif |
6417 main() | 6804 main() |
6418 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); } | 6805 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); } |
6419 EOF | 6806 EOF |
6420 if { (eval echo configure:6421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 6807 if { (eval echo configure:6808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6421 then | 6808 then |
6422 echo "$ac_t""zero" 1>&6; cat >> confdefs.h <<\EOF | 6809 echo "$ac_t""zero" 1>&6; cat >> confdefs.h <<\EOF |
6423 #define TGETENT_ZERO_ERR 0 | 6810 #define TGETENT_ZERO_ERR 0 |
6424 EOF | 6811 EOF |
6425 | 6812 |
6433 fi | 6820 fi |
6434 | 6821 |
6435 fi | 6822 fi |
6436 | 6823 |
6437 echo $ac_n "checking whether termcap.h contains ospeed""... $ac_c" 1>&6 | 6824 echo $ac_n "checking whether termcap.h contains ospeed""... $ac_c" 1>&6 |
6438 echo "configure:6439: checking whether termcap.h contains ospeed" >&5 | 6825 echo "configure:6826: checking whether termcap.h contains ospeed" >&5 |
6439 cat > conftest.$ac_ext <<EOF | 6826 cat > conftest.$ac_ext <<EOF |
6440 #line 6441 "configure" | 6827 #line 6828 "configure" |
6441 #include "confdefs.h" | 6828 #include "confdefs.h" |
6442 | 6829 |
6443 #ifdef HAVE_TERMCAP_H | 6830 #ifdef HAVE_TERMCAP_H |
6444 # include <termcap.h> | 6831 # include <termcap.h> |
6445 #endif | 6832 #endif |
6446 | 6833 |
6447 int main() { | 6834 int main() { |
6448 ospeed = 20000 | 6835 ospeed = 20000 |
6449 ; return 0; } | 6836 ; return 0; } |
6450 EOF | 6837 EOF |
6451 if { (eval echo configure:6452: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6838 if { (eval echo configure:6839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6452 rm -rf conftest* | 6839 rm -rf conftest* |
6453 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 6840 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6454 #define HAVE_OSPEED 1 | 6841 #define HAVE_OSPEED 1 |
6455 EOF | 6842 EOF |
6456 | 6843 |
6458 echo "configure: failed program was:" >&5 | 6845 echo "configure: failed program was:" >&5 |
6459 cat conftest.$ac_ext >&5 | 6846 cat conftest.$ac_ext >&5 |
6460 rm -rf conftest* | 6847 rm -rf conftest* |
6461 echo "$ac_t""no" 1>&6 | 6848 echo "$ac_t""no" 1>&6 |
6462 echo $ac_n "checking whether ospeed can be extern""... $ac_c" 1>&6 | 6849 echo $ac_n "checking whether ospeed can be extern""... $ac_c" 1>&6 |
6463 echo "configure:6464: checking whether ospeed can be extern" >&5 | 6850 echo "configure:6851: checking whether ospeed can be extern" >&5 |
6464 cat > conftest.$ac_ext <<EOF | 6851 cat > conftest.$ac_ext <<EOF |
6465 #line 6466 "configure" | 6852 #line 6853 "configure" |
6466 #include "confdefs.h" | 6853 #include "confdefs.h" |
6467 | 6854 |
6468 #ifdef HAVE_TERMCAP_H | 6855 #ifdef HAVE_TERMCAP_H |
6469 # include <termcap.h> | 6856 # include <termcap.h> |
6470 #endif | 6857 #endif |
6472 | 6859 |
6473 int main() { | 6860 int main() { |
6474 ospeed = 20000 | 6861 ospeed = 20000 |
6475 ; return 0; } | 6862 ; return 0; } |
6476 EOF | 6863 EOF |
6477 if { (eval echo configure:6478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6864 if { (eval echo configure:6865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6478 rm -rf conftest* | 6865 rm -rf conftest* |
6479 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 6866 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6480 #define OSPEED_EXTERN 1 | 6867 #define OSPEED_EXTERN 1 |
6481 EOF | 6868 EOF |
6482 | 6869 |
6490 | 6877 |
6491 fi | 6878 fi |
6492 rm -f conftest* | 6879 rm -f conftest* |
6493 | 6880 |
6494 echo $ac_n "checking whether termcap.h contains UP, BC and PC""... $ac_c" 1>&6 | 6881 echo $ac_n "checking whether termcap.h contains UP, BC and PC""... $ac_c" 1>&6 |
6495 echo "configure:6496: checking whether termcap.h contains UP, BC and PC" >&5 | 6882 echo "configure:6883: checking whether termcap.h contains UP, BC and PC" >&5 |
6496 cat > conftest.$ac_ext <<EOF | 6883 cat > conftest.$ac_ext <<EOF |
6497 #line 6498 "configure" | 6884 #line 6885 "configure" |
6498 #include "confdefs.h" | 6885 #include "confdefs.h" |
6499 | 6886 |
6500 #ifdef HAVE_TERMCAP_H | 6887 #ifdef HAVE_TERMCAP_H |
6501 # include <termcap.h> | 6888 # include <termcap.h> |
6502 #endif | 6889 #endif |
6503 | 6890 |
6504 int main() { | 6891 int main() { |
6505 if (UP == 0 && BC == 0) PC = 1 | 6892 if (UP == 0 && BC == 0) PC = 1 |
6506 ; return 0; } | 6893 ; return 0; } |
6507 EOF | 6894 EOF |
6508 if { (eval echo configure:6509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6895 if { (eval echo configure:6896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6509 rm -rf conftest* | 6896 rm -rf conftest* |
6510 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 6897 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6511 #define HAVE_UP_BC_PC 1 | 6898 #define HAVE_UP_BC_PC 1 |
6512 EOF | 6899 EOF |
6513 | 6900 |
6515 echo "configure: failed program was:" >&5 | 6902 echo "configure: failed program was:" >&5 |
6516 cat conftest.$ac_ext >&5 | 6903 cat conftest.$ac_ext >&5 |
6517 rm -rf conftest* | 6904 rm -rf conftest* |
6518 echo "$ac_t""no" 1>&6 | 6905 echo "$ac_t""no" 1>&6 |
6519 echo $ac_n "checking whether UP, BC and PC can be extern""... $ac_c" 1>&6 | 6906 echo $ac_n "checking whether UP, BC and PC can be extern""... $ac_c" 1>&6 |
6520 echo "configure:6521: checking whether UP, BC and PC can be extern" >&5 | 6907 echo "configure:6908: checking whether UP, BC and PC can be extern" >&5 |
6521 cat > conftest.$ac_ext <<EOF | 6908 cat > conftest.$ac_ext <<EOF |
6522 #line 6523 "configure" | 6909 #line 6910 "configure" |
6523 #include "confdefs.h" | 6910 #include "confdefs.h" |
6524 | 6911 |
6525 #ifdef HAVE_TERMCAP_H | 6912 #ifdef HAVE_TERMCAP_H |
6526 # include <termcap.h> | 6913 # include <termcap.h> |
6527 #endif | 6914 #endif |
6529 | 6916 |
6530 int main() { | 6917 int main() { |
6531 if (UP == 0 && BC == 0) PC = 1 | 6918 if (UP == 0 && BC == 0) PC = 1 |
6532 ; return 0; } | 6919 ; return 0; } |
6533 EOF | 6920 EOF |
6534 if { (eval echo configure:6535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 6921 if { (eval echo configure:6922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6535 rm -rf conftest* | 6922 rm -rf conftest* |
6536 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 6923 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6537 #define UP_BC_PC_EXTERN 1 | 6924 #define UP_BC_PC_EXTERN 1 |
6538 EOF | 6925 EOF |
6539 | 6926 |
6547 | 6934 |
6548 fi | 6935 fi |
6549 rm -f conftest* | 6936 rm -f conftest* |
6550 | 6937 |
6551 echo $ac_n "checking whether tputs() uses outfuntype""... $ac_c" 1>&6 | 6938 echo $ac_n "checking whether tputs() uses outfuntype""... $ac_c" 1>&6 |
6552 echo "configure:6553: checking whether tputs() uses outfuntype" >&5 | 6939 echo "configure:6940: checking whether tputs() uses outfuntype" >&5 |
6553 cat > conftest.$ac_ext <<EOF | 6940 cat > conftest.$ac_ext <<EOF |
6554 #line 6555 "configure" | 6941 #line 6942 "configure" |
6555 #include "confdefs.h" | 6942 #include "confdefs.h" |
6556 | 6943 |
6557 #ifdef HAVE_TERMCAP_H | 6944 #ifdef HAVE_TERMCAP_H |
6558 # include <termcap.h> | 6945 # include <termcap.h> |
6559 #endif | 6946 #endif |
6560 | 6947 |
6561 int main() { | 6948 int main() { |
6562 extern int xx(); tputs("test", 1, (outfuntype)xx) | 6949 extern int xx(); tputs("test", 1, (outfuntype)xx) |
6563 ; return 0; } | 6950 ; return 0; } |
6564 EOF | 6951 EOF |
6565 if { (eval echo configure:6566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6952 if { (eval echo configure:6953: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6566 rm -rf conftest* | 6953 rm -rf conftest* |
6567 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 6954 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6568 #define HAVE_OUTFUNTYPE 1 | 6955 #define HAVE_OUTFUNTYPE 1 |
6569 EOF | 6956 EOF |
6570 | 6957 |
6575 echo "$ac_t""no" 1>&6 | 6962 echo "$ac_t""no" 1>&6 |
6576 fi | 6963 fi |
6577 rm -f conftest* | 6964 rm -f conftest* |
6578 | 6965 |
6579 echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6 | 6966 echo $ac_n "checking whether sys/select.h and sys/time.h may both be included""... $ac_c" 1>&6 |
6580 echo "configure:6581: checking whether sys/select.h and sys/time.h may both be included" >&5 | 6967 echo "configure:6968: checking whether sys/select.h and sys/time.h may both be included" >&5 |
6581 cat > conftest.$ac_ext <<EOF | 6968 cat > conftest.$ac_ext <<EOF |
6582 #line 6583 "configure" | 6969 #line 6970 "configure" |
6583 #include "confdefs.h" | 6970 #include "confdefs.h" |
6584 | 6971 |
6585 #include <sys/types.h> | 6972 #include <sys/types.h> |
6586 #include <sys/time.h> | 6973 #include <sys/time.h> |
6587 #include <sys/select.h> | 6974 #include <sys/select.h> |
6588 int main() { | 6975 int main() { |
6589 | 6976 |
6590 ; return 0; } | 6977 ; return 0; } |
6591 EOF | 6978 EOF |
6592 if { (eval echo configure:6593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 6979 if { (eval echo configure:6980: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6593 rm -rf conftest* | 6980 rm -rf conftest* |
6594 echo "$ac_t""yes" 1>&6 | 6981 echo "$ac_t""yes" 1>&6 |
6595 cat >> confdefs.h <<\EOF | 6982 cat >> confdefs.h <<\EOF |
6596 #define SYS_SELECT_WITH_SYS_TIME 1 | 6983 #define SYS_SELECT_WITH_SYS_TIME 1 |
6597 EOF | 6984 EOF |
6604 fi | 6991 fi |
6605 rm -f conftest* | 6992 rm -f conftest* |
6606 | 6993 |
6607 | 6994 |
6608 echo $ac_n "checking for /dev/ptc""... $ac_c" 1>&6 | 6995 echo $ac_n "checking for /dev/ptc""... $ac_c" 1>&6 |
6609 echo "configure:6610: checking for /dev/ptc" >&5 | 6996 echo "configure:6997: checking for /dev/ptc" >&5 |
6610 if test -r /dev/ptc; then | 6997 if test -r /dev/ptc; then |
6611 cat >> confdefs.h <<\EOF | 6998 cat >> confdefs.h <<\EOF |
6612 #define HAVE_DEV_PTC 1 | 6999 #define HAVE_DEV_PTC 1 |
6613 EOF | 7000 EOF |
6614 | 7001 |
6616 else | 7003 else |
6617 echo "$ac_t""no" 1>&6 | 7004 echo "$ac_t""no" 1>&6 |
6618 fi | 7005 fi |
6619 | 7006 |
6620 echo $ac_n "checking for SVR4 ptys""... $ac_c" 1>&6 | 7007 echo $ac_n "checking for SVR4 ptys""... $ac_c" 1>&6 |
6621 echo "configure:6622: checking for SVR4 ptys" >&5 | 7008 echo "configure:7009: checking for SVR4 ptys" >&5 |
6622 if test -c /dev/ptmx ; then | 7009 if test -c /dev/ptmx ; then |
6623 cat > conftest.$ac_ext <<EOF | 7010 cat > conftest.$ac_ext <<EOF |
6624 #line 6625 "configure" | 7011 #line 7012 "configure" |
6625 #include "confdefs.h" | 7012 #include "confdefs.h" |
6626 | 7013 |
6627 int main() { | 7014 int main() { |
6628 ptsname(0);grantpt(0);unlockpt(0); | 7015 ptsname(0);grantpt(0);unlockpt(0); |
6629 ; return 0; } | 7016 ; return 0; } |
6630 EOF | 7017 EOF |
6631 if { (eval echo configure:6632: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7018 if { (eval echo configure:7019: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6632 rm -rf conftest* | 7019 rm -rf conftest* |
6633 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7020 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6634 #define HAVE_SVR4_PTYS 1 | 7021 #define HAVE_SVR4_PTYS 1 |
6635 EOF | 7022 EOF |
6636 | 7023 |
6644 else | 7031 else |
6645 echo "$ac_t""no" 1>&6 | 7032 echo "$ac_t""no" 1>&6 |
6646 fi | 7033 fi |
6647 | 7034 |
6648 echo $ac_n "checking for ptyranges""... $ac_c" 1>&6 | 7035 echo $ac_n "checking for ptyranges""... $ac_c" 1>&6 |
6649 echo "configure:6650: checking for ptyranges" >&5 | 7036 echo "configure:7037: checking for ptyranges" >&5 |
6650 if test -d /dev/ptym ; then | 7037 if test -d /dev/ptym ; then |
6651 pdir='/dev/ptym' | 7038 pdir='/dev/ptym' |
6652 else | 7039 else |
6653 pdir='/dev' | 7040 pdir='/dev' |
6654 fi | 7041 fi |
6655 cat > conftest.$ac_ext <<EOF | 7042 cat > conftest.$ac_ext <<EOF |
6656 #line 6657 "configure" | 7043 #line 7044 "configure" |
6657 #include "confdefs.h" | 7044 #include "confdefs.h" |
6658 #ifdef M_UNIX | 7045 #ifdef M_UNIX |
6659 yes; | 7046 yes; |
6660 #endif | 7047 #endif |
6661 | 7048 |
6685 else | 7072 else |
6686 echo "$ac_t""don't know" 1>&6 | 7073 echo "$ac_t""don't know" 1>&6 |
6687 fi | 7074 fi |
6688 | 7075 |
6689 echo $ac_n "checking default tty permissions/group""... $ac_c" 1>&6 | 7076 echo $ac_n "checking default tty permissions/group""... $ac_c" 1>&6 |
6690 echo "configure:6691: checking default tty permissions/group" >&5 | 7077 echo "configure:7078: checking default tty permissions/group" >&5 |
6691 rm -f conftest_grp | 7078 rm -f conftest_grp |
6692 if test "$cross_compiling" = yes; then | 7079 if test "$cross_compiling" = yes; then |
6693 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7080 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
6694 else | 7081 else |
6695 cat > conftest.$ac_ext <<EOF | 7082 cat > conftest.$ac_ext <<EOF |
6696 #line 6697 "configure" | 7083 #line 7084 "configure" |
6697 #include "confdefs.h" | 7084 #include "confdefs.h" |
6698 | 7085 |
6699 #include <sys/types.h> | 7086 #include <sys/types.h> |
6700 #include <sys/stat.h> | 7087 #include <sys/stat.h> |
6701 #include <stdio.h> | 7088 #include <stdio.h> |
6723 fclose(fp); | 7110 fclose(fp); |
6724 exit(0); | 7111 exit(0); |
6725 } | 7112 } |
6726 | 7113 |
6727 EOF | 7114 EOF |
6728 if { (eval echo configure:6729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7115 if { (eval echo configure:7116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6729 then | 7116 then |
6730 | 7117 |
6731 if test -f conftest_grp; then | 7118 if test -f conftest_grp; then |
6732 ptygrp=`cat conftest_grp` | 7119 ptygrp=`cat conftest_grp` |
6733 echo "$ac_t""pty mode: 0620, group: $ptygrp" 1>&6 | 7120 echo "$ac_t""pty mode: 0620, group: $ptygrp" 1>&6 |
6754 | 7141 |
6755 rm -f conftest_grp | 7142 rm -f conftest_grp |
6756 | 7143 |
6757 | 7144 |
6758 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 | 7145 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
6759 echo "configure:6760: checking return type of signal handlers" >&5 | 7146 echo "configure:7147: checking return type of signal handlers" >&5 |
6760 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then | 7147 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
6761 echo $ac_n "(cached) $ac_c" 1>&6 | 7148 echo $ac_n "(cached) $ac_c" 1>&6 |
6762 else | 7149 else |
6763 cat > conftest.$ac_ext <<EOF | 7150 cat > conftest.$ac_ext <<EOF |
6764 #line 6765 "configure" | 7151 #line 7152 "configure" |
6765 #include "confdefs.h" | 7152 #include "confdefs.h" |
6766 #include <sys/types.h> | 7153 #include <sys/types.h> |
6767 #include <signal.h> | 7154 #include <signal.h> |
6768 #ifdef signal | 7155 #ifdef signal |
6769 #undef signal | 7156 #undef signal |
6776 | 7163 |
6777 int main() { | 7164 int main() { |
6778 int i; | 7165 int i; |
6779 ; return 0; } | 7166 ; return 0; } |
6780 EOF | 7167 EOF |
6781 if { (eval echo configure:6782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7168 if { (eval echo configure:7169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6782 rm -rf conftest* | 7169 rm -rf conftest* |
6783 ac_cv_type_signal=void | 7170 ac_cv_type_signal=void |
6784 else | 7171 else |
6785 echo "configure: failed program was:" >&5 | 7172 echo "configure: failed program was:" >&5 |
6786 cat conftest.$ac_ext >&5 | 7173 cat conftest.$ac_ext >&5 |
6808 EOF | 7195 EOF |
6809 | 7196 |
6810 fi | 7197 fi |
6811 | 7198 |
6812 echo $ac_n "checking for struct sigcontext""... $ac_c" 1>&6 | 7199 echo $ac_n "checking for struct sigcontext""... $ac_c" 1>&6 |
6813 echo "configure:6814: checking for struct sigcontext" >&5 | 7200 echo "configure:7201: checking for struct sigcontext" >&5 |
6814 cat > conftest.$ac_ext <<EOF | 7201 cat > conftest.$ac_ext <<EOF |
6815 #line 6816 "configure" | 7202 #line 7203 "configure" |
6816 #include "confdefs.h" | 7203 #include "confdefs.h" |
6817 | 7204 |
6818 #include <signal.h> | 7205 #include <signal.h> |
6819 test_sig() | 7206 test_sig() |
6820 { | 7207 { |
6824 } | 7211 } |
6825 int main() { | 7212 int main() { |
6826 | 7213 |
6827 ; return 0; } | 7214 ; return 0; } |
6828 EOF | 7215 EOF |
6829 if { (eval echo configure:6830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7216 if { (eval echo configure:7217: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6830 rm -rf conftest* | 7217 rm -rf conftest* |
6831 echo "$ac_t""yes" 1>&6 | 7218 echo "$ac_t""yes" 1>&6 |
6832 cat >> confdefs.h <<\EOF | 7219 cat >> confdefs.h <<\EOF |
6833 #define HAVE_SIGCONTEXT 1 | 7220 #define HAVE_SIGCONTEXT 1 |
6834 EOF | 7221 EOF |
6840 echo "$ac_t""no" 1>&6 | 7227 echo "$ac_t""no" 1>&6 |
6841 fi | 7228 fi |
6842 rm -f conftest* | 7229 rm -f conftest* |
6843 | 7230 |
6844 echo $ac_n "checking getcwd implementation""... $ac_c" 1>&6 | 7231 echo $ac_n "checking getcwd implementation""... $ac_c" 1>&6 |
6845 echo "configure:6846: checking getcwd implementation" >&5 | 7232 echo "configure:7233: checking getcwd implementation" >&5 |
6846 if test "$cross_compiling" = yes; then | 7233 if test "$cross_compiling" = yes; then |
6847 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7234 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
6848 else | 7235 else |
6849 cat > conftest.$ac_ext <<EOF | 7236 cat > conftest.$ac_ext <<EOF |
6850 #line 6851 "configure" | 7237 #line 7238 "configure" |
6851 #include "confdefs.h" | 7238 #include "confdefs.h" |
6852 | 7239 |
6853 char *dagger[] = { "IFS=pwd", 0 }; | 7240 char *dagger[] = { "IFS=pwd", 0 }; |
6854 main() | 7241 main() |
6855 { | 7242 { |
6857 extern char **environ; | 7244 extern char **environ; |
6858 environ = dagger; | 7245 environ = dagger; |
6859 return getcwd(buffer, 500) ? 0 : 1; | 7246 return getcwd(buffer, 500) ? 0 : 1; |
6860 } | 7247 } |
6861 EOF | 7248 EOF |
6862 if { (eval echo configure:6863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7249 if { (eval echo configure:7250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6863 then | 7250 then |
6864 echo "$ac_t""it is usable" 1>&6 | 7251 echo "$ac_t""it is usable" 1>&6 |
6865 else | 7252 else |
6866 echo "configure: failed program was:" >&5 | 7253 echo "configure: failed program was:" >&5 |
6867 cat conftest.$ac_ext >&5 | 7254 cat conftest.$ac_ext >&5 |
6882 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \ | 7269 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \ |
6883 sigvec snprintf strcasecmp strerror strftime stricmp strncasecmp \ | 7270 sigvec snprintf strcasecmp strerror strftime stricmp strncasecmp \ |
6884 strnicmp strpbrk strtol tgetent towlower towupper usleep utime utimes | 7271 strnicmp strpbrk strtol tgetent towlower towupper usleep utime utimes |
6885 do | 7272 do |
6886 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 7273 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
6887 echo "configure:6888: checking for $ac_func" >&5 | 7274 echo "configure:7275: checking for $ac_func" >&5 |
6888 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 7275 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
6889 echo $ac_n "(cached) $ac_c" 1>&6 | 7276 echo $ac_n "(cached) $ac_c" 1>&6 |
6890 else | 7277 else |
6891 cat > conftest.$ac_ext <<EOF | 7278 cat > conftest.$ac_ext <<EOF |
6892 #line 6893 "configure" | 7279 #line 7280 "configure" |
6893 #include "confdefs.h" | 7280 #include "confdefs.h" |
6894 /* System header to define __stub macros and hopefully few prototypes, | 7281 /* System header to define __stub macros and hopefully few prototypes, |
6895 which can conflict with char $ac_func(); below. */ | 7282 which can conflict with char $ac_func(); below. */ |
6896 #include <assert.h> | 7283 #include <assert.h> |
6897 /* Override any gcc2 internal prototype to avoid an error. */ | 7284 /* Override any gcc2 internal prototype to avoid an error. */ |
6910 $ac_func(); | 7297 $ac_func(); |
6911 #endif | 7298 #endif |
6912 | 7299 |
6913 ; return 0; } | 7300 ; return 0; } |
6914 EOF | 7301 EOF |
6915 if { (eval echo configure:6916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7302 if { (eval echo configure:7303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
6916 rm -rf conftest* | 7303 rm -rf conftest* |
6917 eval "ac_cv_func_$ac_func=yes" | 7304 eval "ac_cv_func_$ac_func=yes" |
6918 else | 7305 else |
6919 echo "configure: failed program was:" >&5 | 7306 echo "configure: failed program was:" >&5 |
6920 cat conftest.$ac_ext >&5 | 7307 cat conftest.$ac_ext >&5 |
6936 fi | 7323 fi |
6937 done | 7324 done |
6938 | 7325 |
6939 | 7326 |
6940 echo $ac_n "checking for st_blksize""... $ac_c" 1>&6 | 7327 echo $ac_n "checking for st_blksize""... $ac_c" 1>&6 |
6941 echo "configure:6942: checking for st_blksize" >&5 | 7328 echo "configure:7329: checking for st_blksize" >&5 |
6942 cat > conftest.$ac_ext <<EOF | 7329 cat > conftest.$ac_ext <<EOF |
6943 #line 6944 "configure" | 7330 #line 7331 "configure" |
6944 #include "confdefs.h" | 7331 #include "confdefs.h" |
6945 #include <sys/types.h> | 7332 #include <sys/types.h> |
6946 #include <sys/stat.h> | 7333 #include <sys/stat.h> |
6947 int main() { | 7334 int main() { |
6948 struct stat st; | 7335 struct stat st; |
6950 | 7337 |
6951 stat("/", &st); | 7338 stat("/", &st); |
6952 n = (int)st.st_blksize; | 7339 n = (int)st.st_blksize; |
6953 ; return 0; } | 7340 ; return 0; } |
6954 EOF | 7341 EOF |
6955 if { (eval echo configure:6956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7342 if { (eval echo configure:7343: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
6956 rm -rf conftest* | 7343 rm -rf conftest* |
6957 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7344 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6958 #define HAVE_ST_BLKSIZE 1 | 7345 #define HAVE_ST_BLKSIZE 1 |
6959 EOF | 7346 EOF |
6960 | 7347 |
6965 echo "$ac_t""no" 1>&6 | 7352 echo "$ac_t""no" 1>&6 |
6966 fi | 7353 fi |
6967 rm -f conftest* | 7354 rm -f conftest* |
6968 | 7355 |
6969 echo $ac_n "checking whether stat() ignores a trailing slash""... $ac_c" 1>&6 | 7356 echo $ac_n "checking whether stat() ignores a trailing slash""... $ac_c" 1>&6 |
6970 echo "configure:6971: checking whether stat() ignores a trailing slash" >&5 | 7357 echo "configure:7358: checking whether stat() ignores a trailing slash" >&5 |
6971 if test "$cross_compiling" = yes; then | 7358 if test "$cross_compiling" = yes; then |
6972 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7359 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
6973 else | 7360 else |
6974 cat > conftest.$ac_ext <<EOF | 7361 cat > conftest.$ac_ext <<EOF |
6975 #line 6976 "configure" | 7362 #line 7363 "configure" |
6976 #include "confdefs.h" | 7363 #include "confdefs.h" |
6977 #include <sys/types.h> | 7364 #include <sys/types.h> |
6978 #include <sys/stat.h> | 7365 #include <sys/stat.h> |
6979 main() {struct stat st; exit(stat("configure/", &st) != 0); } | 7366 main() {struct stat st; exit(stat("configure/", &st) != 0); } |
6980 EOF | 7367 EOF |
6981 if { (eval echo configure:6982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7368 if { (eval echo configure:7369: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
6982 then | 7369 then |
6983 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7370 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
6984 #define STAT_IGNORES_SLASH 1 | 7371 #define STAT_IGNORES_SLASH 1 |
6985 EOF | 7372 EOF |
6986 | 7373 |
6993 rm -fr conftest* | 7380 rm -fr conftest* |
6994 fi | 7381 fi |
6995 | 7382 |
6996 | 7383 |
6997 echo $ac_n "checking for iconv_open()""... $ac_c" 1>&6 | 7384 echo $ac_n "checking for iconv_open()""... $ac_c" 1>&6 |
6998 echo "configure:6999: checking for iconv_open()" >&5 | 7385 echo "configure:7386: checking for iconv_open()" >&5 |
6999 save_LIBS="$LIBS" | 7386 save_LIBS="$LIBS" |
7000 LIBS="$LIBS -liconv" | 7387 LIBS="$LIBS -liconv" |
7001 cat > conftest.$ac_ext <<EOF | 7388 cat > conftest.$ac_ext <<EOF |
7002 #line 7003 "configure" | 7389 #line 7390 "configure" |
7003 #include "confdefs.h" | 7390 #include "confdefs.h" |
7004 | 7391 |
7005 #ifdef HAVE_ICONV_H | 7392 #ifdef HAVE_ICONV_H |
7006 # include <iconv.h> | 7393 # include <iconv.h> |
7007 #endif | 7394 #endif |
7008 | 7395 |
7009 int main() { | 7396 int main() { |
7010 iconv_open("fr", "to"); | 7397 iconv_open("fr", "to"); |
7011 ; return 0; } | 7398 ; return 0; } |
7012 EOF | 7399 EOF |
7013 if { (eval echo configure:7014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7400 if { (eval echo configure:7401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7014 rm -rf conftest* | 7401 rm -rf conftest* |
7015 echo "$ac_t""yes; with -liconv" 1>&6; cat >> confdefs.h <<\EOF | 7402 echo "$ac_t""yes; with -liconv" 1>&6; cat >> confdefs.h <<\EOF |
7016 #define HAVE_ICONV 1 | 7403 #define HAVE_ICONV 1 |
7017 EOF | 7404 EOF |
7018 | 7405 |
7020 echo "configure: failed program was:" >&5 | 7407 echo "configure: failed program was:" >&5 |
7021 cat conftest.$ac_ext >&5 | 7408 cat conftest.$ac_ext >&5 |
7022 rm -rf conftest* | 7409 rm -rf conftest* |
7023 LIBS="$save_LIBS" | 7410 LIBS="$save_LIBS" |
7024 cat > conftest.$ac_ext <<EOF | 7411 cat > conftest.$ac_ext <<EOF |
7025 #line 7026 "configure" | 7412 #line 7413 "configure" |
7026 #include "confdefs.h" | 7413 #include "confdefs.h" |
7027 | 7414 |
7028 #ifdef HAVE_ICONV_H | 7415 #ifdef HAVE_ICONV_H |
7029 # include <iconv.h> | 7416 # include <iconv.h> |
7030 #endif | 7417 #endif |
7031 | 7418 |
7032 int main() { | 7419 int main() { |
7033 iconv_open("fr", "to"); | 7420 iconv_open("fr", "to"); |
7034 ; return 0; } | 7421 ; return 0; } |
7035 EOF | 7422 EOF |
7036 if { (eval echo configure:7037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7423 if { (eval echo configure:7424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7037 rm -rf conftest* | 7424 rm -rf conftest* |
7038 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7425 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7039 #define HAVE_ICONV 1 | 7426 #define HAVE_ICONV 1 |
7040 EOF | 7427 EOF |
7041 | 7428 |
7049 fi | 7436 fi |
7050 rm -f conftest* | 7437 rm -f conftest* |
7051 | 7438 |
7052 | 7439 |
7053 echo $ac_n "checking for nl_langinfo(CODESET)""... $ac_c" 1>&6 | 7440 echo $ac_n "checking for nl_langinfo(CODESET)""... $ac_c" 1>&6 |
7054 echo "configure:7055: checking for nl_langinfo(CODESET)" >&5 | 7441 echo "configure:7442: checking for nl_langinfo(CODESET)" >&5 |
7055 cat > conftest.$ac_ext <<EOF | 7442 cat > conftest.$ac_ext <<EOF |
7056 #line 7057 "configure" | 7443 #line 7444 "configure" |
7057 #include "confdefs.h" | 7444 #include "confdefs.h" |
7058 | 7445 |
7059 #ifdef HAVE_LANGINFO_H | 7446 #ifdef HAVE_LANGINFO_H |
7060 # include <langinfo.h> | 7447 # include <langinfo.h> |
7061 #endif | 7448 #endif |
7062 | 7449 |
7063 int main() { | 7450 int main() { |
7064 char *cs = nl_langinfo(CODESET); | 7451 char *cs = nl_langinfo(CODESET); |
7065 ; return 0; } | 7452 ; return 0; } |
7066 EOF | 7453 EOF |
7067 if { (eval echo configure:7068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7454 if { (eval echo configure:7455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7068 rm -rf conftest* | 7455 rm -rf conftest* |
7069 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7456 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7070 #define HAVE_NL_LANGINFO_CODESET 1 | 7457 #define HAVE_NL_LANGINFO_CODESET 1 |
7071 EOF | 7458 EOF |
7072 | 7459 |
7077 echo "$ac_t""no" 1>&6 | 7464 echo "$ac_t""no" 1>&6 |
7078 fi | 7465 fi |
7079 rm -f conftest* | 7466 rm -f conftest* |
7080 | 7467 |
7081 echo $ac_n "checking --disable-acl argument""... $ac_c" 1>&6 | 7468 echo $ac_n "checking --disable-acl argument""... $ac_c" 1>&6 |
7082 echo "configure:7083: checking --disable-acl argument" >&5 | 7469 echo "configure:7470: checking --disable-acl argument" >&5 |
7083 # Check whether --enable-acl or --disable-acl was given. | 7470 # Check whether --enable-acl or --disable-acl was given. |
7084 if test "${enable_acl+set}" = set; then | 7471 if test "${enable_acl+set}" = set; then |
7085 enableval="$enable_acl" | 7472 enableval="$enable_acl" |
7086 : | 7473 : |
7087 else | 7474 else |
7089 fi | 7476 fi |
7090 | 7477 |
7091 if test "$enable_acl" = "yes"; then | 7478 if test "$enable_acl" = "yes"; then |
7092 echo "$ac_t""no" 1>&6 | 7479 echo "$ac_t""no" 1>&6 |
7093 echo $ac_n "checking for acl_get_file in -lposix1e""... $ac_c" 1>&6 | 7480 echo $ac_n "checking for acl_get_file in -lposix1e""... $ac_c" 1>&6 |
7094 echo "configure:7095: checking for acl_get_file in -lposix1e" >&5 | 7481 echo "configure:7482: checking for acl_get_file in -lposix1e" >&5 |
7095 ac_lib_var=`echo posix1e'_'acl_get_file | sed 'y%./+-%__p_%'` | 7482 ac_lib_var=`echo posix1e'_'acl_get_file | sed 'y%./+-%__p_%'` |
7096 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7483 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7097 echo $ac_n "(cached) $ac_c" 1>&6 | 7484 echo $ac_n "(cached) $ac_c" 1>&6 |
7098 else | 7485 else |
7099 ac_save_LIBS="$LIBS" | 7486 ac_save_LIBS="$LIBS" |
7100 LIBS="-lposix1e $LIBS" | 7487 LIBS="-lposix1e $LIBS" |
7101 cat > conftest.$ac_ext <<EOF | 7488 cat > conftest.$ac_ext <<EOF |
7102 #line 7103 "configure" | 7489 #line 7490 "configure" |
7103 #include "confdefs.h" | 7490 #include "confdefs.h" |
7104 /* Override any gcc2 internal prototype to avoid an error. */ | 7491 /* Override any gcc2 internal prototype to avoid an error. */ |
7105 /* We use char because int might match the return type of a gcc2 | 7492 /* We use char because int might match the return type of a gcc2 |
7106 builtin and then its argument prototype would still apply. */ | 7493 builtin and then its argument prototype would still apply. */ |
7107 char acl_get_file(); | 7494 char acl_get_file(); |
7108 | 7495 |
7109 int main() { | 7496 int main() { |
7110 acl_get_file() | 7497 acl_get_file() |
7111 ; return 0; } | 7498 ; return 0; } |
7112 EOF | 7499 EOF |
7113 if { (eval echo configure:7114: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7500 if { (eval echo configure:7501: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7114 rm -rf conftest* | 7501 rm -rf conftest* |
7115 eval "ac_cv_lib_$ac_lib_var=yes" | 7502 eval "ac_cv_lib_$ac_lib_var=yes" |
7116 else | 7503 else |
7117 echo "configure: failed program was:" >&5 | 7504 echo "configure: failed program was:" >&5 |
7118 cat conftest.$ac_ext >&5 | 7505 cat conftest.$ac_ext >&5 |
7127 echo "$ac_t""yes" 1>&6 | 7514 echo "$ac_t""yes" 1>&6 |
7128 LIBS="$LIBS -lposix1e" | 7515 LIBS="$LIBS -lposix1e" |
7129 else | 7516 else |
7130 echo "$ac_t""no" 1>&6 | 7517 echo "$ac_t""no" 1>&6 |
7131 echo $ac_n "checking for acl_get_file in -lacl""... $ac_c" 1>&6 | 7518 echo $ac_n "checking for acl_get_file in -lacl""... $ac_c" 1>&6 |
7132 echo "configure:7133: checking for acl_get_file in -lacl" >&5 | 7519 echo "configure:7520: checking for acl_get_file in -lacl" >&5 |
7133 ac_lib_var=`echo acl'_'acl_get_file | sed 'y%./+-%__p_%'` | 7520 ac_lib_var=`echo acl'_'acl_get_file | sed 'y%./+-%__p_%'` |
7134 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7521 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7135 echo $ac_n "(cached) $ac_c" 1>&6 | 7522 echo $ac_n "(cached) $ac_c" 1>&6 |
7136 else | 7523 else |
7137 ac_save_LIBS="$LIBS" | 7524 ac_save_LIBS="$LIBS" |
7138 LIBS="-lacl $LIBS" | 7525 LIBS="-lacl $LIBS" |
7139 cat > conftest.$ac_ext <<EOF | 7526 cat > conftest.$ac_ext <<EOF |
7140 #line 7141 "configure" | 7527 #line 7528 "configure" |
7141 #include "confdefs.h" | 7528 #include "confdefs.h" |
7142 /* Override any gcc2 internal prototype to avoid an error. */ | 7529 /* Override any gcc2 internal prototype to avoid an error. */ |
7143 /* We use char because int might match the return type of a gcc2 | 7530 /* We use char because int might match the return type of a gcc2 |
7144 builtin and then its argument prototype would still apply. */ | 7531 builtin and then its argument prototype would still apply. */ |
7145 char acl_get_file(); | 7532 char acl_get_file(); |
7146 | 7533 |
7147 int main() { | 7534 int main() { |
7148 acl_get_file() | 7535 acl_get_file() |
7149 ; return 0; } | 7536 ; return 0; } |
7150 EOF | 7537 EOF |
7151 if { (eval echo configure:7152: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7538 if { (eval echo configure:7539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7152 rm -rf conftest* | 7539 rm -rf conftest* |
7153 eval "ac_cv_lib_$ac_lib_var=yes" | 7540 eval "ac_cv_lib_$ac_lib_var=yes" |
7154 else | 7541 else |
7155 echo "configure: failed program was:" >&5 | 7542 echo "configure: failed program was:" >&5 |
7156 cat conftest.$ac_ext >&5 | 7543 cat conftest.$ac_ext >&5 |
7163 fi | 7550 fi |
7164 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then | 7551 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
7165 echo "$ac_t""yes" 1>&6 | 7552 echo "$ac_t""yes" 1>&6 |
7166 LIBS="$LIBS -lacl" | 7553 LIBS="$LIBS -lacl" |
7167 echo $ac_n "checking for fgetxattr in -lattr""... $ac_c" 1>&6 | 7554 echo $ac_n "checking for fgetxattr in -lattr""... $ac_c" 1>&6 |
7168 echo "configure:7169: checking for fgetxattr in -lattr" >&5 | 7555 echo "configure:7556: checking for fgetxattr in -lattr" >&5 |
7169 ac_lib_var=`echo attr'_'fgetxattr | sed 'y%./+-%__p_%'` | 7556 ac_lib_var=`echo attr'_'fgetxattr | sed 'y%./+-%__p_%'` |
7170 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 7557 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7171 echo $ac_n "(cached) $ac_c" 1>&6 | 7558 echo $ac_n "(cached) $ac_c" 1>&6 |
7172 else | 7559 else |
7173 ac_save_LIBS="$LIBS" | 7560 ac_save_LIBS="$LIBS" |
7174 LIBS="-lattr $LIBS" | 7561 LIBS="-lattr $LIBS" |
7175 cat > conftest.$ac_ext <<EOF | 7562 cat > conftest.$ac_ext <<EOF |
7176 #line 7177 "configure" | 7563 #line 7564 "configure" |
7177 #include "confdefs.h" | 7564 #include "confdefs.h" |
7178 /* Override any gcc2 internal prototype to avoid an error. */ | 7565 /* Override any gcc2 internal prototype to avoid an error. */ |
7179 /* We use char because int might match the return type of a gcc2 | 7566 /* We use char because int might match the return type of a gcc2 |
7180 builtin and then its argument prototype would still apply. */ | 7567 builtin and then its argument prototype would still apply. */ |
7181 char fgetxattr(); | 7568 char fgetxattr(); |
7182 | 7569 |
7183 int main() { | 7570 int main() { |
7184 fgetxattr() | 7571 fgetxattr() |
7185 ; return 0; } | 7572 ; return 0; } |
7186 EOF | 7573 EOF |
7187 if { (eval echo configure:7188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7574 if { (eval echo configure:7575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7188 rm -rf conftest* | 7575 rm -rf conftest* |
7189 eval "ac_cv_lib_$ac_lib_var=yes" | 7576 eval "ac_cv_lib_$ac_lib_var=yes" |
7190 else | 7577 else |
7191 echo "configure: failed program was:" >&5 | 7578 echo "configure: failed program was:" >&5 |
7192 cat conftest.$ac_ext >&5 | 7579 cat conftest.$ac_ext >&5 |
7210 | 7597 |
7211 fi | 7598 fi |
7212 | 7599 |
7213 | 7600 |
7214 echo $ac_n "checking for POSIX ACL support""... $ac_c" 1>&6 | 7601 echo $ac_n "checking for POSIX ACL support""... $ac_c" 1>&6 |
7215 echo "configure:7216: checking for POSIX ACL support" >&5 | 7602 echo "configure:7603: checking for POSIX ACL support" >&5 |
7216 cat > conftest.$ac_ext <<EOF | 7603 cat > conftest.$ac_ext <<EOF |
7217 #line 7218 "configure" | 7604 #line 7605 "configure" |
7218 #include "confdefs.h" | 7605 #include "confdefs.h" |
7219 | 7606 |
7220 #include <sys/types.h> | 7607 #include <sys/types.h> |
7221 #ifdef HAVE_SYS_ACL_H | 7608 #ifdef HAVE_SYS_ACL_H |
7222 # include <sys/acl.h> | 7609 # include <sys/acl.h> |
7226 acl = acl_get_file("foo", ACL_TYPE_ACCESS); | 7613 acl = acl_get_file("foo", ACL_TYPE_ACCESS); |
7227 acl_set_file("foo", ACL_TYPE_ACCESS, acl); | 7614 acl_set_file("foo", ACL_TYPE_ACCESS, acl); |
7228 acl_free(acl); | 7615 acl_free(acl); |
7229 ; return 0; } | 7616 ; return 0; } |
7230 EOF | 7617 EOF |
7231 if { (eval echo configure:7232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7618 if { (eval echo configure:7619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7232 rm -rf conftest* | 7619 rm -rf conftest* |
7233 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7620 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7234 #define HAVE_POSIX_ACL 1 | 7621 #define HAVE_POSIX_ACL 1 |
7235 EOF | 7622 EOF |
7236 | 7623 |
7241 echo "$ac_t""no" 1>&6 | 7628 echo "$ac_t""no" 1>&6 |
7242 fi | 7629 fi |
7243 rm -f conftest* | 7630 rm -f conftest* |
7244 | 7631 |
7245 echo $ac_n "checking for Solaris ACL support""... $ac_c" 1>&6 | 7632 echo $ac_n "checking for Solaris ACL support""... $ac_c" 1>&6 |
7246 echo "configure:7247: checking for Solaris ACL support" >&5 | 7633 echo "configure:7634: checking for Solaris ACL support" >&5 |
7247 cat > conftest.$ac_ext <<EOF | 7634 cat > conftest.$ac_ext <<EOF |
7248 #line 7249 "configure" | 7635 #line 7636 "configure" |
7249 #include "confdefs.h" | 7636 #include "confdefs.h" |
7250 | 7637 |
7251 #ifdef HAVE_SYS_ACL_H | 7638 #ifdef HAVE_SYS_ACL_H |
7252 # include <sys/acl.h> | 7639 # include <sys/acl.h> |
7253 #endif | 7640 #endif |
7254 int main() { | 7641 int main() { |
7255 acl("foo", GETACLCNT, 0, NULL); | 7642 acl("foo", GETACLCNT, 0, NULL); |
7256 | 7643 |
7257 ; return 0; } | 7644 ; return 0; } |
7258 EOF | 7645 EOF |
7259 if { (eval echo configure:7260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7646 if { (eval echo configure:7647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7260 rm -rf conftest* | 7647 rm -rf conftest* |
7261 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7648 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7262 #define HAVE_SOLARIS_ACL 1 | 7649 #define HAVE_SOLARIS_ACL 1 |
7263 EOF | 7650 EOF |
7264 | 7651 |
7269 echo "$ac_t""no" 1>&6 | 7656 echo "$ac_t""no" 1>&6 |
7270 fi | 7657 fi |
7271 rm -f conftest* | 7658 rm -f conftest* |
7272 | 7659 |
7273 echo $ac_n "checking for AIX ACL support""... $ac_c" 1>&6 | 7660 echo $ac_n "checking for AIX ACL support""... $ac_c" 1>&6 |
7274 echo "configure:7275: checking for AIX ACL support" >&5 | 7661 echo "configure:7662: checking for AIX ACL support" >&5 |
7275 cat > conftest.$ac_ext <<EOF | 7662 cat > conftest.$ac_ext <<EOF |
7276 #line 7277 "configure" | 7663 #line 7664 "configure" |
7277 #include "confdefs.h" | 7664 #include "confdefs.h" |
7278 | 7665 |
7279 #ifdef HAVE_SYS_ACL_H | 7666 #ifdef HAVE_SYS_ACL_H |
7280 # include <sys/acl.h> | 7667 # include <sys/acl.h> |
7281 #endif | 7668 #endif |
7293 aclent = (void *)malloc(aclsize); | 7680 aclent = (void *)malloc(aclsize); |
7294 statacl("foo", STX_NORMAL, aclent, aclsize); | 7681 statacl("foo", STX_NORMAL, aclent, aclsize); |
7295 | 7682 |
7296 ; return 0; } | 7683 ; return 0; } |
7297 EOF | 7684 EOF |
7298 if { (eval echo configure:7299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7685 if { (eval echo configure:7686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7299 rm -rf conftest* | 7686 rm -rf conftest* |
7300 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7687 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7301 #define HAVE_AIX_ACL 1 | 7688 #define HAVE_AIX_ACL 1 |
7302 EOF | 7689 EOF |
7303 | 7690 |
7311 else | 7698 else |
7312 echo "$ac_t""yes" 1>&6 | 7699 echo "$ac_t""yes" 1>&6 |
7313 fi | 7700 fi |
7314 | 7701 |
7315 echo $ac_n "checking --disable-gpm argument""... $ac_c" 1>&6 | 7702 echo $ac_n "checking --disable-gpm argument""... $ac_c" 1>&6 |
7316 echo "configure:7317: checking --disable-gpm argument" >&5 | 7703 echo "configure:7704: checking --disable-gpm argument" >&5 |
7317 # Check whether --enable-gpm or --disable-gpm was given. | 7704 # Check whether --enable-gpm or --disable-gpm was given. |
7318 if test "${enable_gpm+set}" = set; then | 7705 if test "${enable_gpm+set}" = set; then |
7319 enableval="$enable_gpm" | 7706 enableval="$enable_gpm" |
7320 : | 7707 : |
7321 else | 7708 else |
7324 | 7711 |
7325 | 7712 |
7326 if test "$enable_gpm" = "yes"; then | 7713 if test "$enable_gpm" = "yes"; then |
7327 echo "$ac_t""no" 1>&6 | 7714 echo "$ac_t""no" 1>&6 |
7328 echo $ac_n "checking for gpm""... $ac_c" 1>&6 | 7715 echo $ac_n "checking for gpm""... $ac_c" 1>&6 |
7329 echo "configure:7330: checking for gpm" >&5 | 7716 echo "configure:7717: checking for gpm" >&5 |
7330 if eval "test \"`echo '$''{'vi_cv_have_gpm'+set}'`\" = set"; then | 7717 if eval "test \"`echo '$''{'vi_cv_have_gpm'+set}'`\" = set"; then |
7331 echo $ac_n "(cached) $ac_c" 1>&6 | 7718 echo $ac_n "(cached) $ac_c" 1>&6 |
7332 else | 7719 else |
7333 olibs="$LIBS" ; LIBS="-lgpm" | 7720 olibs="$LIBS" ; LIBS="-lgpm" |
7334 cat > conftest.$ac_ext <<EOF | 7721 cat > conftest.$ac_ext <<EOF |
7335 #line 7336 "configure" | 7722 #line 7723 "configure" |
7336 #include "confdefs.h" | 7723 #include "confdefs.h" |
7337 #include <gpm.h> | 7724 #include <gpm.h> |
7338 #include <linux/keyboard.h> | 7725 #include <linux/keyboard.h> |
7339 int main() { | 7726 int main() { |
7340 Gpm_GetLibVersion(NULL); | 7727 Gpm_GetLibVersion(NULL); |
7341 ; return 0; } | 7728 ; return 0; } |
7342 EOF | 7729 EOF |
7343 if { (eval echo configure:7344: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7730 if { (eval echo configure:7731: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7344 rm -rf conftest* | 7731 rm -rf conftest* |
7345 vi_cv_have_gpm=yes | 7732 vi_cv_have_gpm=yes |
7346 else | 7733 else |
7347 echo "configure: failed program was:" >&5 | 7734 echo "configure: failed program was:" >&5 |
7348 cat conftest.$ac_ext >&5 | 7735 cat conftest.$ac_ext >&5 |
7365 else | 7752 else |
7366 echo "$ac_t""yes" 1>&6 | 7753 echo "$ac_t""yes" 1>&6 |
7367 fi | 7754 fi |
7368 | 7755 |
7369 echo $ac_n "checking for vsnprintf()""... $ac_c" 1>&6 | 7756 echo $ac_n "checking for vsnprintf()""... $ac_c" 1>&6 |
7370 echo "configure:7371: checking for vsnprintf()" >&5 | 7757 echo "configure:7758: checking for vsnprintf()" >&5 |
7371 if test "$cross_compiling" = yes; then | 7758 if test "$cross_compiling" = yes; then |
7372 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7759 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7373 else | 7760 else |
7374 cat > conftest.$ac_ext <<EOF | 7761 cat > conftest.$ac_ext <<EOF |
7375 #line 7376 "configure" | 7762 #line 7763 "configure" |
7376 #include "confdefs.h" | 7763 #include "confdefs.h" |
7377 | 7764 |
7378 #include <stdio.h> | 7765 #include <stdio.h> |
7379 #include <stdarg.h> | 7766 #include <stdarg.h> |
7380 /* Check use of vsnprintf() */ | 7767 /* Check use of vsnprintf() */ |
7391 warn("testing %s\n", "a very long string that won't fit"); | 7778 warn("testing %s\n", "a very long string that won't fit"); |
7392 exit(0); | 7779 exit(0); |
7393 } | 7780 } |
7394 | 7781 |
7395 EOF | 7782 EOF |
7396 if { (eval echo configure:7397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7783 if { (eval echo configure:7784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7397 then | 7784 then |
7398 cat >> confdefs.h <<\EOF | 7785 cat >> confdefs.h <<\EOF |
7399 #define HAVE_VSNPRINTF 1 | 7786 #define HAVE_VSNPRINTF 1 |
7400 EOF | 7787 EOF |
7401 echo "$ac_t""yes" 1>&6 | 7788 echo "$ac_t""yes" 1>&6 |
7409 fi | 7796 fi |
7410 | 7797 |
7411 | 7798 |
7412 | 7799 |
7413 echo $ac_n "checking for rename""... $ac_c" 1>&6 | 7800 echo $ac_n "checking for rename""... $ac_c" 1>&6 |
7414 echo "configure:7415: checking for rename" >&5 | 7801 echo "configure:7802: checking for rename" >&5 |
7415 cat > conftest.$ac_ext <<EOF | 7802 cat > conftest.$ac_ext <<EOF |
7416 #line 7417 "configure" | 7803 #line 7804 "configure" |
7417 #include "confdefs.h" | 7804 #include "confdefs.h" |
7418 #include <stdio.h> | 7805 #include <stdio.h> |
7419 int main() { | 7806 int main() { |
7420 rename("this", "that") | 7807 rename("this", "that") |
7421 ; return 0; } | 7808 ; return 0; } |
7422 EOF | 7809 EOF |
7423 if { (eval echo configure:7424: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 7810 if { (eval echo configure:7811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7424 rm -rf conftest* | 7811 rm -rf conftest* |
7425 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7812 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7426 #define HAVE_RENAME 1 | 7813 #define HAVE_RENAME 1 |
7427 EOF | 7814 EOF |
7428 | 7815 |
7433 echo "$ac_t""no" 1>&6 | 7820 echo "$ac_t""no" 1>&6 |
7434 fi | 7821 fi |
7435 rm -f conftest* | 7822 rm -f conftest* |
7436 | 7823 |
7437 echo $ac_n "checking for sysctl""... $ac_c" 1>&6 | 7824 echo $ac_n "checking for sysctl""... $ac_c" 1>&6 |
7438 echo "configure:7439: checking for sysctl" >&5 | 7825 echo "configure:7826: checking for sysctl" >&5 |
7439 cat > conftest.$ac_ext <<EOF | 7826 cat > conftest.$ac_ext <<EOF |
7440 #line 7441 "configure" | 7827 #line 7828 "configure" |
7441 #include "confdefs.h" | 7828 #include "confdefs.h" |
7442 #include <sys/types.h> | 7829 #include <sys/types.h> |
7443 #include <sys/sysctl.h> | 7830 #include <sys/sysctl.h> |
7444 int main() { | 7831 int main() { |
7445 int mib[2], r; | 7832 int mib[2], r; |
7450 len = sizeof(r); | 7837 len = sizeof(r); |
7451 (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0); | 7838 (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0); |
7452 | 7839 |
7453 ; return 0; } | 7840 ; return 0; } |
7454 EOF | 7841 EOF |
7455 if { (eval echo configure:7456: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7842 if { (eval echo configure:7843: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7456 rm -rf conftest* | 7843 rm -rf conftest* |
7457 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7844 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7458 #define HAVE_SYSCTL 1 | 7845 #define HAVE_SYSCTL 1 |
7459 EOF | 7846 EOF |
7460 | 7847 |
7465 echo "$ac_t""not usable" 1>&6 | 7852 echo "$ac_t""not usable" 1>&6 |
7466 fi | 7853 fi |
7467 rm -f conftest* | 7854 rm -f conftest* |
7468 | 7855 |
7469 echo $ac_n "checking for sysinfo""... $ac_c" 1>&6 | 7856 echo $ac_n "checking for sysinfo""... $ac_c" 1>&6 |
7470 echo "configure:7471: checking for sysinfo" >&5 | 7857 echo "configure:7858: checking for sysinfo" >&5 |
7471 cat > conftest.$ac_ext <<EOF | 7858 cat > conftest.$ac_ext <<EOF |
7472 #line 7473 "configure" | 7859 #line 7860 "configure" |
7473 #include "confdefs.h" | 7860 #include "confdefs.h" |
7474 #include <sys/types.h> | 7861 #include <sys/types.h> |
7475 #include <sys/sysinfo.h> | 7862 #include <sys/sysinfo.h> |
7476 int main() { | 7863 int main() { |
7477 struct sysinfo sinfo; | 7864 struct sysinfo sinfo; |
7480 (void)sysinfo(&sinfo); | 7867 (void)sysinfo(&sinfo); |
7481 t = sinfo.totalram; | 7868 t = sinfo.totalram; |
7482 | 7869 |
7483 ; return 0; } | 7870 ; return 0; } |
7484 EOF | 7871 EOF |
7485 if { (eval echo configure:7486: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7872 if { (eval echo configure:7873: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7486 rm -rf conftest* | 7873 rm -rf conftest* |
7487 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7874 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7488 #define HAVE_SYSINFO 1 | 7875 #define HAVE_SYSINFO 1 |
7489 EOF | 7876 EOF |
7490 | 7877 |
7495 echo "$ac_t""not usable" 1>&6 | 7882 echo "$ac_t""not usable" 1>&6 |
7496 fi | 7883 fi |
7497 rm -f conftest* | 7884 rm -f conftest* |
7498 | 7885 |
7499 echo $ac_n "checking for sysconf""... $ac_c" 1>&6 | 7886 echo $ac_n "checking for sysconf""... $ac_c" 1>&6 |
7500 echo "configure:7501: checking for sysconf" >&5 | 7887 echo "configure:7888: checking for sysconf" >&5 |
7501 cat > conftest.$ac_ext <<EOF | 7888 cat > conftest.$ac_ext <<EOF |
7502 #line 7503 "configure" | 7889 #line 7890 "configure" |
7503 #include "confdefs.h" | 7890 #include "confdefs.h" |
7504 #include <unistd.h> | 7891 #include <unistd.h> |
7505 int main() { | 7892 int main() { |
7506 (void)sysconf(_SC_PAGESIZE); | 7893 (void)sysconf(_SC_PAGESIZE); |
7507 (void)sysconf(_SC_PHYS_PAGES); | 7894 (void)sysconf(_SC_PHYS_PAGES); |
7508 | 7895 |
7509 ; return 0; } | 7896 ; return 0; } |
7510 EOF | 7897 EOF |
7511 if { (eval echo configure:7512: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 7898 if { (eval echo configure:7899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7512 rm -rf conftest* | 7899 rm -rf conftest* |
7513 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 7900 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7514 #define HAVE_SYSCONF 1 | 7901 #define HAVE_SYSCONF 1 |
7515 EOF | 7902 EOF |
7516 | 7903 |
7522 fi | 7909 fi |
7523 rm -f conftest* | 7910 rm -f conftest* |
7524 | 7911 |
7525 | 7912 |
7526 echo $ac_n "checking size of int""... $ac_c" 1>&6 | 7913 echo $ac_n "checking size of int""... $ac_c" 1>&6 |
7527 echo "configure:7528: checking size of int" >&5 | 7914 echo "configure:7915: checking size of int" >&5 |
7528 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then | 7915 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
7529 echo $ac_n "(cached) $ac_c" 1>&6 | 7916 echo $ac_n "(cached) $ac_c" 1>&6 |
7530 else | 7917 else |
7531 if test "$cross_compiling" = yes; then | 7918 if test "$cross_compiling" = yes; then |
7532 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7919 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7533 else | 7920 else |
7534 cat > conftest.$ac_ext <<EOF | 7921 cat > conftest.$ac_ext <<EOF |
7535 #line 7536 "configure" | 7922 #line 7923 "configure" |
7536 #include "confdefs.h" | 7923 #include "confdefs.h" |
7537 #include <stdio.h> | 7924 #include <stdio.h> |
7538 main() | 7925 main() |
7539 { | 7926 { |
7540 FILE *f=fopen("conftestval", "w"); | 7927 FILE *f=fopen("conftestval", "w"); |
7541 if (!f) exit(1); | 7928 if (!f) exit(1); |
7542 fprintf(f, "%d\n", (int)sizeof(int)); | 7929 fprintf(f, "%d\n", (int)sizeof(int)); |
7543 exit(0); | 7930 exit(0); |
7544 } | 7931 } |
7545 EOF | 7932 EOF |
7546 if { (eval echo configure:7547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7933 if { (eval echo configure:7934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7547 then | 7934 then |
7548 ac_cv_sizeof_int=`cat conftestval` | 7935 ac_cv_sizeof_int=`cat conftestval` |
7549 else | 7936 else |
7550 echo "configure: failed program was:" >&5 | 7937 echo "configure: failed program was:" >&5 |
7551 cat conftest.$ac_ext >&5 | 7938 cat conftest.$ac_ext >&5 |
7562 #define SIZEOF_INT $ac_cv_sizeof_int | 7949 #define SIZEOF_INT $ac_cv_sizeof_int |
7563 EOF | 7950 EOF |
7564 | 7951 |
7565 | 7952 |
7566 echo $ac_n "checking whether memmove/bcopy/memcpy handle overlaps""... $ac_c" 1>&6 | 7953 echo $ac_n "checking whether memmove/bcopy/memcpy handle overlaps""... $ac_c" 1>&6 |
7567 echo "configure:7568: checking whether memmove/bcopy/memcpy handle overlaps" >&5 | 7954 echo "configure:7955: checking whether memmove/bcopy/memcpy handle overlaps" >&5 |
7568 bcopy_test_prog=' | 7955 bcopy_test_prog=' |
7569 main() { | 7956 main() { |
7570 char buf[10]; | 7957 char buf[10]; |
7571 strcpy(buf, "abcdefghi"); | 7958 strcpy(buf, "abcdefghi"); |
7572 mch_memmove(buf, buf + 2, 3); | 7959 mch_memmove(buf, buf + 2, 3); |
7582 | 7969 |
7583 if test "$cross_compiling" = yes; then | 7970 if test "$cross_compiling" = yes; then |
7584 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7971 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7585 else | 7972 else |
7586 cat > conftest.$ac_ext <<EOF | 7973 cat > conftest.$ac_ext <<EOF |
7587 #line 7588 "configure" | 7974 #line 7975 "configure" |
7588 #include "confdefs.h" | 7975 #include "confdefs.h" |
7589 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog | 7976 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog |
7590 EOF | 7977 EOF |
7591 if { (eval echo configure:7592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7978 if { (eval echo configure:7979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7592 then | 7979 then |
7593 cat >> confdefs.h <<\EOF | 7980 cat >> confdefs.h <<\EOF |
7594 #define USEMEMMOVE 1 | 7981 #define USEMEMMOVE 1 |
7595 EOF | 7982 EOF |
7596 echo "$ac_t""memmove does" 1>&6 | 7983 echo "$ac_t""memmove does" 1>&6 |
7600 rm -fr conftest* | 7987 rm -fr conftest* |
7601 if test "$cross_compiling" = yes; then | 7988 if test "$cross_compiling" = yes; then |
7602 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 7989 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7603 else | 7990 else |
7604 cat > conftest.$ac_ext <<EOF | 7991 cat > conftest.$ac_ext <<EOF |
7605 #line 7606 "configure" | 7992 #line 7993 "configure" |
7606 #include "confdefs.h" | 7993 #include "confdefs.h" |
7607 #define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog | 7994 #define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog |
7608 EOF | 7995 EOF |
7609 if { (eval echo configure:7610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 7996 if { (eval echo configure:7997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7610 then | 7997 then |
7611 cat >> confdefs.h <<\EOF | 7998 cat >> confdefs.h <<\EOF |
7612 #define USEBCOPY 1 | 7999 #define USEBCOPY 1 |
7613 EOF | 8000 EOF |
7614 echo "$ac_t""bcopy does" 1>&6 | 8001 echo "$ac_t""bcopy does" 1>&6 |
7618 rm -fr conftest* | 8005 rm -fr conftest* |
7619 if test "$cross_compiling" = yes; then | 8006 if test "$cross_compiling" = yes; then |
7620 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } | 8007 { echo "configure: error: failed to compile test program" 1>&2; exit 1; } |
7621 else | 8008 else |
7622 cat > conftest.$ac_ext <<EOF | 8009 cat > conftest.$ac_ext <<EOF |
7623 #line 7624 "configure" | 8010 #line 8011 "configure" |
7624 #include "confdefs.h" | 8011 #include "confdefs.h" |
7625 #define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog | 8012 #define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog |
7626 EOF | 8013 EOF |
7627 if { (eval echo configure:7628: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null | 8014 if { (eval echo configure:8015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
7628 then | 8015 then |
7629 cat >> confdefs.h <<\EOF | 8016 cat >> confdefs.h <<\EOF |
7630 #define USEMEMCPY 1 | 8017 #define USEMEMCPY 1 |
7631 EOF | 8018 EOF |
7632 echo "$ac_t""memcpy does" 1>&6 | 8019 echo "$ac_t""memcpy does" 1>&6 |
7654 ldflags_save=$LDFLAGS | 8041 ldflags_save=$LDFLAGS |
7655 if test -n "$x_includes" ; then | 8042 if test -n "$x_includes" ; then |
7656 CFLAGS="$CFLAGS -I$x_includes" | 8043 CFLAGS="$CFLAGS -I$x_includes" |
7657 LDFLAGS="$X_LIBS $LDFLAGS -lX11" | 8044 LDFLAGS="$X_LIBS $LDFLAGS -lX11" |
7658 echo $ac_n "checking whether X_LOCALE needed""... $ac_c" 1>&6 | 8045 echo $ac_n "checking whether X_LOCALE needed""... $ac_c" 1>&6 |
7659 echo "configure:7660: checking whether X_LOCALE needed" >&5 | 8046 echo "configure:8047: checking whether X_LOCALE needed" >&5 |
7660 cat > conftest.$ac_ext <<EOF | 8047 cat > conftest.$ac_ext <<EOF |
7661 #line 7662 "configure" | 8048 #line 8049 "configure" |
7662 #include "confdefs.h" | 8049 #include "confdefs.h" |
7663 #include <X11/Xlocale.h> | 8050 #include <X11/Xlocale.h> |
7664 int main() { | 8051 int main() { |
7665 | 8052 |
7666 ; return 0; } | 8053 ; return 0; } |
7667 EOF | 8054 EOF |
7668 if { (eval echo configure:7669: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 8055 if { (eval echo configure:8056: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
7669 rm -rf conftest* | 8056 rm -rf conftest* |
7670 cat > conftest.$ac_ext <<EOF | 8057 cat > conftest.$ac_ext <<EOF |
7671 #line 7672 "configure" | 8058 #line 8059 "configure" |
7672 #include "confdefs.h" | 8059 #include "confdefs.h" |
7673 /* Override any gcc2 internal prototype to avoid an error. */ | 8060 /* Override any gcc2 internal prototype to avoid an error. */ |
7674 /* We use char because int might match the return type of a gcc2 | 8061 /* We use char because int might match the return type of a gcc2 |
7675 builtin and then its argument prototype would still apply. */ | 8062 builtin and then its argument prototype would still apply. */ |
7676 char _Xsetlocale(); | 8063 char _Xsetlocale(); |
7677 | 8064 |
7678 int main() { | 8065 int main() { |
7679 _Xsetlocale() | 8066 _Xsetlocale() |
7680 ; return 0; } | 8067 ; return 0; } |
7681 EOF | 8068 EOF |
7682 if { (eval echo configure:7683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8069 if { (eval echo configure:8070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7683 rm -rf conftest* | 8070 rm -rf conftest* |
7684 echo "$ac_t""yes" 1>&6 | 8071 echo "$ac_t""yes" 1>&6 |
7685 cat >> confdefs.h <<\EOF | 8072 cat >> confdefs.h <<\EOF |
7686 #define X_LOCALE 1 | 8073 #define X_LOCALE 1 |
7687 EOF | 8074 EOF |
7704 CFLAGS=$cflags_save | 8091 CFLAGS=$cflags_save |
7705 LDFLAGS=$ldflags_save | 8092 LDFLAGS=$ldflags_save |
7706 fi | 8093 fi |
7707 | 8094 |
7708 echo $ac_n "checking for _xpg4_setrunelocale in -lxpg4""... $ac_c" 1>&6 | 8095 echo $ac_n "checking for _xpg4_setrunelocale in -lxpg4""... $ac_c" 1>&6 |
7709 echo "configure:7710: checking for _xpg4_setrunelocale in -lxpg4" >&5 | 8096 echo "configure:8097: checking for _xpg4_setrunelocale in -lxpg4" >&5 |
7710 ac_lib_var=`echo xpg4'_'_xpg4_setrunelocale | sed 'y%./+-%__p_%'` | 8097 ac_lib_var=`echo xpg4'_'_xpg4_setrunelocale | sed 'y%./+-%__p_%'` |
7711 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then | 8098 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
7712 echo $ac_n "(cached) $ac_c" 1>&6 | 8099 echo $ac_n "(cached) $ac_c" 1>&6 |
7713 else | 8100 else |
7714 ac_save_LIBS="$LIBS" | 8101 ac_save_LIBS="$LIBS" |
7715 LIBS="-lxpg4 $LIBS" | 8102 LIBS="-lxpg4 $LIBS" |
7716 cat > conftest.$ac_ext <<EOF | 8103 cat > conftest.$ac_ext <<EOF |
7717 #line 7718 "configure" | 8104 #line 8105 "configure" |
7718 #include "confdefs.h" | 8105 #include "confdefs.h" |
7719 /* Override any gcc2 internal prototype to avoid an error. */ | 8106 /* Override any gcc2 internal prototype to avoid an error. */ |
7720 /* We use char because int might match the return type of a gcc2 | 8107 /* We use char because int might match the return type of a gcc2 |
7721 builtin and then its argument prototype would still apply. */ | 8108 builtin and then its argument prototype would still apply. */ |
7722 char _xpg4_setrunelocale(); | 8109 char _xpg4_setrunelocale(); |
7723 | 8110 |
7724 int main() { | 8111 int main() { |
7725 _xpg4_setrunelocale() | 8112 _xpg4_setrunelocale() |
7726 ; return 0; } | 8113 ; return 0; } |
7727 EOF | 8114 EOF |
7728 if { (eval echo configure:7729: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8115 if { (eval echo configure:8116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7729 rm -rf conftest* | 8116 rm -rf conftest* |
7730 eval "ac_cv_lib_$ac_lib_var=yes" | 8117 eval "ac_cv_lib_$ac_lib_var=yes" |
7731 else | 8118 else |
7732 echo "configure: failed program was:" >&5 | 8119 echo "configure: failed program was:" >&5 |
7733 cat conftest.$ac_ext >&5 | 8120 cat conftest.$ac_ext >&5 |
7745 echo "$ac_t""no" 1>&6 | 8132 echo "$ac_t""no" 1>&6 |
7746 fi | 8133 fi |
7747 | 8134 |
7748 | 8135 |
7749 echo $ac_n "checking how to create tags""... $ac_c" 1>&6 | 8136 echo $ac_n "checking how to create tags""... $ac_c" 1>&6 |
7750 echo "configure:7751: checking how to create tags" >&5 | 8137 echo "configure:8138: checking how to create tags" >&5 |
7751 test -f tags && mv tags tags.save | 8138 test -f tags && mv tags tags.save |
7752 if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then | 8139 if (eval ctags --version /dev/null | grep Exuberant) < /dev/null 1>&5 2>&1; then |
7753 TAGPRG="ctags" | 8140 TAGPRG="ctags" |
7754 else | 8141 else |
7755 (eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags" | 8142 (eval etags /dev/null) < /dev/null 1>&5 2>&1 && TAGPRG="etags" |
7762 fi | 8149 fi |
7763 test -f tags.save && mv tags.save tags | 8150 test -f tags.save && mv tags.save tags |
7764 echo "$ac_t""$TAGPRG" 1>&6 | 8151 echo "$ac_t""$TAGPRG" 1>&6 |
7765 | 8152 |
7766 echo $ac_n "checking how to run man with a section nr""... $ac_c" 1>&6 | 8153 echo $ac_n "checking how to run man with a section nr""... $ac_c" 1>&6 |
7767 echo "configure:7768: checking how to run man with a section nr" >&5 | 8154 echo "configure:8155: checking how to run man with a section nr" >&5 |
7768 MANDEF="man" | 8155 MANDEF="man" |
7769 (eval man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s" | 8156 (eval man -s 2 read) < /dev/null > /dev/null 2>&5 && MANDEF="man -s" |
7770 echo "$ac_t""$MANDEF" 1>&6 | 8157 echo "$ac_t""$MANDEF" 1>&6 |
7771 if test "$MANDEF" = "man -s"; then | 8158 if test "$MANDEF" = "man -s"; then |
7772 cat >> confdefs.h <<\EOF | 8159 cat >> confdefs.h <<\EOF |
7774 EOF | 8161 EOF |
7775 | 8162 |
7776 fi | 8163 fi |
7777 | 8164 |
7778 echo $ac_n "checking --disable-nls argument""... $ac_c" 1>&6 | 8165 echo $ac_n "checking --disable-nls argument""... $ac_c" 1>&6 |
7779 echo "configure:7780: checking --disable-nls argument" >&5 | 8166 echo "configure:8167: checking --disable-nls argument" >&5 |
7780 # Check whether --enable-nls or --disable-nls was given. | 8167 # Check whether --enable-nls or --disable-nls was given. |
7781 if test "${enable_nls+set}" = set; then | 8168 if test "${enable_nls+set}" = set; then |
7782 enableval="$enable_nls" | 8169 enableval="$enable_nls" |
7783 : | 8170 : |
7784 else | 8171 else |
7789 if test "$enable_nls" = "yes"; then | 8176 if test "$enable_nls" = "yes"; then |
7790 echo "$ac_t""no" 1>&6 | 8177 echo "$ac_t""no" 1>&6 |
7791 # Extract the first word of "msgfmt", so it can be a program name with args. | 8178 # Extract the first word of "msgfmt", so it can be a program name with args. |
7792 set dummy msgfmt; ac_word=$2 | 8179 set dummy msgfmt; ac_word=$2 |
7793 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 8180 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
7794 echo "configure:7795: checking for $ac_word" >&5 | 8181 echo "configure:8182: checking for $ac_word" >&5 |
7795 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then | 8182 if eval "test \"`echo '$''{'ac_cv_prog_MSGFMT'+set}'`\" = set"; then |
7796 echo $ac_n "(cached) $ac_c" 1>&6 | 8183 echo $ac_n "(cached) $ac_c" 1>&6 |
7797 else | 8184 else |
7798 if test -n "$MSGFMT"; then | 8185 if test -n "$MSGFMT"; then |
7799 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test. | 8186 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test. |
7816 else | 8203 else |
7817 echo "$ac_t""no" 1>&6 | 8204 echo "$ac_t""no" 1>&6 |
7818 fi | 8205 fi |
7819 | 8206 |
7820 echo $ac_n "checking for NLS""... $ac_c" 1>&6 | 8207 echo $ac_n "checking for NLS""... $ac_c" 1>&6 |
7821 echo "configure:7822: checking for NLS" >&5 | 8208 echo "configure:8209: checking for NLS" >&5 |
7822 if test -f po/Makefile; then | 8209 if test -f po/Makefile; then |
7823 have_gettext="no" | 8210 have_gettext="no" |
7824 if test -n "$MSGFMT"; then | 8211 if test -n "$MSGFMT"; then |
7825 cat > conftest.$ac_ext <<EOF | 8212 cat > conftest.$ac_ext <<EOF |
7826 #line 7827 "configure" | 8213 #line 8214 "configure" |
7827 #include "confdefs.h" | 8214 #include "confdefs.h" |
7828 #include <libintl.h> | 8215 #include <libintl.h> |
7829 int main() { | 8216 int main() { |
7830 gettext("Test"); | 8217 gettext("Test"); |
7831 ; return 0; } | 8218 ; return 0; } |
7832 EOF | 8219 EOF |
7833 if { (eval echo configure:7834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8220 if { (eval echo configure:8221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7834 rm -rf conftest* | 8221 rm -rf conftest* |
7835 echo "$ac_t""gettext() works" 1>&6; have_gettext="yes" | 8222 echo "$ac_t""gettext() works" 1>&6; have_gettext="yes" |
7836 else | 8223 else |
7837 echo "configure: failed program was:" >&5 | 8224 echo "configure: failed program was:" >&5 |
7838 cat conftest.$ac_ext >&5 | 8225 cat conftest.$ac_ext >&5 |
7839 rm -rf conftest* | 8226 rm -rf conftest* |
7840 olibs=$LIBS | 8227 olibs=$LIBS |
7841 LIBS="$LIBS -lintl" | 8228 LIBS="$LIBS -lintl" |
7842 cat > conftest.$ac_ext <<EOF | 8229 cat > conftest.$ac_ext <<EOF |
7843 #line 7844 "configure" | 8230 #line 8231 "configure" |
7844 #include "confdefs.h" | 8231 #include "confdefs.h" |
7845 #include <libintl.h> | 8232 #include <libintl.h> |
7846 int main() { | 8233 int main() { |
7847 gettext("Test"); | 8234 gettext("Test"); |
7848 ; return 0; } | 8235 ; return 0; } |
7849 EOF | 8236 EOF |
7850 if { (eval echo configure:7851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8237 if { (eval echo configure:8238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7851 rm -rf conftest* | 8238 rm -rf conftest* |
7852 echo "$ac_t""gettext() works with -lintl" 1>&6; have_gettext="yes" | 8239 echo "$ac_t""gettext() works with -lintl" 1>&6; have_gettext="yes" |
7853 else | 8240 else |
7854 echo "configure: failed program was:" >&5 | 8241 echo "configure: failed program was:" >&5 |
7855 cat conftest.$ac_ext >&5 | 8242 cat conftest.$ac_ext >&5 |
7871 MAKEMO=yes | 8258 MAKEMO=yes |
7872 | 8259 |
7873 for ac_func in bind_textdomain_codeset | 8260 for ac_func in bind_textdomain_codeset |
7874 do | 8261 do |
7875 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 | 8262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
7876 echo "configure:7877: checking for $ac_func" >&5 | 8263 echo "configure:8264: checking for $ac_func" >&5 |
7877 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then | 8264 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
7878 echo $ac_n "(cached) $ac_c" 1>&6 | 8265 echo $ac_n "(cached) $ac_c" 1>&6 |
7879 else | 8266 else |
7880 cat > conftest.$ac_ext <<EOF | 8267 cat > conftest.$ac_ext <<EOF |
7881 #line 7882 "configure" | 8268 #line 8269 "configure" |
7882 #include "confdefs.h" | 8269 #include "confdefs.h" |
7883 /* System header to define __stub macros and hopefully few prototypes, | 8270 /* System header to define __stub macros and hopefully few prototypes, |
7884 which can conflict with char $ac_func(); below. */ | 8271 which can conflict with char $ac_func(); below. */ |
7885 #include <assert.h> | 8272 #include <assert.h> |
7886 /* Override any gcc2 internal prototype to avoid an error. */ | 8273 /* Override any gcc2 internal prototype to avoid an error. */ |
7899 $ac_func(); | 8286 $ac_func(); |
7900 #endif | 8287 #endif |
7901 | 8288 |
7902 ; return 0; } | 8289 ; return 0; } |
7903 EOF | 8290 EOF |
7904 if { (eval echo configure:7905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8291 if { (eval echo configure:8292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7905 rm -rf conftest* | 8292 rm -rf conftest* |
7906 eval "ac_cv_func_$ac_func=yes" | 8293 eval "ac_cv_func_$ac_func=yes" |
7907 else | 8294 else |
7908 echo "configure: failed program was:" >&5 | 8295 echo "configure: failed program was:" >&5 |
7909 cat conftest.$ac_ext >&5 | 8296 cat conftest.$ac_ext >&5 |
7924 echo "$ac_t""no" 1>&6 | 8311 echo "$ac_t""no" 1>&6 |
7925 fi | 8312 fi |
7926 done | 8313 done |
7927 | 8314 |
7928 echo $ac_n "checking for _nl_msg_cat_cntr""... $ac_c" 1>&6 | 8315 echo $ac_n "checking for _nl_msg_cat_cntr""... $ac_c" 1>&6 |
7929 echo "configure:7930: checking for _nl_msg_cat_cntr" >&5 | 8316 echo "configure:8317: checking for _nl_msg_cat_cntr" >&5 |
7930 cat > conftest.$ac_ext <<EOF | 8317 cat > conftest.$ac_ext <<EOF |
7931 #line 7932 "configure" | 8318 #line 8319 "configure" |
7932 #include "confdefs.h" | 8319 #include "confdefs.h" |
7933 #include <libintl.h> | 8320 #include <libintl.h> |
7934 extern int _nl_msg_cat_cntr; | 8321 extern int _nl_msg_cat_cntr; |
7935 int main() { | 8322 int main() { |
7936 ++_nl_msg_cat_cntr; | 8323 ++_nl_msg_cat_cntr; |
7937 ; return 0; } | 8324 ; return 0; } |
7938 EOF | 8325 EOF |
7939 if { (eval echo configure:7940: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8326 if { (eval echo configure:8327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
7940 rm -rf conftest* | 8327 rm -rf conftest* |
7941 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF | 8328 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
7942 #define HAVE_NL_MSG_CAT_CNTR 1 | 8329 #define HAVE_NL_MSG_CAT_CNTR 1 |
7943 EOF | 8330 EOF |
7944 | 8331 |
7957 echo "$ac_t""yes" 1>&6 | 8344 echo "$ac_t""yes" 1>&6 |
7958 fi | 8345 fi |
7959 | 8346 |
7960 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` | 8347 ac_safe=`echo "dlfcn.h" | sed 'y%./+-%__p_%'` |
7961 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 | 8348 echo $ac_n "checking for dlfcn.h""... $ac_c" 1>&6 |
7962 echo "configure:7963: checking for dlfcn.h" >&5 | 8349 echo "configure:8350: checking for dlfcn.h" >&5 |
7963 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8350 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7964 echo $ac_n "(cached) $ac_c" 1>&6 | 8351 echo $ac_n "(cached) $ac_c" 1>&6 |
7965 else | 8352 else |
7966 cat > conftest.$ac_ext <<EOF | 8353 cat > conftest.$ac_ext <<EOF |
7967 #line 7968 "configure" | 8354 #line 8355 "configure" |
7968 #include "confdefs.h" | 8355 #include "confdefs.h" |
7969 #include <dlfcn.h> | 8356 #include <dlfcn.h> |
7970 EOF | 8357 EOF |
7971 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8358 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
7972 { (eval echo configure:7973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8359 { (eval echo configure:8360: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
7973 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8360 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
7974 if test -z "$ac_err"; then | 8361 if test -z "$ac_err"; then |
7975 rm -rf conftest* | 8362 rm -rf conftest* |
7976 eval "ac_cv_header_$ac_safe=yes" | 8363 eval "ac_cv_header_$ac_safe=yes" |
7977 else | 8364 else |
7988 DLL=dlfcn.h | 8375 DLL=dlfcn.h |
7989 else | 8376 else |
7990 echo "$ac_t""no" 1>&6 | 8377 echo "$ac_t""no" 1>&6 |
7991 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` | 8378 ac_safe=`echo "dl.h" | sed 'y%./+-%__p_%'` |
7992 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 | 8379 echo $ac_n "checking for dl.h""... $ac_c" 1>&6 |
7993 echo "configure:7994: checking for dl.h" >&5 | 8380 echo "configure:8381: checking for dl.h" >&5 |
7994 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8381 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
7995 echo $ac_n "(cached) $ac_c" 1>&6 | 8382 echo $ac_n "(cached) $ac_c" 1>&6 |
7996 else | 8383 else |
7997 cat > conftest.$ac_ext <<EOF | 8384 cat > conftest.$ac_ext <<EOF |
7998 #line 7999 "configure" | 8385 #line 8386 "configure" |
7999 #include "confdefs.h" | 8386 #include "confdefs.h" |
8000 #include <dl.h> | 8387 #include <dl.h> |
8001 EOF | 8388 EOF |
8002 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8389 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8003 { (eval echo configure:8004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8390 { (eval echo configure:8391: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8004 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8391 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8005 if test -z "$ac_err"; then | 8392 if test -z "$ac_err"; then |
8006 rm -rf conftest* | 8393 rm -rf conftest* |
8007 eval "ac_cv_header_$ac_safe=yes" | 8394 eval "ac_cv_header_$ac_safe=yes" |
8008 else | 8395 else |
8027 cat >> confdefs.h <<\EOF | 8414 cat >> confdefs.h <<\EOF |
8028 #define HAVE_DLFCN_H 1 | 8415 #define HAVE_DLFCN_H 1 |
8029 EOF | 8416 EOF |
8030 | 8417 |
8031 echo $ac_n "checking for dlopen()""... $ac_c" 1>&6 | 8418 echo $ac_n "checking for dlopen()""... $ac_c" 1>&6 |
8032 echo "configure:8033: checking for dlopen()" >&5 | 8419 echo "configure:8420: checking for dlopen()" >&5 |
8033 cat > conftest.$ac_ext <<EOF | 8420 cat > conftest.$ac_ext <<EOF |
8034 #line 8035 "configure" | 8421 #line 8422 "configure" |
8035 #include "confdefs.h" | 8422 #include "confdefs.h" |
8036 | 8423 |
8037 int main() { | 8424 int main() { |
8038 | 8425 |
8039 extern void* dlopen(); | 8426 extern void* dlopen(); |
8040 dlopen(); | 8427 dlopen(); |
8041 | 8428 |
8042 ; return 0; } | 8429 ; return 0; } |
8043 EOF | 8430 EOF |
8044 if { (eval echo configure:8045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8431 if { (eval echo configure:8432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8045 rm -rf conftest* | 8432 rm -rf conftest* |
8046 echo "$ac_t""yes" 1>&6; | 8433 echo "$ac_t""yes" 1>&6; |
8047 cat >> confdefs.h <<\EOF | 8434 cat >> confdefs.h <<\EOF |
8048 #define HAVE_DLOPEN 1 | 8435 #define HAVE_DLOPEN 1 |
8049 EOF | 8436 EOF |
8052 echo "configure: failed program was:" >&5 | 8439 echo "configure: failed program was:" >&5 |
8053 cat conftest.$ac_ext >&5 | 8440 cat conftest.$ac_ext >&5 |
8054 rm -rf conftest* | 8441 rm -rf conftest* |
8055 echo "$ac_t""no" 1>&6; | 8442 echo "$ac_t""no" 1>&6; |
8056 echo $ac_n "checking for dlopen() in -ldl""... $ac_c" 1>&6 | 8443 echo $ac_n "checking for dlopen() in -ldl""... $ac_c" 1>&6 |
8057 echo "configure:8058: checking for dlopen() in -ldl" >&5 | 8444 echo "configure:8445: checking for dlopen() in -ldl" >&5 |
8058 olibs=$LIBS | 8445 olibs=$LIBS |
8059 LIBS="$LIBS -ldl" | 8446 LIBS="$LIBS -ldl" |
8060 cat > conftest.$ac_ext <<EOF | 8447 cat > conftest.$ac_ext <<EOF |
8061 #line 8062 "configure" | 8448 #line 8449 "configure" |
8062 #include "confdefs.h" | 8449 #include "confdefs.h" |
8063 | 8450 |
8064 int main() { | 8451 int main() { |
8065 | 8452 |
8066 extern void* dlopen(); | 8453 extern void* dlopen(); |
8067 dlopen(); | 8454 dlopen(); |
8068 | 8455 |
8069 ; return 0; } | 8456 ; return 0; } |
8070 EOF | 8457 EOF |
8071 if { (eval echo configure:8072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8458 if { (eval echo configure:8459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8072 rm -rf conftest* | 8459 rm -rf conftest* |
8073 echo "$ac_t""yes" 1>&6; | 8460 echo "$ac_t""yes" 1>&6; |
8074 cat >> confdefs.h <<\EOF | 8461 cat >> confdefs.h <<\EOF |
8075 #define HAVE_DLOPEN 1 | 8462 #define HAVE_DLOPEN 1 |
8076 EOF | 8463 EOF |
8084 fi | 8471 fi |
8085 rm -f conftest* | 8472 rm -f conftest* |
8086 fi | 8473 fi |
8087 rm -f conftest* | 8474 rm -f conftest* |
8088 echo $ac_n "checking for dlsym()""... $ac_c" 1>&6 | 8475 echo $ac_n "checking for dlsym()""... $ac_c" 1>&6 |
8089 echo "configure:8090: checking for dlsym()" >&5 | 8476 echo "configure:8477: checking for dlsym()" >&5 |
8090 cat > conftest.$ac_ext <<EOF | 8477 cat > conftest.$ac_ext <<EOF |
8091 #line 8092 "configure" | 8478 #line 8479 "configure" |
8092 #include "confdefs.h" | 8479 #include "confdefs.h" |
8093 | 8480 |
8094 int main() { | 8481 int main() { |
8095 | 8482 |
8096 extern void* dlsym(); | 8483 extern void* dlsym(); |
8097 dlsym(); | 8484 dlsym(); |
8098 | 8485 |
8099 ; return 0; } | 8486 ; return 0; } |
8100 EOF | 8487 EOF |
8101 if { (eval echo configure:8102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8488 if { (eval echo configure:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8102 rm -rf conftest* | 8489 rm -rf conftest* |
8103 echo "$ac_t""yes" 1>&6; | 8490 echo "$ac_t""yes" 1>&6; |
8104 cat >> confdefs.h <<\EOF | 8491 cat >> confdefs.h <<\EOF |
8105 #define HAVE_DLSYM 1 | 8492 #define HAVE_DLSYM 1 |
8106 EOF | 8493 EOF |
8109 echo "configure: failed program was:" >&5 | 8496 echo "configure: failed program was:" >&5 |
8110 cat conftest.$ac_ext >&5 | 8497 cat conftest.$ac_ext >&5 |
8111 rm -rf conftest* | 8498 rm -rf conftest* |
8112 echo "$ac_t""no" 1>&6; | 8499 echo "$ac_t""no" 1>&6; |
8113 echo $ac_n "checking for dlsym() in -ldl""... $ac_c" 1>&6 | 8500 echo $ac_n "checking for dlsym() in -ldl""... $ac_c" 1>&6 |
8114 echo "configure:8115: checking for dlsym() in -ldl" >&5 | 8501 echo "configure:8502: checking for dlsym() in -ldl" >&5 |
8115 olibs=$LIBS | 8502 olibs=$LIBS |
8116 LIBS="$LIBS -ldl" | 8503 LIBS="$LIBS -ldl" |
8117 cat > conftest.$ac_ext <<EOF | 8504 cat > conftest.$ac_ext <<EOF |
8118 #line 8119 "configure" | 8505 #line 8506 "configure" |
8119 #include "confdefs.h" | 8506 #include "confdefs.h" |
8120 | 8507 |
8121 int main() { | 8508 int main() { |
8122 | 8509 |
8123 extern void* dlsym(); | 8510 extern void* dlsym(); |
8124 dlsym(); | 8511 dlsym(); |
8125 | 8512 |
8126 ; return 0; } | 8513 ; return 0; } |
8127 EOF | 8514 EOF |
8128 if { (eval echo configure:8129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8515 if { (eval echo configure:8516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8129 rm -rf conftest* | 8516 rm -rf conftest* |
8130 echo "$ac_t""yes" 1>&6; | 8517 echo "$ac_t""yes" 1>&6; |
8131 cat >> confdefs.h <<\EOF | 8518 cat >> confdefs.h <<\EOF |
8132 #define HAVE_DLSYM 1 | 8519 #define HAVE_DLSYM 1 |
8133 EOF | 8520 EOF |
8146 cat >> confdefs.h <<\EOF | 8533 cat >> confdefs.h <<\EOF |
8147 #define HAVE_DL_H 1 | 8534 #define HAVE_DL_H 1 |
8148 EOF | 8535 EOF |
8149 | 8536 |
8150 echo $ac_n "checking for shl_load()""... $ac_c" 1>&6 | 8537 echo $ac_n "checking for shl_load()""... $ac_c" 1>&6 |
8151 echo "configure:8152: checking for shl_load()" >&5 | 8538 echo "configure:8539: checking for shl_load()" >&5 |
8152 cat > conftest.$ac_ext <<EOF | 8539 cat > conftest.$ac_ext <<EOF |
8153 #line 8154 "configure" | 8540 #line 8541 "configure" |
8154 #include "confdefs.h" | 8541 #include "confdefs.h" |
8155 | 8542 |
8156 int main() { | 8543 int main() { |
8157 | 8544 |
8158 extern void* shl_load(); | 8545 extern void* shl_load(); |
8159 shl_load(); | 8546 shl_load(); |
8160 | 8547 |
8161 ; return 0; } | 8548 ; return 0; } |
8162 EOF | 8549 EOF |
8163 if { (eval echo configure:8164: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8550 if { (eval echo configure:8551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8164 rm -rf conftest* | 8551 rm -rf conftest* |
8165 echo "$ac_t""yes" 1>&6; | 8552 echo "$ac_t""yes" 1>&6; |
8166 cat >> confdefs.h <<\EOF | 8553 cat >> confdefs.h <<\EOF |
8167 #define HAVE_SHL_LOAD 1 | 8554 #define HAVE_SHL_LOAD 1 |
8168 EOF | 8555 EOF |
8171 echo "configure: failed program was:" >&5 | 8558 echo "configure: failed program was:" >&5 |
8172 cat conftest.$ac_ext >&5 | 8559 cat conftest.$ac_ext >&5 |
8173 rm -rf conftest* | 8560 rm -rf conftest* |
8174 echo "$ac_t""no" 1>&6; | 8561 echo "$ac_t""no" 1>&6; |
8175 echo $ac_n "checking for shl_load() in -ldld""... $ac_c" 1>&6 | 8562 echo $ac_n "checking for shl_load() in -ldld""... $ac_c" 1>&6 |
8176 echo "configure:8177: checking for shl_load() in -ldld" >&5 | 8563 echo "configure:8564: checking for shl_load() in -ldld" >&5 |
8177 olibs=$LIBS | 8564 olibs=$LIBS |
8178 LIBS="$LIBS -ldld" | 8565 LIBS="$LIBS -ldld" |
8179 cat > conftest.$ac_ext <<EOF | 8566 cat > conftest.$ac_ext <<EOF |
8180 #line 8181 "configure" | 8567 #line 8568 "configure" |
8181 #include "confdefs.h" | 8568 #include "confdefs.h" |
8182 | 8569 |
8183 int main() { | 8570 int main() { |
8184 | 8571 |
8185 extern void* shl_load(); | 8572 extern void* shl_load(); |
8186 shl_load(); | 8573 shl_load(); |
8187 | 8574 |
8188 ; return 0; } | 8575 ; return 0; } |
8189 EOF | 8576 EOF |
8190 if { (eval echo configure:8191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 8577 if { (eval echo configure:8578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
8191 rm -rf conftest* | 8578 rm -rf conftest* |
8192 echo "$ac_t""yes" 1>&6; | 8579 echo "$ac_t""yes" 1>&6; |
8193 cat >> confdefs.h <<\EOF | 8580 cat >> confdefs.h <<\EOF |
8194 #define HAVE_SHL_LOAD 1 | 8581 #define HAVE_SHL_LOAD 1 |
8195 EOF | 8582 EOF |
8207 fi | 8594 fi |
8208 for ac_hdr in setjmp.h | 8595 for ac_hdr in setjmp.h |
8209 do | 8596 do |
8210 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` | 8597 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
8211 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 | 8598 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
8212 echo "configure:8213: checking for $ac_hdr" >&5 | 8599 echo "configure:8600: checking for $ac_hdr" >&5 |
8213 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then | 8600 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
8214 echo $ac_n "(cached) $ac_c" 1>&6 | 8601 echo $ac_n "(cached) $ac_c" 1>&6 |
8215 else | 8602 else |
8216 cat > conftest.$ac_ext <<EOF | 8603 cat > conftest.$ac_ext <<EOF |
8217 #line 8218 "configure" | 8604 #line 8605 "configure" |
8218 #include "confdefs.h" | 8605 #include "confdefs.h" |
8219 #include <$ac_hdr> | 8606 #include <$ac_hdr> |
8220 EOF | 8607 EOF |
8221 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 8608 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
8222 { (eval echo configure:8223: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 8609 { (eval echo configure:8610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
8223 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 8610 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
8224 if test -z "$ac_err"; then | 8611 if test -z "$ac_err"; then |
8225 rm -rf conftest* | 8612 rm -rf conftest* |
8226 eval "ac_cv_header_$ac_safe=yes" | 8613 eval "ac_cv_header_$ac_safe=yes" |
8227 else | 8614 else |
8254 fi | 8641 fi |
8255 | 8642 |
8256 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \ | 8643 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \ |
8257 && test "x$GUITYPE" != "xCARBONGUI"; then | 8644 && test "x$GUITYPE" != "xCARBONGUI"; then |
8258 echo $ac_n "checking whether we need -framework Carbon""... $ac_c" 1>&6 | 8645 echo $ac_n "checking whether we need -framework Carbon""... $ac_c" 1>&6 |
8259 echo "configure:8260: checking whether we need -framework Carbon" >&5 | 8646 echo "configure:8647: checking whether we need -framework Carbon" >&5 |
8260 if test "x$enable_multibyte" = "xyes" || test "x$features" == "xbig" \ | 8647 if test "x$enable_multibyte" = "xyes" || test "x$features" == "xbig" \ |
8261 || test "x$features" = "xhuge"; then | 8648 || test "x$features" = "xhuge"; then |
8262 LIBS="$LIBS -framework Carbon" | 8649 LIBS="$LIBS -framework Carbon" |
8263 echo "$ac_t""yes" 1>&6 | 8650 echo "$ac_t""yes" 1>&6 |
8264 else | 8651 else |
8452 s%@X_CFLAGS@%$X_CFLAGS%g | 8839 s%@X_CFLAGS@%$X_CFLAGS%g |
8453 s%@X_PRE_LIBS@%$X_PRE_LIBS%g | 8840 s%@X_PRE_LIBS@%$X_PRE_LIBS%g |
8454 s%@X_LIBS@%$X_LIBS%g | 8841 s%@X_LIBS@%$X_LIBS%g |
8455 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g | 8842 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g |
8456 s%@X_LIB@%$X_LIB%g | 8843 s%@X_LIB@%$X_LIB%g |
8844 s%@MOC@%$MOC%g | |
8845 s%@KDE_CONFIG@%$KDE_CONFIG%g | |
8846 s%@KDE_LIBS@%$KDE_LIBS%g | |
8847 s%@KDE_INCLUDES@%$KDE_INCLUDES%g | |
8848 s%@KDE_PREFIX@%$KDE_PREFIX%g | |
8849 s%@QT_LIBS@%$QT_LIBS%g | |
8850 s%@QT_INCLUDES@%$QT_INCLUDES%g | |
8851 s%@ROOTQT@%$ROOTQT%g | |
8457 s%@GTK_CONFIG@%$GTK_CONFIG%g | 8852 s%@GTK_CONFIG@%$GTK_CONFIG%g |
8458 s%@GTK12_CONFIG@%$GTK12_CONFIG%g | 8853 s%@GTK12_CONFIG@%$GTK12_CONFIG%g |
8459 s%@PKG_CONFIG@%$PKG_CONFIG%g | 8854 s%@PKG_CONFIG@%$PKG_CONFIG%g |
8460 s%@GTK_CFLAGS@%$GTK_CFLAGS%g | 8855 s%@GTK_CFLAGS@%$GTK_CFLAGS%g |
8461 s%@GTK_LIBS@%$GTK_LIBS%g | 8856 s%@GTK_LIBS@%$GTK_LIBS%g |