diff options
Diffstat (limited to 'bootstrap.am')
-rw-r--r-- | bootstrap.am | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/bootstrap.am b/bootstrap.am index c64b6a6..7c878c6 100644 --- a/bootstrap.am +++ b/bootstrap.am @@ -1,8 +1,11 @@ -BOOTSTRAP_SCITECO = SCITECOPATH=@top_srcdir@/lib +# All SciTECO invocations should try to use the in-tree +# standard library library +export SCITECOPATH=@top_srcdir@/lib + if BOOTSTRAP -BOOTSTRAP_SCITECO += @top_builddir@/src/sciteco-minimal$(EXEEXT) +BOOTSTRAP_SCITECO = @top_builddir@/src/sciteco-minimal$(EXEEXT) else -BOOTSTRAP_SCITECO += @SCITECO@ +BOOTSTRAP_SCITECO = @SCITECO@ endif SUBST_MACRO = eb$<\e \ @@ -15,7 +18,8 @@ SUBST_MACRO = eb$<\e \ <fs@pkgdatadir^Q@\e$(pkgdatadir)\e;>j \ <fs@scitecolibdir^Q@\e$(scitecolibdir)\e;>j \ <fs@TECO_INTEGER^Q@\e@TECO_INTEGER@\e;>j \ - <fs@DATE^Q@\e$(shell LC_ALL=C @DATE@ "+%d %b %Y")\e;>j \ + ^U[$$LC_ALL]C\e EG.d@DATE@ "+%d %b %Y"\e \ + <fs@DATE^Q@\e^EQ.d\e; -D>j \ ew$@\e # Don't try to generate config.h: |