configure.ac 841 B

123456789101112131415161718192021222324252627282930
  1. dnl -*- Autoconf -*-
  2. AC_INIT(guile-hoot, 0.5.0)
  3. AC_CONFIG_SRCDIR(module)
  4. AC_CONFIG_AUX_DIR([build-aux])
  5. AM_INIT_AUTOMAKE([1.12 foreign silent-rules subdir-objects color-tests parallel-tests -Woverride -Wno-portability])
  6. AM_SILENT_RULES([yes])
  7. AC_CONFIG_FILES([Makefile module/Makefile lib/Makefile])
  8. AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
  9. AC_CONFIG_FILES([module/hoot/config.scm])
  10. # Prepare a version of $datadir that does not contain references to
  11. # shell variables. Snarfed from Guix.
  12. hoot_prefix="`eval echo $prefix | sed -e"s|NONE|/usr/local|g"`"
  13. hoot_datadir="`eval eval echo $datadir | sed -e "s|NONE|$hoot_prefix|g"`"
  14. AC_SUBST([hoot_datadir])
  15. GUILE_PKG([3.0])
  16. GUILE_PROGS
  17. # V8-based JS+Wasm runtimes (optional)
  18. AC_PATH_PROG([NODE], [node])
  19. AC_SUBST([NODE])
  20. AC_PATH_PROG([D8], [d8])
  21. AC_SUBST([D8])
  22. AC_OUTPUT