- readline checks still have a few problems, so don't do exit 1

This commit is contained in:
Bryce Denney 2001-10-04 05:39:12 +00:00
parent de156bd8d6
commit 84f1ebb003
2 changed files with 124 additions and 118 deletions

238
bochs/configure vendored
View File

@ -2082,6 +2082,7 @@ else
#line 2083 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
@ -2090,7 +2091,7 @@ main()
exit(0);
}
EOF
if { (eval echo configure:2094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2095: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_unsigned_char=`cat conftestval`
else
@ -2110,7 +2111,7 @@ EOF
echo $ac_n "checking size of unsigned short""... $ac_c" 1>&6
echo "configure:2114: checking size of unsigned short" >&5
echo "configure:2115: checking size of unsigned short" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_short'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2118,9 +2119,10 @@ else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 2122 "configure"
#line 2123 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
@ -2129,7 +2131,7 @@ main()
exit(0);
}
EOF
if { (eval echo configure:2133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_unsigned_short=`cat conftestval`
else
@ -2149,7 +2151,7 @@ EOF
echo $ac_n "checking size of unsigned int""... $ac_c" 1>&6
echo "configure:2153: checking size of unsigned int" >&5
echo "configure:2155: checking size of unsigned int" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_int'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2157,9 +2159,10 @@ else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 2161 "configure"
#line 2163 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
@ -2168,7 +2171,7 @@ main()
exit(0);
}
EOF
if { (eval echo configure:2172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_unsigned_int=`cat conftestval`
else
@ -2188,7 +2191,7 @@ EOF
echo $ac_n "checking size of unsigned long""... $ac_c" 1>&6
echo "configure:2192: checking size of unsigned long" >&5
echo "configure:2195: checking size of unsigned long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2196,9 +2199,10 @@ else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 2200 "configure"
#line 2203 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
@ -2207,7 +2211,7 @@ main()
exit(0);
}
EOF
if { (eval echo configure:2211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_unsigned_long=`cat conftestval`
else
@ -2227,7 +2231,7 @@ EOF
echo $ac_n "checking size of unsigned long long""... $ac_c" 1>&6
echo "configure:2231: checking size of unsigned long long" >&5
echo "configure:2235: checking size of unsigned long long" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_unsigned_long_long'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2235,9 +2239,10 @@ else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 2239 "configure"
#line 2243 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
@ -2246,7 +2251,7 @@ main()
exit(0);
}
EOF
if { (eval echo configure:2250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_unsigned_long_long=`cat conftestval`
else
@ -2266,7 +2271,7 @@ EOF
echo $ac_n "checking size of int *""... $ac_c" 1>&6
echo "configure:2270: checking size of int *" >&5
echo "configure:2275: checking size of int *" >&5
if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -2274,9 +2279,10 @@ else
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 2278 "configure"
#line 2283 "configure"
#include "confdefs.h"
#include <stdio.h>
#include <sys/types.h>
main()
{
FILE *f=fopen("conftestval", "w");
@ -2285,7 +2291,7 @@ main()
exit(0);
}
EOF
if { (eval echo configure:2289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:2295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
ac_cv_sizeof_int_p=`cat conftestval`
else
@ -2307,12 +2313,12 @@ EOF
for ac_func in select
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2311: checking for $ac_func" >&5
echo "configure:2317: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2316 "configure"
#line 2322 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -2335,7 +2341,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:2339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -2365,12 +2371,12 @@ done
for ac_func in snprintf
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2369: checking for $ac_func" >&5
echo "configure:2375: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2374 "configure"
#line 2380 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -2393,7 +2399,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:2397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -2423,12 +2429,12 @@ done
for ac_func in strtoull
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2427: checking for $ac_func" >&5
echo "configure:2433: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2432 "configure"
#line 2438 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -2451,7 +2457,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:2455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2461: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -2481,12 +2487,12 @@ done
for ac_func in strtouq
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2485: checking for $ac_func" >&5
echo "configure:2491: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2490 "configure"
#line 2496 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -2509,7 +2515,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:2513: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -2539,12 +2545,12 @@ done
for ac_func in strdup
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2543: checking for $ac_func" >&5
echo "configure:2549: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2548 "configure"
#line 2554 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -2567,7 +2573,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:2571: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2577: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -2597,12 +2603,12 @@ done
for ac_func in usleep
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2601: checking for $ac_func" >&5
echo "configure:2607: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2606 "configure"
#line 2612 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -2625,7 +2631,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:2629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -2655,12 +2661,12 @@ done
for ac_func in nanosleep
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:2659: checking for $ac_func" >&5
echo "configure:2665: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 2664 "configure"
#line 2670 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
which can conflict with char $ac_func(); below. */
@ -2683,7 +2689,7 @@ $ac_func();
; return 0; }
EOF
if { (eval echo configure:2687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:2693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
@ -2712,16 +2718,16 @@ done
echo $ac_n "checking for struct timeval""... $ac_c" 1>&6
echo "configure:2716: checking for struct timeval" >&5
echo "configure:2722: checking for struct timeval" >&5
cat > conftest.$ac_ext <<EOF
#line 2718 "configure"
#line 2724 "configure"
#include "confdefs.h"
#include <sys/time.h>
int main() {
struct timeval x;
; return 0; }
EOF
if { (eval echo configure:2725: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2731: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
@ -2739,16 +2745,16 @@ fi
rm -f conftest*
echo $ac_n "checking if compiler allows empty structs""... $ac_c" 1>&6
echo "configure:2743: checking if compiler allows empty structs" >&5
echo "configure:2749: checking if compiler allows empty structs" >&5
cat > conftest.$ac_ext <<EOF
#line 2745 "configure"
#line 2751 "configure"
#include "confdefs.h"
int main() {
typedef struct { } junk;
; return 0; }
EOF
if { (eval echo configure:2752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2758: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
else
@ -2766,16 +2772,16 @@ fi
rm -f conftest*
echo $ac_n "checking if compiler allows __attribute__""... $ac_c" 1>&6
echo "configure:2770: checking if compiler allows __attribute__" >&5
echo "configure:2776: checking if compiler allows __attribute__" >&5
cat > conftest.$ac_ext <<EOF
#line 2772 "configure"
#line 2778 "configure"
#include "confdefs.h"
int main() {
typedef struct { } __attribute__ ((packed)) junk;
; return 0; }
EOF
if { (eval echo configure:2779: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2785: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
else
@ -2801,16 +2807,16 @@ ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftes
cross_compiling=$ac_cv_prog_cxx_cross
echo $ac_n "checking for hash_map.h""... $ac_c" 1>&6
echo "configure:2805: checking for hash_map.h" >&5
echo "configure:2811: checking for hash_map.h" >&5
cat > conftest.$ac_ext <<EOF
#line 2807 "configure"
#line 2813 "configure"
#include "confdefs.h"
#include <hash_map.h>
int main() {
; return 0; }
EOF
if { (eval echo configure:2814: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:2820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
@ -2835,7 +2841,7 @@ cross_compiling=$ac_cv_prog_cc_cross
echo $ac_n "checking for control panel""... $ac_c" 1>&6
echo "configure:2839: checking for control panel" >&5
echo "configure:2845: checking for control panel" >&5
# Check whether --enable-control-panel or --disable-control-panel was given.
if test "${enable_control_panel+set}" = set; then
enableval="$enable_control_panel"
@ -2867,7 +2873,7 @@ fi
echo $ac_n "checking for new PIT model""... $ac_c" 1>&6
echo "configure:2871: checking for new PIT model" >&5
echo "configure:2877: checking for new PIT model" >&5
# Check whether --enable-new-pit or --disable-new-pit was given.
if test "${enable_new_pit+set}" = set; then
enableval="$enable_new_pit"
@ -2898,7 +2904,7 @@ fi
echo $ac_n "checking for slowdown timer""... $ac_c" 1>&6
echo "configure:2902: checking for slowdown timer" >&5
echo "configure:2908: checking for slowdown timer" >&5
# Check whether --enable-slowdown or --disable-slowdown was given.
if test "${enable_slowdown+set}" = set; then
enableval="$enable_slowdown"
@ -2934,7 +2940,7 @@ fi
echo $ac_n "checking for number of processors""... $ac_c" 1>&6
echo "configure:2938: checking for number of processors" >&5
echo "configure:2944: checking for number of processors" >&5
# Check whether --enable-processors or --disable-processors was given.
if test "${enable_processors+set}" = set; then
enableval="$enable_processors"
@ -3038,16 +3044,16 @@ fi
echo $ac_n "checking if compiler allows blank labels""... $ac_c" 1>&6
echo "configure:3042: checking if compiler allows blank labels" >&5
echo "configure:3048: checking if compiler allows blank labels" >&5
cat > conftest.$ac_ext <<EOF
#line 3044 "configure"
#line 3050 "configure"
#include "confdefs.h"
int main() {
{ label1: }
; return 0; }
EOF
if { (eval echo configure:3051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:3057: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
else
@ -3065,16 +3071,16 @@ fi
rm -f conftest*
echo $ac_n "checking if compiler allows LL for 64-bit constants""... $ac_c" 1>&6
echo "configure:3069: checking if compiler allows LL for 64-bit constants" >&5
echo "configure:3075: checking if compiler allows LL for 64-bit constants" >&5
cat > conftest.$ac_ext <<EOF
#line 3071 "configure"
#line 3077 "configure"
#include "confdefs.h"
int main() {
{ 42LL; }
; return 0; }
EOF
if { (eval echo configure:3078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:3084: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
echo "$ac_t""yes" 1>&6
else
@ -3092,7 +3098,7 @@ fi
rm -f conftest*
echo $ac_n "checking for cpu level""... $ac_c" 1>&6
echo "configure:3096: checking for cpu level" >&5
echo "configure:3102: checking for cpu level" >&5
# Check whether --enable-cpu-level or --disable-cpu-level was given.
if test "${enable_cpu_level+set}" = set; then
enableval="$enable_cpu_level"
@ -3186,7 +3192,7 @@ fi
echo $ac_n "checking for dynamic translation support""... $ac_c" 1>&6
echo "configure:3190: checking for dynamic translation support" >&5
echo "configure:3196: checking for dynamic translation support" >&5
# Check whether --enable-dynamic or --disable-dynamic was given.
if test "${enable_dynamic+set}" = set; then
enableval="$enable_dynamic"
@ -3259,7 +3265,7 @@ fi
echo $ac_n "checking for APIC support""... $ac_c" 1>&6
echo "configure:3263: checking for APIC support" >&5
echo "configure:3269: checking for APIC support" >&5
# Check whether --enable-apic or --disable-apic was given.
if test "${enable_apic+set}" = set; then
enableval="$enable_apic"
@ -3314,7 +3320,7 @@ fi
echo $ac_n "checking for split hard disk image support""... $ac_c" 1>&6
echo "configure:3318: checking for split hard disk image support" >&5
echo "configure:3324: checking for split hard disk image support" >&5
# Check whether --enable-split-hd or --disable-split-hd was given.
if test "${enable_split_hd+set}" = set; then
enableval="$enable_split_hd"
@ -3345,7 +3351,7 @@ fi
echo $ac_n "checking for NE2000 support""... $ac_c" 1>&6
echo "configure:3349: checking for NE2000 support" >&5
echo "configure:3355: checking for NE2000 support" >&5
# Check whether --enable-ne2000 or --disable-ne2000 was given.
if test "${enable_ne2000+set}" = set; then
enableval="$enable_ne2000"
@ -3358,17 +3364,17 @@ EOF
NE2K_OBJS='ne2k.o eth.o eth_null.o'
ac_safe=`echo "net/bpf.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for net/bpf.h""... $ac_c" 1>&6
echo "configure:3362: checking for net/bpf.h" >&5
echo "configure:3368: checking for net/bpf.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3367 "configure"
#line 3373 "configure"
#include "confdefs.h"
#include <net/bpf.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3372: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:3378: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -3391,17 +3397,17 @@ fi
ac_safe=`echo "netpacket/packet.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for netpacket/packet.h""... $ac_c" 1>&6
echo "configure:3395: checking for netpacket/packet.h" >&5
echo "configure:3401: checking for netpacket/packet.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3400 "configure"
#line 3406 "configure"
#include "confdefs.h"
#include <netpacket/packet.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:3411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -3449,7 +3455,7 @@ fi
echo $ac_n "checking for i440FX PCI support""... $ac_c" 1>&6
echo "configure:3453: checking for i440FX PCI support" >&5
echo "configure:3459: checking for i440FX PCI support" >&5
# Check whether --enable-pci or --disable-pci was given.
if test "${enable_pci+set}" = set; then
enableval="$enable_pci"
@ -3484,7 +3490,7 @@ fi
echo $ac_n "checking for port e9 hack""... $ac_c" 1>&6
echo "configure:3488: checking for port e9 hack" >&5
echo "configure:3494: checking for port e9 hack" >&5
# Check whether --enable-port-e9-hack or --disable-port-e9-hack was given.
if test "${enable_port_e9_hack+set}" = set; then
enableval="$enable_port_e9_hack"
@ -3515,7 +3521,7 @@ fi
echo $ac_n "checking for use of .cpp as suffix""... $ac_c" 1>&6
echo "configure:3519: checking for use of .cpp as suffix" >&5
echo "configure:3525: checking for use of .cpp as suffix" >&5
# Check whether --enable-cpp or --disable-cpp was given.
if test "${enable_cpp+set}" = set; then
enableval="$enable_cpp"
@ -3557,7 +3563,7 @@ fi
echo $ac_n "checking for Bochs internal debugger support""... $ac_c" 1>&6
echo "configure:3561: checking for Bochs internal debugger support" >&5
echo "configure:3567: checking for Bochs internal debugger support" >&5
# Check whether --enable-debugger or --disable-debugger was given.
if test "${enable_debugger+set}" = set; then
enableval="$enable_debugger"
@ -3595,7 +3601,7 @@ fi
echo $ac_n "checking for disassembler support""... $ac_c" 1>&6
echo "configure:3599: checking for disassembler support" >&5
echo "configure:3605: checking for disassembler support" >&5
# Check whether --enable-disasm or --disable-disasm was given.
if test "${enable_disasm+set}" = set; then
enableval="$enable_disasm"
@ -3642,7 +3648,7 @@ fi
echo $ac_n "checking whether to use readline""... $ac_c" 1>&6
echo "configure:3646: checking whether to use readline" >&5
echo "configure:3652: checking whether to use readline" >&5
# Check whether --enable-readline or --disable-readline was given.
if test "${enable_readline+set}" = set; then
enableval="$enable_readline"
@ -3664,7 +3670,7 @@ fi
if test "$want_readline" = yes; then
echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
echo "configure:3668: checking for readline in -lreadline" >&5
echo "configure:3674: checking for readline in -lreadline" >&5
ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -3672,7 +3678,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lreadline $LIBS"
cat > conftest.$ac_ext <<EOF
#line 3676 "configure"
#line 3682 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -3683,7 +3689,7 @@ int main() {
readline()
; return 0; }
EOF
if { (eval echo configure:3687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:3693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -3714,7 +3720,7 @@ else
fi
echo $ac_n "checking if readline works without -lcurses""... $ac_c" 1>&6
echo "configure:3718: checking if readline works without -lcurses" >&5
echo "configure:3724: checking if readline works without -lcurses" >&5
OLD_LIBS=$LIBS
LIBS="$LIBS -lreadline"
rl_without_curses_ok=yes
@ -3722,7 +3728,7 @@ echo "configure:3718: checking if readline works without -lcurses" >&5
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 3726 "configure"
#line 3732 "configure"
#include "confdefs.h"
#include <stdio.h>
@ -3730,7 +3736,7 @@ else
int main() { rl_initialize(); exit(0); }
EOF
if { (eval echo configure:3734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
echo "$ac_t""yes" 1>&6
else
@ -3747,14 +3753,14 @@ rm -fr conftest*
fi
echo $ac_n "checking if readline works with -lcurses""... $ac_c" 1>&6
echo "configure:3751: checking if readline works with -lcurses" >&5
echo "configure:3757: checking if readline works with -lcurses" >&5
LIBS="$LIBS -lcurses"
rl_with_curses_ok=yes
if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
cat > conftest.$ac_ext <<EOF
#line 3758 "configure"
#line 3764 "configure"
#include "confdefs.h"
#include <stdio.h>
@ -3762,7 +3768,7 @@ else
int main() { rl_initialize(); exit(0); }
EOF
if { (eval echo configure:3766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:3772: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
echo "$ac_t""yes" 1>&6
else
@ -3780,8 +3786,8 @@ fi
LIBS=$OLD_LIBS
if test "$rl_without_curses_ok" = no -a "$rl_with_curses_ok" = no; then
echo ERROR: readline enabled but it is broken, with or without the -lcurses link option
exit 1
echo WARNING: readline enabled but it is broken, with or without the -lcurses link option
#exit 1
elif test "$rl_without_curses_ok" = no; then
# we must add -lcurses!
if test "$READLINE_LIB" != ""; then
@ -3796,17 +3802,17 @@ fi
ac_safe=`echo "readline/history.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for readline/history.h""... $ac_c" 1>&6
echo "configure:3800: checking for readline/history.h" >&5
echo "configure:3806: checking for readline/history.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 3805 "configure"
#line 3811 "configure"
#include "confdefs.h"
#include <readline/history.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:3810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:3816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
rm -rf conftest*
@ -3833,7 +3839,7 @@ fi
echo $ac_n "checking for loader support""... $ac_c" 1>&6
echo "configure:3837: checking for loader support" >&5
echo "configure:3843: checking for loader support" >&5
# Check whether --enable-loader or --disable-loader was given.
if test "${enable_loader+set}" = set; then
enableval="$enable_loader"
@ -3871,7 +3877,7 @@ fi
INSTRUMENT_DIR='instrument/stubs'
echo $ac_n "checking for instrumentation support""... $ac_c" 1>&6
echo "configure:3875: checking for instrumentation support" >&5
echo "configure:3881: checking for instrumentation support" >&5
# Check whether --enable-instrumentation or --disable-instrumentation was given.
if test "${enable_instrumentation+set}" = set; then
enableval="$enable_instrumentation"
@ -4006,7 +4012,7 @@ fi
echo $ac_n "checking for VGA emulation""... $ac_c" 1>&6
echo "configure:4010: checking for VGA emulation" >&5
echo "configure:4016: checking for VGA emulation" >&5
# Check whether --enable-vga or --disable-vga was given.
if test "${enable_vga+set}" = set; then
enableval="$enable_vga"
@ -4040,7 +4046,7 @@ fi
echo $ac_n "checking for FPU emulation""... $ac_c" 1>&6
echo "configure:4044: checking for FPU emulation" >&5
echo "configure:4050: checking for FPU emulation" >&5
FPU_VAR=''
FPU_GLUE_OBJ=''
# Check whether --enable-fpu or --disable-fpu was given.
@ -4085,7 +4091,7 @@ fi
echo $ac_n "checking for x86 debugger support""... $ac_c" 1>&6
echo "configure:4089: checking for x86 debugger support" >&5
echo "configure:4095: checking for x86 debugger support" >&5
# Check whether --enable-x86-debugger or --disable-x86-debugger was given.
if test "${enable_x86_debugger+set}" = set; then
enableval="$enable_x86_debugger"
@ -4121,7 +4127,7 @@ fi
echo $ac_n "checking for CDROM support""... $ac_c" 1>&6
echo "configure:4125: checking for CDROM support" >&5
echo "configure:4131: checking for CDROM support" >&5
# Check whether --enable-cdrom or --disable-cdrom was given.
if test "${enable_cdrom+set}" = set; then
enableval="$enable_cdrom"
@ -4160,7 +4166,7 @@ fi
echo $ac_n "checking for Sound Blaster 16 support""... $ac_c" 1>&6
echo "configure:4164: checking for Sound Blaster 16 support" >&5
echo "configure:4170: checking for Sound Blaster 16 support" >&5
# Check whether --enable-sb16 or --disable-sb16 was given.
if test "${enable_sb16+set}" = set; then
enableval="$enable_sb16"
@ -4234,7 +4240,7 @@ fi
echo $ac_n "checking for I/O Interface to the debugger""... $ac_c" 1>&6
echo "configure:4238: checking for I/O Interface to the debugger" >&5
echo "configure:4244: checking for I/O Interface to the debugger" >&5
IODEBUG_OBJS=''
# Check whether --enable-iodebug or --disable-iodebug was given.
if test "${enable_iodebug+set}" = set; then
@ -4359,7 +4365,7 @@ fi
echo $ac_n "checking for gui library to use""... $ac_c" 1>&6
echo "configure:4363: checking for gui library to use" >&5
echo "configure:4369: checking for gui library to use" >&5
if (test "$with_x11" != yes) && \
(test "$with_beos" != yes) && \
@ -4532,7 +4538,7 @@ fi
if test "$use_curses" = yes; then
echo $ac_n "checking for mvaddch in -lcurses""... $ac_c" 1>&6
echo "configure:4536: checking for mvaddch in -lcurses" >&5
echo "configure:4542: checking for mvaddch in -lcurses" >&5
ac_lib_var=`echo curses'_'mvaddch | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -4540,7 +4546,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lcurses $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4544 "configure"
#line 4550 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -4551,7 +4557,7 @@ int main() {
mvaddch()
; return 0; }
EOF
if { (eval echo configure:4555: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -4572,7 +4578,7 @@ else
fi
echo $ac_n "checking for mvaddch in -lncurses""... $ac_c" 1>&6
echo "configure:4576: checking for mvaddch in -lncurses" >&5
echo "configure:4582: checking for mvaddch in -lncurses" >&5
ac_lib_var=`echo ncurses'_'mvaddch | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -4580,7 +4586,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lncurses $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4584 "configure"
#line 4590 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -4591,7 +4597,7 @@ int main() {
mvaddch()
; return 0; }
EOF
if { (eval echo configure:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -4612,7 +4618,7 @@ else
fi
echo $ac_n "checking for mvaddch in -ltermlib""... $ac_c" 1>&6
echo "configure:4616: checking for mvaddch in -ltermlib" >&5
echo "configure:4622: checking for mvaddch in -ltermlib" >&5
ac_lib_var=`echo termlib'_'mvaddch | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -4620,7 +4626,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-ltermlib $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4624 "configure"
#line 4630 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -4631,7 +4637,7 @@ int main() {
mvaddch()
; return 0; }
EOF
if { (eval echo configure:4635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -4660,18 +4666,18 @@ fi
if test "$with_rfb" = yes; then
# first see if compiler takes "-pthread" argument
echo $ac_n "checking for -pthread arg to compiler""... $ac_c" 1>&6
echo "configure:4664: checking for -pthread arg to compiler" >&5
echo "configure:4670: checking for -pthread arg to compiler" >&5
CFLAGS_SAVE="$CFLAGS"
CFLAGS="$CFLAGS -pthread"
cat > conftest.$ac_ext <<EOF
#line 4668 "configure"
#line 4674 "configure"
#include "confdefs.h"
#include <pthread.h>
int main() {
pthread_create(0,0,0,0);
; return 0; }
EOF
if { (eval echo configure:4675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
# it compiles with -pthread
@ -4687,7 +4693,7 @@ else
# now try with -lpthread
CFLAGS="$CFLAGS_SAVE"
echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
echo "configure:4691: checking for pthread_create in -lpthread" >&5
echo "configure:4697: checking for pthread_create in -lpthread" >&5
ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
@ -4695,7 +4701,7 @@ else
ac_save_LIBS="$LIBS"
LIBS="-lpthread $LIBS"
cat > conftest.$ac_ext <<EOF
#line 4699 "configure"
#line 4705 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
@ -4706,7 +4712,7 @@ int main() {
pthread_create()
; return 0; }
EOF
if { (eval echo configure:4710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:4716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
eval "ac_cv_lib_$ac_lib_var=yes"
else
@ -4758,7 +4764,7 @@ fi
# Extract the first word of "gzip", so it can be a program name with args.
set dummy gzip; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:4762: checking for $ac_word" >&5
echo "configure:4768: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_GZIP'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
@ -4793,7 +4799,7 @@ fi
# Extract the first word of "tar", so it can be a program name with args.
set dummy tar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:4797: checking for $ac_word" >&5
echo "configure:4803: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_path_TAR'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else

View File

@ -557,8 +557,8 @@ if test "$want_readline" = yes; then
)
LIBS=$OLD_LIBS
if test "$rl_without_curses_ok" = no -a "$rl_with_curses_ok" = no; then
echo ERROR: readline enabled but it is broken, with or without the -lcurses link option
exit 1
echo WARNING: readline enabled but it is broken, with or without the -lcurses link option
#exit 1
elif test "$rl_without_curses_ok" = no; then
# we must add -lcurses!
if test "$READLINE_LIB" != ""; then