AC_INIT([libruin],[0.1.4],[julian.graham@aya.yale.edu]) AC_CONFIG_SRCDIR([src/libruin.h]) AM_INIT_AUTOMAKE(1.6) AC_LANG(C) AC_PROG_CC AC_PROG_LIBTOOL AC_CHECK_PROG([guileconfig], [guile-config], [yes], [no]) if test "$guileconfig" = "yes"; then ruin_ac_guilecflags=`guile-config compile` ruin_ac_guileldflags=`guile-config link` CFLAGS="$CFLAGS $ruin_ac_guilecflags" LDFLAGS="$LDFLAGS $ruin_ac_guileldflags" else AC_MSG_ERROR([guile >= 1.6 is required]) fi AC_SEARCH_LIBS([log], [m]) AC_SEARCH_LIBS([initscr], [ncurses]) AC_SEARCH_LIBS([pthread_mutex_lock], [pthread]) # We need a few modules from 'guile-library' GUILE_MODULE_REQUIRED([debugging assert]) GUILE_MODULE_REQUIRED([scheme documentation]) GUILE_MODULE_REQUIRED([debugging time]) GUILE_MODULE_REQUIRED([io string]) AC_CONFIG_FILES([Makefile doc/Makefile examples/Makefile src/Makefile]) AC_OUTPUT