home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Geek Gadgets 1
/
ADE-1.bin
/
ade-dist
/
bison-1.25-src.tgz
/
tar.out
/
fsf
/
bison
/
BeOS.diffs
< prev
next >
Wrap
Text File
|
1996-09-28
|
10KB
|
325 lines
This patch works around current bugs in the BeOS shell that affect
configure, and also patch up some Makefile targets that are not
yet fully supported.
============================================================================
diff -rc bison-ref/Makefile.in bison/Makefile.in
*** bison-ref/Makefile.in Thu Sep 12 16:51:51 1996
--- bison/Makefile.in Mon Sep 16 01:47:29 1996
***************
*** 107,113 ****
warshall.o version.o \
getopt.o getopt1.o $(ALLOCA)
! all: bison bison.info bison.s1 bison.guide bison.dvi bison.ps
Makefile: Makefile.in config.status
./config.status
--- 107,113 ----
warshall.o version.o \
getopt.o getopt1.o $(ALLOCA)
! all: bison bison.info bison.s1 bison.guide
Makefile: Makefile.in config.status
./config.status
***************
*** 142,149 ****
for f in bison.info*; \
do $(INSTALL_DATA) $$f $(infodir)/$$f; done
$(INSTALL_DATA) bison.guide $(guidedir)/bison.guide
! $(INSTALL_DATA) bison.dvi $(dvidir)/bison.dvi
! $(INSTALL_DATA) bison.ps $(psdir)/bison.ps
$(INSTALL_DATA) $(srcdir)/bison.1 $(mandir)/bison.$(manext)
# Make sure all installation directories, e.g. $(bindir) actually exist by
--- 142,149 ----
for f in bison.info*; \
do $(INSTALL_DATA) $$f $(infodir)/$$f; done
$(INSTALL_DATA) bison.guide $(guidedir)/bison.guide
! # $(INSTALL_DATA) bison.dvi $(dvidir)/bison.dvi
! # $(INSTALL_DATA) bison.ps $(psdir)/bison.ps
$(INSTALL_DATA) $(srcdir)/bison.1 $(mandir)/bison.$(manext)
# Make sure all installation directories, e.g. $(bindir) actually exist by
diff -rc bison-ref/configure bison/configure
*** bison-ref/configure Tue Sep 10 03:05:11 1996
--- bison/configure Mon Sep 16 01:42:45 1996
***************
*** 599,605 ****
yes;
#endif
EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
--- 599,605 ----
yes;
#endif
EOF
! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:603: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; } | egrep yes >/dev/null 2>&1; then
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
***************
*** 737,743 ****
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
--- 737,743 ----
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:741: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
***************
*** 752,758 ****
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
--- 752,758 ----
Syntax Error
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:756: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
:
***************
*** 783,789 ****
#include <minix/config.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
--- 783,789 ----
#include <minix/config.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:787: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
***************
*** 852,858 ****
#include "confdefs.h"
main(){return(0);}
EOF
! { (eval echo configure:856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_cross=no
else
--- 852,858 ----
#include "confdefs.h"
main(){return(0);}
EOF
! { (eval echo configure:856: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_cross=no
else
***************
*** 878,884 ****
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
--- 878,884 ----
#include <float.h>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:882: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
***************
*** 943,949 ****
exit (0); }
EOF
! { (eval echo configure:947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
:
else
--- 943,949 ----
exit (0); }
EOF
! { (eval echo configure:947: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
:
else
***************
*** 975,981 ****
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
--- 975,981 ----
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
! { (eval echo configure:979: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
ac_err=`grep -v '^ *+' conftest.out`
if test -z "$ac_err"; then
rm -rf conftest*
***************
*** 1055,1061 ****
; return 0; }
EOF
! if { (eval echo configure:1059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
--- 1055,1061 ----
; return 0; }
EOF
! if { (eval echo configure:1059: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
rm -rf conftest*
ac_cv_c_const=yes
else
***************
*** 1090,1096 ****
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
! if { (eval echo configure:1094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
ac_cv_header_alloca_h=yes
else
--- 1090,1096 ----
char *p = alloca(2 * sizeof(int));
; return 0; }
EOF
! if { (eval echo configure:1094: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
rm -rf conftest*
ac_cv_header_alloca_h=yes
else
***************
*** 1138,1144 ****
char *p = (char *) alloca(1);
; return 0; }
EOF
! if { (eval echo configure:1142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
ac_cv_func_alloca=yes
else
--- 1138,1144 ----
char *p = (char *) alloca(1);
; return 0; }
EOF
! if { (eval echo configure:1142: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
rm -rf conftest*
ac_cv_func_alloca=yes
else
***************
*** 1226,1232 ****
; return 0; }
EOF
! if { (eval echo configure:1230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 1226,1232 ----
; return 0; }
EOF
! if { (eval echo configure:1230: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
***************
*** 1277,1283 ****
exit (find_stack_direction() < 0);
}
EOF
! { (eval echo configure:1281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_stack_direction=1
else
--- 1277,1283 ----
exit (find_stack_direction() < 0);
}
EOF
! { (eval echo configure:1281: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
if test -s conftest && (./conftest; exit) 2>/dev/null; then
ac_cv_c_stack_direction=1
else
***************
*** 1325,1331 ****
; return 0; }
EOF
! if { (eval echo configure:1329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
--- 1325,1331 ----
; return 0; }
EOF
! if { (eval echo configure:1329: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
rm -rf conftest*
eval "ac_cv_func_$ac_func=yes"
else
***************
*** 1367,1375 ****
EOF
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
! (set) 2>&1 |
sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
! >> confcache
if cmp -s $cache_file confcache; then
:
else
--- 1367,1375 ----
EOF
# Ultrix sh set writes to stderr and can't be redirected directly,
# and sets the high bit in the cache file unless we assign to the vars.
! (set) >cache.tmp 2>&1
sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
! <cache.tmp >> confcache
if cmp -s $cache_file confcache; then
:
else
***************
*** 1380,1386 ****
echo "not updating unwritable cache $cache_file"
fi
fi
! rm -f confcache
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
--- 1380,1386 ----
echo "not updating unwritable cache $cache_file"
fi
fi
! rm -f confcache cache.tmp
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15