--- build.orig Tue May 1 13:37:12 2001 +++ build Sat Nov 25 00:38:47 2006 @@ -22,7 +22,7 @@ echo '#######################################################################'> conf/mkheader.in echo '####### Makefile generated by build script ############################'>> conf/mkheader.in echo VERSION = $version>> conf/mkheader.in - echo DATE = `/bin/date`>> conf/mkheader.in + echo DATE = `/usr/bin/env LANG=C /bin/date`>> conf/mkheader.in echo '#######################################################################'>> conf/mkheader.in cat conf/unixconf/mkheader.0 >> conf/mkheader.in else @@ -43,7 +43,7 @@ if [ -f conf/util/configure ]; then cd conf - util/configure -srcdir . + util/configure -srcdir . --prefix=${PREFIX} -x-includes="${LOCALBASE}/include" -x-libraries="${LOCALBASE}/lib" if [ ! -f ../src/include/config.h ] || \ [ "`diff config.h ../src/include/config.h |head`" ]; then echo Installing config.h @@ -92,8 +92,14 @@ fi echo Creating makefiles in the subdirectories... $makeprog make + if [ $? -ne 0 ]; then + exit $? + fi echo ...done $makeprog all 2> ../../errs + if [ $? -ne 0 ]; then + exit $? + fi echo done echo Check the errs file for any problems. echo To finish the installation, cd to src/bin, become root, and type