comparison configure @ 1800:6c853dd06f0d

[xemacs-hg @ 2003-11-20 16:06:00 by james] And one more commit because our broken archive won't take toplevel stuff the first time.
author james
date Thu, 20 Nov 2003 16:06:05 +0000
parents b5db5c9230b1
children b37a2b08a901
comparison
equal deleted inserted replaced
1799:19c89a2e24b6 1800:6c853dd06f0d
12846 12846
12847 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then 12847 test "$ac_cv_c_inline" != "no" -a "$GCC" = "yes" && extra_objs="$extra_objs inline.o" && if test "$extra_verbose" = "yes"; then
12848 echo " xemacs will be linked with \"inline.o\"" 12848 echo " xemacs will be linked with \"inline.o\""
12849 fi 12849 fi
12850 12850
12851 echo $ac_n "checking for typeof""... $ac_c" 1>&6
12852 echo "configure:12853: checking for typeof" >&5
12853 cat > conftest.$ac_ext <<EOF
12854 #line 12855 "configure"
12855 #include "confdefs.h"
12856
12857 int main() {
12858 int i; __typeof__(i) j;
12859 ; return 0; }
12860 EOF
12861 if { (eval echo configure:12862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12862 rm -rf conftest*
12863 typeofname="__typeof__"
12864 else
12865 echo "configure: failed program was:" >&5
12866 cat conftest.$ac_ext >&5
12867 rm -rf conftest*
12868 cat > conftest.$ac_ext <<EOF
12869 #line 12870 "configure"
12870 #include "confdefs.h"
12871
12872 int main() {
12873 int i; typeof(i) j;
12874 ; return 0; }
12875 EOF
12876 if { (eval echo configure:12877: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12877 rm -rf conftest*
12878 typeofname="typeof"
12879 else
12880 echo "configure: failed program was:" >&5
12881 cat conftest.$ac_ext >&5
12882 rm -rf conftest*
12883 typeofname=no
12884 fi
12885 rm -f conftest*
12886 fi
12887 rm -f conftest*
12888 echo "$ac_t""$typeofname" 1>&6
12889 if test "$typeofname" != "no"; then
12890 { test "$extra_verbose" = "yes" && cat << EOF
12891 Defining TYPEOF = $typeofname
12892 EOF
12893 cat >> confdefs.h <<EOF
12894 #define TYPEOF $typeofname
12895 EOF
12896 }
12897
12898 fi
12899
12851 12900
12852 if test "$__DECC" != "yes"; then 12901 if test "$__DECC" != "yes"; then
12853 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works 12902 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
12854 # for constant arguments. Useless! 12903 # for constant arguments. Useless!
12855 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6 12904 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
12856 echo "configure:12857: checking for working alloca.h" >&5 12905 echo "configure:12906: checking for working alloca.h" >&5
12857 12906
12858 cat > conftest.$ac_ext <<EOF 12907 cat > conftest.$ac_ext <<EOF
12859 #line 12860 "configure" 12908 #line 12909 "configure"
12860 #include "confdefs.h" 12909 #include "confdefs.h"
12861 #include <alloca.h> 12910 #include <alloca.h>
12862 int main() { 12911 int main() {
12863 char *p = alloca(2 * sizeof(int)); 12912 char *p = alloca(2 * sizeof(int));
12864 ; return 0; } 12913 ; return 0; }
12865 EOF 12914 EOF
12866 if { (eval echo configure:12867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12915 if { (eval echo configure:12916: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12867 rm -rf conftest* 12916 rm -rf conftest*
12868 ac_cv_header_alloca_h=yes 12917 ac_cv_header_alloca_h=yes
12869 else 12918 else
12870 echo "configure: failed program was:" >&5 12919 echo "configure: failed program was:" >&5
12871 cat conftest.$ac_ext >&5 12920 cat conftest.$ac_ext >&5
12885 } 12934 }
12886 12935
12887 fi 12936 fi
12888 12937
12889 echo $ac_n "checking for alloca""... $ac_c" 1>&6 12938 echo $ac_n "checking for alloca""... $ac_c" 1>&6
12890 echo "configure:12891: checking for alloca" >&5 12939 echo "configure:12940: checking for alloca" >&5
12891 12940
12892 cat > conftest.$ac_ext <<EOF 12941 cat > conftest.$ac_ext <<EOF
12893 #line 12894 "configure" 12942 #line 12943 "configure"
12894 #include "confdefs.h" 12943 #include "confdefs.h"
12895 12944
12896 #ifdef __GNUC__ 12945 #ifdef __GNUC__
12897 # define alloca __builtin_alloca 12946 # define alloca __builtin_alloca
12898 #else 12947 #else
12916 12965
12917 int main() { 12966 int main() {
12918 char *p = (char *) alloca(1); 12967 char *p = (char *) alloca(1);
12919 ; return 0; } 12968 ; return 0; }
12920 EOF 12969 EOF
12921 if { (eval echo configure:12922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 12970 if { (eval echo configure:12971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
12922 rm -rf conftest* 12971 rm -rf conftest*
12923 ac_cv_func_alloca_works=yes 12972 ac_cv_func_alloca_works=yes
12924 else 12973 else
12925 echo "configure: failed program was:" >&5 12974 echo "configure: failed program was:" >&5
12926 cat conftest.$ac_ext >&5 12975 cat conftest.$ac_ext >&5
12955 EOF 13004 EOF
12956 } 13005 }
12957 13006
12958 13007
12959 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6 13008 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
12960 echo "configure:12961: checking whether alloca needs Cray hooks" >&5 13009 echo "configure:13010: checking whether alloca needs Cray hooks" >&5
12961 13010
12962 cat > conftest.$ac_ext <<EOF 13011 cat > conftest.$ac_ext <<EOF
12963 #line 12964 "configure" 13012 #line 13013 "configure"
12964 #include "confdefs.h" 13013 #include "confdefs.h"
12965 #if defined(CRAY) && ! defined(CRAY2) 13014 #if defined(CRAY) && ! defined(CRAY2)
12966 webecray 13015 webecray
12967 #else 13016 #else
12968 wenotbecray 13017 wenotbecray
12982 13031
12983 echo "$ac_t""$ac_cv_os_cray" 1>&6 13032 echo "$ac_t""$ac_cv_os_cray" 1>&6
12984 if test $ac_cv_os_cray = yes; then 13033 if test $ac_cv_os_cray = yes; then
12985 for ac_func in _getb67 GETB67 getb67; do 13034 for ac_func in _getb67 GETB67 getb67; do
12986 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12987 echo "configure:12988: checking for $ac_func" >&5 13036 echo "configure:13037: checking for $ac_func" >&5
12988 13037
12989 cat > conftest.$ac_ext <<EOF 13038 cat > conftest.$ac_ext <<EOF
12990 #line 12991 "configure" 13039 #line 13040 "configure"
12991 #include "confdefs.h" 13040 #include "confdefs.h"
12992 /* System header to define __stub macros and hopefully few prototypes, 13041 /* System header to define __stub macros and hopefully few prototypes,
12993 which can conflict with char $ac_func(); below. */ 13042 which can conflict with char $ac_func(); below. */
12994 #include <assert.h> 13043 #include <assert.h>
12995 /* Override any gcc2 internal prototype to avoid an error. */ 13044 /* Override any gcc2 internal prototype to avoid an error. */
13008 $ac_func(); 13057 $ac_func();
13009 #endif 13058 #endif
13010 13059
13011 ; return 0; } 13060 ; return 0; }
13012 EOF 13061 EOF
13013 if { (eval echo configure:13014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13062 if { (eval echo configure:13063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13014 rm -rf conftest* 13063 rm -rf conftest*
13015 eval "ac_cv_func_$ac_func=yes" 13064 eval "ac_cv_func_$ac_func=yes"
13016 else 13065 else
13017 echo "configure: failed program was:" >&5 13066 echo "configure: failed program was:" >&5
13018 cat conftest.$ac_ext >&5 13067 cat conftest.$ac_ext >&5
13038 13087
13039 done 13088 done
13040 fi 13089 fi
13041 13090
13042 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6 13091 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
13043 echo "configure:13044: checking stack direction for C alloca" >&5 13092 echo "configure:13093: checking stack direction for C alloca" >&5
13044 13093
13045 cat > conftest.$ac_ext <<EOF 13094 cat > conftest.$ac_ext <<EOF
13046 #line 13047 "configure" 13095 #line 13096 "configure"
13047 #include "confdefs.h" 13096 #include "confdefs.h"
13048 find_stack_direction () 13097 find_stack_direction ()
13049 { 13098 {
13050 static char *addr = 0; 13099 static char *addr = 0;
13051 auto char dummy; 13100 auto char dummy;
13060 main () 13109 main ()
13061 { 13110 {
13062 exit (find_stack_direction() < 0); 13111 exit (find_stack_direction() < 0);
13063 } 13112 }
13064 EOF 13113 EOF
13065 if { (eval echo configure:13066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13114 if { (eval echo configure:13115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13066 then 13115 then
13067 ac_cv_c_stack_direction=1 13116 ac_cv_c_stack_direction=1
13068 else 13117 else
13069 conftest_rc="$?" 13118 conftest_rc="$?"
13070 echo "configure: failed program was:" >&5 13119 echo "configure: failed program was:" >&5
13089 echo " xemacs will be linked with \"$ALLOCA\"" 13138 echo " xemacs will be linked with \"$ALLOCA\""
13090 fi 13139 fi
13091 fi 13140 fi
13092 13141
13093 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6 13142 echo $ac_n "checking for working alloca in function calls""... $ac_c" 1>&6
13094 echo "configure:13095: checking for working alloca in function calls" >&5 13143 echo "configure:13144: checking for working alloca in function calls" >&5
13095 cat > conftest.$ac_ext <<EOF 13144 cat > conftest.$ac_ext <<EOF
13096 #line 13097 "configure" 13145 #line 13146 "configure"
13097 #include "confdefs.h" 13146 #include "confdefs.h"
13098 13147
13099 #if defined (__CYGWIN__) 13148 #if defined (__CYGWIN__)
13100 #include <alloca.h> 13149 #include <alloca.h>
13101 #elif defined (__GNUC__) 13150 #elif defined (__GNUC__)
13144 return 1; 13193 return 1;
13145 return 0; 13194 return 0;
13146 } 13195 }
13147 13196
13148 EOF 13197 EOF
13149 if { (eval echo configure:13150: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13198 if { (eval echo configure:13199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13150 then 13199 then
13151 working_alloca_in_function_calls=yes 13200 working_alloca_in_function_calls=yes
13152 else 13201 else
13153 conftest_rc="$?" 13202 conftest_rc="$?"
13154 echo "configure: failed program was:" >&5 13203 echo "configure: failed program was:" >&5
13167 EOF 13216 EOF
13168 } 13217 }
13169 13218
13170 13219
13171 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6 13220 echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
13172 echo "configure:13173: checking for working strcoll" >&5 13221 echo "configure:13222: checking for working strcoll" >&5
13173 13222
13174 cat > conftest.$ac_ext <<EOF 13223 cat > conftest.$ac_ext <<EOF
13175 #line 13176 "configure" 13224 #line 13225 "configure"
13176 #include "confdefs.h" 13225 #include "confdefs.h"
13177 #include <string.h> 13226 #include <string.h>
13178 main () 13227 main ()
13179 { 13228 {
13180 exit (strcoll ("abc", "def") >= 0 || 13229 exit (strcoll ("abc", "def") >= 0 ||
13181 strcoll ("ABC", "DEF") >= 0 || 13230 strcoll ("ABC", "DEF") >= 0 ||
13182 strcoll ("123", "456") >= 0); 13231 strcoll ("123", "456") >= 0);
13183 } 13232 }
13184 EOF 13233 EOF
13185 if { (eval echo configure:13186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13234 if { (eval echo configure:13235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13186 then 13235 then
13187 ac_cv_func_strcoll_works=yes 13236 ac_cv_func_strcoll_works=yes
13188 else 13237 else
13189 conftest_rc="$?" 13238 conftest_rc="$?"
13190 echo "configure: failed program was:" >&5 13239 echo "configure: failed program was:" >&5
13208 13257
13209 13258
13210 for ac_func in getpgrp 13259 for ac_func in getpgrp
13211 do 13260 do
13212 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 13261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13213 echo "configure:13214: checking for $ac_func" >&5 13262 echo "configure:13263: checking for $ac_func" >&5
13214 13263
13215 cat > conftest.$ac_ext <<EOF 13264 cat > conftest.$ac_ext <<EOF
13216 #line 13217 "configure" 13265 #line 13266 "configure"
13217 #include "confdefs.h" 13266 #include "confdefs.h"
13218 /* System header to define __stub macros and hopefully few prototypes, 13267 /* System header to define __stub macros and hopefully few prototypes,
13219 which can conflict with char $ac_func(); below. */ 13268 which can conflict with char $ac_func(); below. */
13220 #include <assert.h> 13269 #include <assert.h>
13221 /* Override any gcc2 internal prototype to avoid an error. */ 13270 /* Override any gcc2 internal prototype to avoid an error. */
13234 $ac_func(); 13283 $ac_func();
13235 #endif 13284 #endif
13236 13285
13237 ; return 0; } 13286 ; return 0; }
13238 EOF 13287 EOF
13239 if { (eval echo configure:13240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13288 if { (eval echo configure:13289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13240 rm -rf conftest* 13289 rm -rf conftest*
13241 eval "ac_cv_func_$ac_func=yes" 13290 eval "ac_cv_func_$ac_func=yes"
13242 else 13291 else
13243 echo "configure: failed program was:" >&5 13292 echo "configure: failed program was:" >&5
13244 cat conftest.$ac_ext >&5 13293 cat conftest.$ac_ext >&5
13262 echo "$ac_t""no" 1>&6 13311 echo "$ac_t""no" 1>&6
13263 fi 13312 fi
13264 done 13313 done
13265 13314
13266 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6 13315 echo $ac_n "checking whether getpgrp takes no argument""... $ac_c" 1>&6
13267 echo "configure:13268: checking whether getpgrp takes no argument" >&5 13316 echo "configure:13317: checking whether getpgrp takes no argument" >&5
13268 13317
13269 cat > conftest.$ac_ext <<EOF 13318 cat > conftest.$ac_ext <<EOF
13270 #line 13271 "configure" 13319 #line 13320 "configure"
13271 #include "confdefs.h" 13320 #include "confdefs.h"
13272 13321
13273 /* 13322 /*
13274 * If this system has a BSD-style getpgrp(), 13323 * If this system has a BSD-style getpgrp(),
13275 * which takes a pid argument, exit unsuccessfully. 13324 * which takes a pid argument, exit unsuccessfully.
13320 exit(s>>8); 13369 exit(s>>8);
13321 } 13370 }
13322 } 13371 }
13323 13372
13324 EOF 13373 EOF
13325 if { (eval echo configure:13326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13374 if { (eval echo configure:13375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13326 then 13375 then
13327 ac_cv_func_getpgrp_void=yes 13376 ac_cv_func_getpgrp_void=yes
13328 else 13377 else
13329 conftest_rc="$?" 13378 conftest_rc="$?"
13330 echo "configure: failed program was:" >&5 13379 echo "configure: failed program was:" >&5
13347 13396
13348 fi 13397 fi
13349 13398
13350 13399
13351 echo $ac_n "checking for working mmap""... $ac_c" 1>&6 13400 echo $ac_n "checking for working mmap""... $ac_c" 1>&6
13352 echo "configure:13353: checking for working mmap" >&5 13401 echo "configure:13402: checking for working mmap" >&5
13353 case "$opsys" in ultrix* ) have_mmap=no ;; *) 13402 case "$opsys" in ultrix* ) have_mmap=no ;; *)
13354 cat > conftest.$ac_ext <<EOF 13403 cat > conftest.$ac_ext <<EOF
13355 #line 13356 "configure" 13404 #line 13405 "configure"
13356 #include "confdefs.h" 13405 #include "confdefs.h"
13357 #include <stdio.h> 13406 #include <stdio.h>
13358 #include <unistd.h> 13407 #include <unistd.h>
13359 #include <fcntl.h> 13408 #include <fcntl.h>
13360 #include <sys/mman.h> 13409 #include <sys/mman.h>
13383 return 0; 13432 return 0;
13384 perror ("conftest: mmap failed"); 13433 perror ("conftest: mmap failed");
13385 return 1; 13434 return 1;
13386 } 13435 }
13387 EOF 13436 EOF
13388 if { (eval echo configure:13389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 13437 if { (eval echo configure:13438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
13389 then 13438 then
13390 have_mmap=yes 13439 have_mmap=yes
13391 else 13440 else
13392 conftest_rc="$?" 13441 conftest_rc="$?"
13393 echo "configure: failed program was:" >&5 13442 echo "configure: failed program was:" >&5
13412 esac 13461 esac
13413 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no 13462 test "$GNU_MALLOC" != "yes" -a "$have_mmap" != "yes" && rel_alloc=no
13414 if test "$rel_alloc $have_mmap" = "default yes"; then 13463 if test "$rel_alloc $have_mmap" = "default yes"; then
13415 if test "$doug_lea_malloc" = "yes"; then 13464 if test "$doug_lea_malloc" = "yes"; then
13416 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6 13465 echo $ac_n "checking for M_MMAP_THRESHOLD""... $ac_c" 1>&6
13417 echo "configure:13418: checking for M_MMAP_THRESHOLD" >&5 13466 echo "configure:13467: checking for M_MMAP_THRESHOLD" >&5
13418 cat > conftest.$ac_ext <<EOF 13467 cat > conftest.$ac_ext <<EOF
13419 #line 13420 "configure" 13468 #line 13469 "configure"
13420 #include "confdefs.h" 13469 #include "confdefs.h"
13421 #include <malloc.h> 13470 #include <malloc.h>
13422 int main() { 13471 int main() {
13423 13472
13424 #ifndef M_MMAP_THRESHOLD 13473 #ifndef M_MMAP_THRESHOLD
13426 !@+$%^&*_)(_ - unlikely to compile... 13475 !@+$%^&*_)(_ - unlikely to compile...
13427 #endif 13476 #endif
13428 13477
13429 ; return 0; } 13478 ; return 0; }
13430 EOF 13479 EOF
13431 if { (eval echo configure:13432: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 13480 if { (eval echo configure:13481: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13432 rm -rf conftest* 13481 rm -rf conftest*
13433 rel_alloc=no; echo "$ac_t""yes" 1>&6; 13482 rel_alloc=no; echo "$ac_t""yes" 1>&6;
13434 else 13483 else
13435 echo "configure: failed program was:" >&5 13484 echo "configure: failed program was:" >&5
13436 cat conftest.$ac_ext >&5 13485 cat conftest.$ac_ext >&5
13451 } 13500 }
13452 13501
13453 13502
13454 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'` 13503 ac_safe=`echo "termios.h" | sed 'y%./+-%__p_%'`
13455 echo $ac_n "checking for termios.h""... $ac_c" 1>&6 13504 echo $ac_n "checking for termios.h""... $ac_c" 1>&6
13456 echo "configure:13457: checking for termios.h" >&5 13505 echo "configure:13506: checking for termios.h" >&5
13457 13506
13458 cat > conftest.$ac_ext <<EOF 13507 cat > conftest.$ac_ext <<EOF
13459 #line 13460 "configure" 13508 #line 13509 "configure"
13460 #include "confdefs.h" 13509 #include "confdefs.h"
13461 #include <termios.h> 13510 #include <termios.h>
13462 EOF 13511 EOF
13463 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13512 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13464 { (eval echo configure:13465: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13513 { (eval echo configure:13514: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13465 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13514 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13466 if test -z "$ac_err"; then 13515 if test -z "$ac_err"; then
13467 rm -rf conftest* 13516 rm -rf conftest*
13468 eval "ac_cv_header_$ac_safe=yes" 13517 eval "ac_cv_header_$ac_safe=yes"
13469 else 13518 else
13502 13551
13503 else 13552 else
13504 echo "$ac_t""no" 1>&6 13553 echo "$ac_t""no" 1>&6
13505 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'` 13554 ac_safe=`echo "termio.h" | sed 'y%./+-%__p_%'`
13506 echo $ac_n "checking for termio.h""... $ac_c" 1>&6 13555 echo $ac_n "checking for termio.h""... $ac_c" 1>&6
13507 echo "configure:13508: checking for termio.h" >&5 13556 echo "configure:13557: checking for termio.h" >&5
13508 13557
13509 cat > conftest.$ac_ext <<EOF 13558 cat > conftest.$ac_ext <<EOF
13510 #line 13511 "configure" 13559 #line 13560 "configure"
13511 #include "confdefs.h" 13560 #include "confdefs.h"
13512 #include <termio.h> 13561 #include <termio.h>
13513 EOF 13562 EOF
13514 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13563 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13515 { (eval echo configure:13516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13564 { (eval echo configure:13565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13516 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13565 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13517 if test -z "$ac_err"; then 13566 if test -z "$ac_err"; then
13518 rm -rf conftest* 13567 rm -rf conftest*
13519 eval "ac_cv_header_$ac_safe=yes" 13568 eval "ac_cv_header_$ac_safe=yes"
13520 else 13569 else
13542 fi 13591 fi
13543 13592
13544 13593
13545 13594
13546 echo $ac_n "checking for socket""... $ac_c" 1>&6 13595 echo $ac_n "checking for socket""... $ac_c" 1>&6
13547 echo "configure:13548: checking for socket" >&5 13596 echo "configure:13597: checking for socket" >&5
13548 13597
13549 cat > conftest.$ac_ext <<EOF 13598 cat > conftest.$ac_ext <<EOF
13550 #line 13551 "configure" 13599 #line 13600 "configure"
13551 #include "confdefs.h" 13600 #include "confdefs.h"
13552 /* System header to define __stub macros and hopefully few prototypes, 13601 /* System header to define __stub macros and hopefully few prototypes,
13553 which can conflict with char socket(); below. */ 13602 which can conflict with char socket(); below. */
13554 #include <assert.h> 13603 #include <assert.h>
13555 /* Override any gcc2 internal prototype to avoid an error. */ 13604 /* Override any gcc2 internal prototype to avoid an error. */
13568 socket(); 13617 socket();
13569 #endif 13618 #endif
13570 13619
13571 ; return 0; } 13620 ; return 0; }
13572 EOF 13621 EOF
13573 if { (eval echo configure:13574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13622 if { (eval echo configure:13623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13574 rm -rf conftest* 13623 rm -rf conftest*
13575 eval "ac_cv_func_socket=yes" 13624 eval "ac_cv_func_socket=yes"
13576 else 13625 else
13577 echo "configure: failed program was:" >&5 13626 echo "configure: failed program was:" >&5
13578 cat conftest.$ac_ext >&5 13627 cat conftest.$ac_ext >&5
13583 13632
13584 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then 13633 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13585 echo "$ac_t""yes" 1>&6 13634 echo "$ac_t""yes" 1>&6
13586 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'` 13635 ac_safe=`echo "netinet/in.h" | sed 'y%./+-%__p_%'`
13587 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6 13636 echo $ac_n "checking for netinet/in.h""... $ac_c" 1>&6
13588 echo "configure:13589: checking for netinet/in.h" >&5 13637 echo "configure:13638: checking for netinet/in.h" >&5
13589 13638
13590 cat > conftest.$ac_ext <<EOF 13639 cat > conftest.$ac_ext <<EOF
13591 #line 13592 "configure" 13640 #line 13641 "configure"
13592 #include "confdefs.h" 13641 #include "confdefs.h"
13593 #include <netinet/in.h> 13642 #include <netinet/in.h>
13594 EOF 13643 EOF
13595 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13644 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13596 { (eval echo configure:13597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13645 { (eval echo configure:13646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13597 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13646 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13598 if test -z "$ac_err"; then 13647 if test -z "$ac_err"; then
13599 rm -rf conftest* 13648 rm -rf conftest*
13600 eval "ac_cv_header_$ac_safe=yes" 13649 eval "ac_cv_header_$ac_safe=yes"
13601 else 13650 else
13608 rm -f conftest* 13657 rm -f conftest*
13609 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 13658 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13610 echo "$ac_t""yes" 1>&6 13659 echo "$ac_t""yes" 1>&6
13611 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'` 13660 ac_safe=`echo "arpa/inet.h" | sed 'y%./+-%__p_%'`
13612 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6 13661 echo $ac_n "checking for arpa/inet.h""... $ac_c" 1>&6
13613 echo "configure:13614: checking for arpa/inet.h" >&5 13662 echo "configure:13663: checking for arpa/inet.h" >&5
13614 13663
13615 cat > conftest.$ac_ext <<EOF 13664 cat > conftest.$ac_ext <<EOF
13616 #line 13617 "configure" 13665 #line 13666 "configure"
13617 #include "confdefs.h" 13666 #include "confdefs.h"
13618 #include <arpa/inet.h> 13667 #include <arpa/inet.h>
13619 EOF 13668 EOF
13620 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13669 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13621 { (eval echo configure:13622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13670 { (eval echo configure:13671: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13622 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13671 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13623 if test -z "$ac_err"; then 13672 if test -z "$ac_err"; then
13624 rm -rf conftest* 13673 rm -rf conftest*
13625 eval "ac_cv_header_$ac_safe=yes" 13674 eval "ac_cv_header_$ac_safe=yes"
13626 else 13675 else
13641 #define HAVE_SOCKETS 1 13690 #define HAVE_SOCKETS 1
13642 EOF 13691 EOF
13643 } 13692 }
13644 13693
13645 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6 13694 echo $ac_n "checking "for sun_len member in struct sockaddr_un"""... $ac_c" 1>&6
13646 echo "configure:13647: checking "for sun_len member in struct sockaddr_un"" >&5 13695 echo "configure:13696: checking "for sun_len member in struct sockaddr_un"" >&5
13647 cat > conftest.$ac_ext <<EOF 13696 cat > conftest.$ac_ext <<EOF
13648 #line 13649 "configure" 13697 #line 13698 "configure"
13649 #include "confdefs.h" 13698 #include "confdefs.h"
13650 13699
13651 #include <sys/types.h> 13700 #include <sys/types.h>
13652 #include <sys/socket.h> 13701 #include <sys/socket.h>
13653 #include <sys/un.h> 13702 #include <sys/un.h>
13654 13703
13655 int main() { 13704 int main() {
13656 static struct sockaddr_un x; x.sun_len = 1; 13705 static struct sockaddr_un x; x.sun_len = 1;
13657 ; return 0; } 13706 ; return 0; }
13658 EOF 13707 EOF
13659 if { (eval echo configure:13660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13708 if { (eval echo configure:13709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13660 rm -rf conftest* 13709 rm -rf conftest*
13661 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 13710 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
13662 Defining HAVE_SOCKADDR_SUN_LEN 13711 Defining HAVE_SOCKADDR_SUN_LEN
13663 EOF 13712 EOF
13664 cat >> confdefs.h <<\EOF 13713 cat >> confdefs.h <<\EOF
13672 rm -rf conftest* 13721 rm -rf conftest*
13673 echo "$ac_t""no" 1>&6 13722 echo "$ac_t""no" 1>&6
13674 fi 13723 fi
13675 rm -f conftest* 13724 rm -f conftest*
13676 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6 13725 echo $ac_n "checking "for ip_mreq struct in netinet/in.h"""... $ac_c" 1>&6
13677 echo "configure:13678: checking "for ip_mreq struct in netinet/in.h"" >&5 13726 echo "configure:13727: checking "for ip_mreq struct in netinet/in.h"" >&5
13678 cat > conftest.$ac_ext <<EOF 13727 cat > conftest.$ac_ext <<EOF
13679 #line 13680 "configure" 13728 #line 13729 "configure"
13680 #include "confdefs.h" 13729 #include "confdefs.h"
13681 13730
13682 #include <sys/types.h> 13731 #include <sys/types.h>
13683 #include <netinet/in.h> 13732 #include <netinet/in.h>
13684 13733
13685 int main() { 13734 int main() {
13686 static struct ip_mreq x; 13735 static struct ip_mreq x;
13687 ; return 0; } 13736 ; return 0; }
13688 EOF 13737 EOF
13689 if { (eval echo configure:13690: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13738 if { (eval echo configure:13739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13690 rm -rf conftest* 13739 rm -rf conftest*
13691 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF 13740 echo "$ac_t""yes" 1>&6; { test "$extra_verbose" = "yes" && cat << \EOF
13692 Defining HAVE_MULTICAST 13741 Defining HAVE_MULTICAST
13693 EOF 13742 EOF
13694 cat >> confdefs.h <<\EOF 13743 cat >> confdefs.h <<\EOF
13715 echo "$ac_t""no" 1>&6 13764 echo "$ac_t""no" 1>&6
13716 fi 13765 fi
13717 13766
13718 13767
13719 echo $ac_n "checking for msgget""... $ac_c" 1>&6 13768 echo $ac_n "checking for msgget""... $ac_c" 1>&6
13720 echo "configure:13721: checking for msgget" >&5 13769 echo "configure:13770: checking for msgget" >&5
13721 13770
13722 cat > conftest.$ac_ext <<EOF 13771 cat > conftest.$ac_ext <<EOF
13723 #line 13724 "configure" 13772 #line 13773 "configure"
13724 #include "confdefs.h" 13773 #include "confdefs.h"
13725 /* System header to define __stub macros and hopefully few prototypes, 13774 /* System header to define __stub macros and hopefully few prototypes,
13726 which can conflict with char msgget(); below. */ 13775 which can conflict with char msgget(); below. */
13727 #include <assert.h> 13776 #include <assert.h>
13728 /* Override any gcc2 internal prototype to avoid an error. */ 13777 /* Override any gcc2 internal prototype to avoid an error. */
13741 msgget(); 13790 msgget();
13742 #endif 13791 #endif
13743 13792
13744 ; return 0; } 13793 ; return 0; }
13745 EOF 13794 EOF
13746 if { (eval echo configure:13747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 13795 if { (eval echo configure:13796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
13747 rm -rf conftest* 13796 rm -rf conftest*
13748 eval "ac_cv_func_msgget=yes" 13797 eval "ac_cv_func_msgget=yes"
13749 else 13798 else
13750 echo "configure: failed program was:" >&5 13799 echo "configure: failed program was:" >&5
13751 cat conftest.$ac_ext >&5 13800 cat conftest.$ac_ext >&5
13756 13805
13757 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then 13806 if eval "test \"`echo '$ac_cv_func_'msgget`\" = yes"; then
13758 echo "$ac_t""yes" 1>&6 13807 echo "$ac_t""yes" 1>&6
13759 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'` 13808 ac_safe=`echo "sys/ipc.h" | sed 'y%./+-%__p_%'`
13760 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6 13809 echo $ac_n "checking for sys/ipc.h""... $ac_c" 1>&6
13761 echo "configure:13762: checking for sys/ipc.h" >&5 13810 echo "configure:13811: checking for sys/ipc.h" >&5
13762 13811
13763 cat > conftest.$ac_ext <<EOF 13812 cat > conftest.$ac_ext <<EOF
13764 #line 13765 "configure" 13813 #line 13814 "configure"
13765 #include "confdefs.h" 13814 #include "confdefs.h"
13766 #include <sys/ipc.h> 13815 #include <sys/ipc.h>
13767 EOF 13816 EOF
13768 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13817 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13769 { (eval echo configure:13770: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13818 { (eval echo configure:13819: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13770 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13819 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13771 if test -z "$ac_err"; then 13820 if test -z "$ac_err"; then
13772 rm -rf conftest* 13821 rm -rf conftest*
13773 eval "ac_cv_header_$ac_safe=yes" 13822 eval "ac_cv_header_$ac_safe=yes"
13774 else 13823 else
13781 rm -f conftest* 13830 rm -f conftest*
13782 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 13831 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13783 echo "$ac_t""yes" 1>&6 13832 echo "$ac_t""yes" 1>&6
13784 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'` 13833 ac_safe=`echo "sys/msg.h" | sed 'y%./+-%__p_%'`
13785 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6 13834 echo $ac_n "checking for sys/msg.h""... $ac_c" 1>&6
13786 echo "configure:13787: checking for sys/msg.h" >&5 13835 echo "configure:13836: checking for sys/msg.h" >&5
13787 13836
13788 cat > conftest.$ac_ext <<EOF 13837 cat > conftest.$ac_ext <<EOF
13789 #line 13790 "configure" 13838 #line 13839 "configure"
13790 #include "confdefs.h" 13839 #include "confdefs.h"
13791 #include <sys/msg.h> 13840 #include <sys/msg.h>
13792 EOF 13841 EOF
13793 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13842 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13794 { (eval echo configure:13795: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13843 { (eval echo configure:13844: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13795 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13844 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13796 if test -z "$ac_err"; then 13845 if test -z "$ac_err"; then
13797 rm -rf conftest* 13846 rm -rf conftest*
13798 eval "ac_cv_header_$ac_safe=yes" 13847 eval "ac_cv_header_$ac_safe=yes"
13799 else 13848 else
13827 fi 13876 fi
13828 13877
13829 13878
13830 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'` 13879 ac_safe=`echo "dirent.h" | sed 'y%./+-%__p_%'`
13831 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6 13880 echo $ac_n "checking for dirent.h""... $ac_c" 1>&6
13832 echo "configure:13833: checking for dirent.h" >&5 13881 echo "configure:13882: checking for dirent.h" >&5
13833 13882
13834 cat > conftest.$ac_ext <<EOF 13883 cat > conftest.$ac_ext <<EOF
13835 #line 13836 "configure" 13884 #line 13885 "configure"
13836 #include "confdefs.h" 13885 #include "confdefs.h"
13837 #include <dirent.h> 13886 #include <dirent.h>
13838 EOF 13887 EOF
13839 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13888 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13840 { (eval echo configure:13841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13889 { (eval echo configure:13890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13841 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13890 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13842 if test -z "$ac_err"; then 13891 if test -z "$ac_err"; then
13843 rm -rf conftest* 13892 rm -rf conftest*
13844 eval "ac_cv_header_$ac_safe=yes" 13893 eval "ac_cv_header_$ac_safe=yes"
13845 else 13894 else
13862 13911
13863 else 13912 else
13864 echo "$ac_t""no" 1>&6 13913 echo "$ac_t""no" 1>&6
13865 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'` 13914 ac_safe=`echo "sys/dir.h" | sed 'y%./+-%__p_%'`
13866 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6 13915 echo $ac_n "checking for sys/dir.h""... $ac_c" 1>&6
13867 echo "configure:13868: checking for sys/dir.h" >&5 13916 echo "configure:13917: checking for sys/dir.h" >&5
13868 13917
13869 cat > conftest.$ac_ext <<EOF 13918 cat > conftest.$ac_ext <<EOF
13870 #line 13871 "configure" 13919 #line 13920 "configure"
13871 #include "confdefs.h" 13920 #include "confdefs.h"
13872 #include <sys/dir.h> 13921 #include <sys/dir.h>
13873 EOF 13922 EOF
13874 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13875 { (eval echo configure:13876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13924 { (eval echo configure:13925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13876 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13877 if test -z "$ac_err"; then 13926 if test -z "$ac_err"; then
13878 rm -rf conftest* 13927 rm -rf conftest*
13879 eval "ac_cv_header_$ac_safe=yes" 13928 eval "ac_cv_header_$ac_safe=yes"
13880 else 13929 else
13903 fi 13952 fi
13904 13953
13905 13954
13906 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` 13955 ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'`
13907 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 13956 echo $ac_n "checking for nlist.h""... $ac_c" 1>&6
13908 echo "configure:13909: checking for nlist.h" >&5 13957 echo "configure:13958: checking for nlist.h" >&5
13909 13958
13910 cat > conftest.$ac_ext <<EOF 13959 cat > conftest.$ac_ext <<EOF
13911 #line 13912 "configure" 13960 #line 13961 "configure"
13912 #include "confdefs.h" 13961 #include "confdefs.h"
13913 #include <nlist.h> 13962 #include <nlist.h>
13914 EOF 13963 EOF
13915 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 13964 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13916 { (eval echo configure:13917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 13965 { (eval echo configure:13966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13917 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 13966 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13918 if test -z "$ac_err"; then 13967 if test -z "$ac_err"; then
13919 rm -rf conftest* 13968 rm -rf conftest*
13920 eval "ac_cv_header_$ac_safe=yes" 13969 eval "ac_cv_header_$ac_safe=yes"
13921 else 13970 else
13941 fi 13990 fi
13942 13991
13943 13992
13944 13993
13945 echo "checking "for sound support"" 1>&6 13994 echo "checking "for sound support"" 1>&6
13946 echo "configure:13947: checking "for sound support"" >&5 13995 echo "configure:13996: checking "for sound support"" >&5
13947 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes 13996 test -z "$with_native_sound" -a -n "$native_sound_lib" && with_native_sound=yes
13948 13997
13949 if test "$with_native_sound" != "no"; then 13998 if test "$with_native_sound" != "no"; then
13950 if test -n "$native_sound_lib"; then 13999 if test -n "$native_sound_lib"; then
13951 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'` 14000 ac_safe=`echo "multimedia/audio_device.h" | sed 'y%./+-%__p_%'`
13952 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6 14001 echo $ac_n "checking for multimedia/audio_device.h""... $ac_c" 1>&6
13953 echo "configure:13954: checking for multimedia/audio_device.h" >&5 14002 echo "configure:14003: checking for multimedia/audio_device.h" >&5
13954 14003
13955 cat > conftest.$ac_ext <<EOF 14004 cat > conftest.$ac_ext <<EOF
13956 #line 13957 "configure" 14005 #line 14006 "configure"
13957 #include "confdefs.h" 14006 #include "confdefs.h"
13958 #include <multimedia/audio_device.h> 14007 #include <multimedia/audio_device.h>
13959 EOF 14008 EOF
13960 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14009 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13961 { (eval echo configure:13962: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14010 { (eval echo configure:14011: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13962 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14011 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13963 if test -z "$ac_err"; then 14012 if test -z "$ac_err"; then
13964 rm -rf conftest* 14013 rm -rf conftest*
13965 eval "ac_cv_header_$ac_safe=yes" 14014 eval "ac_cv_header_$ac_safe=yes"
13966 else 14015 else
14012 case "$canonical" in 14061 case "$canonical" in
14013 *-sgi-* ) 14062 *-sgi-* )
14014 if test -z "$native_sound_lib"; then 14063 if test -z "$native_sound_lib"; then
14015 14064
14016 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6 14065 echo $ac_n "checking for ALopenport in -laudio""... $ac_c" 1>&6
14017 echo "configure:14018: checking for ALopenport in -laudio" >&5 14066 echo "configure:14067: checking for ALopenport in -laudio" >&5
14018 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'` 14067 ac_lib_var=`echo audio'_'ALopenport | sed 'y%./+-%__p_%'`
14019 14068
14020 xe_check_libs=" -laudio " 14069 xe_check_libs=" -laudio "
14021 cat > conftest.$ac_ext <<EOF 14070 cat > conftest.$ac_ext <<EOF
14022 #line 14023 "configure" 14071 #line 14072 "configure"
14023 #include "confdefs.h" 14072 #include "confdefs.h"
14024 /* Override any gcc2 internal prototype to avoid an error. */ 14073 /* Override any gcc2 internal prototype to avoid an error. */
14025 /* We use char because int might match the return type of a gcc2 14074 /* We use char because int might match the return type of a gcc2
14026 builtin and then its argument prototype would still apply. */ 14075 builtin and then its argument prototype would still apply. */
14027 char ALopenport(); 14076 char ALopenport();
14028 14077
14029 int main() { 14078 int main() {
14030 ALopenport() 14079 ALopenport()
14031 ; return 0; } 14080 ; return 0; }
14032 EOF 14081 EOF
14033 if { (eval echo configure:14034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14082 if { (eval echo configure:14083: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14034 rm -rf conftest* 14083 rm -rf conftest*
14035 eval "ac_cv_lib_$ac_lib_var=yes" 14084 eval "ac_cv_lib_$ac_lib_var=yes"
14036 else 14085 else
14037 echo "configure: failed program was:" >&5 14086 echo "configure: failed program was:" >&5
14038 cat conftest.$ac_ext >&5 14087 cat conftest.$ac_ext >&5
14059 fi ;; 14108 fi ;;
14060 hppa*-hp-hpux* ) 14109 hppa*-hp-hpux* )
14061 if test -z "$native_sound_lib"; then 14110 if test -z "$native_sound_lib"; then
14062 14111
14063 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6 14112 echo $ac_n "checking for AOpenAudio in -lAlib""... $ac_c" 1>&6
14064 echo "configure:14065: checking for AOpenAudio in -lAlib" >&5 14113 echo "configure:14114: checking for AOpenAudio in -lAlib" >&5
14065 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'` 14114 ac_lib_var=`echo Alib'_'AOpenAudio | sed 'y%./+-%__p_%'`
14066 14115
14067 xe_check_libs=" -lAlib " 14116 xe_check_libs=" -lAlib "
14068 cat > conftest.$ac_ext <<EOF 14117 cat > conftest.$ac_ext <<EOF
14069 #line 14070 "configure" 14118 #line 14119 "configure"
14070 #include "confdefs.h" 14119 #include "confdefs.h"
14071 /* Override any gcc2 internal prototype to avoid an error. */ 14120 /* Override any gcc2 internal prototype to avoid an error. */
14072 /* We use char because int might match the return type of a gcc2 14121 /* We use char because int might match the return type of a gcc2
14073 builtin and then its argument prototype would still apply. */ 14122 builtin and then its argument prototype would still apply. */
14074 char AOpenAudio(); 14123 char AOpenAudio();
14075 14124
14076 int main() { 14125 int main() {
14077 AOpenAudio() 14126 AOpenAudio()
14078 ; return 0; } 14127 ; return 0; }
14079 EOF 14128 EOF
14080 if { (eval echo configure:14081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14129 if { (eval echo configure:14130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14081 rm -rf conftest* 14130 rm -rf conftest*
14082 eval "ac_cv_lib_$ac_lib_var=yes" 14131 eval "ac_cv_lib_$ac_lib_var=yes"
14083 else 14132 else
14084 echo "configure: failed program was:" >&5 14133 echo "configure: failed program was:" >&5
14085 cat conftest.$ac_ext >&5 14134 cat conftest.$ac_ext >&5
14123 14172
14124 if test -z "$sound_found"; then 14173 if test -z "$sound_found"; then
14125 for dir in "machine" "sys" "linux"; do 14174 for dir in "machine" "sys" "linux"; do
14126 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'` 14175 ac_safe=`echo "${dir}/soundcard.h" | sed 'y%./+-%__p_%'`
14127 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6 14176 echo $ac_n "checking for ${dir}/soundcard.h""... $ac_c" 1>&6
14128 echo "configure:14129: checking for ${dir}/soundcard.h" >&5 14177 echo "configure:14178: checking for ${dir}/soundcard.h" >&5
14129 14178
14130 cat > conftest.$ac_ext <<EOF 14179 cat > conftest.$ac_ext <<EOF
14131 #line 14132 "configure" 14180 #line 14181 "configure"
14132 #include "confdefs.h" 14181 #include "confdefs.h"
14133 #include <${dir}/soundcard.h> 14182 #include <${dir}/soundcard.h>
14134 EOF 14183 EOF
14135 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14184 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14136 { (eval echo configure:14137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14185 { (eval echo configure:14186: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14137 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14186 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14138 if test -z "$ac_err"; then 14187 if test -z "$ac_err"; then
14139 rm -rf conftest* 14188 rm -rf conftest*
14140 eval "ac_cv_header_$ac_safe=yes" 14189 eval "ac_cv_header_$ac_safe=yes"
14141 else 14190 else
14185 fi 14234 fi
14186 14235
14187 if test "$with_nas_sound" != "no"; then 14236 if test "$with_nas_sound" != "no"; then
14188 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'` 14237 ac_safe=`echo "audio/audiolib.h" | sed 'y%./+-%__p_%'`
14189 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6 14238 echo $ac_n "checking for audio/audiolib.h""... $ac_c" 1>&6
14190 echo "configure:14191: checking for audio/audiolib.h" >&5 14239 echo "configure:14240: checking for audio/audiolib.h" >&5
14191 14240
14192 cat > conftest.$ac_ext <<EOF 14241 cat > conftest.$ac_ext <<EOF
14193 #line 14194 "configure" 14242 #line 14243 "configure"
14194 #include "confdefs.h" 14243 #include "confdefs.h"
14195 #include <audio/audiolib.h> 14244 #include <audio/audiolib.h>
14196 EOF 14245 EOF
14197 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14246 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14198 { (eval echo configure:14199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14247 { (eval echo configure:14248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14199 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14248 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14200 if test -z "$ac_err"; then 14249 if test -z "$ac_err"; then
14201 rm -rf conftest* 14250 rm -rf conftest*
14202 eval "ac_cv_header_$ac_safe=yes" 14251 eval "ac_cv_header_$ac_safe=yes"
14203 else 14252 else
14211 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 14260 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14212 echo "$ac_t""yes" 1>&6 14261 echo "$ac_t""yes" 1>&6
14213 14262
14214 14263
14215 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6 14264 echo $ac_n "checking for AuOpenServer in -laudio""... $ac_c" 1>&6
14216 echo "configure:14217: checking for AuOpenServer in -laudio" >&5 14265 echo "configure:14266: checking for AuOpenServer in -laudio" >&5
14217 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'` 14266 ac_lib_var=`echo audio'_'AuOpenServer | sed 'y%./+-%__p_%'`
14218 14267
14219 xe_check_libs=" -laudio " 14268 xe_check_libs=" -laudio "
14220 cat > conftest.$ac_ext <<EOF 14269 cat > conftest.$ac_ext <<EOF
14221 #line 14222 "configure" 14270 #line 14271 "configure"
14222 #include "confdefs.h" 14271 #include "confdefs.h"
14223 /* Override any gcc2 internal prototype to avoid an error. */ 14272 /* Override any gcc2 internal prototype to avoid an error. */
14224 /* We use char because int might match the return type of a gcc2 14273 /* We use char because int might match the return type of a gcc2
14225 builtin and then its argument prototype would still apply. */ 14274 builtin and then its argument prototype would still apply. */
14226 char AuOpenServer(); 14275 char AuOpenServer();
14227 14276
14228 int main() { 14277 int main() {
14229 AuOpenServer() 14278 AuOpenServer()
14230 ; return 0; } 14279 ; return 0; }
14231 EOF 14280 EOF
14232 if { (eval echo configure:14233: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14281 if { (eval echo configure:14282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14233 rm -rf conftest* 14282 rm -rf conftest*
14234 eval "ac_cv_lib_$ac_lib_var=yes" 14283 eval "ac_cv_lib_$ac_lib_var=yes"
14235 else 14284 else
14236 echo "configure: failed program was:" >&5 14285 echo "configure: failed program was:" >&5
14237 cat conftest.$ac_ext >&5 14286 cat conftest.$ac_ext >&5
14266 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then 14315 extra_objs="$extra_objs nas.o" && if test "$extra_verbose" = "yes"; then
14267 echo " xemacs will be linked with \"nas.o\"" 14316 echo " xemacs will be linked with \"nas.o\""
14268 fi 14317 fi
14269 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi 14318 libs_x="-laudio $libs_x" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-laudio\" to \$libs_x"; fi
14270 cat > conftest.$ac_ext <<EOF 14319 cat > conftest.$ac_ext <<EOF
14271 #line 14272 "configure" 14320 #line 14321 "configure"
14272 #include "confdefs.h" 14321 #include "confdefs.h"
14273 #include <audio/Xtutil.h> 14322 #include <audio/Xtutil.h>
14274 EOF 14323 EOF
14275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 14324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14276 egrep "AuXtErrorJump" >/dev/null 2>&1; then 14325 egrep "AuXtErrorJump" >/dev/null 2>&1; then
14297 14346
14298 if test "$with_esd_sound" != "no"; then 14347 if test "$with_esd_sound" != "no"; then
14299 # Extract the first word of "esd-config", so it can be a program name with args. 14348 # Extract the first word of "esd-config", so it can be a program name with args.
14300 set dummy esd-config; ac_word=$2 14349 set dummy esd-config; ac_word=$2
14301 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 14350 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14302 echo "configure:14303: checking for $ac_word" >&5 14351 echo "configure:14352: checking for $ac_word" >&5
14303 14352
14304 if test -n "$have_esd_config"; then 14353 if test -n "$have_esd_config"; then
14305 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test. 14354 ac_cv_prog_have_esd_config="$have_esd_config" # Let the user override the test.
14306 else 14355 else
14307 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 14356 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
14326 if test "$have_esd_config" = "yes"; then 14375 if test "$have_esd_config" = "yes"; then
14327 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS" 14376 save_c_switch_site="$c_switch_site" save_LIBS="$LIBS"
14328 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 14377 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
14329 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi 14378 LIBS="`esd-config --libs` $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"`esd-config --libs`\" to \$LIBS"; fi
14330 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6 14379 echo $ac_n "checking for esd_play_stream""... $ac_c" 1>&6
14331 echo "configure:14332: checking for esd_play_stream" >&5 14380 echo "configure:14381: checking for esd_play_stream" >&5
14332 14381
14333 cat > conftest.$ac_ext <<EOF 14382 cat > conftest.$ac_ext <<EOF
14334 #line 14335 "configure" 14383 #line 14384 "configure"
14335 #include "confdefs.h" 14384 #include "confdefs.h"
14336 /* System header to define __stub macros and hopefully few prototypes, 14385 /* System header to define __stub macros and hopefully few prototypes,
14337 which can conflict with char esd_play_stream(); below. */ 14386 which can conflict with char esd_play_stream(); below. */
14338 #include <assert.h> 14387 #include <assert.h>
14339 /* Override any gcc2 internal prototype to avoid an error. */ 14388 /* Override any gcc2 internal prototype to avoid an error. */
14352 esd_play_stream(); 14401 esd_play_stream();
14353 #endif 14402 #endif
14354 14403
14355 ; return 0; } 14404 ; return 0; }
14356 EOF 14405 EOF
14357 if { (eval echo configure:14358: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14406 if { (eval echo configure:14407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14358 rm -rf conftest* 14407 rm -rf conftest*
14359 eval "ac_cv_func_esd_play_stream=yes" 14408 eval "ac_cv_func_esd_play_stream=yes"
14360 else 14409 else
14361 echo "configure: failed program was:" >&5 14410 echo "configure: failed program was:" >&5
14362 cat conftest.$ac_ext >&5 14411 cat conftest.$ac_ext >&5
14403 14452
14404 test -z "$with_tty" && with_tty=yes 14453 test -z "$with_tty" && with_tty=yes
14405 14454
14406 if test "$with_tty" = "yes" ; then 14455 if test "$with_tty" = "yes" ; then
14407 echo "checking for TTY-related features" 1>&6 14456 echo "checking for TTY-related features" 1>&6
14408 echo "configure:14409: checking for TTY-related features" >&5 14457 echo "configure:14458: checking for TTY-related features" >&5
14409 { test "$extra_verbose" = "yes" && cat << \EOF 14458 { test "$extra_verbose" = "yes" && cat << \EOF
14410 Defining HAVE_TTY 14459 Defining HAVE_TTY
14411 EOF 14460 EOF
14412 cat >> confdefs.h <<\EOF 14461 cat >> confdefs.h <<\EOF
14413 #define HAVE_TTY 1 14462 #define HAVE_TTY 1
14416 14465
14417 14466
14418 if test -z "$with_ncurses"; then 14467 if test -z "$with_ncurses"; then
14419 14468
14420 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6 14469 echo $ac_n "checking for tgetent in -lncurses""... $ac_c" 1>&6
14421 echo "configure:14422: checking for tgetent in -lncurses" >&5 14470 echo "configure:14471: checking for tgetent in -lncurses" >&5
14422 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'` 14471 ac_lib_var=`echo ncurses'_'tgetent | sed 'y%./+-%__p_%'`
14423 14472
14424 xe_check_libs=" -lncurses " 14473 xe_check_libs=" -lncurses "
14425 cat > conftest.$ac_ext <<EOF 14474 cat > conftest.$ac_ext <<EOF
14426 #line 14427 "configure" 14475 #line 14476 "configure"
14427 #include "confdefs.h" 14476 #include "confdefs.h"
14428 /* Override any gcc2 internal prototype to avoid an error. */ 14477 /* Override any gcc2 internal prototype to avoid an error. */
14429 /* We use char because int might match the return type of a gcc2 14478 /* We use char because int might match the return type of a gcc2
14430 builtin and then its argument prototype would still apply. */ 14479 builtin and then its argument prototype would still apply. */
14431 char tgetent(); 14480 char tgetent();
14432 14481
14433 int main() { 14482 int main() {
14434 tgetent() 14483 tgetent()
14435 ; return 0; } 14484 ; return 0; }
14436 EOF 14485 EOF
14437 if { (eval echo configure:14438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14486 if { (eval echo configure:14487: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14438 rm -rf conftest* 14487 rm -rf conftest*
14439 eval "ac_cv_lib_$ac_lib_var=yes" 14488 eval "ac_cv_lib_$ac_lib_var=yes"
14440 else 14489 else
14441 echo "configure: failed program was:" >&5 14490 echo "configure: failed program was:" >&5
14442 cat conftest.$ac_ext >&5 14491 cat conftest.$ac_ext >&5
14465 EOF 14514 EOF
14466 } 14515 }
14467 14516
14468 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14517 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14469 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14518 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14470 echo "configure:14471: checking for ncurses/curses.h" >&5 14519 echo "configure:14520: checking for ncurses/curses.h" >&5
14471 14520
14472 cat > conftest.$ac_ext <<EOF 14521 cat > conftest.$ac_ext <<EOF
14473 #line 14474 "configure" 14522 #line 14523 "configure"
14474 #include "confdefs.h" 14523 #include "confdefs.h"
14475 #include <ncurses/curses.h> 14524 #include <ncurses/curses.h>
14476 EOF 14525 EOF
14477 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14526 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14478 { (eval echo configure:14479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14527 { (eval echo configure:14528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14479 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14528 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14480 if test -z "$ac_err"; then 14529 if test -z "$ac_err"; then
14481 rm -rf conftest* 14530 rm -rf conftest*
14482 eval "ac_cv_header_$ac_safe=yes" 14531 eval "ac_cv_header_$ac_safe=yes"
14483 else 14532 else
14495 echo "$ac_t""no" 1>&6 14544 echo "$ac_t""no" 1>&6
14496 fi 14545 fi
14497 14546
14498 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'` 14547 ac_safe=`echo "ncurses/term.h" | sed 'y%./+-%__p_%'`
14499 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6 14548 echo $ac_n "checking for ncurses/term.h""... $ac_c" 1>&6
14500 echo "configure:14501: checking for ncurses/term.h" >&5 14549 echo "configure:14550: checking for ncurses/term.h" >&5
14501 14550
14502 cat > conftest.$ac_ext <<EOF 14551 cat > conftest.$ac_ext <<EOF
14503 #line 14504 "configure" 14552 #line 14553 "configure"
14504 #include "confdefs.h" 14553 #include "confdefs.h"
14505 #include <ncurses/term.h> 14554 #include <ncurses/term.h>
14506 EOF 14555 EOF
14507 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14556 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14508 { (eval echo configure:14509: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14557 { (eval echo configure:14558: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14509 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14558 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14510 if test -z "$ac_err"; then 14559 if test -z "$ac_err"; then
14511 rm -rf conftest* 14560 rm -rf conftest*
14512 eval "ac_cv_header_$ac_safe=yes" 14561 eval "ac_cv_header_$ac_safe=yes"
14513 else 14562 else
14533 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then 14582 if test "$ac_cv_header_ncurses_curses_h" != "yes" ; then
14534 save_c_switch_site="$c_switch_site" 14583 save_c_switch_site="$c_switch_site"
14535 c_switch_site="$c_switch_site -I/usr/include/ncurses" 14584 c_switch_site="$c_switch_site -I/usr/include/ncurses"
14536 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'` 14585 ac_safe=`echo "ncurses/curses.h" | sed 'y%./+-%__p_%'`
14537 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6 14586 echo $ac_n "checking for ncurses/curses.h""... $ac_c" 1>&6
14538 echo "configure:14539: checking for ncurses/curses.h" >&5 14587 echo "configure:14588: checking for ncurses/curses.h" >&5
14539 14588
14540 cat > conftest.$ac_ext <<EOF 14589 cat > conftest.$ac_ext <<EOF
14541 #line 14542 "configure" 14590 #line 14591 "configure"
14542 #include "confdefs.h" 14591 #include "confdefs.h"
14543 #include <ncurses/curses.h> 14592 #include <ncurses/curses.h>
14544 EOF 14593 EOF
14545 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14594 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14546 { (eval echo configure:14547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14595 { (eval echo configure:14596: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14547 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14596 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14548 if test -z "$ac_err"; then 14597 if test -z "$ac_err"; then
14549 rm -rf conftest* 14598 rm -rf conftest*
14550 eval "ac_cv_header_$ac_safe=yes" 14599 eval "ac_cv_header_$ac_safe=yes"
14551 else 14600 else
14576 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 14625 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
14577 else 14626 else
14578 for lib in curses termlib termcap; do 14627 for lib in curses termlib termcap; do
14579 14628
14580 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6 14629 echo $ac_n "checking for tgetent in -l$lib""... $ac_c" 1>&6
14581 echo "configure:14582: checking for tgetent in -l$lib" >&5 14630 echo "configure:14631: checking for tgetent in -l$lib" >&5
14582 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'` 14631 ac_lib_var=`echo $lib'_'tgetent | sed 'y%./+-%__p_%'`
14583 14632
14584 xe_check_libs=" -l$lib " 14633 xe_check_libs=" -l$lib "
14585 cat > conftest.$ac_ext <<EOF 14634 cat > conftest.$ac_ext <<EOF
14586 #line 14587 "configure" 14635 #line 14636 "configure"
14587 #include "confdefs.h" 14636 #include "confdefs.h"
14588 /* Override any gcc2 internal prototype to avoid an error. */ 14637 /* Override any gcc2 internal prototype to avoid an error. */
14589 /* We use char because int might match the return type of a gcc2 14638 /* We use char because int might match the return type of a gcc2
14590 builtin and then its argument prototype would still apply. */ 14639 builtin and then its argument prototype would still apply. */
14591 char tgetent(); 14640 char tgetent();
14592 14641
14593 int main() { 14642 int main() {
14594 tgetent() 14643 tgetent()
14595 ; return 0; } 14644 ; return 0; }
14596 EOF 14645 EOF
14597 if { (eval echo configure:14598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14646 if { (eval echo configure:14647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14598 rm -rf conftest* 14647 rm -rf conftest*
14599 eval "ac_cv_lib_$ac_lib_var=yes" 14648 eval "ac_cv_lib_$ac_lib_var=yes"
14600 else 14649 else
14601 echo "configure: failed program was:" >&5 14650 echo "configure: failed program was:" >&5
14602 cat conftest.$ac_ext >&5 14651 cat conftest.$ac_ext >&5
14623 if test -n "$libs_termcap"; then 14672 if test -n "$libs_termcap"; then
14624 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi 14673 LIBS="$libs_termcap $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"$libs_termcap\" to \$LIBS"; fi
14625 else 14674 else
14626 14675
14627 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6 14676 echo $ac_n "checking for tgetent in -lcurses""... $ac_c" 1>&6
14628 echo "configure:14629: checking for tgetent in -lcurses" >&5 14677 echo "configure:14678: checking for tgetent in -lcurses" >&5
14629 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'` 14678 ac_lib_var=`echo curses'_'tgetent | sed 'y%./+-%__p_%'`
14630 14679
14631 xe_check_libs=" -lcurses " 14680 xe_check_libs=" -lcurses "
14632 cat > conftest.$ac_ext <<EOF 14681 cat > conftest.$ac_ext <<EOF
14633 #line 14634 "configure" 14682 #line 14683 "configure"
14634 #include "confdefs.h" 14683 #include "confdefs.h"
14635 /* Override any gcc2 internal prototype to avoid an error. */ 14684 /* Override any gcc2 internal prototype to avoid an error. */
14636 /* We use char because int might match the return type of a gcc2 14685 /* We use char because int might match the return type of a gcc2
14637 builtin and then its argument prototype would still apply. */ 14686 builtin and then its argument prototype would still apply. */
14638 char tgetent(); 14687 char tgetent();
14639 14688
14640 int main() { 14689 int main() {
14641 tgetent() 14690 tgetent()
14642 ; return 0; } 14691 ; return 0; }
14643 EOF 14692 EOF
14644 if { (eval echo configure:14645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14693 if { (eval echo configure:14694: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14645 rm -rf conftest* 14694 rm -rf conftest*
14646 eval "ac_cv_lib_$ac_lib_var=yes" 14695 eval "ac_cv_lib_$ac_lib_var=yes"
14647 else 14696 else
14648 echo "configure: failed program was:" >&5 14697 echo "configure: failed program was:" >&5
14649 cat conftest.$ac_ext >&5 14698 cat conftest.$ac_ext >&5
14657 echo "$ac_t""yes" 1>&6 14706 echo "$ac_t""yes" 1>&6
14658 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi 14707 LIBS="-lcurses $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-lcurses\" to \$LIBS"; fi
14659 else 14708 else
14660 echo "$ac_t""no" 1>&6 14709 echo "$ac_t""no" 1>&6
14661 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6 14710 echo $ac_n "checking for tgetent in -ltermcap""... $ac_c" 1>&6
14662 echo "configure:14663: checking for tgetent in -ltermcap" >&5 14711 echo "configure:14712: checking for tgetent in -ltermcap" >&5
14663 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'` 14712 ac_lib_var=`echo termcap'_'tgetent | sed 'y%./+-%__p_%'`
14664 14713
14665 xe_check_libs=" -ltermcap " 14714 xe_check_libs=" -ltermcap "
14666 cat > conftest.$ac_ext <<EOF 14715 cat > conftest.$ac_ext <<EOF
14667 #line 14668 "configure" 14716 #line 14717 "configure"
14668 #include "confdefs.h" 14717 #include "confdefs.h"
14669 /* Override any gcc2 internal prototype to avoid an error. */ 14718 /* Override any gcc2 internal prototype to avoid an error. */
14670 /* We use char because int might match the return type of a gcc2 14719 /* We use char because int might match the return type of a gcc2
14671 builtin and then its argument prototype would still apply. */ 14720 builtin and then its argument prototype would still apply. */
14672 char tgetent(); 14721 char tgetent();
14673 14722
14674 int main() { 14723 int main() {
14675 tgetent() 14724 tgetent()
14676 ; return 0; } 14725 ; return 0; }
14677 EOF 14726 EOF
14678 if { (eval echo configure:14679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14727 if { (eval echo configure:14728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14679 rm -rf conftest* 14728 rm -rf conftest*
14680 eval "ac_cv_lib_$ac_lib_var=yes" 14729 eval "ac_cv_lib_$ac_lib_var=yes"
14681 else 14730 else
14682 echo "configure: failed program was:" >&5 14731 echo "configure: failed program was:" >&5
14683 cat conftest.$ac_ext >&5 14732 cat conftest.$ac_ext >&5
14721 } 14770 }
14722 14771
14723 14772
14724 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'` 14773 test -z "$with_gpm" && { ac_safe=`echo "gpm.h" | sed 'y%./+-%__p_%'`
14725 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6 14774 echo $ac_n "checking for gpm.h""... $ac_c" 1>&6
14726 echo "configure:14727: checking for gpm.h" >&5 14775 echo "configure:14776: checking for gpm.h" >&5
14727 14776
14728 cat > conftest.$ac_ext <<EOF 14777 cat > conftest.$ac_ext <<EOF
14729 #line 14730 "configure" 14778 #line 14779 "configure"
14730 #include "confdefs.h" 14779 #include "confdefs.h"
14731 #include <gpm.h> 14780 #include <gpm.h>
14732 EOF 14781 EOF
14733 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14782 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14734 { (eval echo configure:14735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14783 { (eval echo configure:14784: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14735 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14784 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14736 if test -z "$ac_err"; then 14785 if test -z "$ac_err"; then
14737 rm -rf conftest* 14786 rm -rf conftest*
14738 eval "ac_cv_header_$ac_safe=yes" 14787 eval "ac_cv_header_$ac_safe=yes"
14739 else 14788 else
14752 with_gpm=no 14801 with_gpm=no
14753 fi 14802 fi
14754 } 14803 }
14755 test -z "$with_gpm" && { 14804 test -z "$with_gpm" && {
14756 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6 14805 echo $ac_n "checking for Gpm_Open in -lgpm""... $ac_c" 1>&6
14757 echo "configure:14758: checking for Gpm_Open in -lgpm" >&5 14806 echo "configure:14807: checking for Gpm_Open in -lgpm" >&5
14758 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'` 14807 ac_lib_var=`echo gpm'_'Gpm_Open | sed 'y%./+-%__p_%'`
14759 14808
14760 xe_check_libs=" -lgpm " 14809 xe_check_libs=" -lgpm "
14761 cat > conftest.$ac_ext <<EOF 14810 cat > conftest.$ac_ext <<EOF
14762 #line 14763 "configure" 14811 #line 14812 "configure"
14763 #include "confdefs.h" 14812 #include "confdefs.h"
14764 /* Override any gcc2 internal prototype to avoid an error. */ 14813 /* Override any gcc2 internal prototype to avoid an error. */
14765 /* We use char because int might match the return type of a gcc2 14814 /* We use char because int might match the return type of a gcc2
14766 builtin and then its argument prototype would still apply. */ 14815 builtin and then its argument prototype would still apply. */
14767 char Gpm_Open(); 14816 char Gpm_Open();
14768 14817
14769 int main() { 14818 int main() {
14770 Gpm_Open() 14819 Gpm_Open()
14771 ; return 0; } 14820 ; return 0; }
14772 EOF 14821 EOF
14773 if { (eval echo configure:14774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14822 if { (eval echo configure:14823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14774 rm -rf conftest* 14823 rm -rf conftest*
14775 eval "ac_cv_lib_$ac_lib_var=yes" 14824 eval "ac_cv_lib_$ac_lib_var=yes"
14776 else 14825 else
14777 echo "configure: failed program was:" >&5 14826 echo "configure: failed program was:" >&5
14778 cat conftest.$ac_ext >&5 14827 cat conftest.$ac_ext >&5
14811 done 14860 done
14812 fi 14861 fi
14813 14862
14814 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \ 14863 test "$with_database_gdbm $with_database_dbm $with_database_berkdb" \
14815 != "no no no" && echo "checking for database support" 1>&6 14864 != "no no no" && echo "checking for database support" 1>&6
14816 echo "configure:14817: checking for database support" >&5 14865 echo "configure:14866: checking for database support" >&5
14817 14866
14818 if test "$with_database_gdbm $with_database_dbm" != "no no"; then 14867 if test "$with_database_gdbm $with_database_dbm" != "no no"; then
14819 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'` 14868 ac_safe=`echo "ndbm.h" | sed 'y%./+-%__p_%'`
14820 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6 14869 echo $ac_n "checking for ndbm.h""... $ac_c" 1>&6
14821 echo "configure:14822: checking for ndbm.h" >&5 14870 echo "configure:14871: checking for ndbm.h" >&5
14822 14871
14823 cat > conftest.$ac_ext <<EOF 14872 cat > conftest.$ac_ext <<EOF
14824 #line 14825 "configure" 14873 #line 14874 "configure"
14825 #include "confdefs.h" 14874 #include "confdefs.h"
14826 #include <ndbm.h> 14875 #include <ndbm.h>
14827 EOF 14876 EOF
14828 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 14877 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14829 { (eval echo configure:14830: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 14878 { (eval echo configure:14879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14830 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 14879 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14831 if test -z "$ac_err"; then 14880 if test -z "$ac_err"; then
14832 rm -rf conftest* 14881 rm -rf conftest*
14833 eval "ac_cv_header_$ac_safe=yes" 14882 eval "ac_cv_header_$ac_safe=yes"
14834 else 14883 else
14854 fi 14903 fi
14855 14904
14856 if test "$with_database_gdbm" != "no"; then 14905 if test "$with_database_gdbm" != "no"; then
14857 14906
14858 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6 14907 echo $ac_n "checking for dbm_open in -lgdbm""... $ac_c" 1>&6
14859 echo "configure:14860: checking for dbm_open in -lgdbm" >&5 14908 echo "configure:14909: checking for dbm_open in -lgdbm" >&5
14860 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'` 14909 ac_lib_var=`echo gdbm'_'dbm_open | sed 'y%./+-%__p_%'`
14861 14910
14862 xe_check_libs=" -lgdbm " 14911 xe_check_libs=" -lgdbm "
14863 cat > conftest.$ac_ext <<EOF 14912 cat > conftest.$ac_ext <<EOF
14864 #line 14865 "configure" 14913 #line 14914 "configure"
14865 #include "confdefs.h" 14914 #include "confdefs.h"
14866 /* Override any gcc2 internal prototype to avoid an error. */ 14915 /* Override any gcc2 internal prototype to avoid an error. */
14867 /* We use char because int might match the return type of a gcc2 14916 /* We use char because int might match the return type of a gcc2
14868 builtin and then its argument prototype would still apply. */ 14917 builtin and then its argument prototype would still apply. */
14869 char dbm_open(); 14918 char dbm_open();
14870 14919
14871 int main() { 14920 int main() {
14872 dbm_open() 14921 dbm_open()
14873 ; return 0; } 14922 ; return 0; }
14874 EOF 14923 EOF
14875 if { (eval echo configure:14876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14924 if { (eval echo configure:14925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14876 rm -rf conftest* 14925 rm -rf conftest*
14877 eval "ac_cv_lib_$ac_lib_var=yes" 14926 eval "ac_cv_lib_$ac_lib_var=yes"
14878 else 14927 else
14879 echo "configure: failed program was:" >&5 14928 echo "configure: failed program was:" >&5
14880 cat conftest.$ac_ext >&5 14929 cat conftest.$ac_ext >&5
14898 14947
14899 fi 14948 fi
14900 14949
14901 if test "$with_database_dbm" != "no"; then 14950 if test "$with_database_dbm" != "no"; then
14902 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6 14951 echo $ac_n "checking for dbm_open""... $ac_c" 1>&6
14903 echo "configure:14904: checking for dbm_open" >&5 14952 echo "configure:14953: checking for dbm_open" >&5
14904 14953
14905 cat > conftest.$ac_ext <<EOF 14954 cat > conftest.$ac_ext <<EOF
14906 #line 14907 "configure" 14955 #line 14956 "configure"
14907 #include "confdefs.h" 14956 #include "confdefs.h"
14908 /* System header to define __stub macros and hopefully few prototypes, 14957 /* System header to define __stub macros and hopefully few prototypes,
14909 which can conflict with char dbm_open(); below. */ 14958 which can conflict with char dbm_open(); below. */
14910 #include <assert.h> 14959 #include <assert.h>
14911 /* Override any gcc2 internal prototype to avoid an error. */ 14960 /* Override any gcc2 internal prototype to avoid an error. */
14924 dbm_open(); 14973 dbm_open();
14925 #endif 14974 #endif
14926 14975
14927 ; return 0; } 14976 ; return 0; }
14928 EOF 14977 EOF
14929 if { (eval echo configure:14930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 14978 if { (eval echo configure:14979: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14930 rm -rf conftest* 14979 rm -rf conftest*
14931 eval "ac_cv_func_dbm_open=yes" 14980 eval "ac_cv_func_dbm_open=yes"
14932 else 14981 else
14933 echo "configure: failed program was:" >&5 14982 echo "configure: failed program was:" >&5
14934 cat conftest.$ac_ext >&5 14983 cat conftest.$ac_ext >&5
14943 else 14992 else
14944 echo "$ac_t""no" 1>&6 14993 echo "$ac_t""no" 1>&6
14945 14994
14946 14995
14947 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6 14996 echo $ac_n "checking for dbm_open in -ldbm""... $ac_c" 1>&6
14948 echo "configure:14949: checking for dbm_open in -ldbm" >&5 14997 echo "configure:14998: checking for dbm_open in -ldbm" >&5
14949 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'` 14998 ac_lib_var=`echo dbm'_'dbm_open | sed 'y%./+-%__p_%'`
14950 14999
14951 xe_check_libs=" -ldbm " 15000 xe_check_libs=" -ldbm "
14952 cat > conftest.$ac_ext <<EOF 15001 cat > conftest.$ac_ext <<EOF
14953 #line 14954 "configure" 15002 #line 15003 "configure"
14954 #include "confdefs.h" 15003 #include "confdefs.h"
14955 /* Override any gcc2 internal prototype to avoid an error. */ 15004 /* Override any gcc2 internal prototype to avoid an error. */
14956 /* We use char because int might match the return type of a gcc2 15005 /* We use char because int might match the return type of a gcc2
14957 builtin and then its argument prototype would still apply. */ 15006 builtin and then its argument prototype would still apply. */
14958 char dbm_open(); 15007 char dbm_open();
14959 15008
14960 int main() { 15009 int main() {
14961 dbm_open() 15010 dbm_open()
14962 ; return 0; } 15011 ; return 0; }
14963 EOF 15012 EOF
14964 if { (eval echo configure:14965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15013 if { (eval echo configure:15014: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
14965 rm -rf conftest* 15014 rm -rf conftest*
14966 eval "ac_cv_lib_$ac_lib_var=yes" 15015 eval "ac_cv_lib_$ac_lib_var=yes"
14967 else 15016 else
14968 echo "configure: failed program was:" >&5 15017 echo "configure: failed program was:" >&5
14969 cat conftest.$ac_ext >&5 15018 cat conftest.$ac_ext >&5
15000 } 15049 }
15001 15050
15002 15051
15003 if test "$with_database_berkdb" != "no"; then 15052 if test "$with_database_berkdb" != "no"; then
15004 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6 15053 echo $ac_n "checking for Berkeley db.h""... $ac_c" 1>&6
15005 echo "configure:15006: checking for Berkeley db.h" >&5 15054 echo "configure:15055: checking for Berkeley db.h" >&5
15006 for header in "db/db.h" "db.h"; do 15055 for header in "db/db.h" "db.h"; do
15007 cat > conftest.$ac_ext <<EOF 15056 cat > conftest.$ac_ext <<EOF
15008 #line 15009 "configure" 15057 #line 15058 "configure"
15009 #include "confdefs.h" 15058 #include "confdefs.h"
15010 15059
15011 #include <stdlib.h> 15060 #include <stdlib.h>
15012 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) 15061 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
15013 #ifdef HAVE_INTTYPES_H 15062 #ifdef HAVE_INTTYPES_H
15025 15074
15026 int main() { 15075 int main() {
15027 15076
15028 ; return 0; } 15077 ; return 0; }
15029 EOF 15078 EOF
15030 if { (eval echo configure:15031: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 15079 if { (eval echo configure:15080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15031 rm -rf conftest* 15080 rm -rf conftest*
15032 db_h_file="$header"; break 15081 db_h_file="$header"; break
15033 else 15082 else
15034 echo "configure: failed program was:" >&5 15083 echo "configure: failed program was:" >&5
15035 cat conftest.$ac_ext >&5 15084 cat conftest.$ac_ext >&5
15041 else echo "$ac_t""$db_h_file" 1>&6 15090 else echo "$ac_t""$db_h_file" 1>&6
15042 fi 15091 fi
15043 15092
15044 if test "$with_database_berkdb" != "no"; then 15093 if test "$with_database_berkdb" != "no"; then
15045 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6 15094 echo $ac_n "checking for Berkeley DB version""... $ac_c" 1>&6
15046 echo "configure:15047: checking for Berkeley DB version" >&5 15095 echo "configure:15096: checking for Berkeley DB version" >&5
15047 cat > conftest.$ac_ext <<EOF 15096 cat > conftest.$ac_ext <<EOF
15048 #line 15049 "configure" 15097 #line 15098 "configure"
15049 #include "confdefs.h" 15098 #include "confdefs.h"
15050 #include <$db_h_file> 15099 #include <$db_h_file>
15051 #if DB_VERSION_MAJOR > 1 15100 #if DB_VERSION_MAJOR > 1
15052 yes 15101 yes
15053 #endif 15102 #endif
15055 EOF 15104 EOF
15056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15105 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15057 egrep "yes" >/dev/null 2>&1; then 15106 egrep "yes" >/dev/null 2>&1; then
15058 rm -rf conftest* 15107 rm -rf conftest*
15059 cat > conftest.$ac_ext <<EOF 15108 cat > conftest.$ac_ext <<EOF
15060 #line 15061 "configure" 15109 #line 15110 "configure"
15061 #include "confdefs.h" 15110 #include "confdefs.h"
15062 #include <$db_h_file> 15111 #include <$db_h_file>
15063 #if DB_VERSION_MAJOR > 2 15112 #if DB_VERSION_MAJOR > 2
15064 yes 15113 yes
15065 #endif 15114 #endif
15067 EOF 15116 EOF
15068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 15117 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15069 egrep "yes" >/dev/null 2>&1; then 15118 egrep "yes" >/dev/null 2>&1; then
15070 rm -rf conftest* 15119 rm -rf conftest*
15071 cat > conftest.$ac_ext <<EOF 15120 cat > conftest.$ac_ext <<EOF
15072 #line 15073 "configure" 15121 #line 15122 "configure"
15073 #include "confdefs.h" 15122 #include "confdefs.h"
15074 #include <$db_h_file> 15123 #include <$db_h_file>
15075 #if DB_VERSION_MAJOR > 3 15124 #if DB_VERSION_MAJOR > 3
15076 yes 15125 yes
15077 #endif 15126 #endif
15101 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1 15150 echo "$ac_t""1" 1>&6; dbfunc=dbopen; dbver=1
15102 fi 15151 fi
15103 rm -f conftest* 15152 rm -f conftest*
15104 15153
15105 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6 15154 echo $ac_n "checking for $dbfunc""... $ac_c" 1>&6
15106 echo "configure:15107: checking for $dbfunc" >&5 15155 echo "configure:15156: checking for $dbfunc" >&5
15107 15156
15108 cat > conftest.$ac_ext <<EOF 15157 cat > conftest.$ac_ext <<EOF
15109 #line 15110 "configure" 15158 #line 15159 "configure"
15110 #include "confdefs.h" 15159 #include "confdefs.h"
15111 /* System header to define __stub macros and hopefully few prototypes, 15160 /* System header to define __stub macros and hopefully few prototypes,
15112 which can conflict with char $dbfunc(); below. */ 15161 which can conflict with char $dbfunc(); below. */
15113 #include <assert.h> 15162 #include <assert.h>
15114 /* Override any gcc2 internal prototype to avoid an error. */ 15163 /* Override any gcc2 internal prototype to avoid an error. */
15127 $dbfunc(); 15176 $dbfunc();
15128 #endif 15177 #endif
15129 15178
15130 ; return 0; } 15179 ; return 0; }
15131 EOF 15180 EOF
15132 if { (eval echo configure:15133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15181 if { (eval echo configure:15182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15133 rm -rf conftest* 15182 rm -rf conftest*
15134 eval "ac_cv_func_$dbfunc=yes" 15183 eval "ac_cv_func_$dbfunc=yes"
15135 else 15184 else
15136 echo "configure: failed program was:" >&5 15185 echo "configure: failed program was:" >&5
15137 cat conftest.$ac_ext >&5 15186 cat conftest.$ac_ext >&5
15146 else 15195 else
15147 echo "$ac_t""no" 1>&6 15196 echo "$ac_t""no" 1>&6
15148 15197
15149 15198
15150 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15199 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15151 echo "configure:15152: checking for $dbfunc in -ldb" >&5 15200 echo "configure:15201: checking for $dbfunc in -ldb" >&5
15152 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15201 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15153 15202
15154 xe_check_libs=" -ldb " 15203 xe_check_libs=" -ldb "
15155 cat > conftest.$ac_ext <<EOF 15204 cat > conftest.$ac_ext <<EOF
15156 #line 15157 "configure" 15205 #line 15206 "configure"
15157 #include "confdefs.h" 15206 #include "confdefs.h"
15158 /* Override any gcc2 internal prototype to avoid an error. */ 15207 /* Override any gcc2 internal prototype to avoid an error. */
15159 /* We use char because int might match the return type of a gcc2 15208 /* We use char because int might match the return type of a gcc2
15160 builtin and then its argument prototype would still apply. */ 15209 builtin and then its argument prototype would still apply. */
15161 char $dbfunc(); 15210 char $dbfunc();
15162 15211
15163 int main() { 15212 int main() {
15164 $dbfunc() 15213 $dbfunc()
15165 ; return 0; } 15214 ; return 0; }
15166 EOF 15215 EOF
15167 if { (eval echo configure:15168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15216 if { (eval echo configure:15217: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15168 rm -rf conftest* 15217 rm -rf conftest*
15169 eval "ac_cv_lib_$ac_lib_var=yes" 15218 eval "ac_cv_lib_$ac_lib_var=yes"
15170 else 15219 else
15171 echo "configure: failed program was:" >&5 15220 echo "configure: failed program was:" >&5
15172 cat conftest.$ac_ext >&5 15221 cat conftest.$ac_ext >&5
15196 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"` 15245 | sed -n -e "s/[ ]*=[ \"]*/='/" -e "s/[ \"]*\$/'/" -e "s/^configure___//p"`
15197 rm -f $tempcname 15246 rm -f $tempcname
15198 echo "configure: warning: "db_create is really $dbfunc"" 1>&2 15247 echo "configure: warning: "db_create is really $dbfunc"" 1>&2
15199 15248
15200 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6 15249 echo $ac_n "checking for $dbfunc in -ldb""... $ac_c" 1>&6
15201 echo "configure:15202: checking for $dbfunc in -ldb" >&5 15250 echo "configure:15251: checking for $dbfunc in -ldb" >&5
15202 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'` 15251 ac_lib_var=`echo db'_'$dbfunc | sed 'y%./+-%__p_%'`
15203 15252
15204 xe_check_libs=" -ldb " 15253 xe_check_libs=" -ldb "
15205 cat > conftest.$ac_ext <<EOF 15254 cat > conftest.$ac_ext <<EOF
15206 #line 15207 "configure" 15255 #line 15256 "configure"
15207 #include "confdefs.h" 15256 #include "confdefs.h"
15208 /* Override any gcc2 internal prototype to avoid an error. */ 15257 /* Override any gcc2 internal prototype to avoid an error. */
15209 /* We use char because int might match the return type of a gcc2 15258 /* We use char because int might match the return type of a gcc2
15210 builtin and then its argument prototype would still apply. */ 15259 builtin and then its argument prototype would still apply. */
15211 char $dbfunc(); 15260 char $dbfunc();
15212 15261
15213 int main() { 15262 int main() {
15214 $dbfunc() 15263 $dbfunc()
15215 ; return 0; } 15264 ; return 0; }
15216 EOF 15265 EOF
15217 if { (eval echo configure:15218: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15266 if { (eval echo configure:15267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15218 rm -rf conftest* 15267 rm -rf conftest*
15219 eval "ac_cv_lib_$ac_lib_var=yes" 15268 eval "ac_cv_lib_$ac_lib_var=yes"
15220 else 15269 else
15221 echo "configure: failed program was:" >&5 15270 echo "configure: failed program was:" >&5
15222 cat conftest.$ac_ext >&5 15271 cat conftest.$ac_ext >&5
15271 fi 15320 fi
15272 15321
15273 if test "$with_socks" = "yes"; then 15322 if test "$with_socks" = "yes"; then
15274 15323
15275 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6 15324 echo $ac_n "checking for SOCKSinit in -lsocks""... $ac_c" 1>&6
15276 echo "configure:15277: checking for SOCKSinit in -lsocks" >&5 15325 echo "configure:15326: checking for SOCKSinit in -lsocks" >&5
15277 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'` 15326 ac_lib_var=`echo socks'_'SOCKSinit | sed 'y%./+-%__p_%'`
15278 15327
15279 xe_check_libs=" -lsocks " 15328 xe_check_libs=" -lsocks "
15280 cat > conftest.$ac_ext <<EOF 15329 cat > conftest.$ac_ext <<EOF
15281 #line 15282 "configure" 15330 #line 15331 "configure"
15282 #include "confdefs.h" 15331 #include "confdefs.h"
15283 /* Override any gcc2 internal prototype to avoid an error. */ 15332 /* Override any gcc2 internal prototype to avoid an error. */
15284 /* We use char because int might match the return type of a gcc2 15333 /* We use char because int might match the return type of a gcc2
15285 builtin and then its argument prototype would still apply. */ 15334 builtin and then its argument prototype would still apply. */
15286 char SOCKSinit(); 15335 char SOCKSinit();
15287 15336
15288 int main() { 15337 int main() {
15289 SOCKSinit() 15338 SOCKSinit()
15290 ; return 0; } 15339 ; return 0; }
15291 EOF 15340 EOF
15292 if { (eval echo configure:15293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 15341 if { (eval echo configure:15342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
15293 rm -rf conftest* 15342 rm -rf conftest*
15294 eval "ac_cv_lib_$ac_lib_var=yes" 15343 eval "ac_cv_lib_$ac_lib_var=yes"
15295 else 15344 else
15296 echo "configure: failed program was:" >&5 15345 echo "configure: failed program was:" >&5
15297 cat conftest.$ac_ext >&5 15346 cat conftest.$ac_ext >&5
15341 15390
15342 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi 15391 LIBS="-Bstatic -lut -Bdynamic $LIBS" && if test "$extra_verbose" = "yes"; then echo " Prepending \"-Bstatic -lut -Bdynamic\" to \$LIBS"; fi
15343 fi 15392 fi
15344 15393
15345 cat > conftest.$ac_ext <<EOF 15394 cat > conftest.$ac_ext <<EOF
15346 #line 15347 "configure" 15395 #line 15396 "configure"
15347 #include "confdefs.h" 15396 #include "confdefs.h"
15348 int main(int c,char *v[]){return 0;} 15397 int main(int c,char *v[]){return 0;}
15349 EOF 15398 EOF
15350 if { (eval echo configure:15351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5 15399 if { (eval echo configure:15400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit $?) 2>&5
15351 then 15400 then
15352 : 15401 :
15353 else 15402 else
15354 conftest_rc="$?" 15403 conftest_rc="$?"
15355 echo "configure: failed program was:" >&5 15404 echo "configure: failed program was:" >&5