Lines Matching +full:test +full:- +full:config

4 IAM=`hostname || uname -n`
13 KEY=`sed -e q < .buildkey-$MYNAME`
30 #set -e
31 #set -x
33 if [ ! -r sntp/libevent/build-aux/config.guess ] ; then
37 # sntp/scripts/cvo.sh invokes config.guess, and we want it to use the copy
38 # in the build-aux directory if there's not another config.guess earlier
41 CVO=`env PATH="$PATH:./sntp/libevent/build-aux" sntp/scripts/cvo.sh @cvo@`
43 *-*-*-*) echo "sntp/scripts/cvo.sh returned <$CVO>, which makes no sense to me."
46 *-*-*) ;;
60 # HMS: --enable-local-libopts is the default now...
61 #CONFIG_ARGS="$CONFIG_ARGS --enable-local-libopts"
63 *-*-ultrix*)
64 CONFIG_ARGS="$CONFIG_ARGS --with-libregex=/usr/local"
91 *--with-crypto=autokey*)
92 KEYSUF="-autokey"
94 *--without-crypto*)
95 KEYSUF="-noopenssl"
100 *--disable-all-clocks*)
101 KEYSUF="$KEYSUF-no-refclocks"
106 *--disable-debugging*)
107 KEYSUF="$KEYSUF-nodebug"
116 CCSUF="-`echo $CC | sed -e 's: :_:g' -e's:/:+:g'`"
122 [ -d "$BDIR" ] || mkdir $BDIR
123 [ -f "$BDIR/.buildcvo" ] || echo $CVO > $BDIR/.buildcvo
124 [ -f "$BDIR/.buildhost" ] || echo $IAM > $BDIR/.buildhost
135 [ -z "$NICEB" ] && {
136 NICEB="./.nicebuild-$MYNAME-$SIG"
137 cat > $NICEB <<-HEREDOC
146 # Find a test which supports -nt, unlike Solaris /bin/sh builtin.
148 TEST="${TEST-}"
149 if [ -z "$TEST" ] ; then
150 for try in test /bin/test /usr/bin/test ; do
151 case `$try config.status -nt ../configure 2>&1` in
153 TEST="$try"
154 # echo "Using $TEST"
159 if [ -z "$TEST" ] ; then
160 echo "build: need help finding test binary" 1>&2
166 # We need KEYSUF because of RAND_ and others, and -noopenssl"
167 #CONFIGURE="$CONFIGURE --cache-file=../config.cache-$IAM$KEYSUF$CCSUF"
172 # If config.status is newer than ../configure, and the same
173 # is true for sntp, we do not need to re-run configure.
175 # tearoff, so only act if its config.status exists.
176 # Solaris /bin/sh doesn't grok -nt.
178 ( "$TEST" config.status -nt ../configure &&
179 "$TEST" sntp/config.status -nt ../sntp/configure &&
180 ( "$TEST" '!' -f sntp/libevent/config.status ||
181 "$TEST" sntp/libevent/config.status -nt ../sntp/libevent/configure ) ) ||
182 "$NICEB" -7 $CONFIGURE
183 "$TEST" Makefile -nt config.status ||
184 "$NICEB" -5 ./config.status
185 "$TEST" sntp/Makefile -nt sntp/config.status ||
186 ( cd sntp && "$NICEB" -5 ./config.status )
187 "$TEST" '!' -f sntp/libevent/Makefile ||
188 "$TEST" sntp/libevent/Makefile -nt sntp/libevent/config.status ||
189 ( cd sntp/libevent && "$NICEB" -5 ./config.status )
190 "$NICEB" -14 ${MAKE-make} && "$NICEB" -11 ${MAKE-make} check