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.

20 lines
533 B

  1. AC_PREREQ([2.69])
  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. AC_PROG_CXX
  8. LT_INIT
  9. AC_CHECKING([for any suitable hwloc installation])
  10. AC_CHECK_LIB([hwloc], [hwloc_topology_init], [AC_CHECK_HEADER([hwloc.h], [hwloc=yes])])
  11. AM_CONDITIONAL([HAVE_LIBHWLOC], [test "$hwloc" = "yes"])
  12. AC_CANONICAL_HOST
  13. AM_CONDITIONAL([DARWIN], [case $host_os in darwin*) true;; *) false;; esac])
  14. # test x$(uname) == "xDarwin"])
  15. AC_CONFIG_FILES([Makefile src/Makefile])
  16. AC_OUTPUT