build: Support building with Gash.
[mes.git] / configure
index dda0dfbd531ea9efc69ccdaf84f5d57e1ed5a75a..1b634bf998451e4249e9d4f12dcda1751ddd8037 100755 (executable)
--- a/configure
+++ b/configure
@@ -370,7 +370,9 @@ Some influential environment variables:
          (docdir (option-ref options 'docdir "${datadir}/doc/mes-${VERSION}"))
          (libdir (option-ref options 'libdir "${prefix}/lib"))
          (moduledir "${datadir}/mes/module")
-         (moduledir/ (gulp-pipe* "echo" prefix "/share/mes/module/"))
+         (moduledir/ (string-append
+                      (gulp-pipe* "echo" prefix)
+                      "/share/mes/module/"))
          (guile-effective-version (effective-version))
          (guile-site-dir (if (equal? prefix ".") (canonicalize-path ".")
                              (string-append prefix "/share/guile/site/" guile-effective-version)))
@@ -419,6 +421,7 @@ Some influential environment variables:
                              (make-dep "mes" #:version '(0 18) #:optional? #t)
                              (make-dep "guix" #:version '(0 13) #:optional? #t)
                              (make-dep "ar" #:version '(2 10) #:optional? #t)
+                             (make-dep "sh" #:version '(0) #:optional? #t)
                              (make-dep "bash" #:version '(2 0) #:optional? #t)
                              (make-dep "guild" #:version '(2 0) #:commands '("guild" "guile-tools"))
                              (make-dep "cc" #:commands (list gcc tcc mescc) #:optional? #t)
@@ -561,6 +564,7 @@ Some influential environment variables:
                                                guile))
                      ("@MES_SEED@" . ,(or mes-seed ""))
                      ("@PERL@" . ,(or (file-name "perl" deps) ""))
+                     ("@SHELL@" . ,(or (file-name "sh" deps) ""))
 
                      ("@CFLAGS@" . ,(or (getenv "CFLAGS") ""))
                      ("@HEX2FLAGS@" . ,(or (getenv "HEX2FLAGS") ""))
@@ -586,6 +590,7 @@ Some influential environment variables:
                     "build-aux/GNUmakefile.in"
                     "build-aux/config.status.in"
                     "build-aux/build.sh.in"
+                    "build-aux/bootstrap.sh.in"
                     "build-aux/check.sh.in"
                     "build-aux/install.sh.in"
                     "build-aux/pre-inst-env.in"
@@ -598,6 +603,7 @@ Some influential environment variables:
         (chmod "scripts/mescc" #o755)
         (chmod "scripts/mescc.scm" #o755)
         (chmod "build.sh" #o755)
+        (chmod "bootstrap.sh" #o755)
         (chmod "check.sh" #o755)
         (chmod "install.sh" #o755)
         (chmod "uninstall.sh" #o755)