773 |
|
fi |
774 |
|
fi |
775 |
|
|
776 |
+ |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
777 |
+ |
echo "configure:778: checking how to run the C preprocessor" >&5 |
778 |
+ |
# On Suns, sometimes $CPP names a directory. |
779 |
+ |
if test -n "$CPP" && test -d "$CPP"; then |
780 |
+ |
CPP= |
781 |
+ |
fi |
782 |
+ |
if test -z "$CPP"; then |
783 |
+ |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
784 |
+ |
echo $ac_n "(cached) $ac_c" 1>&6 |
785 |
+ |
else |
786 |
+ |
# This must be in double quotes, not single quotes, because CPP may get |
787 |
+ |
# substituted into the Makefile and "${CC-cc}" will confuse make. |
788 |
+ |
CPP="${CC-cc} -E" |
789 |
+ |
# On the NeXT, cc -E runs the code through the compiler's parser, |
790 |
+ |
# not just through cpp. |
791 |
+ |
cat > conftest.$ac_ext <<EOF |
792 |
+ |
#line 793 "configure" |
793 |
+ |
#include "confdefs.h" |
794 |
+ |
#include <assert.h> |
795 |
+ |
Syntax Error |
796 |
+ |
EOF |
797 |
+ |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
798 |
+ |
{ (eval echo configure:799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
799 |
+ |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
800 |
+ |
if test -z "$ac_err"; then |
801 |
+ |
: |
802 |
+ |
else |
803 |
+ |
echo "$ac_err" >&5 |
804 |
+ |
echo "configure: failed program was:" >&5 |
805 |
+ |
cat conftest.$ac_ext >&5 |
806 |
+ |
rm -rf conftest* |
807 |
+ |
CPP="${CC-cc} -E -traditional-cpp" |
808 |
+ |
cat > conftest.$ac_ext <<EOF |
809 |
+ |
#line 810 "configure" |
810 |
+ |
#include "confdefs.h" |
811 |
+ |
#include <assert.h> |
812 |
+ |
Syntax Error |
813 |
+ |
EOF |
814 |
+ |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
815 |
+ |
{ (eval echo configure:816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
816 |
+ |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
817 |
+ |
if test -z "$ac_err"; then |
818 |
+ |
: |
819 |
+ |
else |
820 |
+ |
echo "$ac_err" >&5 |
821 |
+ |
echo "configure: failed program was:" >&5 |
822 |
+ |
cat conftest.$ac_ext >&5 |
823 |
+ |
rm -rf conftest* |
824 |
+ |
CPP="${CC-cc} -nologo -E" |
825 |
+ |
cat > conftest.$ac_ext <<EOF |
826 |
+ |
#line 827 "configure" |
827 |
+ |
#include "confdefs.h" |
828 |
+ |
#include <assert.h> |
829 |
+ |
Syntax Error |
830 |
+ |
EOF |
831 |
+ |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
832 |
+ |
{ (eval echo configure:833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
833 |
+ |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
834 |
+ |
if test -z "$ac_err"; then |
835 |
+ |
: |
836 |
+ |
else |
837 |
+ |
echo "$ac_err" >&5 |
838 |
+ |
echo "configure: failed program was:" >&5 |
839 |
+ |
cat conftest.$ac_ext >&5 |
840 |
+ |
rm -rf conftest* |
841 |
+ |
CPP=/lib/cpp |
842 |
+ |
fi |
843 |
+ |
rm -f conftest* |
844 |
+ |
fi |
845 |
+ |
rm -f conftest* |
846 |
+ |
fi |
847 |
+ |
rm -f conftest* |
848 |
+ |
ac_cv_prog_CPP="$CPP" |
849 |
+ |
fi |
850 |
+ |
CPP="$ac_cv_prog_CPP" |
851 |
+ |
else |
852 |
+ |
ac_cv_prog_CPP="$CPP" |
853 |
+ |
fi |
854 |
+ |
echo "$ac_t""$CPP" 1>&6 |
855 |
+ |
|
856 |
|
for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl |
857 |
|
do |
858 |
|
# Extract the first word of "$ac_prog", so it can be a program name with args. |
859 |
|
set dummy $ac_prog; ac_word=$2 |
860 |
|
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
861 |
< |
echo "configure:782: checking for $ac_word" >&5 |
861 |
> |
echo "configure:862: checking for $ac_word" >&5 |
862 |
|
if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
863 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
864 |
|
else |
890 |
|
|
891 |
|
|
892 |
|
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
893 |
< |
echo "configure:814: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
893 |
> |
echo "configure:894: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
894 |
|
|
895 |
|
ac_ext=C |
896 |
|
# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
901 |
|
|
902 |
|
cat > conftest.$ac_ext << EOF |
903 |
|
|
904 |
< |
#line 825 "configure" |
904 |
> |
#line 905 "configure" |
905 |
|
#include "confdefs.h" |
906 |
|
|
907 |
|
int main(){return(0);} |
908 |
|
EOF |
909 |
< |
if { (eval echo configure:830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
909 |
> |
if { (eval echo configure:910: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
910 |
|
ac_cv_prog_cxx_works=yes |
911 |
|
# If we can't run a trivial program, we are probably using a cross compiler. |
912 |
|
if (./conftest; exit) 2>/dev/null; then |
932 |
|
{ echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } |
933 |
|
fi |
934 |
|
echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
935 |
< |
echo "configure:856: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
935 |
> |
echo "configure:936: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
936 |
|
echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
937 |
|
cross_compiling=$ac_cv_prog_cxx_cross |
938 |
|
|
939 |
|
echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 |
940 |
< |
echo "configure:861: checking whether we are using GNU C++" >&5 |
940 |
> |
echo "configure:941: checking whether we are using GNU C++" >&5 |
941 |
|
if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
942 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
943 |
|
else |
946 |
|
yes; |
947 |
|
#endif |
948 |
|
EOF |
949 |
< |
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
949 |
> |
if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
950 |
|
ac_cv_prog_gxx=yes |
951 |
|
else |
952 |
|
ac_cv_prog_gxx=no |
965 |
|
ac_save_CXXFLAGS="$CXXFLAGS" |
966 |
|
CXXFLAGS= |
967 |
|
echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
968 |
< |
echo "configure:889: checking whether ${CXX-g++} accepts -g" >&5 |
968 |
> |
echo "configure:969: checking whether ${CXX-g++} accepts -g" >&5 |
969 |
|
if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
970 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
971 |
|
else |
996 |
|
fi |
997 |
|
fi |
998 |
|
|
919 |
– |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
920 |
– |
echo "configure:921: checking how to run the C preprocessor" >&5 |
921 |
– |
# On Suns, sometimes $CPP names a directory. |
922 |
– |
if test -n "$CPP" && test -d "$CPP"; then |
923 |
– |
CPP= |
924 |
– |
fi |
925 |
– |
if test -z "$CPP"; then |
926 |
– |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
927 |
– |
echo $ac_n "(cached) $ac_c" 1>&6 |
928 |
– |
else |
929 |
– |
# This must be in double quotes, not single quotes, because CPP may get |
930 |
– |
# substituted into the Makefile and "${CC-cc}" will confuse make. |
931 |
– |
CPP="${CC-cc} -E" |
932 |
– |
# On the NeXT, cc -E runs the code through the compiler's parser, |
933 |
– |
# not just through cpp. |
934 |
– |
cat > conftest.$ac_ext <<EOF |
935 |
– |
#line 936 "configure" |
936 |
– |
#include "confdefs.h" |
937 |
– |
#include <assert.h> |
938 |
– |
Syntax Error |
939 |
– |
EOF |
940 |
– |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
941 |
– |
{ (eval echo configure:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
942 |
– |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
943 |
– |
if test -z "$ac_err"; then |
944 |
– |
: |
945 |
– |
else |
946 |
– |
echo "$ac_err" >&5 |
947 |
– |
echo "configure: failed program was:" >&5 |
948 |
– |
cat conftest.$ac_ext >&5 |
949 |
– |
rm -rf conftest* |
950 |
– |
CPP="${CC-cc} -E -traditional-cpp" |
951 |
– |
cat > conftest.$ac_ext <<EOF |
952 |
– |
#line 953 "configure" |
953 |
– |
#include "confdefs.h" |
954 |
– |
#include <assert.h> |
955 |
– |
Syntax Error |
956 |
– |
EOF |
957 |
– |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
958 |
– |
{ (eval echo configure:959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
959 |
– |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
960 |
– |
if test -z "$ac_err"; then |
961 |
– |
: |
962 |
– |
else |
963 |
– |
echo "$ac_err" >&5 |
964 |
– |
echo "configure: failed program was:" >&5 |
965 |
– |
cat conftest.$ac_ext >&5 |
966 |
– |
rm -rf conftest* |
967 |
– |
CPP="${CC-cc} -nologo -E" |
968 |
– |
cat > conftest.$ac_ext <<EOF |
969 |
– |
#line 970 "configure" |
970 |
– |
#include "confdefs.h" |
971 |
– |
#include <assert.h> |
972 |
– |
Syntax Error |
973 |
– |
EOF |
974 |
– |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
975 |
– |
{ (eval echo configure:976: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
976 |
– |
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
977 |
– |
if test -z "$ac_err"; then |
978 |
– |
: |
979 |
– |
else |
980 |
– |
echo "$ac_err" >&5 |
981 |
– |
echo "configure: failed program was:" >&5 |
982 |
– |
cat conftest.$ac_ext >&5 |
983 |
– |
rm -rf conftest* |
984 |
– |
CPP=/lib/cpp |
985 |
– |
fi |
986 |
– |
rm -f conftest* |
987 |
– |
fi |
988 |
– |
rm -f conftest* |
989 |
– |
fi |
990 |
– |
rm -f conftest* |
991 |
– |
ac_cv_prog_CPP="$CPP" |
992 |
– |
fi |
993 |
– |
CPP="$ac_cv_prog_CPP" |
994 |
– |
else |
995 |
– |
ac_cv_prog_CPP="$CPP" |
996 |
– |
fi |
997 |
– |
echo "$ac_t""$CPP" 1>&6 |
998 |
– |
|
999 |
|
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
1000 |
|
echo "configure:1001: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
1001 |
|
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
2504 |
|
fi |
2505 |
|
|
2506 |
|
if [ "x$HAVE_LIBPOSIX4" = "xno" ]; then |
2507 |
< |
for ac_func in semget |
2508 |
< |
do |
2509 |
< |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
2510 |
< |
echo "configure:2511: checking for $ac_func" >&5 |
2511 |
< |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
2512 |
< |
echo $ac_n "(cached) $ac_c" 1>&6 |
2513 |
< |
else |
2514 |
< |
cat > conftest.$ac_ext <<EOF |
2515 |
< |
#line 2516 "configure" |
2516 |
< |
#include "confdefs.h" |
2517 |
< |
/* System header to define __stub macros and hopefully few prototypes, |
2518 |
< |
which can conflict with char $ac_func(); below. */ |
2519 |
< |
#include <assert.h> |
2520 |
< |
/* Override any gcc2 internal prototype to avoid an error. */ |
2521 |
< |
/* We use char because int might match the return type of a gcc2 |
2522 |
< |
builtin and then its argument prototype would still apply. */ |
2523 |
< |
char $ac_func(); |
2524 |
< |
|
2525 |
< |
int main() { |
2526 |
< |
|
2527 |
< |
/* The GNU C library defines this for functions which it implements |
2528 |
< |
to always fail with ENOSYS. Some functions are actually named |
2529 |
< |
something starting with __ and the normal name is an alias. */ |
2530 |
< |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
2531 |
< |
choke me |
2532 |
< |
#else |
2533 |
< |
$ac_func(); |
2534 |
< |
#endif |
2535 |
< |
|
2536 |
< |
; return 0; } |
2537 |
< |
EOF |
2538 |
< |
if { (eval echo configure:2539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
2539 |
< |
rm -rf conftest* |
2540 |
< |
eval "ac_cv_func_$ac_func=yes" |
2541 |
< |
else |
2542 |
< |
echo "configure: failed program was:" >&5 |
2543 |
< |
cat conftest.$ac_ext >&5 |
2544 |
< |
rm -rf conftest* |
2545 |
< |
eval "ac_cv_func_$ac_func=no" |
2546 |
< |
fi |
2547 |
< |
rm -f conftest* |
2548 |
< |
fi |
2549 |
< |
|
2550 |
< |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
2551 |
< |
echo "$ac_t""yes" 1>&6 |
2552 |
< |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
2553 |
< |
cat >> confdefs.h <<EOF |
2554 |
< |
#define $ac_tr_func 1 |
2555 |
< |
EOF |
2556 |
< |
|
2557 |
< |
else |
2558 |
< |
echo "$ac_t""no" 1>&6 |
2559 |
< |
fi |
2560 |
< |
done |
2561 |
< |
|
2562 |
< |
if [ "x$ac_cv_func_semget" = "xno" ]; then |
2563 |
< |
{ echo "configure: error: You need POSIX.4 semaphores to run Basilisk II." 1>&2; exit 1; } |
2564 |
< |
else |
2565 |
< |
SEMSRCS="posix_sem.cpp" |
2566 |
< |
fi |
2507 |
> |
SEMSRCS="posix_sem.cpp" |
2508 |
|
else |
2509 |
|
LIBS="$LIBS -lposix4" |
2510 |
|
fi |
2511 |
|
fi |
2512 |
|
|
2513 |
|
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
2514 |
< |
echo "configure:2574: checking for ANSI C header files" >&5 |
2514 |
> |
echo "configure:2515: checking for ANSI C header files" >&5 |
2515 |
|
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
2516 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2517 |
|
else |
2518 |
|
cat > conftest.$ac_ext <<EOF |
2519 |
< |
#line 2579 "configure" |
2519 |
> |
#line 2520 "configure" |
2520 |
|
#include "confdefs.h" |
2521 |
|
#include <stdlib.h> |
2522 |
|
#include <stdarg.h> |
2524 |
|
#include <float.h> |
2525 |
|
EOF |
2526 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2527 |
< |
{ (eval echo configure:2587: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2527 |
> |
{ (eval echo configure:2528: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2528 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2529 |
|
if test -z "$ac_err"; then |
2530 |
|
rm -rf conftest* |
2541 |
|
if test $ac_cv_header_stdc = yes; then |
2542 |
|
# SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
2543 |
|
cat > conftest.$ac_ext <<EOF |
2544 |
< |
#line 2604 "configure" |
2544 |
> |
#line 2545 "configure" |
2545 |
|
#include "confdefs.h" |
2546 |
|
#include <string.h> |
2547 |
|
EOF |
2559 |
|
if test $ac_cv_header_stdc = yes; then |
2560 |
|
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
2561 |
|
cat > conftest.$ac_ext <<EOF |
2562 |
< |
#line 2622 "configure" |
2562 |
> |
#line 2563 "configure" |
2563 |
|
#include "confdefs.h" |
2564 |
|
#include <stdlib.h> |
2565 |
|
EOF |
2580 |
|
: |
2581 |
|
else |
2582 |
|
cat > conftest.$ac_ext <<EOF |
2583 |
< |
#line 2643 "configure" |
2583 |
> |
#line 2584 "configure" |
2584 |
|
#include "confdefs.h" |
2585 |
|
#include <ctype.h> |
2586 |
|
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
2591 |
|
exit (0); } |
2592 |
|
|
2593 |
|
EOF |
2594 |
< |
if { (eval echo configure:2654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2594 |
> |
if { (eval echo configure:2595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2595 |
|
then |
2596 |
|
: |
2597 |
|
else |
2618 |
|
do |
2619 |
|
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
2620 |
|
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
2621 |
< |
echo "configure:2681: checking for $ac_hdr" >&5 |
2621 |
> |
echo "configure:2622: checking for $ac_hdr" >&5 |
2622 |
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
2623 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2624 |
|
else |
2625 |
|
cat > conftest.$ac_ext <<EOF |
2626 |
< |
#line 2686 "configure" |
2626 |
> |
#line 2627 "configure" |
2627 |
|
#include "confdefs.h" |
2628 |
|
#include <$ac_hdr> |
2629 |
|
EOF |
2630 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
2631 |
< |
{ (eval echo configure:2691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2631 |
> |
{ (eval echo configure:2632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
2632 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
2633 |
|
if test -z "$ac_err"; then |
2634 |
|
rm -rf conftest* |
2656 |
|
|
2657 |
|
|
2658 |
|
echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
2659 |
< |
echo "configure:2719: checking whether byte ordering is bigendian" >&5 |
2659 |
> |
echo "configure:2660: checking whether byte ordering is bigendian" >&5 |
2660 |
|
if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
2661 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2662 |
|
else |
2663 |
|
ac_cv_c_bigendian=unknown |
2664 |
|
# See if sys/param.h defines the BYTE_ORDER macro. |
2665 |
|
cat > conftest.$ac_ext <<EOF |
2666 |
< |
#line 2726 "configure" |
2666 |
> |
#line 2667 "configure" |
2667 |
|
#include "confdefs.h" |
2668 |
|
#include <sys/types.h> |
2669 |
|
#include <sys/param.h> |
2674 |
|
#endif |
2675 |
|
; return 0; } |
2676 |
|
EOF |
2677 |
< |
if { (eval echo configure:2737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2677 |
> |
if { (eval echo configure:2678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2678 |
|
rm -rf conftest* |
2679 |
|
# It does; now see whether it defined to BIG_ENDIAN or not. |
2680 |
|
cat > conftest.$ac_ext <<EOF |
2681 |
< |
#line 2741 "configure" |
2681 |
> |
#line 2682 "configure" |
2682 |
|
#include "confdefs.h" |
2683 |
|
#include <sys/types.h> |
2684 |
|
#include <sys/param.h> |
2689 |
|
#endif |
2690 |
|
; return 0; } |
2691 |
|
EOF |
2692 |
< |
if { (eval echo configure:2752: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2692 |
> |
if { (eval echo configure:2693: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2693 |
|
rm -rf conftest* |
2694 |
|
ac_cv_c_bigendian=yes |
2695 |
|
else |
2709 |
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
2710 |
|
else |
2711 |
|
cat > conftest.$ac_ext <<EOF |
2712 |
< |
#line 2772 "configure" |
2712 |
> |
#line 2713 "configure" |
2713 |
|
#include "confdefs.h" |
2714 |
|
main () { |
2715 |
|
/* Are we little or big endian? From Harbison&Steele. */ |
2722 |
|
exit (u.c[sizeof (long) - 1] == 1); |
2723 |
|
} |
2724 |
|
EOF |
2725 |
< |
if { (eval echo configure:2785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2725 |
> |
if { (eval echo configure:2726: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2726 |
|
then |
2727 |
|
ac_cv_c_bigendian=no |
2728 |
|
else |
2746 |
|
fi |
2747 |
|
|
2748 |
|
echo $ac_n "checking for working const""... $ac_c" 1>&6 |
2749 |
< |
echo "configure:2809: checking for working const" >&5 |
2749 |
> |
echo "configure:2750: checking for working const" >&5 |
2750 |
|
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
2751 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2752 |
|
else |
2753 |
|
cat > conftest.$ac_ext <<EOF |
2754 |
< |
#line 2814 "configure" |
2754 |
> |
#line 2755 "configure" |
2755 |
|
#include "confdefs.h" |
2756 |
|
|
2757 |
|
int main() { |
2800 |
|
|
2801 |
|
; return 0; } |
2802 |
|
EOF |
2803 |
< |
if { (eval echo configure:2863: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2803 |
> |
if { (eval echo configure:2804: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2804 |
|
rm -rf conftest* |
2805 |
|
ac_cv_c_const=yes |
2806 |
|
else |
2821 |
|
fi |
2822 |
|
|
2823 |
|
echo $ac_n "checking for inline""... $ac_c" 1>&6 |
2824 |
< |
echo "configure:2884: checking for inline" >&5 |
2824 |
> |
echo "configure:2825: checking for inline" >&5 |
2825 |
|
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then |
2826 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2827 |
|
else |
2828 |
|
ac_cv_c_inline=no |
2829 |
|
for ac_kw in inline __inline__ __inline; do |
2830 |
|
cat > conftest.$ac_ext <<EOF |
2831 |
< |
#line 2891 "configure" |
2831 |
> |
#line 2832 "configure" |
2832 |
|
#include "confdefs.h" |
2833 |
|
|
2834 |
|
int main() { |
2835 |
|
} $ac_kw foo() { |
2836 |
|
; return 0; } |
2837 |
|
EOF |
2838 |
< |
if { (eval echo configure:2898: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2838 |
> |
if { (eval echo configure:2839: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
2839 |
|
rm -rf conftest* |
2840 |
|
ac_cv_c_inline=$ac_kw; break |
2841 |
|
else |
2861 |
|
esac |
2862 |
|
|
2863 |
|
echo $ac_n "checking size of short""... $ac_c" 1>&6 |
2864 |
< |
echo "configure:2924: checking size of short" >&5 |
2864 |
> |
echo "configure:2865: checking size of short" >&5 |
2865 |
|
if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then |
2866 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2867 |
|
else |
2869 |
|
ac_cv_sizeof_short=2 |
2870 |
|
else |
2871 |
|
cat > conftest.$ac_ext <<EOF |
2872 |
< |
#line 2932 "configure" |
2872 |
> |
#line 2873 "configure" |
2873 |
|
#include "confdefs.h" |
2874 |
|
#include <stdio.h> |
2875 |
|
main() |
2880 |
|
exit(0); |
2881 |
|
} |
2882 |
|
EOF |
2883 |
< |
if { (eval echo configure:2943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2883 |
> |
if { (eval echo configure:2884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2884 |
|
then |
2885 |
|
ac_cv_sizeof_short=`cat conftestval` |
2886 |
|
else |
2900 |
|
|
2901 |
|
|
2902 |
|
echo $ac_n "checking size of int""... $ac_c" 1>&6 |
2903 |
< |
echo "configure:2963: checking size of int" >&5 |
2903 |
> |
echo "configure:2904: checking size of int" >&5 |
2904 |
|
if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
2905 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2906 |
|
else |
2908 |
|
ac_cv_sizeof_int=4 |
2909 |
|
else |
2910 |
|
cat > conftest.$ac_ext <<EOF |
2911 |
< |
#line 2971 "configure" |
2911 |
> |
#line 2912 "configure" |
2912 |
|
#include "confdefs.h" |
2913 |
|
#include <stdio.h> |
2914 |
|
main() |
2919 |
|
exit(0); |
2920 |
|
} |
2921 |
|
EOF |
2922 |
< |
if { (eval echo configure:2982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2922 |
> |
if { (eval echo configure:2923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2923 |
|
then |
2924 |
|
ac_cv_sizeof_int=`cat conftestval` |
2925 |
|
else |
2939 |
|
|
2940 |
|
|
2941 |
|
echo $ac_n "checking size of long""... $ac_c" 1>&6 |
2942 |
< |
echo "configure:3002: checking size of long" >&5 |
2942 |
> |
echo "configure:2943: checking size of long" >&5 |
2943 |
|
if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
2944 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2945 |
|
else |
2947 |
|
ac_cv_sizeof_long=4 |
2948 |
|
else |
2949 |
|
cat > conftest.$ac_ext <<EOF |
2950 |
< |
#line 3010 "configure" |
2950 |
> |
#line 2951 "configure" |
2951 |
|
#include "confdefs.h" |
2952 |
|
#include <stdio.h> |
2953 |
|
main() |
2958 |
|
exit(0); |
2959 |
|
} |
2960 |
|
EOF |
2961 |
< |
if { (eval echo configure:3021: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2961 |
> |
if { (eval echo configure:2962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
2962 |
|
then |
2963 |
|
ac_cv_sizeof_long=`cat conftestval` |
2964 |
|
else |
2978 |
|
|
2979 |
|
|
2980 |
|
echo $ac_n "checking size of long long""... $ac_c" 1>&6 |
2981 |
< |
echo "configure:3041: checking size of long long" >&5 |
2981 |
> |
echo "configure:2982: checking size of long long" >&5 |
2982 |
|
if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then |
2983 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
2984 |
|
else |
2986 |
|
ac_cv_sizeof_long_long=8 |
2987 |
|
else |
2988 |
|
cat > conftest.$ac_ext <<EOF |
2989 |
< |
#line 3049 "configure" |
2989 |
> |
#line 2990 "configure" |
2990 |
|
#include "confdefs.h" |
2991 |
|
#include <stdio.h> |
2992 |
|
main() |
2997 |
|
exit(0); |
2998 |
|
} |
2999 |
|
EOF |
3000 |
< |
if { (eval echo configure:3060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3000 |
> |
if { (eval echo configure:3001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null |
3001 |
|
then |
3002 |
|
ac_cv_sizeof_long_long=`cat conftestval` |
3003 |
|
else |
3017 |
|
|
3018 |
|
|
3019 |
|
echo $ac_n "checking for off_t""... $ac_c" 1>&6 |
3020 |
< |
echo "configure:3080: checking for off_t" >&5 |
3020 |
> |
echo "configure:3021: checking for off_t" >&5 |
3021 |
|
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then |
3022 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3023 |
|
else |
3024 |
|
cat > conftest.$ac_ext <<EOF |
3025 |
< |
#line 3085 "configure" |
3025 |
> |
#line 3026 "configure" |
3026 |
|
#include "confdefs.h" |
3027 |
|
#include <sys/types.h> |
3028 |
|
#if STDC_HEADERS |
3050 |
|
fi |
3051 |
|
|
3052 |
|
echo $ac_n "checking for loff_t""... $ac_c" 1>&6 |
3053 |
< |
echo "configure:3113: checking for loff_t" >&5 |
3053 |
> |
echo "configure:3054: checking for loff_t" >&5 |
3054 |
|
if eval "test \"`echo '$''{'ac_cv_type_loff_t'+set}'`\" = set"; then |
3055 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3056 |
|
else |
3057 |
|
cat > conftest.$ac_ext <<EOF |
3058 |
< |
#line 3118 "configure" |
3058 |
> |
#line 3059 "configure" |
3059 |
|
#include "confdefs.h" |
3060 |
|
#include <sys/types.h> |
3061 |
|
#if STDC_HEADERS |
3083 |
|
fi |
3084 |
|
|
3085 |
|
echo $ac_n "checking for size_t""... $ac_c" 1>&6 |
3086 |
< |
echo "configure:3146: checking for size_t" >&5 |
3086 |
> |
echo "configure:3087: checking for size_t" >&5 |
3087 |
|
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then |
3088 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3089 |
|
else |
3090 |
|
cat > conftest.$ac_ext <<EOF |
3091 |
< |
#line 3151 "configure" |
3091 |
> |
#line 3092 "configure" |
3092 |
|
#include "confdefs.h" |
3093 |
|
#include <sys/types.h> |
3094 |
|
#if STDC_HEADERS |
3116 |
|
fi |
3117 |
|
|
3118 |
|
echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
3119 |
< |
echo "configure:3179: checking whether time.h and sys/time.h may both be included" >&5 |
3119 |
> |
echo "configure:3120: checking whether time.h and sys/time.h may both be included" >&5 |
3120 |
|
if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
3121 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3122 |
|
else |
3123 |
|
cat > conftest.$ac_ext <<EOF |
3124 |
< |
#line 3184 "configure" |
3124 |
> |
#line 3125 "configure" |
3125 |
|
#include "confdefs.h" |
3126 |
|
#include <sys/types.h> |
3127 |
|
#include <sys/time.h> |
3130 |
|
struct tm *tp; |
3131 |
|
; return 0; } |
3132 |
|
EOF |
3133 |
< |
if { (eval echo configure:3193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3133 |
> |
if { (eval echo configure:3134: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3134 |
|
rm -rf conftest* |
3135 |
|
ac_cv_header_time=yes |
3136 |
|
else |
3151 |
|
fi |
3152 |
|
|
3153 |
|
echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
3154 |
< |
echo "configure:3214: checking whether struct tm is in sys/time.h or time.h" >&5 |
3154 |
> |
echo "configure:3155: checking whether struct tm is in sys/time.h or time.h" >&5 |
3155 |
|
if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
3156 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3157 |
|
else |
3158 |
|
cat > conftest.$ac_ext <<EOF |
3159 |
< |
#line 3219 "configure" |
3159 |
> |
#line 3160 "configure" |
3160 |
|
#include "confdefs.h" |
3161 |
|
#include <sys/types.h> |
3162 |
|
#include <time.h> |
3164 |
|
struct tm *tp; tp->tm_sec; |
3165 |
|
; return 0; } |
3166 |
|
EOF |
3167 |
< |
if { (eval echo configure:3227: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3167 |
> |
if { (eval echo configure:3168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
3168 |
|
rm -rf conftest* |
3169 |
|
ac_cv_struct_tm=time.h |
3170 |
|
else |
3188 |
|
for ac_func in strdup cfmakeraw |
3189 |
|
do |
3190 |
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3191 |
< |
echo "configure:3251: checking for $ac_func" >&5 |
3191 |
> |
echo "configure:3192: checking for $ac_func" >&5 |
3192 |
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3193 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3194 |
|
else |
3195 |
|
cat > conftest.$ac_ext <<EOF |
3196 |
< |
#line 3256 "configure" |
3196 |
> |
#line 3197 "configure" |
3197 |
|
#include "confdefs.h" |
3198 |
|
/* System header to define __stub macros and hopefully few prototypes, |
3199 |
|
which can conflict with char $ac_func(); below. */ |
3216 |
|
|
3217 |
|
; return 0; } |
3218 |
|
EOF |
3219 |
< |
if { (eval echo configure:3279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3219 |
> |
if { (eval echo configure:3220: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3220 |
|
rm -rf conftest* |
3221 |
|
eval "ac_cv_func_$ac_func=yes" |
3222 |
|
else |
3243 |
|
for ac_func in nanosleep clock_gettime timer_create |
3244 |
|
do |
3245 |
|
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
3246 |
< |
echo "configure:3306: checking for $ac_func" >&5 |
3246 |
> |
echo "configure:3247: checking for $ac_func" >&5 |
3247 |
|
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
3248 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3249 |
|
else |
3250 |
|
cat > conftest.$ac_ext <<EOF |
3251 |
< |
#line 3311 "configure" |
3251 |
> |
#line 3252 "configure" |
3252 |
|
#include "confdefs.h" |
3253 |
|
/* System header to define __stub macros and hopefully few prototypes, |
3254 |
|
which can conflict with char $ac_func(); below. */ |
3271 |
|
|
3272 |
|
; return 0; } |
3273 |
|
EOF |
3274 |
< |
if { (eval echo configure:3334: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3274 |
> |
if { (eval echo configure:3275: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3275 |
|
rm -rf conftest* |
3276 |
|
eval "ac_cv_func_$ac_func=yes" |
3277 |
|
else |
3304 |
|
;; |
3305 |
|
FreeBSD*3.*) |
3306 |
|
echo $ac_n "checking for cam_open_btl in -lcam""... $ac_c" 1>&6 |
3307 |
< |
echo "configure:3367: checking for cam_open_btl in -lcam" >&5 |
3307 |
> |
echo "configure:3308: checking for cam_open_btl in -lcam" >&5 |
3308 |
|
ac_lib_var=`echo cam'_'cam_open_btl | sed 'y%./+-%__p_%'` |
3309 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3310 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3312 |
|
ac_save_LIBS="$LIBS" |
3313 |
|
LIBS="-lcam $LIBS" |
3314 |
|
cat > conftest.$ac_ext <<EOF |
3315 |
< |
#line 3375 "configure" |
3315 |
> |
#line 3316 "configure" |
3316 |
|
#include "confdefs.h" |
3317 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3318 |
|
/* We use char because int might match the return type of a gcc2 |
3323 |
|
cam_open_btl() |
3324 |
|
; return 0; } |
3325 |
|
EOF |
3326 |
< |
if { (eval echo configure:3386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3326 |
> |
if { (eval echo configure:3327: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3327 |
|
rm -rf conftest* |
3328 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
3329 |
|
else |
3349 |
|
else |
3350 |
|
ac_safe=`echo "/sys/cam/cam.h" | sed 'y%./+-%__p_%'` |
3351 |
|
echo $ac_n "checking for /sys/cam/cam.h""... $ac_c" 1>&6 |
3352 |
< |
echo "configure:3412: checking for /sys/cam/cam.h" >&5 |
3352 |
> |
echo "configure:3353: checking for /sys/cam/cam.h" >&5 |
3353 |
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3354 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3355 |
|
else |
3356 |
|
cat > conftest.$ac_ext <<EOF |
3357 |
< |
#line 3417 "configure" |
3357 |
> |
#line 3358 "configure" |
3358 |
|
#include "confdefs.h" |
3359 |
|
#include </sys/cam/cam.h> |
3360 |
|
EOF |
3361 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3362 |
< |
{ (eval echo configure:3422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3362 |
> |
{ (eval echo configure:3363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3363 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3364 |
|
if test -z "$ac_err"; then |
3365 |
|
rm -rf conftest* |
3392 |
|
;; |
3393 |
|
FreeBSD*) |
3394 |
|
echo $ac_n "checking for scsi_open in -lscsi""... $ac_c" 1>&6 |
3395 |
< |
echo "configure:3455: checking for scsi_open in -lscsi" >&5 |
3395 |
> |
echo "configure:3396: checking for scsi_open in -lscsi" >&5 |
3396 |
|
ac_lib_var=`echo scsi'_'scsi_open | sed 'y%./+-%__p_%'` |
3397 |
|
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
3398 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3400 |
|
ac_save_LIBS="$LIBS" |
3401 |
|
LIBS="-lscsi $LIBS" |
3402 |
|
cat > conftest.$ac_ext <<EOF |
3403 |
< |
#line 3463 "configure" |
3403 |
> |
#line 3404 "configure" |
3404 |
|
#include "confdefs.h" |
3405 |
|
/* Override any gcc2 internal prototype to avoid an error. */ |
3406 |
|
/* We use char because int might match the return type of a gcc2 |
3411 |
|
scsi_open() |
3412 |
|
; return 0; } |
3413 |
|
EOF |
3414 |
< |
if { (eval echo configure:3474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3414 |
> |
if { (eval echo configure:3415: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
3415 |
|
rm -rf conftest* |
3416 |
|
eval "ac_cv_lib_$ac_lib_var=yes" |
3417 |
|
else |
3437 |
|
else |
3438 |
|
ac_safe=`echo "scsi.h sys/scsiio.h" | sed 'y%./+-%__p_%'` |
3439 |
|
echo $ac_n "checking for scsi.h sys/scsiio.h""... $ac_c" 1>&6 |
3440 |
< |
echo "configure:3500: checking for scsi.h sys/scsiio.h" >&5 |
3440 |
> |
echo "configure:3441: checking for scsi.h sys/scsiio.h" >&5 |
3441 |
|
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
3442 |
|
echo $ac_n "(cached) $ac_c" 1>&6 |
3443 |
|
else |
3444 |
|
cat > conftest.$ac_ext <<EOF |
3445 |
< |
#line 3505 "configure" |
3445 |
> |
#line 3446 "configure" |
3446 |
|
#include "confdefs.h" |
3447 |
|
#include <scsi.h sys/scsiio.h> |
3448 |
|
EOF |
3449 |
|
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
3450 |
< |
{ (eval echo configure:3510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3450 |
> |
{ (eval echo configure:3451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
3451 |
|
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
3452 |
|
if test -z "$ac_err"; then |
3453 |
|
rm -rf conftest* |
3501 |
|
|
3502 |
|
HAVE_I386=no |
3503 |
|
echo $ac_n "checking for x86 target CPU""... $ac_c" 1>&6 |
3504 |
< |
echo "configure:3564: checking for x86 target CPU" >&5 |
3504 |
> |
echo "configure:3505: checking for x86 target CPU" >&5 |
3505 |
|
cat > conftest.$ac_ext <<EOF |
3506 |
< |
#line 3566 "configure" |
3506 |
> |
#line 3507 "configure" |
3507 |
|
#include "confdefs.h" |
3508 |
|
|
3509 |
|
#ifdef __i386__ |
3524 |
|
|
3525 |
|
HAVE_GAS=no |
3526 |
|
echo $ac_n "checking for GAS .p2align feature""... $ac_c" 1>&6 |
3527 |
< |
echo "configure:3587: checking for GAS .p2align feature" >&5 |
3527 |
> |
echo "configure:3528: checking for GAS .p2align feature" >&5 |
3528 |
|
cat >conftest.S << EOF |
3529 |
|
.text |
3530 |
|
.p2align 5 |
3534 |
|
|
3535 |
|
HAVE_GCC27=no |
3536 |
|
echo $ac_n "checking for GCC 2.7 or higher""... $ac_c" 1>&6 |
3537 |
< |
echo "configure:3597: checking for GCC 2.7 or higher" >&5 |
3537 |
> |
echo "configure:3538: checking for GCC 2.7 or higher" >&5 |
3538 |
|
cat > conftest.$ac_ext <<EOF |
3539 |
< |
#line 3599 "configure" |
3539 |
> |
#line 3540 "configure" |
3540 |
|
#include "confdefs.h" |
3541 |
|
#if __GNUC__ - 1 > 1 || __GNUC_MINOR__ - 1 > 5 |
3542 |
|
yes |
3710 |
|
s%@infodir@%$infodir%g |
3711 |
|
s%@mandir@%$mandir%g |
3712 |
|
s%@CC@%$CC%g |
3772 |
– |
s%@CXX@%$CXX%g |
3713 |
|
s%@CPP@%$CPP%g |
3714 |
+ |
s%@CXX@%$CXX%g |
3715 |
|
s%@SET_MAKE@%$SET_MAKE%g |
3716 |
|
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
3717 |
|
s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |