configure.ac 694 B

1234567891011121314151617181920212223
  1. AC_INIT([mudsync], [0.1.0-pre], [cwebber@dustycloud.org])
  2. PKG_CHECK_MODULES([GUILE], [guile-2.2])
  3. AM_INIT_AUTOMAKE([-Wall -Werror foreign])
  4. m4_ifdef([GUILE_PROGS],
  5. [],
  6. [AC_ERROR(could not locate guile aclocal macros)])
  7. GUILE_PROGS
  8. dnl Prepare a version of $datadir that does not contain references to
  9. dnl shell variables. (Borrowed from Sly, which borrowed from Guix...)
  10. package_prefix="`eval echo $prefix | sed -e"s|NONE|/usr/local|g"`"
  11. package_datadir="`eval eval echo $datadir | sed -e "s|NONE|$package_prefix|g"`"
  12. AC_SUBST([package_datadir])
  13. AC_CONFIG_FILES([Makefile mudsync/package-config.scm])
  14. AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env])
  15. AC_OUTPUT