configure.ac 755 B

1234567891011121314151617181920212223242526
  1. dnl -*- Autoconf -*-
  2. AC_INIT(guile-hoot, 0.4.1)
  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. AC_PATH_PROG([D8], [d8])
  18. AC_SUBST([D8])
  19. AC_OUTPUT