AC_PREREQ([2.59]) AC_INIT([Jeffrey], [0.1], [glibersat@linux62.org]) #AC_CONFIG_SRCDIR([src/graph.c]) AM_INIT_AUTOMAKE #AM_INIT_AUTOMAKE([dist-bzip2]) #AC_PROG_CC AC_PROG_CXX AC_PROG_LIBTOOL AC_PROG_INSTALL AC_PROG_MAKE_SET #AC_HEADER_STDC PKG_CHECK_MODULES(CHECK, check >= 0.9.4) PKG_CHECK_MODULES(X, xmuu x11) PKG_CHECK_MODULES(SDL, sdl) echo "Checking for GD2..." GD2_CFLAGS=`gdlib-config --cflags` GD2_LIBS=`gdlib-config --libs` GD2_LIBS+=" -lgd" AC_SUBST(GD2_CFLAGS) AC_SUBST(GD2_LIBS) #DX_INIT_DOXYGEN(libjeffrey, Doxyfile) #AC_CHECK_HEADERS(unistd.h,,AC_MSG_ERROR[ #required header file missing]) #AC_CHECK_FUNCS(open,,AC_MSG_ERROR([ #required standard library function missing])) AC_CONFIG_FILES([Makefile tests/Makefile src/pie/Makefile src/Makefile]) AC_OUTPUT