version 1.6, 1994/12/12 17:10:31
|
version 1.11, 1995/01/19 17:47:57
|
Line 489 echo "$ac_t""$host" 1>&4
|
Line 489 echo "$ac_t""$host" 1>&4
|
case "$host_cpu" in |
case "$host_cpu" in |
hppa*) |
hppa*) |
mach_h=hppa |
mach_h=hppa |
|
LIBOBJS="cache.o" |
|
LDFLAGS="-Xlinker -N" |
|
LIBS="-L/lib/pa1.1/ $LIBS" |
;; |
;; |
sparc*) |
sparc*) |
mach_h=sparc |
mach_h=sparc |
Line 503 case "$host_cpu" in
|
Line 506 case "$host_cpu" in
|
;; |
;; |
mips*) |
mips*) |
mach_h=mips |
mach_h=mips |
|
LDFLAGS="-Xlinker -N" |
#!! link text and data segment into the same 256M region! |
#!! link text and data segment into the same 256M region! |
#!! does cacheflush work on OSs other than Ultrix? |
#!! does cacheflush work on OSs other than Ultrix? |
;; |
;; |
Line 519 esac
|
Line 523 esac
|
MAKE_EXE="" |
MAKE_EXE="" |
|
|
|
|
|
LINK_KERNL16L="" |
|
|
|
LINK_KERNL16B="" |
|
|
LINK_KERNL32L="" |
LINK_KERNL32L="" |
|
|
LINK_KERNL32B="" |
LINK_KERNL32B="" |
|
|
|
LINK_KERNL64L="" |
|
|
|
LINK_KERNL64B="" |
|
|
#if test $host_os=dos |
#if test $host_os=dos |
#then |
#then |
# echo Configuring for DOS!!! |
# echo Configuring for DOS!!! |
Line 539 else
|
Line 551 else
|
ac_cv_cross=yes |
ac_cv_cross=yes |
else |
else |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 543 "configure" |
#line 555 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
main(){return(0);} |
main(){return(0);} |
EOF |
EOF |
Line 563 else
|
Line 575 else
|
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
else |
else |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 567 "configure" |
#line 579 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
main () { |
main () { |
/* Are we little or big endian? From Harbison&Steele. */ |
/* Are we little or big endian? From Harbison&Steele. */ |
Line 593 EOF
|
Line 605 EOF
|
|
|
fi |
fi |
|
|
|
|
if test $ac_cv_c_bigendian = yes; then |
if test $ac_cv_c_bigendian = yes; then |
bytesex=b |
bytesex=b |
|
KERNAL="kernl16b.fi kernl16l.fi kernl32b.fi kernl32l.fi kernl64b.fi kernl64l.fi" |
else |
else |
bytesex=l |
bytesex=l |
|
KERNAL="kernl16l.fi kernl16b.fi kernl32l.fi kernl32b.fi kernl64l.fi kernl64b.fi" |
fi |
fi |
|
|
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&4 |
echo $ac_n "checking whether ln -s works""... $ac_c" 1>&4 |
Line 671 test -z "$INSTALL_PROGRAM" && INSTALL_PR
|
Line 686 test -z "$INSTALL_PROGRAM" && INSTALL_PR
|
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
|
|
|
|
|
echo $ac_n "checking for -lm""... $ac_c" 1>&4 |
|
if eval "test \"`echo '${'ac_cv_lib_m'+set}'`\" = set"; then |
|
echo $ac_n "(cached) $ac_c" 1>&4 |
|
else |
|
ac_save_LIBS="$LIBS" |
|
LIBS="$LIBS -lm " |
|
cat > conftest.$ac_ext <<EOF |
|
#line 697 "configure" |
|
#include "confdefs.h" |
|
|
|
int main() { return 0; } |
|
int t() { |
|
asin() |
|
; return 0; } |
|
EOF |
|
if eval $ac_link; then |
|
rm -rf conftest* |
|
eval "ac_cv_lib_m=yes" |
|
else |
|
rm -rf conftest* |
|
eval "ac_cv_lib_m=no" |
|
fi |
|
rm -f conftest* |
|
LIBS="$ac_save_LIBS" |
|
|
|
fi |
|
if eval "test \"`echo '$ac_cv_lib_'m`\" = yes"; then |
|
echo "$ac_t""yes" 1>&4 |
|
ac_tr_lib=HAVE_LIB`echo m | tr '[a-z]' '[A-Z]'` |
|
cat >> confdefs.h <<EOF |
|
#define $ac_tr_lib 1 |
|
EOF |
|
|
|
LIBS="$LIBS -lm" |
|
|
|
else |
|
echo "$ac_t""no" 1>&4 |
|
fi |
|
|
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&4 |
echo $ac_n "checking for 8-bit clean memcmp""... $ac_c" 1>&4 |
if eval "test \"`echo '${'ac_cv_func_memcmp'+set}'`\" = set"; then |
if eval "test \"`echo '${'ac_cv_func_memcmp'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&4 |
echo $ac_n "(cached) $ac_c" 1>&4 |
Line 679 else
|
Line 733 else
|
ac_cv_func_memcmp=no |
ac_cv_func_memcmp=no |
else |
else |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 683 "configure" |
#line 737 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
|
|
main() |
main() |
Line 708 if eval "test \"`echo '${'ac_cv_func_$ac
|
Line 762 if eval "test \"`echo '${'ac_cv_func_$ac
|
echo $ac_n "(cached) $ac_c" 1>&4 |
echo $ac_n "(cached) $ac_c" 1>&4 |
else |
else |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 712 "configure" |
#line 766 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
#include <ctype.h> /* Arbitrary system header to define __stub macros. */ |
#include <ctype.h> /* Arbitrary system header to define __stub macros. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
Line 753 if eval "test \"`echo '${'ac_cv_func_get
|
Line 807 if eval "test \"`echo '${'ac_cv_func_get
|
echo $ac_n "(cached) $ac_c" 1>&4 |
echo $ac_n "(cached) $ac_c" 1>&4 |
else |
else |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 757 "configure" |
#line 811 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
#include <ctype.h> /* Arbitrary system header to define __stub macros. */ |
#include <ctype.h> /* Arbitrary system header to define __stub macros. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
Line 792 getopt_long="getopt.o getopt1.o"
|
Line 846 getopt_long="getopt.o getopt1.o"
|
fi |
fi |
|
|
|
|
echo $ac_n "checking for -lm""... $ac_c" 1>&4 |
for ac_func in rint expm1 log1p pow10 |
if eval "test \"`echo '${'ac_cv_lib_m'+set}'`\" = set"; then |
|
echo $ac_n "(cached) $ac_c" 1>&4 |
|
else |
|
ac_save_LIBS="$LIBS" |
|
LIBS="$LIBS -lm " |
|
cat > conftest.$ac_ext <<EOF |
|
#line 803 "configure" |
|
#include "confdefs.h" |
|
|
|
int main() { return 0; } |
|
int t() { |
|
sin() |
|
; return 0; } |
|
EOF |
|
if eval $ac_link; then |
|
rm -rf conftest* |
|
eval "ac_cv_lib_m=yes" |
|
else |
|
rm -rf conftest* |
|
eval "ac_cv_lib_m=no" |
|
fi |
|
rm -f conftest* |
|
LIBS="$ac_save_LIBS" |
|
|
|
fi |
|
if eval "test \"`echo '$ac_cv_lib_'m`\" = yes"; then |
|
echo "$ac_t""yes" 1>&4 |
|
ac_tr_lib=HAVE_LIB`echo m | tr '[a-z]' '[A-Z]'` |
|
cat >> confdefs.h <<EOF |
|
#define $ac_tr_lib 1 |
|
EOF |
|
|
|
LIBS="$LIBS -lm" |
|
|
|
else |
|
echo "$ac_t""no" 1>&4 |
|
fi |
|
|
|
for ac_func in rint |
|
do |
do |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&4 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&4 |
if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then |
if eval "test \"`echo '${'ac_cv_func_$ac_func'+set}'`\" = set"; then |
echo $ac_n "(cached) $ac_c" 1>&4 |
echo $ac_n "(cached) $ac_c" 1>&4 |
else |
else |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 842 "configure" |
#line 857 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
#include <ctype.h> /* Arbitrary system header to define __stub macros. */ |
#include <ctype.h> /* Arbitrary system header to define __stub macros. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
Line 887 if eval "test \"`echo '${'ac_cv_func_$ac
|
Line 902 if eval "test \"`echo '${'ac_cv_func_$ac
|
echo $ac_n "(cached) $ac_c" 1>&4 |
echo $ac_n "(cached) $ac_c" 1>&4 |
else |
else |
cat > conftest.$ac_ext <<EOF |
cat > conftest.$ac_ext <<EOF |
#line 891 "configure" |
#line 906 "configure" |
#include "confdefs.h" |
#include "confdefs.h" |
#include <ctype.h> /* Arbitrary system header to define __stub macros. */ |
#include <ctype.h> /* Arbitrary system header to define __stub macros. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
/* Override any gcc2 internal prototype to avoid an error. */ |
Line 1043 s%@host_cpu@%$host_cpu%g
|
Line 1058 s%@host_cpu@%$host_cpu%g
|
s%@host_vendor@%$host_vendor%g |
s%@host_vendor@%$host_vendor%g |
s%@host_os@%$host_os%g |
s%@host_os@%$host_os%g |
s%@MAKE_EXE@%$MAKE_EXE%g |
s%@MAKE_EXE@%$MAKE_EXE%g |
|
s%@LINK_KERNL16L@%$LINK_KERNL16L%g |
|
s%@LINK_KERNL16B@%$LINK_KERNL16B%g |
s%@LINK_KERNL32L@%$LINK_KERNL32L%g |
s%@LINK_KERNL32L@%$LINK_KERNL32L%g |
s%@LINK_KERNL32B@%$LINK_KERNL32B%g |
s%@LINK_KERNL32B@%$LINK_KERNL32B%g |
|
s%@LINK_KERNL64L@%$LINK_KERNL64L%g |
|
s%@LINK_KERNL64B@%$LINK_KERNL64B%g |
|
s%@KERNAL@%$KERNAL%g |
s%@LN_S@%$LN_S%g |
s%@LN_S@%$LN_S%g |
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
s%@INSTALL_DATA@%$INSTALL_DATA%g |
s%@INSTALL_DATA@%$INSTALL_DATA%g |