4 IAM
=`hostname || uname -n`
5 MYNAME
=`IFS=. ; set $IAM ; echo $1`
13 KEY
=`sed -e q < .buildkey-$MYNAME`
17 echo "Wrong directory for build on host $IAM"
18 echo "This is <`pwd`>"
36 *) echo "config.guess returned <$CVO>, which makes no sense to me."
44 CONFIG_ARGS
="$CONFIG_ARGS --enable-local-libopts"
47 CONFIG_ARGS
="$CONFIG_ARGS --with-libregex=/usr/local"
58 case "$CONFIG_ARGS" in
59 *--with-crypto=autokey
*)
67 case "$CONFIG_ARGS" in
68 *--disable-all-clocks*)
69 KEYSUF
="$KEYSUF-no-refclocks"
73 case "$CONFIG_ARGS" in
74 *--disable-debugging*)
75 KEYSUF
="$KEYSUF-nodebug"
87 BDIR
="$BDIR$KEYSUF$CCSUF"
89 [ -d "$BDIR" ] || mkdir
$BDIR
90 [ -f "$BDIR/.buildcvo" ] ||
echo $CVO > $BDIR/.buildcvo
91 [ -f "$BDIR/.buildhost" ] ||
echo $IAM > $BDIR/.buildhost
97 # make sure we have a nice that works,
99 nice true
&& NICEB
=nice
100 nice true || NICEB
=.
/.nicebuild-
$MYNAME-$SIG && (
101 cat > .nicebuild-
$MYNAME-$SIG <<UNLYKUHLY
106 chmod +x .nicebuild-
$MYNAME-$SIG
111 [ -f config.status
] ||
$NICEB -7 ..
/configure
--config-cache \
114 $NICEB -5 .
/config.status
117 '') $NICEB -14 make && $NICEB -10 make check
119 *) $NICEB -14 $MAKE && $NICEB -10 $MAKE check