home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / doschk-1.1-src.tgz / tar.out / fsf / doschk / BeOS.diffs next >
Text File  |  1996-09-28  |  2KB  |  64 lines

  1. This patch works around current bugs in the BeOS shell that affect
  2. configure.
  3.  
  4. ============================================================================
  5.  
  6. diff -rc doschk-ref/configure doschk/configure
  7. *** doschk-ref/configure    Tue Sep 10 03:10:54 1996
  8. --- doschk/configure    Fri Sep 27 23:12:25 1996
  9. ***************
  10. *** 598,604 ****
  11.     yes;
  12.   #endif
  13.   EOF
  14. ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:602: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  15.     ac_cv_prog_gcc=yes
  16.   else
  17.     ac_cv_prog_gcc=no
  18. --- 598,604 ----
  19.     yes;
  20.   #endif
  21.   EOF
  22. ! if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:602: \"$ac_try\") 1>&5; xxx=`(eval $ac_try 2>&5 ; echo $?)` ; test "$xxx" = "0" ; }; } | egrep yes >/dev/null 2>&1; then
  23.     ac_cv_prog_gcc=yes
  24.   else
  25.     ac_cv_prog_gcc=no
  26. ***************
  27. *** 733,741 ****
  28.   EOF
  29.   # Ultrix sh set writes to stderr and can't be redirected directly,
  30.   # and sets the high bit in the cache file unless we assign to the vars.
  31. ! (set) 2>&1 |
  32.     sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  33. !   >> confcache
  34.   if cmp -s $cache_file confcache; then
  35.     :
  36.   else
  37. --- 733,741 ----
  38.   EOF
  39.   # Ultrix sh set writes to stderr and can't be redirected directly,
  40.   # and sets the high bit in the cache file unless we assign to the vars.
  41. ! (set) >cache.tmp 2>&1 
  42.     sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
  43. !   <cache.tmp >> confcache
  44.   if cmp -s $cache_file confcache; then
  45.     :
  46.   else
  47. ***************
  48. *** 746,752 ****
  49.       echo "not updating unwritable cache $cache_file"
  50.     fi
  51.   fi
  52. ! rm -f confcache
  53.   
  54.   trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  55.   
  56. --- 746,752 ----
  57.       echo "not updating unwritable cache $cache_file"
  58.     fi
  59.   fi
  60. ! rm -f confcache cache.tmp
  61.   
  62.   trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
  63.   
  64.