AC_INIT(matrices, 1.0, http://mplus.dk/matrices/) AM_INIT_AUTOMAKE(matrices, 1.0) AC_CONFIG_SRCDIR(configure.in) AC_PROG_CXX AC_CHECK_HEADERS(fcntl.h ctype.h stdio.h math.h) ################# # GLIB ################# AM_PATH_GLIB_2_0(2.12.4, glib=yes, glib=no) if test "$glib" = no; then AC_MSG_ERROR("Cannot find glib!") fi ################# # GTK ################# AM_PATH_GTK_2_0(2.10.6, havegtk=yes, havegtk=no) if test "$havegtk" = no; then AC_MSG_ERROR("Cannot find gtk+!") fi AC_OUTPUT(Makefile)