AC_PREREQ([2.69]) AC_INIT([mobject], [0.1], [ssio-services@lists.mcs.anl.gov]) AM_INIT_AUTOMAKE([-Wall -Werror foreign subdir-objects silent-rules]) AM_SILENT_RULES([yes]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_SRCDIR([include/libmobject-store.h]) AC_CONFIG_HEADER([src/mobject-store-config.h]) LT_PREREQ([2.2]) AM_PROG_AR LT_INIT([dlopen]) # checks for programs AC_PROG_CC AM_PROG_CC_C_O AC_PROG_INSTALL # checks for libraires #pkg-config and libraries supporting that PKG_PROG_PKG_CONFIG if test "x$PKG_CONFIG" == "x"; then AC_MSG_ERROR([Could not find pkg-config utility!]) fi PKG_CHECK_MODULES([MARGO],[margo],[], AC_MSG_ERROR([Could not find working margo installation!]) ) LIBS="$MARGO_LIBS $LIBS" CPPFLAGS="$MARGO_CFLAGS $CPPFLAGS" CFLAGS="$MARGO_CFLAGS $CFLAGS" PKG_CHECK_MODULES([SSG],[ssg],[], AC_MSG_ERROR([Could not find working ssg installation!]) ) LIBS="$SSG_LIBS $LIBS" CPPFLAGS="$SSG_CFLAGS $CPPFLAGS" CFLAGS="$SSG_CFLAGS $CFLAGS" # checks for typedefs, structures, and compiler characteristics. # chekcs for library functions AC_CONFIG_FILES([Makefile]) AC_OUTPUT