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 >
Text File  |  1996-09-28  |  10KB  |  325 lines

  1. This patch works around current bugs in the BeOS shell that affect
  2. configure, and also patch up some Makefile targets that are not
  3. yet fully supported.
  4.  
  5. ============================================================================
  6.  
  7. diff -rc bison-ref/Makefile.in bison/Makefile.in
  8. *** bison-ref/Makefile.in    Thu Sep 12 16:51:51 1996
  9. --- bison/Makefile.in    Mon Sep 16 01:47:29 1996
  10. ***************
  11. *** 107,113 ****
  12.         warshall.o version.o                        \
  13.         getopt.o getopt1.o $(ALLOCA)
  14.   
  15. ! all: bison bison.info bison.s1 bison.guide bison.dvi bison.ps
  16.   
  17.   Makefile: Makefile.in config.status
  18.       ./config.status
  19. --- 107,113 ----
  20.         warshall.o version.o                        \
  21.         getopt.o getopt1.o $(ALLOCA)
  22.   
  23. ! all: bison bison.info bison.s1 bison.guide
  24.   
  25.   Makefile: Makefile.in config.status
  26.       ./config.status
  27. ***************
  28. *** 142,149 ****
  29.       for f in bison.info*; \
  30.       do $(INSTALL_DATA) $$f $(infodir)/$$f; done
  31.       $(INSTALL_DATA) bison.guide $(guidedir)/bison.guide
  32. !     $(INSTALL_DATA) bison.dvi $(dvidir)/bison.dvi
  33. !     $(INSTALL_DATA) bison.ps $(psdir)/bison.ps
  34.       $(INSTALL_DATA) $(srcdir)/bison.1 $(mandir)/bison.$(manext)
  35.   
  36.   # Make sure all installation directories, e.g. $(bindir) actually exist by
  37. --- 142,149 ----
  38.       for f in bison.info*; \
  39.       do $(INSTALL_DATA) $$f $(infodir)/$$f; done
  40.       $(INSTALL_DATA) bison.guide $(guidedir)/bison.guide
  41. ! #    $(INSTALL_DATA) bison.dvi $(dvidir)/bison.dvi
  42. ! #    $(INSTALL_DATA) bison.ps $(psdir)/bison.ps
  43.       $(INSTALL_DATA) $(srcdir)/bison.1 $(mandir)/bison.$(manext)
  44.   
  45.   # Make sure all installation directories, e.g. $(bindir) actually exist by
  46. diff -rc bison-ref/configure bison/configure
  47. *** bison-ref/configure    Tue Sep 10 03:05:11 1996
  48. --- bison/configure    Mon Sep 16 01:42:45 1996
  49. ***************
  50. *** 599,605 ****
  51.     yes;
  52.   #endif
  53.   EOF
  54. ! 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
  55.     ac_cv_prog_gcc=yes
  56.   else
  57.     ac_cv_prog_gcc=no
  58. --- 599,605 ----
  59.     yes;
  60.   #endif
  61.   EOF
  62. ! 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
  63.     ac_cv_prog_gcc=yes
  64.   else
  65.     ac_cv_prog_gcc=no
  66. ***************
  67. *** 737,743 ****
  68.   Syntax Error
  69.   EOF
  70.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  71. ! { (eval echo configure:741: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  72.   ac_err=`grep -v '^ *+' conftest.out`
  73.   if test -z "$ac_err"; then
  74.     :
  75. --- 737,743 ----
  76.   Syntax Error
  77.   EOF
  78.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  79. ! { (eval echo configure:741: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  80.   ac_err=`grep -v '^ *+' conftest.out`
  81.   if test -z "$ac_err"; then
  82.     :
  83. ***************
  84. *** 752,758 ****
  85.   Syntax Error
  86.   EOF
  87.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  88. ! { (eval echo configure:756: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  89.   ac_err=`grep -v '^ *+' conftest.out`
  90.   if test -z "$ac_err"; then
  91.     :
  92. --- 752,758 ----
  93.   Syntax Error
  94.   EOF
  95.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  96. ! { (eval echo configure:756: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  97.   ac_err=`grep -v '^ *+' conftest.out`
  98.   if test -z "$ac_err"; then
  99.     :
  100. ***************
  101. *** 783,789 ****
  102.   #include <minix/config.h>
  103.   EOF
  104.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  105. ! { (eval echo configure:787: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  106.   ac_err=`grep -v '^ *+' conftest.out`
  107.   if test -z "$ac_err"; then
  108.     rm -rf conftest*
  109. --- 783,789 ----
  110.   #include <minix/config.h>
  111.   EOF
  112.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  113. ! { (eval echo configure:787: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  114.   ac_err=`grep -v '^ *+' conftest.out`
  115.   if test -z "$ac_err"; then
  116.     rm -rf conftest*
  117. ***************
  118. *** 852,858 ****
  119.   #include "confdefs.h"
  120.   main(){return(0);}
  121.   EOF
  122. ! { (eval echo configure:856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  123.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  124.     ac_cv_c_cross=no
  125.   else
  126. --- 852,858 ----
  127.   #include "confdefs.h"
  128.   main(){return(0);}
  129.   EOF
  130. ! { (eval echo configure:856: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  131.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  132.     ac_cv_c_cross=no
  133.   else
  134. ***************
  135. *** 878,884 ****
  136.   #include <float.h>
  137.   EOF
  138.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  139. ! { (eval echo configure:882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  140.   ac_err=`grep -v '^ *+' conftest.out`
  141.   if test -z "$ac_err"; then
  142.     rm -rf conftest*
  143. --- 878,884 ----
  144.   #include <float.h>
  145.   EOF
  146.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  147. ! { (eval echo configure:882: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  148.   ac_err=`grep -v '^ *+' conftest.out`
  149.   if test -z "$ac_err"; then
  150.     rm -rf conftest*
  151. ***************
  152. *** 943,949 ****
  153.   exit (0); }
  154.   
  155.   EOF
  156. ! { (eval echo configure:947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  157.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  158.     :
  159.   else
  160. --- 943,949 ----
  161.   exit (0); }
  162.   
  163.   EOF
  164. ! { (eval echo configure:947: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  165.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  166.     :
  167.   else
  168. ***************
  169. *** 975,981 ****
  170.   #include <$ac_hdr>
  171.   EOF
  172.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  173. ! { (eval echo configure:979: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  174.   ac_err=`grep -v '^ *+' conftest.out`
  175.   if test -z "$ac_err"; then
  176.     rm -rf conftest*
  177. --- 975,981 ----
  178.   #include <$ac_hdr>
  179.   EOF
  180.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  181. ! { (eval echo configure:979: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  182.   ac_err=`grep -v '^ *+' conftest.out`
  183.   if test -z "$ac_err"; then
  184.     rm -rf conftest*
  185. ***************
  186. *** 1055,1061 ****
  187.   
  188.   ; return 0; }
  189.   EOF
  190. ! if { (eval echo configure:1059: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  191.     rm -rf conftest*
  192.     ac_cv_c_const=yes
  193.   else
  194. --- 1055,1061 ----
  195.   
  196.   ; return 0; }
  197.   EOF
  198. ! if { (eval echo configure:1059: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  199.     rm -rf conftest*
  200.     ac_cv_c_const=yes
  201.   else
  202. ***************
  203. *** 1090,1096 ****
  204.   char *p = alloca(2 * sizeof(int));
  205.   ; return 0; }
  206.   EOF
  207. ! if { (eval echo configure:1094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  208.     rm -rf conftest*
  209.     ac_cv_header_alloca_h=yes
  210.   else
  211. --- 1090,1096 ----
  212.   char *p = alloca(2 * sizeof(int));
  213.   ; return 0; }
  214.   EOF
  215. ! if { (eval echo configure:1094: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  216.     rm -rf conftest*
  217.     ac_cv_header_alloca_h=yes
  218.   else
  219. ***************
  220. *** 1138,1144 ****
  221.   char *p = (char *) alloca(1);
  222.   ; return 0; }
  223.   EOF
  224. ! if { (eval echo configure:1142: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  225.     rm -rf conftest*
  226.     ac_cv_func_alloca=yes
  227.   else
  228. --- 1138,1144 ----
  229.   char *p = (char *) alloca(1);
  230.   ; return 0; }
  231.   EOF
  232. ! if { (eval echo configure:1142: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  233.     rm -rf conftest*
  234.     ac_cv_func_alloca=yes
  235.   else
  236. ***************
  237. *** 1226,1232 ****
  238.   
  239.   ; return 0; }
  240.   EOF
  241. ! if { (eval echo configure:1230: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  242.     rm -rf conftest*
  243.     eval "ac_cv_func_$ac_func=yes"
  244.   else
  245. --- 1226,1232 ----
  246.   
  247.   ; return 0; }
  248.   EOF
  249. ! if { (eval echo configure:1230: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  250.     rm -rf conftest*
  251.     eval "ac_cv_func_$ac_func=yes"
  252.   else
  253. ***************
  254. *** 1277,1283 ****
  255.     exit (find_stack_direction() < 0);
  256.   }
  257.   EOF
  258. ! { (eval echo configure:1281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  259.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  260.     ac_cv_c_stack_direction=1
  261.   else
  262. --- 1277,1283 ----
  263.     exit (find_stack_direction() < 0);
  264.   }
  265.   EOF
  266. ! { (eval echo configure:1281: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  267.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  268.     ac_cv_c_stack_direction=1
  269.   else
  270. ***************
  271. *** 1325,1331 ****
  272.   
  273.   ; return 0; }
  274.   EOF
  275. ! if { (eval echo configure:1329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  276.     rm -rf conftest*
  277.     eval "ac_cv_func_$ac_func=yes"
  278.   else
  279. --- 1325,1331 ----
  280.   
  281.   ; return 0; }
  282.   EOF
  283. ! if { (eval echo configure:1329: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  284.     rm -rf conftest*
  285.     eval "ac_cv_func_$ac_func=yes"
  286.   else
  287. ***************
  288. *** 1367,1375 ****
  289.   EOF
  290.   # Ultrix sh set writes to stderr and can't be redirected directly,
  291.   # and sets the high bit in the cache file unless we assign to the vars.
  292. ! (set) 2>&1 |
  293.     sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  294. !   >> confcache
  295.   if cmp -s $cache_file confcache; then
  296.     :
  297.   else
  298. --- 1367,1375 ----
  299.   EOF
  300.   # Ultrix sh set writes to stderr and can't be redirected directly,
  301.   # and sets the high bit in the cache file unless we assign to the vars.
  302. ! (set) >cache.tmp 2>&1 
  303.     sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  304. !   <cache.tmp >> confcache
  305.   if cmp -s $cache_file confcache; then
  306.     :
  307.   else
  308. ***************
  309. *** 1380,1386 ****
  310.       echo "not updating unwritable cache $cache_file"
  311.     fi
  312.   fi
  313. ! rm -f confcache
  314.   
  315.   trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  316.   
  317. --- 1380,1386 ----
  318.       echo "not updating unwritable cache $cache_file"
  319.     fi
  320.   fi
  321. ! rm -f confcache cache.tmp
  322.   
  323.   trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  324.   
  325.