home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / diffutils-2.7-src.tgz / tar.out / fsf / diffutils / BeOS.diffs < prev    next >
Text File  |  1996-09-28  |  22KB  |  783 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 diffutils-ref/Makefile.in diffutils/Makefile.in
  8. *** diffutils-ref/Makefile.in    Wed May 29 07:21:09 1996
  9. --- diffutils/Makefile.in    Fri Sep 27 22:48:14 1996
  10. ***************
  11. *** 74,80 ****
  12.   
  13.   PROGRAMS = cmp diff diff3 sdiff
  14.   
  15. ! all: $(PROGRAMS) info guide dvi ps
  16.   
  17.   COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) $(CFLAGS)
  18.   
  19. --- 74,80 ----
  20.   
  21.   PROGRAMS = cmp diff diff3 sdiff
  22.   
  23. ! all: $(PROGRAMS) info guide 
  24.   
  25.   COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) -I. -I$(srcdir) $(CFLAGS)
  26.   
  27. ***************
  28. *** 160,167 ****
  29.         $(INSTALL_DATA) $$f $(infodir)/$$f; \
  30.       done
  31.       $(INSTALL_DATA) diff.guide $(guidedir)/diff.guide
  32. !     $(INSTALL_DATA) diff.dvi $(dvidir)/diff.dvi
  33. !     $(INSTALL_DATA) diff.ps $(psdir)/diff.ps
  34.   
  35.   installdirs:
  36.       $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(guidedir) $(dvidir) $(psdir)
  37. --- 160,167 ----
  38.         $(INSTALL_DATA) $$f $(infodir)/$$f; \
  39.       done
  40.       $(INSTALL_DATA) diff.guide $(guidedir)/diff.guide
  41. ! #    $(INSTALL_DATA) diff.dvi $(dvidir)/diff.dvi
  42. ! #    $(INSTALL_DATA) diff.ps $(psdir)/diff.ps
  43.   
  44.   installdirs:
  45.       $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(infodir) $(guidedir) $(dvidir) $(psdir)
  46. diff -rc diffutils-ref/configure diffutils/configure
  47. *** diffutils-ref/configure    Tue Sep 10 03:10:29 1996
  48. --- diffutils/configure    Fri Sep 27 22:48:38 1996
  49. ***************
  50. *** 618,624 ****
  51.     yes;
  52.   #endif
  53.   EOF
  54. ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:622: \"$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. --- 618,624 ----
  59.     yes;
  60.   #endif
  61.   EOF
  62. ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:622: \"$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. *** 676,682 ****
  68.   Syntax Error
  69.   EOF
  70.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  71. ! { (eval echo configure:680: \"$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. --- 676,682 ----
  76.   Syntax Error
  77.   EOF
  78.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  79. ! { (eval echo configure:680: \"$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. *** 691,697 ****
  85.   Syntax Error
  86.   EOF
  87.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  88. ! { (eval echo configure:695: \"$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. --- 691,697 ----
  93.   Syntax Error
  94.   EOF
  95.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  96. ! { (eval echo configure:695: \"$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. *** 821,827 ****
  102.   #include <minix/config.h>
  103.   EOF
  104.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  105. ! { (eval echo configure:825: \"$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. --- 821,827 ----
  110.   #include <minix/config.h>
  111.   EOF
  112.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  113. ! { (eval echo configure:825: \"$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. *** 911,917 ****
  119.   
  120.   ; return 0; }
  121.   EOF
  122. ! if { (eval echo configure:915: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  123.     rm -rf conftest*
  124.     ac_cv_c_const=yes
  125.   else
  126. --- 911,917 ----
  127.   
  128.   ; return 0; }
  129.   EOF
  130. ! if { (eval echo configure:915: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  131.     rm -rf conftest*
  132.     ac_cv_c_const=yes
  133.   else
  134. ***************
  135. *** 943,949 ****
  136.   #include "confdefs.h"
  137.   main(){return(0);}
  138.   EOF
  139. ! { (eval echo configure:947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  140.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  141.     ac_cv_c_cross=no
  142.   else
  143. --- 943,949 ----
  144.   #include "confdefs.h"
  145.   main(){return(0);}
  146.   EOF
  147. ! { (eval echo configure:947: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  148.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  149.     ac_cv_c_cross=no
  150.   else
  151. ***************
  152. *** 969,975 ****
  153.   #include <float.h>
  154.   EOF
  155.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  156. ! { (eval echo configure:973: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  157.   ac_err=`grep -v '^ *+' conftest.out`
  158.   if test -z "$ac_err"; then
  159.     rm -rf conftest*
  160. --- 969,975 ----
  161.   #include <float.h>
  162.   EOF
  163.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  164. ! { (eval echo configure:973: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  165.   ac_err=`grep -v '^ *+' conftest.out`
  166.   if test -z "$ac_err"; then
  167.     rm -rf conftest*
  168. ***************
  169. *** 988,995 ****
  170.   #include "confdefs.h"
  171.   #include <string.h>
  172.   EOF
  173. ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  174. !   egrep "memchr" >/dev/null 2>&1; then
  175.     :
  176.   else
  177.     rm -rf conftest*
  178. --- 988,995 ----
  179.   #include "confdefs.h"
  180.   #include <string.h>
  181.   EOF
  182. ! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  183. ! if egrep "memchr" <conftest.tmp >/dev/null 2>&1; then
  184.     :
  185.   else
  186.     rm -rf conftest*
  187. ***************
  188. *** 1006,1013 ****
  189.   #include "confdefs.h"
  190.   #include <stdlib.h>
  191.   EOF
  192. ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  193. !   egrep "free" >/dev/null 2>&1; then
  194.     :
  195.   else
  196.     rm -rf conftest*
  197. --- 1006,1013 ----
  198.   #include "confdefs.h"
  199.   #include <stdlib.h>
  200.   EOF
  201. ! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  202. ! if egrep "free" <conftest.tmp >/dev/null 2>&1; then
  203.     :
  204.   else
  205.     rm -rf conftest*
  206. ***************
  207. *** 1034,1040 ****
  208.   exit (0); }
  209.   
  210.   EOF
  211. ! { (eval echo configure:1038: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  212.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  213.     :
  214.   else
  215. --- 1034,1040 ----
  216.   exit (0); }
  217.   
  218.   EOF
  219. ! { (eval echo configure:1038: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  220.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  221.     :
  222.   else
  223. ***************
  224. *** 1066,1072 ****
  225.   #include <$ac_hdr>
  226.   EOF
  227.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  228. ! { (eval echo configure:1070: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  229.   ac_err=`grep -v '^ *+' conftest.out`
  230.   if test -z "$ac_err"; then
  231.     rm -rf conftest*
  232. --- 1066,1072 ----
  233.   #include <$ac_hdr>
  234.   EOF
  235.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  236. ! { (eval echo configure:1070: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  237.   ac_err=`grep -v '^ *+' conftest.out`
  238.   if test -z "$ac_err"; then
  239.     rm -rf conftest*
  240. ***************
  241. *** 1108,1114 ****
  242.   DIR *dirp = 0;
  243.   ; return 0; }
  244.   EOF
  245. ! if { (eval echo configure:1112: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  246.     rm -rf conftest*
  247.     eval "ac_cv_header_dirent_$ac_safe=yes"
  248.   else
  249. --- 1108,1114 ----
  250.   DIR *dirp = 0;
  251.   ; return 0; }
  252.   EOF
  253. ! if { (eval echo configure:1112: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  254.     rm -rf conftest*
  255.     eval "ac_cv_header_dirent_$ac_safe=yes"
  256.   else
  257. ***************
  258. *** 1146,1157 ****
  259.       builtin and then its argument prototype would still apply.  */
  260.   char opendir();
  261.   
  262. ! int main() { return 0; }
  263.   int t() {
  264.   opendir()
  265.   ; return 0; }
  266.   EOF
  267. ! if { (eval echo configure:1155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  268.     rm -rf conftest*
  269.     eval "ac_cv_lib_$ac_lib_var=yes"
  270.   else
  271. --- 1146,1157 ----
  272.       builtin and then its argument prototype would still apply.  */
  273.   char opendir();
  274.   
  275. ! int main() { t(); return 0; }
  276.   int t() {
  277.   opendir()
  278.   ; return 0; }
  279.   EOF
  280. ! if { (eval echo configure:1155: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  281.     rm -rf conftest*
  282.     eval "ac_cv_lib_$ac_lib_var=yes"
  283.   else
  284. ***************
  285. *** 1185,1196 ****
  286.       builtin and then its argument prototype would still apply.  */
  287.   char opendir();
  288.   
  289. ! int main() { return 0; }
  290.   int t() {
  291.   opendir()
  292.   ; return 0; }
  293.   EOF
  294. ! if { (eval echo configure:1194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  295.     rm -rf conftest*
  296.     eval "ac_cv_lib_$ac_lib_var=yes"
  297.   else
  298. --- 1185,1196 ----
  299.       builtin and then its argument prototype would still apply.  */
  300.   char opendir();
  301.   
  302. ! int main() { t(); return 0; }
  303.   int t() {
  304.   opendir()
  305.   ; return 0; }
  306.   EOF
  307. ! if { (eval echo configure:1194: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  308.     rm -rf conftest*
  309.     eval "ac_cv_lib_$ac_lib_var=yes"
  310.   else
  311. ***************
  312. *** 1245,1252 ****
  313.   #endif
  314.   
  315.   EOF
  316. ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  317. !   egrep "You lose" >/dev/null 2>&1; then
  318.     rm -rf conftest*
  319.     ac_cv_header_stat_broken=yes
  320.   else
  321. --- 1245,1252 ----
  322.   #endif
  323.   
  324.   EOF
  325. ! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  326. ! if egrep "You lose" <conftest.tmp >/dev/null 2>&1; then
  327.     rm -rf conftest*
  328.     ac_cv_header_stat_broken=yes
  329.   else
  330. ***************
  331. *** 1287,1293 ****
  332.   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
  333.   ; return 0; }
  334.   EOF
  335. ! if { (eval echo configure:1291: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  336.     rm -rf conftest*
  337.     ac_cv_header_sys_wait_h=yes
  338.   else
  339. --- 1287,1293 ----
  340.   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
  341.   ; return 0; }
  342.   EOF
  343. ! if { (eval echo configure:1291: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  344.     rm -rf conftest*
  345.     ac_cv_header_sys_wait_h=yes
  346.   else
  347. ***************
  348. *** 1318,1325 ****
  349.   #include <stdlib.h>
  350.   #endif
  351.   EOF
  352. ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  353. !   egrep "pid_t" >/dev/null 2>&1; then
  354.     rm -rf conftest*
  355.     ac_cv_type_pid_t=yes
  356.   else
  357. --- 1318,1325 ----
  358.   #include <stdlib.h>
  359.   #endif
  360.   EOF
  361. ! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  362. ! if egrep "pid_t" <conftest.tmp >/dev/null 2>&1; then
  363.     rm -rf conftest*
  364.     ac_cv_type_pid_t=yes
  365.   else
  366. ***************
  367. *** 1360,1366 ****
  368.   int i;
  369.   ; return 0; }
  370.   EOF
  371. ! if { (eval echo configure:1364: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  372.     rm -rf conftest*
  373.     ac_cv_type_signal=void
  374.   else
  375. --- 1360,1366 ----
  376.   int i;
  377.   ; return 0; }
  378.   EOF
  379. ! if { (eval echo configure:1364: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  380.     rm -rf conftest*
  381.     ac_cv_type_signal=void
  382.   else
  383. ***************
  384. *** 1394,1400 ****
  385.       builtin and then its argument prototype would still apply.  */
  386.   char $ac_func();
  387.   
  388. ! int main() { return 0; }
  389.   int t() {
  390.   
  391.   /* The GNU C library defines this for functions which it implements
  392. --- 1394,1400 ----
  393.       builtin and then its argument prototype would still apply.  */
  394.   char $ac_func();
  395.   
  396. ! int main() { t(); return 0; }
  397.   int t() {
  398.   
  399.   /* The GNU C library defines this for functions which it implements
  400. ***************
  401. *** 1408,1414 ****
  402.   
  403.   ; return 0; }
  404.   EOF
  405. ! if { (eval echo configure:1412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  406.     rm -rf conftest*
  407.     eval "ac_cv_func_$ac_func=yes"
  408.   else
  409. --- 1408,1414 ----
  410.   
  411.   ; return 0; }
  412.   EOF
  413. ! if { (eval echo configure:1412: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  414.     rm -rf conftest*
  415.     eval "ac_cv_func_$ac_func=yes"
  416.   else
  417. ***************
  418. *** 1447,1453 ****
  419.       builtin and then its argument prototype would still apply.  */
  420.   char $ac_func();
  421.   
  422. ! int main() { return 0; }
  423.   int t() {
  424.   
  425.   /* The GNU C library defines this for functions which it implements
  426. --- 1447,1453 ----
  427.       builtin and then its argument prototype would still apply.  */
  428.   char $ac_func();
  429.   
  430. ! int main() { t(); return 0; }
  431.   int t() {
  432.   
  433.   /* The GNU C library defines this for functions which it implements
  434. ***************
  435. *** 1461,1467 ****
  436.   
  437.   ; return 0; }
  438.   EOF
  439. ! if { (eval echo configure:1465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  440.     rm -rf conftest*
  441.     eval "ac_cv_func_$ac_func=yes"
  442.   else
  443. --- 1461,1467 ----
  444.   
  445.   ; return 0; }
  446.   EOF
  447. ! if { (eval echo configure:1465: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  448.     rm -rf conftest*
  449.     eval "ac_cv_func_$ac_func=yes"
  450.   else
  451. ***************
  452. *** 1491,1502 ****
  453.   #line 1492 "configure"
  454.   #include "confdefs.h"
  455.   #include <alloca.h>
  456. ! int main() { return 0; }
  457.   int t() {
  458.   char *p = alloca(2 * sizeof(int));
  459.   ; return 0; }
  460.   EOF
  461. ! if { (eval echo configure:1500: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  462.     rm -rf conftest*
  463.     ac_cv_header_alloca_h=yes
  464.   else
  465. --- 1491,1502 ----
  466.   #line 1492 "configure"
  467.   #include "confdefs.h"
  468.   #include <alloca.h>
  469. ! int main() { t(); return 0; }
  470.   int t() {
  471.   char *p = alloca(2 * sizeof(int));
  472.   ; return 0; }
  473.   EOF
  474. ! if { (eval echo configure:1500: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  475.     rm -rf conftest*
  476.     ac_cv_header_alloca_h=yes
  477.   else
  478. ***************
  479. *** 1539,1550 ****
  480.   # endif
  481.   #endif
  482.   
  483. ! int main() { return 0; }
  484.   int t() {
  485.   char *p = (char *) alloca(1);
  486.   ; return 0; }
  487.   EOF
  488. ! if { (eval echo configure:1548: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  489.     rm -rf conftest*
  490.     ac_cv_func_alloca=yes
  491.   else
  492. --- 1539,1550 ----
  493.   # endif
  494.   #endif
  495.   
  496. ! int main() { t(); return 0; }
  497.   int t() {
  498.   char *p = (char *) alloca(1);
  499.   ; return 0; }
  500.   EOF
  501. ! if { (eval echo configure:1548: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  502.     rm -rf conftest*
  503.     ac_cv_func_alloca=yes
  504.   else
  505. ***************
  506. *** 1588,1595 ****
  507.   #endif
  508.   
  509.   EOF
  510. ! if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  511. !   egrep "webecray" >/dev/null 2>&1; then
  512.     rm -rf conftest*
  513.     ac_cv_os_cray=yes
  514.   else
  515. --- 1588,1595 ----
  516.   #endif
  517.   
  518.   EOF
  519. ! eval "$ac_cpp conftest.$ac_ext" 2>&5 >conftest.tmp
  520. ! if egrep "webecray" <conftest.tmp >/dev/null 2>&1; then
  521.     rm -rf conftest*
  522.     ac_cv_os_cray=yes
  523.   else
  524. ***************
  525. *** 1618,1624 ****
  526.       builtin and then its argument prototype would still apply.  */
  527.   char $ac_func();
  528.   
  529. ! int main() { return 0; }
  530.   int t() {
  531.   
  532.   /* The GNU C library defines this for functions which it implements
  533. --- 1618,1624 ----
  534.       builtin and then its argument prototype would still apply.  */
  535.   char $ac_func();
  536.   
  537. ! int main() { t(); return 0; }
  538.   int t() {
  539.   
  540.   /* The GNU C library defines this for functions which it implements
  541. ***************
  542. *** 1632,1638 ****
  543.   
  544.   ; return 0; }
  545.   EOF
  546. ! if { (eval echo configure:1636: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  547.     rm -rf conftest*
  548.     eval "ac_cv_func_$ac_func=yes"
  549.   else
  550. --- 1632,1638 ----
  551.   
  552.   ; return 0; }
  553.   EOF
  554. ! if { (eval echo configure:1636: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  555.     rm -rf conftest*
  556.     eval "ac_cv_func_$ac_func=yes"
  557.   else
  558. ***************
  559. *** 1683,1689 ****
  560.     exit (find_stack_direction() < 0);
  561.   }
  562.   EOF
  563. ! { (eval echo configure:1687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  564.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  565.     ac_cv_c_stack_direction=1
  566.   else
  567. --- 1683,1689 ----
  568.     exit (find_stack_direction() < 0);
  569.   }
  570.   EOF
  571. ! { (eval echo configure:1687: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  572.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  573.     ac_cv_c_stack_direction=1
  574.   else
  575. ***************
  576. *** 1714,1720 ****
  577.   #include <$ac_header_dirent>
  578.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  579.   EOF
  580. ! { (eval echo configure:1718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  581.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  582.     ac_cv_func_closedir_void=no
  583.   else
  584. --- 1714,1720 ----
  585.   #include <$ac_header_dirent>
  586.   int closedir(); main() { exit(closedir(opendir(".")) != 0); }
  587.   EOF
  588. ! { (eval echo configure:1718: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  589.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  590.     ac_cv_func_closedir_void=no
  591.   else
  592. ***************
  593. *** 1743,1749 ****
  594.   #include <vfork.h>
  595.   EOF
  596.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  597. ! { (eval echo configure:1747: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
  598.   ac_err=`grep -v '^ *+' conftest.out`
  599.   if test -z "$ac_err"; then
  600.     rm -rf conftest*
  601. --- 1743,1749 ----
  602.   #include <vfork.h>
  603.   EOF
  604.   ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
  605. ! { (eval echo configure:1747: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  606.   ac_err=`grep -v '^ *+' conftest.out`
  607.   if test -z "$ac_err"; then
  608.     rm -rf conftest*
  609. ***************
  610. *** 1785,1791 ****
  611.       builtin and then its argument prototype would still apply.  */
  612.   char vfork();
  613.   
  614. ! int main() { return 0; }
  615.   int t() {
  616.   
  617.   /* The GNU C library defines this for functions which it implements
  618. --- 1785,1791 ----
  619.       builtin and then its argument prototype would still apply.  */
  620.   char vfork();
  621.   
  622. ! int main() { t(); return 0; }
  623.   int t() {
  624.   
  625.   /* The GNU C library defines this for functions which it implements
  626. ***************
  627. *** 1799,1805 ****
  628.   
  629.   ; return 0; }
  630.   EOF
  631. ! if { (eval echo configure:1803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  632.     rm -rf conftest*
  633.     eval "ac_cv_func_vfork=yes"
  634.   else
  635. --- 1799,1805 ----
  636.   
  637.   ; return 0; }
  638.   EOF
  639. ! if { (eval echo configure:1803: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  640.     rm -rf conftest*
  641.     eval "ac_cv_func_vfork=yes"
  642.   else
  643. ***************
  644. *** 1917,1923 ****
  645.     }
  646.   }
  647.   EOF
  648. ! { (eval echo configure:1921: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
  649.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  650.     ac_cv_func_vfork=yes
  651.   else
  652. --- 1917,1923 ----
  653.     }
  654.   }
  655.   EOF
  656. ! { (eval echo configure:1921: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }
  657.   if test -s conftest && (./conftest; exit) 2>/dev/null; then
  658.     ac_cv_func_vfork=yes
  659.   else
  660. ***************
  661. *** 1950,1956 ****
  662.       builtin and then its argument prototype would still apply.  */
  663.   char vprintf();
  664.   
  665. ! int main() { return 0; }
  666.   int t() {
  667.   
  668.   /* The GNU C library defines this for functions which it implements
  669. --- 1950,1956 ----
  670.       builtin and then its argument prototype would still apply.  */
  671.   char vprintf();
  672.   
  673. ! int main() { t(); return 0; }
  674.   int t() {
  675.   
  676.   /* The GNU C library defines this for functions which it implements
  677. ***************
  678. *** 1964,1970 ****
  679.   
  680.   ; return 0; }
  681.   EOF
  682. ! if { (eval echo configure:1968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  683.     rm -rf conftest*
  684.     eval "ac_cv_func_vprintf=yes"
  685.   else
  686. --- 1964,1970 ----
  687.   
  688.   ; return 0; }
  689.   EOF
  690. ! if { (eval echo configure:1968: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  691.     rm -rf conftest*
  692.     eval "ac_cv_func_vprintf=yes"
  693.   else
  694. ***************
  695. *** 2000,2006 ****
  696.       builtin and then its argument prototype would still apply.  */
  697.   char _doprnt();
  698.   
  699. ! int main() { return 0; }
  700.   int t() {
  701.   
  702.   /* The GNU C library defines this for functions which it implements
  703. --- 2000,2006 ----
  704.       builtin and then its argument prototype would still apply.  */
  705.   char _doprnt();
  706.   
  707. ! int main() { t(); return 0; }
  708.   int t() {
  709.   
  710.   /* The GNU C library defines this for functions which it implements
  711. ***************
  712. *** 2014,2020 ****
  713.   
  714.   ; return 0; }
  715.   EOF
  716. ! if { (eval echo configure:2018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
  717.     rm -rf conftest*
  718.     eval "ac_cv_func__doprnt=yes"
  719.   else
  720. --- 2014,2020 ----
  721.   
  722.   ; return 0; }
  723.   EOF
  724. ! if { (eval echo configure:2018: \"$ac_link\") 1>&5; xxx=`(eval $ac_link 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  725.     rm -rf conftest*
  726.     eval "ac_cv_func__doprnt=yes"
  727.   else
  728. ***************
  729. *** 2050,2056 ****
  730.   struct stat s; s.st_blksize;
  731.   ; return 0; }
  732.   EOF
  733. ! if { (eval echo configure:2054: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  734.     rm -rf conftest*
  735.     ac_cv_struct_st_blksize=yes
  736.   else
  737. --- 2050,2056 ----
  738.   struct stat s; s.st_blksize;
  739.   ; return 0; }
  740.   EOF
  741. ! if { (eval echo configure:2054: \"$ac_compile\") 1>&5; xxx=`(eval $ac_compile 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; then
  742.     rm -rf conftest*
  743.     ac_cv_struct_st_blksize=yes
  744.   else
  745. ***************
  746. *** 2088,2096 ****
  747.   EOF
  748.   # Ultrix sh set writes to stderr and can't be redirected directly,
  749.   # and sets the high bit in the cache file unless we assign to the vars.
  750. ! (set) 2>&1 |
  751.     sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  752. !   >> confcache
  753.   if cmp -s $cache_file confcache; then
  754.     :
  755.   else
  756. --- 2088,2096 ----
  757.   EOF
  758.   # Ultrix sh set writes to stderr and can't be redirected directly,
  759.   # and sets the high bit in the cache file unless we assign to the vars.
  760. ! (set) >cache.tmp 2>&1 
  761.     sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  762. !   <cache.tmp >> confcache
  763.   if cmp -s $cache_file confcache; then
  764.     :
  765.   else
  766. ***************
  767. *** 2101,2107 ****
  768.       echo "not updating unwritable cache $cache_file"
  769.     fi
  770.   fi
  771. ! rm -f confcache
  772.   
  773.   trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  774.   
  775. --- 2101,2107 ----
  776.       echo "not updating unwritable cache $cache_file"
  777.     fi
  778.   fi
  779. ! rm -f confcache cache.tmp
  780.   
  781.   trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  782.   
  783.