---
-* [Bug 1445] IRIX does not have -lcap or support linux capabilities.
-* [Bug 1440] Update configure.ac to support kfreebsd.
-* [Bug 1439] .texi generation must wait until after binary is linked.
* [Bug 1127] Properly check the return of X590_verify() - missed one.
+* [Bug 1439] .texi generation must wait until after binary is linked.
+* [Bug 1440] Update configure.ac to support kfreebsd.
+* [Bug 1445] IRIX does not have -lcap or support linux capabilities.
+* [Bug 1453] Use $CC in config.cache filename in ./build script.
---
(4.2.6p1-RC2) 2009/12/25 Released by Harlan Stenn <stenn@ntp.org>
;;
esac
-CCSUF=""
-
case "$CC" in
- '') ;;
- *) CCSUF="-`echo $CC | sed -e 's: :_:g' -e's:/:+:g'`"
+ '')
+ CCSUF=""
+ ;;
+ *)
+ CCSUF="-`echo $CC | sed -e 's: :_:g' -e's:/:+:g'`"
;;
esac
#
# Make sure we have a nice that works.
-# To disable use of nice make a dummy nice script such
-# as the heredoc a few lines below and set BNICE to its
-# path.
-#
+# To disable use of nice, setenv NO_NICE_BUILD=1
#
-nice true && NICEB=nice
-nice true || {
- NICEB=./.nicebuild-$MYNAME-$SIG
- cat > .nicebuild-$MYNAME-$SIG <<-HEREDOC
+NICEB=""
+[ "$NO_NICE_BUILD" != "1" ] && nice true && NICEB=nice
+[ -z "$NICEB" ] && {
+ NICEB="./.nicebuild-$MYNAME-$SIG"
+ cat > $NICEB <<-HEREDOC
#! /bin/sh
shift
\$*
HEREDOC
- chmod +x .nicebuild-$MYNAME-$SIG
+ chmod +x $NICEB
}
+CONFIGURE="../configure --cache-file=../config.cache-$IAM$CCSUF $CONFIG_ARGS"
-(
-[ -f config.status ] || $NICEB -7 ../configure \
- --cache-file=../config.cache-$IAM \
- $CONFIG_ARGS
-
-$NICEB -5 ./config.status
-
-case "$MAKE" in
- '') $NICEB -14 make && $NICEB -10 make check
- ;;
- *) $NICEB -14 $MAKE && $NICEB -10 $MAKE check
- ;;
-esac
+( # This sequence of commands is logged to make.log.
+ [ -f config.status ] || $NICEB -7 $CONFIGURE
+ $NICEB -5 ./config.status
+ $NICEB -14 ${MAKE-make} && $NICEB -10 ${MAKE-make} check
) > $LOGF 2>&1
+EXITCODE=$?
# clean up if we made a dummy nice script
-[ -f .nicebuild-$MYNAME-$SIG ] && rm .nicebuild-$MYNAME-$SIG
+case "$NICEB" in
+ nice)
+ ;;
+ *)
+ rm $NICEB
+esac
+
+exit $EXITCODE