Mercurial > hg > xemacs-beta
comparison configure @ 2491:876c400e58d7
[xemacs-hg @ 2005-01-21 09:30:46 by aidan]
NetBSD can use Linux's sound API, but it needs an extra library at
link time to do so.
author | aidan |
---|---|
date | Fri, 21 Jan 2005 09:30:49 +0000 |
parents | 97dd9f867cef |
children | 3d8143fc88e1 |
comparison
equal
deleted
inserted
replaced
2490:1e634d6d5ac9 | 2491:876c400e58d7 |
---|---|
14653 fi | 14653 fi |
14654 | 14654 |
14655 done | 14655 done |
14656 fi | 14656 fi |
14657 | 14657 |
14658 test "$sound_found" = "yes" && with_native_sound=yes | 14658 if test "$sound_found" = "yes"; then |
14659 with_native_sound=yes | |
14660 | |
14661 if test "$opsys" = "netbsd" ; then | |
14662 | |
14663 echo $ac_n "checking for _oss_ioctl in -lossaudio""... $ac_c" 1>&6 | |
14664 echo "configure:14665: checking for _oss_ioctl in -lossaudio" >&5 | |
14665 ac_lib_var=`echo ossaudio'_'_oss_ioctl | sed 'y%./+-%__p_%'` | |
14666 | |
14667 xe_check_libs=" -lossaudio " | |
14668 cat > conftest.$ac_ext <<EOF | |
14669 #line 14670 "configure" | |
14670 #include "confdefs.h" | |
14671 /* Override any gcc2 internal prototype to avoid an error. */ | |
14672 /* We use char because int might match the return type of a gcc2 | |
14673 builtin and then its argument prototype would still apply. */ | |
14674 char _oss_ioctl(); | |
14675 | |
14676 int main() { | |
14677 _oss_ioctl() | |
14678 ; return 0; } | |
14679 EOF | |
14680 if { (eval echo configure:14681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | |
14681 rm -rf conftest* | |
14682 eval "ac_cv_lib_$ac_lib_var=yes" | |
14683 else | |
14684 echo "configure: failed program was:" >&5 | |
14685 cat conftest.$ac_ext >&5 | |
14686 rm -rf conftest* | |
14687 eval "ac_cv_lib_$ac_lib_var=no" | |
14688 fi | |
14689 rm -f conftest* | |
14690 xe_check_libs="" | |
14691 | |
14692 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes" ; then | |
14693 echo "$ac_t""yes" 1>&6 | |
14694 native_sound_lib="-lossaudio" | |
14695 else | |
14696 echo "$ac_t""no" 1>&6 | |
14697 fi | |
14698 | |
14699 | |
14700 fi | |
14701 fi | |
14659 fi | 14702 fi |
14660 | 14703 |
14661 if test "$with_native_sound" = "yes"; then | 14704 if test "$with_native_sound" = "yes"; then |
14662 { test "$extra_verbose" = "yes" && cat << \EOF | 14705 { test "$extra_verbose" = "yes" && cat << \EOF |
14663 Defining HAVE_NATIVE_SOUND | 14706 Defining HAVE_NATIVE_SOUND |
14671 fi | 14714 fi |
14672 | 14715 |
14673 if test "$with_nas_sound" != "no"; then | 14716 if test "$with_nas_sound" != "no"; then |
14674 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` | 14717 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` |
14675 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 | 14718 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 |
14676 echo "configure:14677: checking for audio/audiolib.h" >&5 | 14719 echo "configure:14720: checking for audio/audiolib.h" >&5 |
14677 | 14720 |
14678 cat > conftest.$ac_ext <<EOF | 14721 cat > conftest.$ac_ext <<EOF |
14679 #line 14680 "configure" | 14722 #line 14723 "configure" |
14680 #include "confdefs.h" | 14723 #include "confdefs.h" |
14681 #include <audio/audiolib.h> | 14724 #include <audio/audiolib.h> |
14682 EOF | 14725 EOF |
14683 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 14726 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14684 { (eval echo configure:14685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 14727 { (eval echo configure:14728: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14685 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 14728 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14686 if test -z "$ac_err"; then | 14729 if test -z "$ac_err"; then |
14687 rm -rf conftest* | 14730 rm -rf conftest* |
14688 eval "ac_cv_header_$ac_safe=yes" | 14731 eval "ac_cv_header_$ac_safe=yes" |
14689 else | 14732 else |
14697 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 14740 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
14698 echo "$ac_t""yes" 1>&6 | 14741 echo "$ac_t""yes" 1>&6 |
14699 | 14742 |
14700 | 14743 |
14701 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 | 14744 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 |
14702 echo "configure:14703: checking for AuOpenServer in -laudio" >&5 | 14745 echo "configure:14746: checking for AuOpenServer in -laudio" >&5 |
14703 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` | 14746 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` |
14704 | 14747 |
14705 xe_check_libs=" -laudio " | 14748 xe_check_libs=" -laudio " |
14706 cat > conftest.$ac_ext <<EOF | 14749 cat > conftest.$ac_ext <<EOF |
14707 #line 14708 "configure" | 14750 #line 14751 "configure" |
14708 #include "confdefs.h" | 14751 #include "confdefs.h" |
14709 /* Override any gcc2 internal prototype to avoid an error. */ | 14752 /* Override any gcc2 internal prototype to avoid an error. */ |
14710 /* We use char because int might match the return type of a gcc2 | 14753 /* We use char because int might match the return type of a gcc2 |
14711 builtin and then its argument prototype would still apply. */ | 14754 builtin and then its argument prototype would still apply. */ |
14712 char AuOpenServer(); | 14755 char AuOpenServer(); |
14713 | 14756 |
14714 int main() { | 14757 int main() { |
14715 AuOpenServer() | 14758 AuOpenServer() |
14716 ; return 0; } | 14759 ; return 0; } |
14717 EOF | 14760 EOF |
14718 if { (eval echo configure:14719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14761 if { (eval echo configure:14762: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14719 rm -rf conftest* | 14762 rm -rf conftest* |
14720 eval "ac_cv_lib_$ac_lib_var=yes" | 14763 eval "ac_cv_lib_$ac_lib_var=yes" |
14721 else | 14764 else |
14722 echo "configure: failed program was:" >&5 | 14765 echo "configure: failed program was:" >&5 |
14723 cat conftest.$ac_ext >&5 | 14766 cat conftest.$ac_ext >&5 |
14752 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then | 14795 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then |
14753 echo " xemacs will be linked with \"nas.o\"" | 14796 echo " xemacs will be linked with \"nas.o\"" |
14754 fi | 14797 fi |
14755 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi | 14798 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi |
14756 cat > conftest.$ac_ext <<EOF | 14799 cat > conftest.$ac_ext <<EOF |
14757 #line 14758 "configure" | 14800 #line 14801 "configure" |
14758 #include "confdefs.h" | 14801 #include "confdefs.h" |
14759 #include <audio/Xtutil.h> | 14802 #include <audio/Xtutil.h> |
14760 EOF | 14803 EOF |
14761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 14804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
14762 egrep "AuXtErrorJump" >/dev/null 2>&1; then | 14805 egrep "AuXtErrorJump" >/dev/null 2>&1; then |
14783 | 14826 |
14784 if test "$with_esd_sound" != "no"; then | 14827 if test "$with_esd_sound" != "no"; then |
14785 # Extract the first word of "esd-config", so it can be a program name with args. | 14828 # Extract the first word of "esd-config", so it can be a program name with args. |
14786 set dummy esd-config; ac_word=$2 | 14829 set dummy esd-config; ac_word=$2 |
14787 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 | 14830 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
14788 echo "configure:14789: checking for $ac_word" >&5 | 14831 echo "configure:14832: checking for $ac_word" >&5 |
14789 | 14832 |
14790 if test -n "$have_esd_config"; then | 14833 if test -n "$have_esd_config"; then |
14791 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. | 14834 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. |
14792 else | 14835 else |
14793 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" | 14836 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
14812 if test "$have_esd_config" = "yes"; then | 14855 if test "$have_esd_config" = "yes"; then |
14813 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" | 14856 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" |
14814 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi | 14857 c_switch_site="$c_switch_site `esd-config --cflags`" && if test "$extra_verbose" = "yes"; then echo " Appending \"`esd-config --cflags`\" to \$c_switch_site"; fi |
14815 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi | 14858 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi |
14816 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 | 14859 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 |
14817 echo "configure:14818: checking for esd_play_stream" >&5 | 14860 echo "configure:14861: checking for esd_play_stream" >&5 |
14818 | 14861 |
14819 cat > conftest.$ac_ext <<EOF | 14862 cat > conftest.$ac_ext <<EOF |
14820 #line 14821 "configure" | 14863 #line 14864 "configure" |
14821 #include "confdefs.h" | 14864 #include "confdefs.h" |
14822 /* System header to define __stub macros and hopefully few prototypes, | 14865 /* System header to define __stub macros and hopefully few prototypes, |
14823 which can conflict with char esd_play_stream(); below. */ | 14866 which can conflict with char esd_play_stream(); below. */ |
14824 #include <assert.h> | 14867 #include <assert.h> |
14825 /* Override any gcc2 internal prototype to avoid an error. */ | 14868 /* Override any gcc2 internal prototype to avoid an error. */ |
14838 esd_play_stream(); | 14881 esd_play_stream(); |
14839 #endif | 14882 #endif |
14840 | 14883 |
14841 ; return 0; } | 14884 ; return 0; } |
14842 EOF | 14885 EOF |
14843 if { (eval echo configure:14844: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14886 if { (eval echo configure:14887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14844 rm -rf conftest* | 14887 rm -rf conftest* |
14845 eval "ac_cv_func_esd_play_stream=yes" | 14888 eval "ac_cv_func_esd_play_stream=yes" |
14846 else | 14889 else |
14847 echo "configure: failed program was:" >&5 | 14890 echo "configure: failed program was:" >&5 |
14848 cat conftest.$ac_ext >&5 | 14891 cat conftest.$ac_ext >&5 |
14889 | 14932 |
14890 test -z "$with_tty" && with_tty=yes | 14933 test -z "$with_tty" && with_tty=yes |
14891 | 14934 |
14892 if test "$with_tty" = "yes" ; then | 14935 if test "$with_tty" = "yes" ; then |
14893 echo "checking for TTY-related features" 1>&6 | 14936 echo "checking for TTY-related features" 1>&6 |
14894 echo "configure:14895: checking for TTY-related features" >&5 | 14937 echo "configure:14938: checking for TTY-related features" >&5 |
14895 { test "$extra_verbose" = "yes" && cat << \EOF | 14938 { test "$extra_verbose" = "yes" && cat << \EOF |
14896 Defining HAVE_TTY | 14939 Defining HAVE_TTY |
14897 EOF | 14940 EOF |
14898 cat >> confdefs.h <<\EOF | 14941 cat >> confdefs.h <<\EOF |
14899 #define HAVE_TTY 1 | 14942 #define HAVE_TTY 1 |
14902 | 14945 |
14903 | 14946 |
14904 if test -z "$with_ncurses"; then | 14947 if test -z "$with_ncurses"; then |
14905 | 14948 |
14906 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 | 14949 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 |
14907 echo "configure:14908: checking for tgetent in -lncurses" >&5 | 14950 echo "configure:14951: checking for tgetent in -lncurses" >&5 |
14908 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` | 14951 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` |
14909 | 14952 |
14910 xe_check_libs=" -lncurses " | 14953 xe_check_libs=" -lncurses " |
14911 cat > conftest.$ac_ext <<EOF | 14954 cat > conftest.$ac_ext <<EOF |
14912 #line 14913 "configure" | 14955 #line 14956 "configure" |
14913 #include "confdefs.h" | 14956 #include "confdefs.h" |
14914 /* Override any gcc2 internal prototype to avoid an error. */ | 14957 /* Override any gcc2 internal prototype to avoid an error. */ |
14915 /* We use char because int might match the return type of a gcc2 | 14958 /* We use char because int might match the return type of a gcc2 |
14916 builtin and then its argument prototype would still apply. */ | 14959 builtin and then its argument prototype would still apply. */ |
14917 char tgetent(); | 14960 char tgetent(); |
14918 | 14961 |
14919 int main() { | 14962 int main() { |
14920 tgetent() | 14963 tgetent() |
14921 ; return 0; } | 14964 ; return 0; } |
14922 EOF | 14965 EOF |
14923 if { (eval echo configure:14924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 14966 if { (eval echo configure:14967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
14924 rm -rf conftest* | 14967 rm -rf conftest* |
14925 eval "ac_cv_lib_$ac_lib_var=yes" | 14968 eval "ac_cv_lib_$ac_lib_var=yes" |
14926 else | 14969 else |
14927 echo "configure: failed program was:" >&5 | 14970 echo "configure: failed program was:" >&5 |
14928 cat conftest.$ac_ext >&5 | 14971 cat conftest.$ac_ext >&5 |
14951 EOF | 14994 EOF |
14952 } | 14995 } |
14953 | 14996 |
14954 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 14997 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
14955 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 14998 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
14956 echo "configure:14957: checking for ncurses/curses.h" >&5 | 14999 echo "configure:15000: checking for ncurses/curses.h" >&5 |
14957 | 15000 |
14958 cat > conftest.$ac_ext <<EOF | 15001 cat > conftest.$ac_ext <<EOF |
14959 #line 14960 "configure" | 15002 #line 15003 "configure" |
14960 #include "confdefs.h" | 15003 #include "confdefs.h" |
14961 #include <ncurses/curses.h> | 15004 #include <ncurses/curses.h> |
14962 EOF | 15005 EOF |
14963 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15006 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14964 { (eval echo configure:14965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15007 { (eval echo configure:15008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14965 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15008 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14966 if test -z "$ac_err"; then | 15009 if test -z "$ac_err"; then |
14967 rm -rf conftest* | 15010 rm -rf conftest* |
14968 eval "ac_cv_header_$ac_safe=yes" | 15011 eval "ac_cv_header_$ac_safe=yes" |
14969 else | 15012 else |
14981 echo "$ac_t""no" 1>&6 | 15024 echo "$ac_t""no" 1>&6 |
14982 fi | 15025 fi |
14983 | 15026 |
14984 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` | 15027 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` |
14985 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 | 15028 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 |
14986 echo "configure:14987: checking for ncurses/term.h" >&5 | 15029 echo "configure:15030: checking for ncurses/term.h" >&5 |
14987 | 15030 |
14988 cat > conftest.$ac_ext <<EOF | 15031 cat > conftest.$ac_ext <<EOF |
14989 #line 14990 "configure" | 15032 #line 15033 "configure" |
14990 #include "confdefs.h" | 15033 #include "confdefs.h" |
14991 #include <ncurses/term.h> | 15034 #include <ncurses/term.h> |
14992 EOF | 15035 EOF |
14993 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15036 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
14994 { (eval echo configure:14995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15037 { (eval echo configure:15038: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
14995 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15038 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
14996 if test -z "$ac_err"; then | 15039 if test -z "$ac_err"; then |
14997 rm -rf conftest* | 15040 rm -rf conftest* |
14998 eval "ac_cv_header_$ac_safe=yes" | 15041 eval "ac_cv_header_$ac_safe=yes" |
14999 else | 15042 else |
15019 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then | 15062 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then |
15020 save_c_switch_site="$c_switch_site" | 15063 save_c_switch_site="$c_switch_site" |
15021 c_switch_site="$c_switch_site -I/usr/include/ncurses" | 15064 c_switch_site="$c_switch_site -I/usr/include/ncurses" |
15022 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` | 15065 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` |
15023 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 | 15066 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 |
15024 echo "configure:15025: checking for ncurses/curses.h" >&5 | 15067 echo "configure:15068: checking for ncurses/curses.h" >&5 |
15025 | 15068 |
15026 cat > conftest.$ac_ext <<EOF | 15069 cat > conftest.$ac_ext <<EOF |
15027 #line 15028 "configure" | 15070 #line 15071 "configure" |
15028 #include "confdefs.h" | 15071 #include "confdefs.h" |
15029 #include <ncurses/curses.h> | 15072 #include <ncurses/curses.h> |
15030 EOF | 15073 EOF |
15031 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15074 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15032 { (eval echo configure:15033: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15075 { (eval echo configure:15076: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15033 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15076 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15034 if test -z "$ac_err"; then | 15077 if test -z "$ac_err"; then |
15035 rm -rf conftest* | 15078 rm -rf conftest* |
15036 eval "ac_cv_header_$ac_safe=yes" | 15079 eval "ac_cv_header_$ac_safe=yes" |
15037 else | 15080 else |
15062 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 15105 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
15063 else | 15106 else |
15064 for lib in curses termlib termcap; do | 15107 for lib in curses termlib termcap; do |
15065 | 15108 |
15066 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 | 15109 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 |
15067 echo "configure:15068: checking for tgetent in -l$lib" >&5 | 15110 echo "configure:15111: checking for tgetent in -l$lib" >&5 |
15068 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` | 15111 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` |
15069 | 15112 |
15070 xe_check_libs=" -l$lib " | 15113 xe_check_libs=" -l$lib " |
15071 cat > conftest.$ac_ext <<EOF | 15114 cat > conftest.$ac_ext <<EOF |
15072 #line 15073 "configure" | 15115 #line 15116 "configure" |
15073 #include "confdefs.h" | 15116 #include "confdefs.h" |
15074 /* Override any gcc2 internal prototype to avoid an error. */ | 15117 /* Override any gcc2 internal prototype to avoid an error. */ |
15075 /* We use char because int might match the return type of a gcc2 | 15118 /* We use char because int might match the return type of a gcc2 |
15076 builtin and then its argument prototype would still apply. */ | 15119 builtin and then its argument prototype would still apply. */ |
15077 char tgetent(); | 15120 char tgetent(); |
15078 | 15121 |
15079 int main() { | 15122 int main() { |
15080 tgetent() | 15123 tgetent() |
15081 ; return 0; } | 15124 ; return 0; } |
15082 EOF | 15125 EOF |
15083 if { (eval echo configure:15084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15126 if { (eval echo configure:15127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15084 rm -rf conftest* | 15127 rm -rf conftest* |
15085 eval "ac_cv_lib_$ac_lib_var=yes" | 15128 eval "ac_cv_lib_$ac_lib_var=yes" |
15086 else | 15129 else |
15087 echo "configure: failed program was:" >&5 | 15130 echo "configure: failed program was:" >&5 |
15088 cat conftest.$ac_ext >&5 | 15131 cat conftest.$ac_ext >&5 |
15109 if test -n "$libs_termcap"; then | 15152 if test -n "$libs_termcap"; then |
15110 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi | 15153 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi |
15111 else | 15154 else |
15112 | 15155 |
15113 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 | 15156 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 |
15114 echo "configure:15115: checking for tgetent in -lcurses" >&5 | 15157 echo "configure:15158: checking for tgetent in -lcurses" >&5 |
15115 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` | 15158 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` |
15116 | 15159 |
15117 xe_check_libs=" -lcurses " | 15160 xe_check_libs=" -lcurses " |
15118 cat > conftest.$ac_ext <<EOF | 15161 cat > conftest.$ac_ext <<EOF |
15119 #line 15120 "configure" | 15162 #line 15163 "configure" |
15120 #include "confdefs.h" | 15163 #include "confdefs.h" |
15121 /* Override any gcc2 internal prototype to avoid an error. */ | 15164 /* Override any gcc2 internal prototype to avoid an error. */ |
15122 /* We use char because int might match the return type of a gcc2 | 15165 /* We use char because int might match the return type of a gcc2 |
15123 builtin and then its argument prototype would still apply. */ | 15166 builtin and then its argument prototype would still apply. */ |
15124 char tgetent(); | 15167 char tgetent(); |
15125 | 15168 |
15126 int main() { | 15169 int main() { |
15127 tgetent() | 15170 tgetent() |
15128 ; return 0; } | 15171 ; return 0; } |
15129 EOF | 15172 EOF |
15130 if { (eval echo configure:15131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15173 if { (eval echo configure:15174: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15131 rm -rf conftest* | 15174 rm -rf conftest* |
15132 eval "ac_cv_lib_$ac_lib_var=yes" | 15175 eval "ac_cv_lib_$ac_lib_var=yes" |
15133 else | 15176 else |
15134 echo "configure: failed program was:" >&5 | 15177 echo "configure: failed program was:" >&5 |
15135 cat conftest.$ac_ext >&5 | 15178 cat conftest.$ac_ext >&5 |
15143 echo "$ac_t""yes" 1>&6 | 15186 echo "$ac_t""yes" 1>&6 |
15144 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi | 15187 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi |
15145 else | 15188 else |
15146 echo "$ac_t""no" 1>&6 | 15189 echo "$ac_t""no" 1>&6 |
15147 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 | 15190 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 |
15148 echo "configure:15149: checking for tgetent in -ltermcap" >&5 | 15191 echo "configure:15192: checking for tgetent in -ltermcap" >&5 |
15149 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` | 15192 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` |
15150 | 15193 |
15151 xe_check_libs=" -ltermcap " | 15194 xe_check_libs=" -ltermcap " |
15152 cat > conftest.$ac_ext <<EOF | 15195 cat > conftest.$ac_ext <<EOF |
15153 #line 15154 "configure" | 15196 #line 15197 "configure" |
15154 #include "confdefs.h" | 15197 #include "confdefs.h" |
15155 /* Override any gcc2 internal prototype to avoid an error. */ | 15198 /* Override any gcc2 internal prototype to avoid an error. */ |
15156 /* We use char because int might match the return type of a gcc2 | 15199 /* We use char because int might match the return type of a gcc2 |
15157 builtin and then its argument prototype would still apply. */ | 15200 builtin and then its argument prototype would still apply. */ |
15158 char tgetent(); | 15201 char tgetent(); |
15159 | 15202 |
15160 int main() { | 15203 int main() { |
15161 tgetent() | 15204 tgetent() |
15162 ; return 0; } | 15205 ; return 0; } |
15163 EOF | 15206 EOF |
15164 if { (eval echo configure:15165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15207 if { (eval echo configure:15208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15165 rm -rf conftest* | 15208 rm -rf conftest* |
15166 eval "ac_cv_lib_$ac_lib_var=yes" | 15209 eval "ac_cv_lib_$ac_lib_var=yes" |
15167 else | 15210 else |
15168 echo "configure: failed program was:" >&5 | 15211 echo "configure: failed program was:" >&5 |
15169 cat conftest.$ac_ext >&5 | 15212 cat conftest.$ac_ext >&5 |
15208 | 15251 |
15209 | 15252 |
15210 if test "$with_gpm" != "no"; then | 15253 if test "$with_gpm" != "no"; then |
15211 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` | 15254 ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` |
15212 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 | 15255 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 |
15213 echo "configure:15214: checking for gpm.h" >&5 | 15256 echo "configure:15257: checking for gpm.h" >&5 |
15214 | 15257 |
15215 cat > conftest.$ac_ext <<EOF | 15258 cat > conftest.$ac_ext <<EOF |
15216 #line 15217 "configure" | 15259 #line 15260 "configure" |
15217 #include "confdefs.h" | 15260 #include "confdefs.h" |
15218 #include <gpm.h> | 15261 #include <gpm.h> |
15219 EOF | 15262 EOF |
15220 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15263 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15221 { (eval echo configure:15222: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15264 { (eval echo configure:15265: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15222 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15265 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15223 if test -z "$ac_err"; then | 15266 if test -z "$ac_err"; then |
15224 rm -rf conftest* | 15267 rm -rf conftest* |
15225 eval "ac_cv_header_$ac_safe=yes" | 15268 eval "ac_cv_header_$ac_safe=yes" |
15226 else | 15269 else |
15234 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 15277 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
15235 echo "$ac_t""yes" 1>&6 | 15278 echo "$ac_t""yes" 1>&6 |
15236 | 15279 |
15237 | 15280 |
15238 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 | 15281 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 |
15239 echo "configure:15240: checking for Gpm_Open in -lgpm" >&5 | 15282 echo "configure:15283: checking for Gpm_Open in -lgpm" >&5 |
15240 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` | 15283 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` |
15241 | 15284 |
15242 xe_check_libs=" -lgpm " | 15285 xe_check_libs=" -lgpm " |
15243 cat > conftest.$ac_ext <<EOF | 15286 cat > conftest.$ac_ext <<EOF |
15244 #line 15245 "configure" | 15287 #line 15288 "configure" |
15245 #include "confdefs.h" | 15288 #include "confdefs.h" |
15246 /* Override any gcc2 internal prototype to avoid an error. */ | 15289 /* Override any gcc2 internal prototype to avoid an error. */ |
15247 /* We use char because int might match the return type of a gcc2 | 15290 /* We use char because int might match the return type of a gcc2 |
15248 builtin and then its argument prototype would still apply. */ | 15291 builtin and then its argument prototype would still apply. */ |
15249 char Gpm_Open(); | 15292 char Gpm_Open(); |
15250 | 15293 |
15251 int main() { | 15294 int main() { |
15252 Gpm_Open() | 15295 Gpm_Open() |
15253 ; return 0; } | 15296 ; return 0; } |
15254 EOF | 15297 EOF |
15255 if { (eval echo configure:15256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15298 if { (eval echo configure:15299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15256 rm -rf conftest* | 15299 rm -rf conftest* |
15257 eval "ac_cv_lib_$ac_lib_var=yes" | 15300 eval "ac_cv_lib_$ac_lib_var=yes" |
15258 else | 15301 else |
15259 echo "configure: failed program was:" >&5 | 15302 echo "configure: failed program was:" >&5 |
15260 cat conftest.$ac_ext >&5 | 15303 cat conftest.$ac_ext >&5 |
15302 done | 15345 done |
15303 fi | 15346 fi |
15304 | 15347 |
15305 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ | 15348 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ |
15306 != "no no no" && echo "checking for database support" 1>&6 | 15349 != "no no no" && echo "checking for database support" 1>&6 |
15307 echo "configure:15308: checking for database support" >&5 | 15350 echo "configure:15351: checking for database support" >&5 |
15308 | 15351 |
15309 if test "$with_database_gdbm $with_database_dbm" != "no no"; then | 15352 if test "$with_database_gdbm $with_database_dbm" != "no no"; then |
15310 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` | 15353 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` |
15311 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 | 15354 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 |
15312 echo "configure:15313: checking for ndbm.h" >&5 | 15355 echo "configure:15356: checking for ndbm.h" >&5 |
15313 | 15356 |
15314 cat > conftest.$ac_ext <<EOF | 15357 cat > conftest.$ac_ext <<EOF |
15315 #line 15316 "configure" | 15358 #line 15359 "configure" |
15316 #include "confdefs.h" | 15359 #include "confdefs.h" |
15317 #include <ndbm.h> | 15360 #include <ndbm.h> |
15318 EOF | 15361 EOF |
15319 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15362 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15320 { (eval echo configure:15321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15363 { (eval echo configure:15364: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15321 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15364 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15322 if test -z "$ac_err"; then | 15365 if test -z "$ac_err"; then |
15323 rm -rf conftest* | 15366 rm -rf conftest* |
15324 eval "ac_cv_header_$ac_safe=yes" | 15367 eval "ac_cv_header_$ac_safe=yes" |
15325 else | 15368 else |
15345 fi | 15388 fi |
15346 | 15389 |
15347 if test "$with_database_gdbm" != "no"; then | 15390 if test "$with_database_gdbm" != "no"; then |
15348 | 15391 |
15349 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 | 15392 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 |
15350 echo "configure:15351: checking for dbm_open in -lgdbm" >&5 | 15393 echo "configure:15394: checking for dbm_open in -lgdbm" >&5 |
15351 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15394 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15352 | 15395 |
15353 xe_check_libs=" -lgdbm " | 15396 xe_check_libs=" -lgdbm " |
15354 cat > conftest.$ac_ext <<EOF | 15397 cat > conftest.$ac_ext <<EOF |
15355 #line 15356 "configure" | 15398 #line 15399 "configure" |
15356 #include "confdefs.h" | 15399 #include "confdefs.h" |
15357 /* Override any gcc2 internal prototype to avoid an error. */ | 15400 /* Override any gcc2 internal prototype to avoid an error. */ |
15358 /* We use char because int might match the return type of a gcc2 | 15401 /* We use char because int might match the return type of a gcc2 |
15359 builtin and then its argument prototype would still apply. */ | 15402 builtin and then its argument prototype would still apply. */ |
15360 char dbm_open(); | 15403 char dbm_open(); |
15361 | 15404 |
15362 int main() { | 15405 int main() { |
15363 dbm_open() | 15406 dbm_open() |
15364 ; return 0; } | 15407 ; return 0; } |
15365 EOF | 15408 EOF |
15366 if { (eval echo configure:15367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15409 if { (eval echo configure:15410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15367 rm -rf conftest* | 15410 rm -rf conftest* |
15368 eval "ac_cv_lib_$ac_lib_var=yes" | 15411 eval "ac_cv_lib_$ac_lib_var=yes" |
15369 else | 15412 else |
15370 echo "configure: failed program was:" >&5 | 15413 echo "configure: failed program was:" >&5 |
15371 cat conftest.$ac_ext >&5 | 15414 cat conftest.$ac_ext >&5 |
15389 | 15432 |
15390 fi | 15433 fi |
15391 | 15434 |
15392 if test "$with_database_dbm" != "no"; then | 15435 if test "$with_database_dbm" != "no"; then |
15393 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 | 15436 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 |
15394 echo "configure:15395: checking for dbm_open" >&5 | 15437 echo "configure:15438: checking for dbm_open" >&5 |
15395 | 15438 |
15396 cat > conftest.$ac_ext <<EOF | 15439 cat > conftest.$ac_ext <<EOF |
15397 #line 15398 "configure" | 15440 #line 15441 "configure" |
15398 #include "confdefs.h" | 15441 #include "confdefs.h" |
15399 /* System header to define __stub macros and hopefully few prototypes, | 15442 /* System header to define __stub macros and hopefully few prototypes, |
15400 which can conflict with char dbm_open(); below. */ | 15443 which can conflict with char dbm_open(); below. */ |
15401 #include <assert.h> | 15444 #include <assert.h> |
15402 /* Override any gcc2 internal prototype to avoid an error. */ | 15445 /* Override any gcc2 internal prototype to avoid an error. */ |
15415 dbm_open(); | 15458 dbm_open(); |
15416 #endif | 15459 #endif |
15417 | 15460 |
15418 ; return 0; } | 15461 ; return 0; } |
15419 EOF | 15462 EOF |
15420 if { (eval echo configure:15421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15463 if { (eval echo configure:15464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15421 rm -rf conftest* | 15464 rm -rf conftest* |
15422 eval "ac_cv_func_dbm_open=yes" | 15465 eval "ac_cv_func_dbm_open=yes" |
15423 else | 15466 else |
15424 echo "configure: failed program was:" >&5 | 15467 echo "configure: failed program was:" >&5 |
15425 cat conftest.$ac_ext >&5 | 15468 cat conftest.$ac_ext >&5 |
15434 else | 15477 else |
15435 echo "$ac_t""no" 1>&6 | 15478 echo "$ac_t""no" 1>&6 |
15436 | 15479 |
15437 | 15480 |
15438 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 | 15481 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 |
15439 echo "configure:15440: checking for dbm_open in -ldbm" >&5 | 15482 echo "configure:15483: checking for dbm_open in -ldbm" >&5 |
15440 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` | 15483 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` |
15441 | 15484 |
15442 xe_check_libs=" -ldbm " | 15485 xe_check_libs=" -ldbm " |
15443 cat > conftest.$ac_ext <<EOF | 15486 cat > conftest.$ac_ext <<EOF |
15444 #line 15445 "configure" | 15487 #line 15488 "configure" |
15445 #include "confdefs.h" | 15488 #include "confdefs.h" |
15446 /* Override any gcc2 internal prototype to avoid an error. */ | 15489 /* Override any gcc2 internal prototype to avoid an error. */ |
15447 /* We use char because int might match the return type of a gcc2 | 15490 /* We use char because int might match the return type of a gcc2 |
15448 builtin and then its argument prototype would still apply. */ | 15491 builtin and then its argument prototype would still apply. */ |
15449 char dbm_open(); | 15492 char dbm_open(); |
15450 | 15493 |
15451 int main() { | 15494 int main() { |
15452 dbm_open() | 15495 dbm_open() |
15453 ; return 0; } | 15496 ; return 0; } |
15454 EOF | 15497 EOF |
15455 if { (eval echo configure:15456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15498 if { (eval echo configure:15499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15456 rm -rf conftest* | 15499 rm -rf conftest* |
15457 eval "ac_cv_lib_$ac_lib_var=yes" | 15500 eval "ac_cv_lib_$ac_lib_var=yes" |
15458 else | 15501 else |
15459 echo "configure: failed program was:" >&5 | 15502 echo "configure: failed program was:" >&5 |
15460 cat conftest.$ac_ext >&5 | 15503 cat conftest.$ac_ext >&5 |
15491 } | 15534 } |
15492 | 15535 |
15493 | 15536 |
15494 if test "$with_database_berkdb" != "no"; then | 15537 if test "$with_database_berkdb" != "no"; then |
15495 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 | 15538 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 |
15496 echo "configure:15497: checking for Berkeley db.h" >&5 | 15539 echo "configure:15540: checking for Berkeley db.h" >&5 |
15497 for header in "db/db.h" "db.h"; do | 15540 for header in "db/db.h" "db.h"; do |
15498 cat > conftest.$ac_ext <<EOF | 15541 cat > conftest.$ac_ext <<EOF |
15499 #line 15500 "configure" | 15542 #line 15543 "configure" |
15500 #include "confdefs.h" | 15543 #include "confdefs.h" |
15501 | 15544 |
15502 #include <stdlib.h> | 15545 #include <stdlib.h> |
15503 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 15546 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
15504 #ifdef HAVE_INTTYPES_H | 15547 #ifdef HAVE_INTTYPES_H |
15516 | 15559 |
15517 int main() { | 15560 int main() { |
15518 | 15561 |
15519 ; return 0; } | 15562 ; return 0; } |
15520 EOF | 15563 EOF |
15521 if { (eval echo configure:15522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then | 15564 if { (eval echo configure:15565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
15522 rm -rf conftest* | 15565 rm -rf conftest* |
15523 db_h_file="$header"; break | 15566 db_h_file="$header"; break |
15524 else | 15567 else |
15525 echo "configure: failed program was:" >&5 | 15568 echo "configure: failed program was:" >&5 |
15526 cat conftest.$ac_ext >&5 | 15569 cat conftest.$ac_ext >&5 |
15532 else echo "$ac_t""$db_h_file" 1>&6 | 15575 else echo "$ac_t""$db_h_file" 1>&6 |
15533 fi | 15576 fi |
15534 | 15577 |
15535 if test "$with_database_berkdb" != "no"; then | 15578 if test "$with_database_berkdb" != "no"; then |
15536 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 | 15579 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 |
15537 echo "configure:15538: checking for Berkeley DB version" >&5 | 15580 echo "configure:15581: checking for Berkeley DB version" >&5 |
15538 cat > conftest.$ac_ext <<EOF | 15581 cat > conftest.$ac_ext <<EOF |
15539 #line 15540 "configure" | 15582 #line 15583 "configure" |
15540 #include "confdefs.h" | 15583 #include "confdefs.h" |
15541 #include <$db_h_file> | 15584 #include <$db_h_file> |
15542 #if DB_VERSION_MAJOR > 1 | 15585 #if DB_VERSION_MAJOR > 1 |
15543 yes | 15586 yes |
15544 #endif | 15587 #endif |
15546 EOF | 15589 EOF |
15547 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15590 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15548 egrep "yes" >/dev/null 2>&1; then | 15591 egrep "yes" >/dev/null 2>&1; then |
15549 rm -rf conftest* | 15592 rm -rf conftest* |
15550 cat > conftest.$ac_ext <<EOF | 15593 cat > conftest.$ac_ext <<EOF |
15551 #line 15552 "configure" | 15594 #line 15595 "configure" |
15552 #include "confdefs.h" | 15595 #include "confdefs.h" |
15553 #include <$db_h_file> | 15596 #include <$db_h_file> |
15554 #if DB_VERSION_MAJOR > 2 | 15597 #if DB_VERSION_MAJOR > 2 |
15555 yes | 15598 yes |
15556 #endif | 15599 #endif |
15558 EOF | 15601 EOF |
15559 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | | 15602 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
15560 egrep "yes" >/dev/null 2>&1; then | 15603 egrep "yes" >/dev/null 2>&1; then |
15561 rm -rf conftest* | 15604 rm -rf conftest* |
15562 cat > conftest.$ac_ext <<EOF | 15605 cat > conftest.$ac_ext <<EOF |
15563 #line 15564 "configure" | 15606 #line 15607 "configure" |
15564 #include "confdefs.h" | 15607 #include "confdefs.h" |
15565 #include <$db_h_file> | 15608 #include <$db_h_file> |
15566 #if DB_VERSION_MAJOR > 3 | 15609 #if DB_VERSION_MAJOR > 3 |
15567 yes | 15610 yes |
15568 #endif | 15611 #endif |
15592 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 | 15635 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 |
15593 fi | 15636 fi |
15594 rm -f conftest* | 15637 rm -f conftest* |
15595 | 15638 |
15596 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 | 15639 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 |
15597 echo "configure:15598: checking for $dbfunc" >&5 | 15640 echo "configure:15641: checking for $dbfunc" >&5 |
15598 | 15641 |
15599 cat > conftest.$ac_ext <<EOF | 15642 cat > conftest.$ac_ext <<EOF |
15600 #line 15601 "configure" | 15643 #line 15644 "configure" |
15601 #include "confdefs.h" | 15644 #include "confdefs.h" |
15602 /* System header to define __stub macros and hopefully few prototypes, | 15645 /* System header to define __stub macros and hopefully few prototypes, |
15603 which can conflict with char $dbfunc(); below. */ | 15646 which can conflict with char $dbfunc(); below. */ |
15604 #include <assert.h> | 15647 #include <assert.h> |
15605 /* Override any gcc2 internal prototype to avoid an error. */ | 15648 /* Override any gcc2 internal prototype to avoid an error. */ |
15618 $dbfunc(); | 15661 $dbfunc(); |
15619 #endif | 15662 #endif |
15620 | 15663 |
15621 ; return 0; } | 15664 ; return 0; } |
15622 EOF | 15665 EOF |
15623 if { (eval echo configure:15624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15666 if { (eval echo configure:15667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15624 rm -rf conftest* | 15667 rm -rf conftest* |
15625 eval "ac_cv_func_$dbfunc=yes" | 15668 eval "ac_cv_func_$dbfunc=yes" |
15626 else | 15669 else |
15627 echo "configure: failed program was:" >&5 | 15670 echo "configure: failed program was:" >&5 |
15628 cat conftest.$ac_ext >&5 | 15671 cat conftest.$ac_ext >&5 |
15637 else | 15680 else |
15638 echo "$ac_t""no" 1>&6 | 15681 echo "$ac_t""no" 1>&6 |
15639 | 15682 |
15640 | 15683 |
15641 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15684 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15642 echo "configure:15643: checking for $dbfunc in -ldb" >&5 | 15685 echo "configure:15686: checking for $dbfunc in -ldb" >&5 |
15643 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15686 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15644 | 15687 |
15645 xe_check_libs=" -ldb " | 15688 xe_check_libs=" -ldb " |
15646 cat > conftest.$ac_ext <<EOF | 15689 cat > conftest.$ac_ext <<EOF |
15647 #line 15648 "configure" | 15690 #line 15691 "configure" |
15648 #include "confdefs.h" | 15691 #include "confdefs.h" |
15649 /* Override any gcc2 internal prototype to avoid an error. */ | 15692 /* Override any gcc2 internal prototype to avoid an error. */ |
15650 /* We use char because int might match the return type of a gcc2 | 15693 /* We use char because int might match the return type of a gcc2 |
15651 builtin and then its argument prototype would still apply. */ | 15694 builtin and then its argument prototype would still apply. */ |
15652 char $dbfunc(); | 15695 char $dbfunc(); |
15653 | 15696 |
15654 int main() { | 15697 int main() { |
15655 $dbfunc() | 15698 $dbfunc() |
15656 ; return 0; } | 15699 ; return 0; } |
15657 EOF | 15700 EOF |
15658 if { (eval echo configure:15659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15701 if { (eval echo configure:15702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15659 rm -rf conftest* | 15702 rm -rf conftest* |
15660 eval "ac_cv_lib_$ac_lib_var=yes" | 15703 eval "ac_cv_lib_$ac_lib_var=yes" |
15661 else | 15704 else |
15662 echo "configure: failed program was:" >&5 | 15705 echo "configure: failed program was:" >&5 |
15663 cat conftest.$ac_ext >&5 | 15706 cat conftest.$ac_ext >&5 |
15687 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` | 15730 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` |
15688 rm -f $tempcname | 15731 rm -f $tempcname |
15689 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 | 15732 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 |
15690 | 15733 |
15691 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 | 15734 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 |
15692 echo "configure:15693: checking for $dbfunc in -ldb" >&5 | 15735 echo "configure:15736: checking for $dbfunc in -ldb" >&5 |
15693 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` | 15736 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` |
15694 | 15737 |
15695 xe_check_libs=" -ldb " | 15738 xe_check_libs=" -ldb " |
15696 cat > conftest.$ac_ext <<EOF | 15739 cat > conftest.$ac_ext <<EOF |
15697 #line 15698 "configure" | 15740 #line 15741 "configure" |
15698 #include "confdefs.h" | 15741 #include "confdefs.h" |
15699 /* Override any gcc2 internal prototype to avoid an error. */ | 15742 /* Override any gcc2 internal prototype to avoid an error. */ |
15700 /* We use char because int might match the return type of a gcc2 | 15743 /* We use char because int might match the return type of a gcc2 |
15701 builtin and then its argument prototype would still apply. */ | 15744 builtin and then its argument prototype would still apply. */ |
15702 char $dbfunc(); | 15745 char $dbfunc(); |
15703 | 15746 |
15704 int main() { | 15747 int main() { |
15705 $dbfunc() | 15748 $dbfunc() |
15706 ; return 0; } | 15749 ; return 0; } |
15707 EOF | 15750 EOF |
15708 if { (eval echo configure:15709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15751 if { (eval echo configure:15752: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15709 rm -rf conftest* | 15752 rm -rf conftest* |
15710 eval "ac_cv_lib_$ac_lib_var=yes" | 15753 eval "ac_cv_lib_$ac_lib_var=yes" |
15711 else | 15754 else |
15712 echo "configure: failed program was:" >&5 | 15755 echo "configure: failed program was:" >&5 |
15713 cat conftest.$ac_ext >&5 | 15756 cat conftest.$ac_ext >&5 |
15762 fi | 15805 fi |
15763 | 15806 |
15764 if test "$with_socks" = "yes"; then | 15807 if test "$with_socks" = "yes"; then |
15765 | 15808 |
15766 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 | 15809 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 |
15767 echo "configure:15768: checking for SOCKSinit in -lsocks" >&5 | 15810 echo "configure:15811: checking for SOCKSinit in -lsocks" >&5 |
15768 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` | 15811 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` |
15769 | 15812 |
15770 xe_check_libs=" -lsocks " | 15813 xe_check_libs=" -lsocks " |
15771 cat > conftest.$ac_ext <<EOF | 15814 cat > conftest.$ac_ext <<EOF |
15772 #line 15773 "configure" | 15815 #line 15816 "configure" |
15773 #include "confdefs.h" | 15816 #include "confdefs.h" |
15774 /* Override any gcc2 internal prototype to avoid an error. */ | 15817 /* Override any gcc2 internal prototype to avoid an error. */ |
15775 /* We use char because int might match the return type of a gcc2 | 15818 /* We use char because int might match the return type of a gcc2 |
15776 builtin and then its argument prototype would still apply. */ | 15819 builtin and then its argument prototype would still apply. */ |
15777 char SOCKSinit(); | 15820 char SOCKSinit(); |
15778 | 15821 |
15779 int main() { | 15822 int main() { |
15780 SOCKSinit() | 15823 SOCKSinit() |
15781 ; return 0; } | 15824 ; return 0; } |
15782 EOF | 15825 EOF |
15783 if { (eval echo configure:15784: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15826 if { (eval echo configure:15827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15784 rm -rf conftest* | 15827 rm -rf conftest* |
15785 eval "ac_cv_lib_$ac_lib_var=yes" | 15828 eval "ac_cv_lib_$ac_lib_var=yes" |
15786 else | 15829 else |
15787 echo "configure: failed program was:" >&5 | 15830 echo "configure: failed program was:" >&5 |
15788 cat conftest.$ac_ext >&5 | 15831 cat conftest.$ac_ext >&5 |
15834 fi | 15877 fi |
15835 | 15878 |
15836 if test "$use_number_lib" = "gmp"; then | 15879 if test "$use_number_lib" = "gmp"; then |
15837 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` | 15880 ac_safe=`echo "gmp.h" | sed 'y%./+-%__p_%'` |
15838 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 | 15881 echo $ac_n "checking for gmp.h""... $ac_c" 1>&6 |
15839 echo "configure:15840: checking for gmp.h" >&5 | 15882 echo "configure:15883: checking for gmp.h" >&5 |
15840 | 15883 |
15841 cat > conftest.$ac_ext <<EOF | 15884 cat > conftest.$ac_ext <<EOF |
15842 #line 15843 "configure" | 15885 #line 15886 "configure" |
15843 #include "confdefs.h" | 15886 #include "confdefs.h" |
15844 #include <gmp.h> | 15887 #include <gmp.h> |
15845 EOF | 15888 EOF |
15846 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15847 { (eval echo configure:15848: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15890 { (eval echo configure:15891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15848 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15849 if test -z "$ac_err"; then | 15892 if test -z "$ac_err"; then |
15850 rm -rf conftest* | 15893 rm -rf conftest* |
15851 eval "ac_cv_header_$ac_safe=yes" | 15894 eval "ac_cv_header_$ac_safe=yes" |
15852 else | 15895 else |
15860 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then | 15903 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
15861 echo "$ac_t""yes" 1>&6 | 15904 echo "$ac_t""yes" 1>&6 |
15862 | 15905 |
15863 | 15906 |
15864 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 | 15907 echo $ac_n "checking for __gmpz_init in -lgmp""... $ac_c" 1>&6 |
15865 echo "configure:15866: checking for __gmpz_init in -lgmp" >&5 | 15908 echo "configure:15909: checking for __gmpz_init in -lgmp" >&5 |
15866 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` | 15909 ac_lib_var=`echo gmp'_'__gmpz_init | sed 'y%./+-%__p_%'` |
15867 | 15910 |
15868 xe_check_libs=" -lgmp " | 15911 xe_check_libs=" -lgmp " |
15869 cat > conftest.$ac_ext <<EOF | 15912 cat > conftest.$ac_ext <<EOF |
15870 #line 15871 "configure" | 15913 #line 15914 "configure" |
15871 #include "confdefs.h" | 15914 #include "confdefs.h" |
15872 /* Override any gcc2 internal prototype to avoid an error. */ | 15915 /* Override any gcc2 internal prototype to avoid an error. */ |
15873 /* We use char because int might match the return type of a gcc2 | 15916 /* We use char because int might match the return type of a gcc2 |
15874 builtin and then its argument prototype would still apply. */ | 15917 builtin and then its argument prototype would still apply. */ |
15875 char __gmpz_init(); | 15918 char __gmpz_init(); |
15876 | 15919 |
15877 int main() { | 15920 int main() { |
15878 __gmpz_init() | 15921 __gmpz_init() |
15879 ; return 0; } | 15922 ; return 0; } |
15880 EOF | 15923 EOF |
15881 if { (eval echo configure:15882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 15924 if { (eval echo configure:15925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15882 rm -rf conftest* | 15925 rm -rf conftest* |
15883 eval "ac_cv_lib_$ac_lib_var=yes" | 15926 eval "ac_cv_lib_$ac_lib_var=yes" |
15884 else | 15927 else |
15885 echo "configure: failed program was:" >&5 | 15928 echo "configure: failed program was:" >&5 |
15886 cat conftest.$ac_ext >&5 | 15929 cat conftest.$ac_ext >&5 |
15925 fi | 15968 fi |
15926 elif test "$use_number_lib" = "mp"; then | 15969 elif test "$use_number_lib" = "mp"; then |
15927 for library in "" "-lcrypto"; do | 15970 for library in "" "-lcrypto"; do |
15928 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` | 15971 ac_safe=`echo "mp.h" | sed 'y%./+-%__p_%'` |
15929 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 | 15972 echo $ac_n "checking for mp.h""... $ac_c" 1>&6 |
15930 echo "configure:15931: checking for mp.h" >&5 | 15973 echo "configure:15974: checking for mp.h" >&5 |
15931 | 15974 |
15932 cat > conftest.$ac_ext <<EOF | 15975 cat > conftest.$ac_ext <<EOF |
15933 #line 15934 "configure" | 15976 #line 15977 "configure" |
15934 #include "confdefs.h" | 15977 #include "confdefs.h" |
15935 #include <mp.h> | 15978 #include <mp.h> |
15936 EOF | 15979 EOF |
15937 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" | 15980 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
15938 { (eval echo configure:15939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } | 15981 { (eval echo configure:15982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
15939 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` | 15982 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
15940 if test -z "$ac_err"; then | 15983 if test -z "$ac_err"; then |
15941 rm -rf conftest* | 15984 rm -rf conftest* |
15942 eval "ac_cv_header_$ac_safe=yes" | 15985 eval "ac_cv_header_$ac_safe=yes" |
15943 else | 15986 else |
15953 | 15996 |
15954 | 15997 |
15955 xe_msg_checking="for mp_mfree in -lmp" | 15998 xe_msg_checking="for mp_mfree in -lmp" |
15956 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 15999 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15957 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 16000 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15958 echo "configure:15959: checking "$xe_msg_checking"" >&5 | 16001 echo "configure:16002: checking "$xe_msg_checking"" >&5 |
15959 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` | 16002 ac_lib_var=`echo mp'_'mp_mfree | sed 'y%./+-%__p_%'` |
15960 | 16003 |
15961 xe_check_libs=" -lmp $library" | 16004 xe_check_libs=" -lmp $library" |
15962 cat > conftest.$ac_ext <<EOF | 16005 cat > conftest.$ac_ext <<EOF |
15963 #line 15964 "configure" | 16006 #line 16007 "configure" |
15964 #include "confdefs.h" | 16007 #include "confdefs.h" |
15965 /* Override any gcc2 internal prototype to avoid an error. */ | 16008 /* Override any gcc2 internal prototype to avoid an error. */ |
15966 /* We use char because int might match the return type of a gcc2 | 16009 /* We use char because int might match the return type of a gcc2 |
15967 builtin and then its argument prototype would still apply. */ | 16010 builtin and then its argument prototype would still apply. */ |
15968 char mp_mfree(); | 16011 char mp_mfree(); |
15969 | 16012 |
15970 int main() { | 16013 int main() { |
15971 mp_mfree() | 16014 mp_mfree() |
15972 ; return 0; } | 16015 ; return 0; } |
15973 EOF | 16016 EOF |
15974 if { (eval echo configure:15975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 16017 if { (eval echo configure:16018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
15975 rm -rf conftest* | 16018 rm -rf conftest* |
15976 eval "ac_cv_lib_$ac_lib_var=yes" | 16019 eval "ac_cv_lib_$ac_lib_var=yes" |
15977 else | 16020 else |
15978 echo "configure: failed program was:" >&5 | 16021 echo "configure: failed program was:" >&5 |
15979 cat conftest.$ac_ext >&5 | 16022 cat conftest.$ac_ext >&5 |
15990 echo "$ac_t""no" 1>&6 | 16033 echo "$ac_t""no" 1>&6 |
15991 | 16034 |
15992 xe_msg_checking="for mfree in -lmp" | 16035 xe_msg_checking="for mfree in -lmp" |
15993 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" | 16036 test -n "$library" && xe_msg_checking="$xe_msg_checking using extra libs $library" |
15994 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 | 16037 echo $ac_n "checking "$xe_msg_checking"""... $ac_c" 1>&6 |
15995 echo "configure:15996: checking "$xe_msg_checking"" >&5 | 16038 echo "configure:16039: checking "$xe_msg_checking"" >&5 |
15996 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` | 16039 ac_lib_var=`echo mp'_'mfree | sed 'y%./+-%__p_%'` |
15997 | 16040 |
15998 xe_check_libs=" -lmp $library" | 16041 xe_check_libs=" -lmp $library" |
15999 cat > conftest.$ac_ext <<EOF | 16042 cat > conftest.$ac_ext <<EOF |
16000 #line 16001 "configure" | 16043 #line 16044 "configure" |
16001 #include "confdefs.h" | 16044 #include "confdefs.h" |
16002 /* Override any gcc2 internal prototype to avoid an error. */ | 16045 /* Override any gcc2 internal prototype to avoid an error. */ |
16003 /* We use char because int might match the return type of a gcc2 | 16046 /* We use char because int might match the return type of a gcc2 |
16004 builtin and then its argument prototype would still apply. */ | 16047 builtin and then its argument prototype would still apply. */ |
16005 char mfree(); | 16048 char mfree(); |
16006 | 16049 |
16007 int main() { | 16050 int main() { |
16008 mfree() | 16051 mfree() |
16009 ; return 0; } | 16052 ; return 0; } |
16010 EOF | 16053 EOF |
16011 if { (eval echo configure:16012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 16054 if { (eval echo configure:16055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
16012 rm -rf conftest* | 16055 rm -rf conftest* |
16013 eval "ac_cv_lib_$ac_lib_var=yes" | 16056 eval "ac_cv_lib_$ac_lib_var=yes" |
16014 else | 16057 else |
16015 echo "configure: failed program was:" >&5 | 16058 echo "configure: failed program was:" >&5 |
16016 cat conftest.$ac_ext >&5 | 16059 cat conftest.$ac_ext >&5 |
16048 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 16091 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
16049 if test "$library" != ""; then | 16092 if test "$library" != ""; then |
16050 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | 16093 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi |
16051 fi | 16094 fi |
16052 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 | 16095 echo $ac_n "checking for mp_move""... $ac_c" 1>&6 |
16053 echo "configure:16054: checking for mp_move" >&5 | 16096 echo "configure:16097: checking for mp_move" >&5 |
16054 | 16097 |
16055 cat > conftest.$ac_ext <<EOF | 16098 cat > conftest.$ac_ext <<EOF |
16056 #line 16057 "configure" | 16099 #line 16100 "configure" |
16057 #include "confdefs.h" | 16100 #include "confdefs.h" |
16058 /* System header to define __stub macros and hopefully few prototypes, | 16101 /* System header to define __stub macros and hopefully few prototypes, |
16059 which can conflict with char mp_move(); below. */ | 16102 which can conflict with char mp_move(); below. */ |
16060 #include <assert.h> | 16103 #include <assert.h> |
16061 /* Override any gcc2 internal prototype to avoid an error. */ | 16104 /* Override any gcc2 internal prototype to avoid an error. */ |
16074 mp_move(); | 16117 mp_move(); |
16075 #endif | 16118 #endif |
16076 | 16119 |
16077 ; return 0; } | 16120 ; return 0; } |
16078 EOF | 16121 EOF |
16079 if { (eval echo configure:16080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 16122 if { (eval echo configure:16123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
16080 rm -rf conftest* | 16123 rm -rf conftest* |
16081 eval "ac_cv_func_mp_move=yes" | 16124 eval "ac_cv_func_mp_move=yes" |
16082 else | 16125 else |
16083 echo "configure: failed program was:" >&5 | 16126 echo "configure: failed program was:" >&5 |
16084 cat conftest.$ac_ext >&5 | 16127 cat conftest.$ac_ext >&5 |
16105 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi | 16148 LIBS="$LIBS -lmp" && if test "$extra_verbose" = "yes"; then echo " Appending \"-lmp\" to \$LIBS"; fi |
16106 if test "$library" != ""; then | 16149 if test "$library" != ""; then |
16107 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi | 16150 LIBS="$LIBS $library" && if test "$extra_verbose" = "yes"; then echo " Appending \"$library\" to \$LIBS"; fi |
16108 fi | 16151 fi |
16109 echo $ac_n "checking for move""... $ac_c" 1>&6 | 16152 echo $ac_n "checking for move""... $ac_c" 1>&6 |
16110 echo "configure:16111: checking for move" >&5 | 16153 echo "configure:16154: checking for move" >&5 |
16111 | 16154 |
16112 cat > conftest.$ac_ext <<EOF | 16155 cat > conftest.$ac_ext <<EOF |
16113 #line 16114 "configure" | 16156 #line 16157 "configure" |
16114 #include "confdefs.h" | 16157 #include "confdefs.h" |
16115 /* System header to define __stub macros and hopefully few prototypes, | 16158 /* System header to define __stub macros and hopefully few prototypes, |
16116 which can conflict with char move(); below. */ | 16159 which can conflict with char move(); below. */ |
16117 #include <assert.h> | 16160 #include <assert.h> |
16118 /* Override any gcc2 internal prototype to avoid an error. */ | 16161 /* Override any gcc2 internal prototype to avoid an error. */ |
16131 move(); | 16174 move(); |
16132 #endif | 16175 #endif |
16133 | 16176 |
16134 ; return 0; } | 16177 ; return 0; } |
16135 EOF | 16178 EOF |
16136 if { (eval echo configure:16137: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then | 16179 if { (eval echo configure:16180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
16137 rm -rf conftest* | 16180 rm -rf conftest* |
16138 eval "ac_cv_func_move=yes" | 16181 eval "ac_cv_func_move=yes" |
16139 else | 16182 else |
16140 echo "configure: failed program was:" >&5 | 16183 echo "configure: failed program was:" >&5 |
16141 cat conftest.$ac_ext >&5 | 16184 cat conftest.$ac_ext >&5 |
16178 } | 16221 } |
16179 | 16222 |
16180 fi | 16223 fi |
16181 | 16224 |
16182 cat > conftest.$ac_ext <<EOF | 16225 cat > conftest.$ac_ext <<EOF |
16183 #line 16184 "configure" | 16226 #line 16227 "configure" |
16184 #include "confdefs.h" | 16227 #include "confdefs.h" |
16185 int main(int c,char *v[]){return 0;} | 16228 int main(int c,char *v[]){return 0;} |
16186 EOF | 16229 EOF |
16187 if { (eval echo configure:16188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 | 16230 if { (eval echo configure:16231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 |
16188 then | 16231 then |
16189 : | 16232 : |
16190 else | 16233 else |
16191 conftest_rc="$?" | 16234 conftest_rc="$?" |
16192 echo "configure: failed program was:" >&5 | 16235 echo "configure: failed program was:" >&5 |