configure.ac 789 B

123456789101112131415161718192021222324252627
  1. dnl -*- Autoconf -*-
  2. AC_INIT(guile-hoot, 0.2.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])
  8. AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
  9. AC_CONFIG_FILES([js-test], [chmod +x js-test])
  10. AC_CONFIG_FILES([module/hoot/config.scm])
  11. # Prepare a version of $datadir that does not contain references to
  12. # shell variables. Snarfed from Guix.
  13. hoot_prefix="`eval echo $prefix | sed -e"s|NONE|/usr/local|g"`"
  14. hoot_datadir="`eval eval echo $datadir | sed -e "s|NONE|$hoot_prefix|g"`"
  15. AC_SUBST([hoot_datadir])
  16. GUILE_PKG([3.0])
  17. GUILE_PROGS
  18. AC_PATH_PROG([D8], [d8])
  19. AC_SUBST([D8])
  20. AC_OUTPUT