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 >
Wrap
Text File
|
1996-09-28
|
2KB
|
64 lines
This patch works around current bugs in the BeOS shell that affect
configure.
============================================================================
diff -rc doschk-ref/configure doschk/configure
*** doschk-ref/configure Tue Sep 10 03:10:54 1996
--- doschk/configure Fri Sep 27 23:12:25 1996
***************
*** 598,604 ****
yes;
#endif
EOF
! 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
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
--- 598,604 ----
yes;
#endif
EOF
! 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
ac_cv_prog_gcc=yes
else
ac_cv_prog_gcc=no
***************
*** 733,741 ****
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
--- 733,741 ----
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
***************
*** 746,752 ****
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
--- 746,752 ----
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