Wait for an arbitrary process.
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.

43 lines
1.0 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. dnl Configure template for the wait4 package
  2. AC_INIT([wait4], [0.3.1],
  3. [dgouttegattat@incenp.org])
  4. AC_CONFIG_SRCDIR([configure.ac])
  5. AC_CONFIG_MACRO_DIR([m4])
  6. AC_CONFIG_AUX_DIR([config])
  7. AC_CONFIG_HEADERS([config.h])
  8. AC_CONFIG_LIBOBJ_DIR([lib])
  9. AC_USE_SYSTEM_EXTENSIONS
  10. AM_INIT_AUTOMAKE([foreign])
  11. dnl Check for development tools
  12. AC_PROG_CC
  13. AC_PROG_RANLIB
  14. AC_PROG_INSTALL
  15. dnl Check for some non-ubituitous functions
  16. ICP_CHECK_NOTCH_FUNCS
  17. dnl Check for possible mechanism, default is kill
  18. backend="kill"
  19. AC_CHECK_HEADERS([linux/netlink.h],
  20. [backend=Netlink])
  21. AC_CHECK_HEADERS([sys/event.h],
  22. [backend=Kevent])
  23. AM_CONDITIONAL([HAVE_NETLINK], [test x$ac_cv_header_linux_netlink_h = xyes])
  24. AC_CHECK_HEADERS([linux/filter.h])
  25. dnl Output files
  26. AC_CONFIG_FILES([Makefile wait4.1 lib/Makefile src/Makefile])
  27. AC_OUTPUT
  28. dnl Summary
  29. echo "
  30. ${PACKAGE_NAME} version ${PACKAGE_VERSION}
  31. Configuration complete
  32. Prefix: '${prefix}'
  33. Compiler: '${CC} ${CFLAGS} ${CPPFLAGS}'
  34. Operation mode: '${backend}'
  35. "