configure.ac (931B)
1 AC_INIT([grug], [0.1]) 2 AC_CONFIG_SRCDIR([grug]) 3 AC_CONFIG_AUX_DIR([build-aux]) 4 AM_INIT_AUTOMAKE([-Wall -Werror foreign]) 5 6 GUILE_PKG([3.0]) 7 GUILE_PROGS 8 9 AC_CONFIG_FILES([Makefile]) 10 AC_CONFIG_FILES([pre-inst-env], [chmod +x pre-inst-env]) 11 AC_CONFIG_FILES([scripts/grug], [chmod +x scripts/grug]) 12 13 dnl Compute complete installation directories for .scm and .go files 14 dnl so that the Grug executable can automagically add them to Guile's 15 dnl load path. 16 grug_prefix="`eval echo $prefix | sed -e"s|NONE|/usr/local|g"`" 17 grug_libdir="`eval echo $libdir | sed -e"s|NONE|$grug_prefix|g"`" 18 guilemoduledir="`eval echo ${datarootdir}/guile/site/$GUILE_EFFECTIVE_VERSION | sed -e"s|NONE|$grug_prefix|g"`" 19 guileobjectdir="`eval echo ${libdir}/guile/$GUILE_EFFECTIVE_VERSION/site-ccache | sed -e"s|NONE|$grug_prefix|g"`" 20 AC_SUBST([guilemoduledir]) 21 AC_SUBST([guileobjectdir]) 22 23 GUILE_MODULE_AVAILABLE([have_guile_htmlprag], [(htmlprag)]) 24 25 AC_OUTPUT