aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2007-08-16 23:40:29 +0000
committerdos-reis <gdr@axiomatics.org>2007-08-16 23:40:29 +0000
commit6499807eec35fdedd84e4ee8ca4625c018652975 (patch)
treee726b988709d6f13f8455ed81ec327b8c278493e /configure
parent0c807cce60341e98126b4d834e6fbda97b216af6 (diff)
downloadopen-axiom-6499807eec35fdedd84e4ee8ca4625c018652975.tar.gz
* configure.ac.pamphlet: Don't error out if noweb source files
are present when no executable is available. * configure.ac.: Regenerate. * configure: Likewise. * config/var-def.mk (axiom_build_nowebdir): Resurect. * Makefile.pamphlet (<<noweb>>): Resurect. (clean-local): Remove noweb build dir too. * Makefile.in: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 9 insertions, 3 deletions
diff --git a/configure b/configure
index d0a6f7fd..21072ec1 100755
--- a/configure
+++ b/configure
@@ -20506,11 +20506,17 @@ done
## In case noweb is missing we need to build our own.
if test -z $NOTANGLE -o -z $NOWEAVE ; then
- { echo "$as_me:$LINENO: OpenAxiom requires noweb utilties" >&5
+ ## Yes, but do we have the source files to build from?
+ if test ! -d ${srcdir}/noweb; then
+ { echo "$as_me:$LINENO: OpenAxiom requires noweb utilties" >&5
echo "$as_me: OpenAxiom requires noweb utilties" >&6;}
- { { echo "$as_me:$LINENO: error: Please install noweb and reconfigure" >&5
-echo "$as_me: error: Please install noweb and reconfigure" >&2;}
+ { { echo "$as_me:$LINENO: error: Please get the tarball of dependencies and reconfigure" >&5
+echo "$as_me: error: Please get the tarball of dependencies and reconfigure" >&2;}
{ (exit 1); exit 1; }; }
+ fi
+ NOTANGLE='$(axiom_build_bindir)/notangle'
+ NOWEAVE='$(axiom_build_bindir)/noweave'
+ axiom_all_prerequisites="$axiom_all_prerequisites all-noweb"
fi
## ------------------------