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