You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
622 B

  1. AC_PREREQ([2.60])
  2. AC_INIT([sylvan], [1.0])
  3. AC_CONFIG_MACRO_DIR([m4])
  4. AC_CONFIG_AUX_DIR([tools])
  5. AM_INIT_AUTOMAKE([foreign])
  6. AC_PROG_CC
  7. AX_CHECK_COMPILE_FLAG([-std=c11],,[AC_MSG_FAILURE([no acceptable C11 compiler found.])])
  8. AC_PROG_CXX
  9. LT_INIT
  10. AC_CHECKING([for any suitable hwloc installation])
  11. AC_CHECK_LIB([hwloc], [hwloc_topology_init], [AC_CHECK_HEADER([hwloc.h], [hwloc=yes])])
  12. AM_CONDITIONAL([HAVE_LIBHWLOC], [test "$hwloc" = "yes"])
  13. AC_CANONICAL_HOST
  14. AM_CONDITIONAL([DARWIN], [case $host_os in darwin*) true;; *) false;; esac])
  15. # test x$(uname) == "xDarwin"])
  16. AC_CONFIG_FILES([Makefile src/Makefile])
  17. AC_OUTPUT